mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Update web-platform-tests to revision 36634cbcf3253dfe8d220990a27ad4eeebf8ec2f
This commit is contained in:
parent
0964d055cd
commit
7295abcc2a
245 changed files with 5966 additions and 1901 deletions
|
@ -2,8 +2,8 @@ self.importScripts('/resources/testharness.js');
|
|||
|
||||
test(function() {
|
||||
let xhr = new XMLHttpRequest();
|
||||
assert_not_exists(xhr, "responseXML", "responseXML should not be available on instances.");
|
||||
assert_not_exists(XMLHttpRequest.prototype, "responseXML", "responseXML should not be on the prototype.");
|
||||
assert_false(xhr.hasOwnProperty("responseXML"), "responseXML should not be available on instances.");
|
||||
assert_false(XMLHttpRequest.prototype.hasOwnProperty("responseXML"), "responseXML should not be on the prototype.");
|
||||
}, "XMLHttpRequest's responseXML property should not be exposed in workers.");
|
||||
|
||||
done();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue