aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2024-10-02 21:50:27 -0400
committerJosh Matthews <josh@joshmatthews.net>2024-10-02 21:50:27 -0400
commite37cacce2df471837e1fc2e362bbc6d717c184b9 (patch)
tree4f7c0901111956d78c82f255bd21667d77979926
parentd90ca0bc538d91bbd94b0d0768a432dc5389ceff (diff)
downloadservo-e37cacce2df471837e1fc2e362bbc6d717c184b9.tar.gz
servo-e37cacce2df471837e1fc2e362bbc6d717c184b9.zip
Fix test which expected iframe load for initial about:blank.iframe-load-hack
-rw-r--r--tests/wpt/mozilla/meta/MANIFEST.json4
-rw-r--r--tests/wpt/mozilla/tests/mozilla/form_submit_about.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json
index 0334f0a9fe7..d762b8104fe 100644
--- a/tests/wpt/mozilla/meta/MANIFEST.json
+++ b/tests/wpt/mozilla/meta/MANIFEST.json
@@ -10414,7 +10414,7 @@
],
"resource": {
"file-submission.py": [
- "5f65cebd05ce89b3a51c2382a39b6a6438133b43",
+ "b03a4c9a5ddebc78af2bf8d0a35ebaca27bb4314",
[]
],
"upload.txt": [
@@ -13227,7 +13227,7 @@
]
],
"form_submit_about.html": [
- "ec572ab0bc608c8cf5dd43f4159d3a67fc31a0de",
+ "71342b9b6b3ae6f037829b2e472bdd2fd1e93692",
[
null,
{}
diff --git a/tests/wpt/mozilla/tests/mozilla/form_submit_about.html b/tests/wpt/mozilla/tests/mozilla/form_submit_about.html
index ec572ab0bc6..71342b9b6b3 100644
--- a/tests/wpt/mozilla/tests/mozilla/form_submit_about.html
+++ b/tests/wpt/mozilla/tests/mozilla/form_submit_about.html
@@ -9,7 +9,7 @@
var numOnLoads = 0
var t = async_test("about:blank as form target")
var iframe = document.getElementById('foo')
- iframe.onload = t.step_func(function(e) { if (++numOnLoads == 2) t.done() })
+ iframe.onload = t.step_func(function(e) { t.step_timeout(() => t.done(), 100); iframe.onload = t.unreached_func(); })
</script>
</body>
</html>