Update web-platform-tests to revision 5fe9625d7445a6b88640f830d90dd5489c4bda05

This commit is contained in:
WPT Sync Bot 2020-08-06 08:21:26 +00:00
parent 39c3f46375
commit 92d17be4fe
104 changed files with 2429 additions and 236 deletions

View file

@ -33,7 +33,10 @@ destIFrame.onload = () => {
++destLoadCount;
if (destLoadCount === 2) {
assert_unreached("The iframe into which the meta was moved must not refresh");
// destIFrame doesn't have the sandboxed automatic features browsing context
// flag sets, thus navigated.
assert_equals(destIFrame.contentDocument.body.textContent.trim(), "foo");
done();
}
maybeStartTest();
@ -41,9 +44,6 @@ destIFrame.onload = () => {
function maybeStartTest() {
if (sourceLoadCount === 1 && destLoadCount === 1) {
// Test that no refreshes occur within 3 seconds
step_timeout(done, 3000);
const meta = sourceIFrame.contentDocument.querySelector("meta");
destIFrame.contentDocument.body.appendChild(meta);
}