(r261946) [ iOS ] fast/frames/didBecomeCurrentDocumentInFrame-crash.html is failing
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 May 2020 00:02:31 +0000 (00:02 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 May 2020 00:02:31 +0000 (00:02 +0000)
https://bugs.webkit.org/show_bug.cgi?id=212179
<rdar://problem/63469486>

Unreviewed, add testRunner.dumpAsText() call in the test to get nicer expected
result.

* fast/frames/didBecomeCurrentDocumentInFrame-crash-expected.txt:
* fast/frames/didBecomeCurrentDocumentInFrame-crash.html:
* platform/win/fast/frames/didBecomeCurrentDocumentInFrame-crash-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261973 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/frames/didBecomeCurrentDocumentInFrame-crash-expected.txt
LayoutTests/fast/frames/didBecomeCurrentDocumentInFrame-crash.html
LayoutTests/platform/win/fast/frames/didBecomeCurrentDocumentInFrame-crash-expected.txt [deleted file]

index dfffd8d..be76e3f 100644 (file)
@@ -1,3 +1,16 @@
+2020-05-20  Chris Dumez  <cdumez@apple.com>
+
+        (r261946) [ iOS ] fast/frames/didBecomeCurrentDocumentInFrame-crash.html is failing
+        https://bugs.webkit.org/show_bug.cgi?id=212179
+        <rdar://problem/63469486>
+
+        Unreviewed, add testRunner.dumpAsText() call in the test to get nicer expected
+        result.
+
+        * fast/frames/didBecomeCurrentDocumentInFrame-crash-expected.txt:
+        * fast/frames/didBecomeCurrentDocumentInFrame-crash.html:
+        * platform/win/fast/frames/didBecomeCurrentDocumentInFrame-crash-expected.txt: Removed.
+
 2020-05-20  Ryan Haddad  <ryanhaddad@apple.com>
 
         Disable support for BeforeLoadEvent
index 07a6454..4900486 100644 (file)
@@ -1,12 +1,3 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 226x18
-          text run at (0,0) width 226: "This test passes if it does not crash."
-      RenderBlock {PRE} at (0,34) size 784x0
-      RenderBlock (anonymous) at (0,34) size 784x150
-        RenderEmbeddedObject {OBJECT} at (0,0) size 300x150
-        RenderText {#text} at (0,0) size 0x0
+This test passes if it does not crash.
+
+
index b762a08..12d3865 100644 (file)
@@ -1,6 +1,9 @@
 <html>\r
 <head>\r
 <script>\r
+if (window.testRunner)\r
+    testRunner.dumpAsText();\r
+\r
 function runTest() {\r
        paramElement.appendChild(document.createElement("frame"));\r
        objectElement.onbeforeload = () => { preElement.remove(); }\r
diff --git a/LayoutTests/platform/win/fast/frames/didBecomeCurrentDocumentInFrame-crash-expected.txt b/LayoutTests/platform/win/fast/frames/didBecomeCurrentDocumentInFrame-crash-expected.txt
deleted file mode 100644 (file)
index 395efd0..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 220x18
-          text run at (0,0) width 220: "This test passes if it does not crash."
-      RenderBlock {PRE} at (0,34) size 784x0
-      RenderBlock (anonymous) at (0,34) size 784x150
-        RenderEmbeddedObject {OBJECT} at (0,0) size 300x150
-        RenderText {#text} at (0,0) size 0x0