Update web-platform-tests to revision 281f62f2d8ffe72128d848851ac1e8d823f608f6

This commit is contained in:
WPT Sync Bot 2020-09-23 08:21:22 +00:00
parent f4a5709e37
commit 2999a91526
292 changed files with 2232 additions and 742 deletions

View file

@ -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 () => {

View file

@ -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();
});
});