Title: [295006] trunk/LayoutTests/editing/execCommand/outdent-paragraph-crash.html
Revision
295006
Author
commit-qu...@webkit.org
Date
2022-05-28 17:11:43 -0700 (Sat, 28 May 2022)

Log Message

Null check split node parent in outdentParagraph
https://bugs.webkit.org/show_bug.cgi?id=235914

Patch by Rob Buis <rb...@igalia.com> on 2022-05-28
Reviewed by Ryosuke Niwa.

Changed test to use setTimeout as it more reliably causes the original crash.

* LayoutTests/editing/execCommand/outdent-paragraph-crash.html:

Canonical link: https://commits.webkit.org/251101@main

Modified Paths

Diff

Modified: trunk/LayoutTests/editing/execCommand/outdent-paragraph-crash.html (295005 => 295006)


--- trunk/LayoutTests/editing/execCommand/outdent-paragraph-crash.html	2022-05-28 23:33:17 UTC (rev 295005)
+++ trunk/LayoutTests/editing/execCommand/outdent-paragraph-crash.html	2022-05-29 00:11:43 UTC (rev 295006)
@@ -14,8 +14,7 @@
     _onload_ = async () => {
       visualViewport._onresize_ = () => {
         document.execCommand('Outdent');
-        document.write("Test passes if it does not crash.");
-        testRunner.notifyDone();
+        setTimeout(function() { document.write("Test passes if it does not crash."); testRunner.notifyDone(); });
       };
       let blockquote = document.createElement('blockquote');
       document.body.append(blockquote);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to