Update web-platform-tests to revision b'ac590e83f80632559480abda677db69b17f6ece1'

This commit is contained in:
WPT Sync Bot 2021-03-11 08:20:29 +00:00
parent 14fbe153e2
commit 56531f4672
148 changed files with 3092 additions and 1755 deletions

View file

@ -62,7 +62,7 @@ async_test(function(t) {
async_test(function(t) {
var obj = document.createElement("object");
obj.onload = t.step_func_done(function(e){
assert_true(obj.contentWindow instanceof Window, "The object element should represent a nested browsing context.")
assert_true(obj.contentWindow instanceof obj.contentWindow.Window, "The object element should represent a nested browsing context.")
assert_equals(Object.getPrototypeOf(e).constructor, Event, "The load event should use the Event interface.");
assert_true(e.isTrusted, "The load event should be a trusted event.");
assert_false(e.cancelable, "The load event should not be a cancelable event.");