Update web-platform-tests to revision 76c0092916ee8a9171396e62c472d85a0f2623fb

This commit is contained in:
WPT Sync Bot 2018-05-21 21:09:49 -04:00
parent 319556cf6a
commit 496933fbc3
50 changed files with 584 additions and 282 deletions

View file

@ -15,10 +15,7 @@ onload = function() {setTimeout(function() {
iframe.onload = function() {
setTimeout(function() {iframe.contentWindow.location="navigation-within-beforeunload-2.html";}, 100);
// Step 4 of https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigating-across-documents
// doesn't seem to allow navigation within a beforeunload handler,
// so the counter should not go beyond 1.
iframe.onload = t.step_func(function() {assert_equals(counter, 1); t.done()});
iframe.onload = t.step_func(function() {assert_equals(counter, 1000); t.done()});
};
iframe.src = "navigation-within-beforeunload-1.html?" + Math.random();