Title: [286966] trunk/LayoutTests
Revision
286966
Author
[email protected]
Date
2021-12-13 12:19:24 -0800 (Mon, 13 Dec 2021)

Log Message

[ macOS and iOS ] editing/deleting/forward-delete-crash.html is timing out
https://bugs.webkit.org/show_bug.cgi?id=230047

Patch by Rob Buis <[email protected]> on 2021-12-13
Reviewed by Wenson Hsieh.

Rewrite forward-delete-crash.html to avoid the timeouts on
macOS and iOS.

* editing/deleting/forward-delete-crash.html:
* platform/ipad/TestExpectations:
* platform/mac/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (286965 => 286966)


--- trunk/LayoutTests/ChangeLog	2021-12-13 20:12:23 UTC (rev 286965)
+++ trunk/LayoutTests/ChangeLog	2021-12-13 20:19:24 UTC (rev 286966)
@@ -1,3 +1,17 @@
+2021-12-13  Rob Buis  <[email protected]>
+
+        [ macOS and iOS ] editing/deleting/forward-delete-crash.html is timing out
+        https://bugs.webkit.org/show_bug.cgi?id=230047
+
+        Reviewed by Wenson Hsieh.
+
+        Rewrite forward-delete-crash.html to avoid the timeouts on
+        macOS and iOS.
+
+        * editing/deleting/forward-delete-crash.html:
+        * platform/ipad/TestExpectations:
+        * platform/mac/TestExpectations:
+
 2021-12-13  Tim Nguyen  <[email protected]>
 
         Fix paint order of CSS text decorations

Modified: trunk/LayoutTests/editing/deleting/forward-delete-crash.html (286965 => 286966)


--- trunk/LayoutTests/editing/deleting/forward-delete-crash.html	2021-12-13 20:12:23 UTC (rev 286965)
+++ trunk/LayoutTests/editing/deleting/forward-delete-crash.html	2021-12-13 20:19:24 UTC (rev 286966)
@@ -18,8 +18,6 @@
     let img0 = document.createElement('img');
     img0._onerror_ = () => {
       document.execCommand('ForwardDelete');
-      setTimeout(function() { window.testRunner.notifyDone(); }, 0);
-      document.write("Test passes if it does not crash.");
     };
     let datalist0 = document.createElement('datalist');
     document.head.appendChild(datalist0);
@@ -39,5 +37,6 @@
     else
       await document.fonts.load("80px Ahem");
     document.execCommand('Delete');
+    setTimeout(function() { document.write("Test passes if it does not crash."); window.testRunner.notifyDone(); }, 0);
   };
 </script>

Modified: trunk/LayoutTests/platform/ipad/TestExpectations (286965 => 286966)


--- trunk/LayoutTests/platform/ipad/TestExpectations	2021-12-13 20:12:23 UTC (rev 286965)
+++ trunk/LayoutTests/platform/ipad/TestExpectations	2021-12-13 20:19:24 UTC (rev 286966)
@@ -94,8 +94,6 @@
 # <rdar://problem/56512107> [ iOS ] Three editing/pasteboard/smart-paste-paragraph tests have been flaky since they landed in r243124 (203264)
 webkit.org/b/203264 editing/pasteboard/smart-paste-paragraph-001.html [ Pass ]
 
-webkit.org/b/230047 editing/deleting/forward-delete-crash.html [ Pass Timeout ]
-
 webkit.org/b/231635 [ Release ] editing/selection/ios/scroll-to-reveal-selection-when-showing-software-keyboard.html [ Timeout ]
 
 media/picture-in-picture [ Pass ]

Modified: trunk/LayoutTests/platform/mac/TestExpectations (286965 => 286966)


--- trunk/LayoutTests/platform/mac/TestExpectations	2021-12-13 20:12:23 UTC (rev 286965)
+++ trunk/LayoutTests/platform/mac/TestExpectations	2021-12-13 20:19:24 UTC (rev 286966)
@@ -1084,8 +1084,6 @@
 # rdar://problem/27141291
 editing/selection/triple-click-in-pre.html [ Failure ]
 
-webkit.org/b/230047 editing/deleting/forward-delete-crash.html [ Pass Timeout ]
-
 # rdar://problem/31243824
 webkit.org/b/158747 media/restore-from-page-cache.html [ Pass Failure Crash ]
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to