Title: [293662] trunk/LayoutTests
Revision
293662
Author
an...@apple.com
Date
2022-05-02 08:08:16 -0700 (Mon, 02 May 2022)

Log Message

REGRESSION: fast/css/stylesheet-candidate-nodes-crash.xhtml is a constant text failure
https://bugs.webkit.org/show_bug.cgi?id=239960
rdar://92293472

Reviewed by Alan Bujtas.

XML parser update has changed error reporting output slightly.
Remove the error report from the test output since testing that is not the purpose of this test.

* fast/css/stylesheet-candidate-nodes-crash-expected.txt:
* fast/css/stylesheet-candidate-nodes-crash.xhtml:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (293661 => 293662)


--- trunk/LayoutTests/ChangeLog	2022-05-02 10:56:24 UTC (rev 293661)
+++ trunk/LayoutTests/ChangeLog	2022-05-02 15:08:16 UTC (rev 293662)
@@ -1,3 +1,17 @@
+2022-05-02  Antti Koivisto  <an...@apple.com>
+
+        REGRESSION: fast/css/stylesheet-candidate-nodes-crash.xhtml is a constant text failure
+        https://bugs.webkit.org/show_bug.cgi?id=239960
+        rdar://92293472
+
+        Reviewed by Alan Bujtas.
+
+        XML parser update has changed error reporting output slightly.
+        Remove the error report from the test output since testing that is not the purpose of this test.
+
+        * fast/css/stylesheet-candidate-nodes-crash-expected.txt:
+        * fast/css/stylesheet-candidate-nodes-crash.xhtml:
+
 2022-05-01  Arcady Goldmints-Orlov  <agoldmi...@igalia.com>
 
         [GLIB] Update test expectations. Unreviewed test gardening.

Modified: trunk/LayoutTests/fast/css/stylesheet-candidate-nodes-crash-expected.txt (293661 => 293662)


--- trunk/LayoutTests/fast/css/stylesheet-candidate-nodes-crash-expected.txt	2022-05-02 10:56:24 UTC (rev 293661)
+++ trunk/LayoutTests/fast/css/stylesheet-candidate-nodes-crash-expected.txt	2022-05-02 15:08:16 UTC (rev 293662)
@@ -1,7 +1 @@
-This page contains the following errors:
-
-error on line 29 at column 9: Double hyphen within comment
-error on line 32 at column 1: Comment not terminated
-Below is a rendering of the page up to the first error.
-
 PASS

Modified: trunk/LayoutTests/fast/css/stylesheet-candidate-nodes-crash.xhtml (293661 => 293662)


--- trunk/LayoutTests/fast/css/stylesheet-candidate-nodes-crash.xhtml	2022-05-02 10:56:24 UTC (rev 293661)
+++ trunk/LayoutTests/fast/css/stylesheet-candidate-nodes-crash.xhtml	2022-05-02 15:08:16 UTC (rev 293662)
@@ -12,9 +12,12 @@
                 {
                     document.getElementsByTagNameNS('http://www.w3.org/1999/xhtml', 'style')[0];
                     if (document.body) {
-                        document.body.innerHTML = "PASS";
-                        if (window.testRunner)
-                            testRunner.notifyDone();
+                        document.body.innerHTML = "TEXT";
+                        setTimeout(() => {
+                            document.body.innerHTML = "PASS";
+                            if (window.testRunner)
+                                testRunner.notifyDone();
+                        });
                     }
                 }
             </script>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to