mirror of
https://github.com/servo/servo.git
synced 2025-09-18 02:48:20 +01:00
Update web-platform-tests to revision 10168e9a5d44efbc6e7d416d1d454eb9c9f1396c
This commit is contained in:
parent
c88dc51d03
commit
0e1caebaf4
791 changed files with 23381 additions and 5501 deletions
|
@ -24,7 +24,7 @@
|
|||
readyState:'complete',
|
||||
location:null,
|
||||
defaultView:null,
|
||||
body:undefined,
|
||||
body:null,
|
||||
images: undefined,
|
||||
doctype:null,
|
||||
forms:undefined,
|
||||
|
|
|
@ -17,11 +17,15 @@
|
|||
try {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open("GET", "data:,", false);
|
||||
xhr.send();
|
||||
resolve();
|
||||
try {
|
||||
xhr.send();
|
||||
} catch(e) {
|
||||
reject(e);
|
||||
}
|
||||
} catch(e) {
|
||||
reject(e);
|
||||
reject({"name": "UnexpectedException:" + e.name});
|
||||
}
|
||||
resolve();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue