mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Update web-platform-tests to revision c2e5b9fbaa17424f05ca2bb04609790a3b61d5c2
This commit is contained in:
parent
db7bb2a510
commit
f2c1b70e4a
138 changed files with 2799 additions and 851 deletions
|
@ -41,9 +41,7 @@ window.testIsPerWindow = propertyName => {
|
|||
iframe.src = "/common/blank.html";
|
||||
}, `Navigating from the initial about:blank must not replace window.${propertyName}`);
|
||||
|
||||
// Note: document.open()'s spec doesn't match most browsers; see https://github.com/whatwg/html/issues/1698.
|
||||
// However, as explained in https://github.com/whatwg/html/issues/1698#issuecomment-298748641, even an updated spec
|
||||
// will probably still reset Window-associated properties.
|
||||
// Per spec, document.open() should not change any of the Window state.
|
||||
async_test(t => {
|
||||
const iframe = document.createElement("iframe");
|
||||
|
||||
|
@ -55,7 +53,7 @@ window.testIsPerWindow = propertyName => {
|
|||
frame.document.open();
|
||||
|
||||
const after = frame[propertyName];
|
||||
assert_not_equals(after, before);
|
||||
assert_equals(after, before);
|
||||
|
||||
frame.document.close();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue