Title: [280438] trunk/LayoutTests
- Revision
- 280438
- Author
- sihui_...@apple.com
- Date
- 2021-07-29 11:58:04 -0700 (Thu, 29 Jul 2021)
Log Message
Fix fast/speechrecognition/detached-iframe.html
https://bugs.webkit.org/show_bug.cgi?id=228586
Reviewed by Chris Dumez.
The result of detached-iframe.html does not print description as remove() removes document.body instead of
the iframe.
* fast/speechrecognition/detached-iframe-expected.txt:
* fast/speechrecognition/detached-iframe.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (280437 => 280438)
--- trunk/LayoutTests/ChangeLog 2021-07-29 18:44:40 UTC (rev 280437)
+++ trunk/LayoutTests/ChangeLog 2021-07-29 18:58:04 UTC (rev 280438)
@@ -1,3 +1,16 @@
+2021-07-29 Sihui Liu <sihui_...@apple.com>
+
+ Fix fast/speechrecognition/detached-iframe.html
+ https://bugs.webkit.org/show_bug.cgi?id=228586
+
+ Reviewed by Chris Dumez.
+
+ The result of detached-iframe.html does not print description as remove() removes document.body instead of
+ the iframe.
+
+ * fast/speechrecognition/detached-iframe-expected.txt:
+ * fast/speechrecognition/detached-iframe.html:
+
2021-07-29 Ayumi Kojima <ayumi_koj...@apple.com>
[ iOS ] http/tests/appcache/main-resource-redirect-with-sw.html is a flaky timeout.
Modified: trunk/LayoutTests/fast/speechrecognition/detached-iframe-expected.txt (280437 => 280438)
--- trunk/LayoutTests/fast/speechrecognition/detached-iframe-expected.txt 2021-07-29 18:44:40 UTC (rev 280437)
+++ trunk/LayoutTests/fast/speechrecognition/detached-iframe-expected.txt 2021-07-29 18:58:04 UTC (rev 280438)
@@ -1,3 +1,8 @@
+Verify that creating speech recognition in detached iframe does not crash.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
PASS successfullyParsed is true
TEST COMPLETE
Modified: trunk/LayoutTests/fast/speechrecognition/detached-iframe.html (280437 => 280438)
--- trunk/LayoutTests/fast/speechrecognition/detached-iframe.html 2021-07-29 18:44:40 UTC (rev 280437)
+++ trunk/LayoutTests/fast/speechrecognition/detached-iframe.html 2021-07-29 18:58:04 UTC (rev 280438)
@@ -9,8 +9,7 @@
jsTestIsAsync = true;
function detachFrame() {
- const frame = document.getElementById('iframe');
- frame.parentNode.remove(frame);
+ document.getElementById('iframe').remove();
setTimeout(() => { finishJSTest(); }, 0);
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes