Title: [255140] trunk/LayoutTests
- Revision
- 255140
- Author
- [email protected]
- Date
- 2020-01-27 03:20:43 -0800 (Mon, 27 Jan 2020)
Log Message
[Mac wk2 Release] fast/dom/frame-src-_javascript_-url-async.html flaky failing
https://bugs.webkit.org/show_bug.cgi?id=206701
<rdar://problem/58847864>
Reviewed by Antoine Quint.
* fast/dom/frame-src-_javascript_-url-async.html:
The test assumed that in
<iframe src=""
<script>
…
the frame _javascript_ could not have run before the body script executes. However parser might yield before the
script tag or data might come from network in chunks that don't cover the full script. In this case frame load
may start and src execute before the body script runs.
Fix by document.writing the iframe tag.
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (255139 => 255140)
--- trunk/LayoutTests/ChangeLog 2020-01-27 08:54:49 UTC (rev 255139)
+++ trunk/LayoutTests/ChangeLog 2020-01-27 11:20:43 UTC (rev 255140)
@@ -1,3 +1,25 @@
+2020-01-27 Antti Koivisto <[email protected]>
+
+ [Mac wk2 Release] fast/dom/frame-src-_javascript_-url-async.html flaky failing
+ https://bugs.webkit.org/show_bug.cgi?id=206701
+ <rdar://problem/58847864>
+
+ Reviewed by Antoine Quint.
+
+ * fast/dom/frame-src-_javascript_-url-async.html:
+
+ The test assumed that in
+
+ <iframe src=""
+ <script>
+ …
+
+ the frame _javascript_ could not have run before the body script executes. However parser might yield before the
+ script tag or data might come from network in chunks that don't cover the full script. In this case frame load
+ may start and src execute before the body script runs.
+
+ Fix by document.writing the iframe tag.
+
2020-01-26 Said Abou-Hallawa <[email protected]>
Throttling requestAnimationFrame should be controlled by RenderingUpdateScheduler
Modified: trunk/LayoutTests/fast/dom/frame-src-_javascript_-url-async.html (255139 => 255140)
--- trunk/LayoutTests/fast/dom/frame-src-_javascript_-url-async.html 2020-01-27 08:54:49 UTC (rev 255139)
+++ trunk/LayoutTests/fast/dom/frame-src-_javascript_-url-async.html 2020-01-27 11:20:43 UTC (rev 255140)
@@ -28,8 +28,9 @@
}
</script>
<iframe id="frame1"></iframe>
-<iframe id="frame2" src=""
<script>
+document.write("<iframe id=frame2 src=""
+
frame1 = document.getElementById("frame1");
frame2 = document.getElementById("frame2");
initialFrame1Window = frame1.contentWindow;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes