Title: [291146] trunk/LayoutTests
Revision
291146
Author
[email protected]
Date
2022-03-10 22:43:50 -0800 (Thu, 10 Mar 2022)

Log Message

[ iOS ] editing/inserting/insert-paragraph-separator-with-inline-table-bold-crash.html is a flaky timeout
https://bugs.webkit.org/show_bug.cgi?id=237551

Patch by Frédéric Wang <[email protected]> on 2022-03-10
Reviewed by Ryosuke Niwa.

* editing/inserting/insert-paragraph-separator-with-inline-table-bold-crash.html: Ensure the
test does not complete before the page load.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (291145 => 291146)


--- trunk/LayoutTests/ChangeLog	2022-03-11 05:39:50 UTC (rev 291145)
+++ trunk/LayoutTests/ChangeLog	2022-03-11 06:43:50 UTC (rev 291146)
@@ -1,3 +1,13 @@
+2022-03-10  Frédéric Wang  <[email protected]>
+
+        [ iOS ] editing/inserting/insert-paragraph-separator-with-inline-table-bold-crash.html is a flaky timeout
+        https://bugs.webkit.org/show_bug.cgi?id=237551
+
+        Reviewed by Ryosuke Niwa.
+
+        * editing/inserting/insert-paragraph-separator-with-inline-table-bold-crash.html: Ensure the
+        test does not complete before the page load.
+
 2022-03-10  Peng Liu  <[email protected]>
 
         EnterPictureInPictureEvent event was renamed to PictureInPictureEvent in spec

Modified: trunk/LayoutTests/editing/inserting/insert-paragraph-separator-with-inline-table-bold-crash.html (291145 => 291146)


--- trunk/LayoutTests/editing/inserting/insert-paragraph-separator-with-inline-table-bold-crash.html	2022-03-11 05:39:50 UTC (rev 291145)
+++ trunk/LayoutTests/editing/inserting/insert-paragraph-separator-with-inline-table-bold-crash.html	2022-03-11 06:43:50 UTC (rev 291146)
@@ -4,9 +4,11 @@
   }
 </style>
 <script>
+  if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
+  }
   _onload_ = () => {
-    if (window.testRunner)
-        testRunner.dumpAsText();
     document.designMode = 'on';
     document.execCommand('SelectAll');
     document.execCommand('InsertText', false, 'a');
@@ -16,5 +18,7 @@
     document.execCommand('PasteAsQuotation');
     document.execCommand('InsertParagraph');
     document.body.innerHTML = 'This test passes if it does not crash.';
+    if (window.testRunner)
+      testRunner.notifyDone();
   };
 </script>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to