mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 281f62f2d8ffe72128d848851ac1e8d823f608f6
This commit is contained in:
parent
f4a5709e37
commit
2999a91526
292 changed files with 2232 additions and 742 deletions
|
@ -51,7 +51,7 @@ promise_test(async () => {
|
|||
button.removeAttribute("value");
|
||||
button.click();
|
||||
assert_false(dialog.open, "dialog should be closed now");
|
||||
assert_false(dialog.returnValue === undefined, "returnValue should not be set");
|
||||
assert_not_equals(dialog.returnValue, undefined, "returnValue should not be set");
|
||||
}, "no returnValue when there's no result.");
|
||||
|
||||
promise_test(async () => {
|
||||
|
|
|
@ -42,7 +42,7 @@ function testClickingOnInlineElement(detailsId, targetId, expected, testName) {
|
|||
const promise = new Promise((resolve, reject) => {
|
||||
window.onhashchange = test.step_func_done(() => {
|
||||
assert_false(details.open);
|
||||
assert_true(location.hash === expected);
|
||||
assert_equals(location.hash, expected);
|
||||
resolve();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue