mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update web-platform-tests to revision 5fe9625d7445a6b88640f830d90dd5489c4bda05
This commit is contained in:
parent
39c3f46375
commit
92d17be4fe
104 changed files with 2429 additions and 236 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue