Title: [251504] trunk/LayoutTests
Revision
251504
Author
[email protected]
Date
2019-10-23 15:39:34 -0700 (Wed, 23 Oct 2019)

Log Message

[macOS WK2] Layout Test http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access.html is a flaky timeout (198670)
https://bugs.webkit.org/show_bug.cgi?id=198670
<rdar://problem/51529251>

Patch by Kate Cheney <[email protected]> on 2019-10-23
Reviewed by John Wilander.

Was able to reproduce flaky timeouts extremely rarely accompanied by
the error 'JS ERROR TypeError: null is not an object (evaluating
'document.body.appendChild’)'. Since the frame was being created in
head, the document body was sometimes not finished loading by the time
the appendChild call was being made. Moving the frame load to the body should fix this flakiness.

* http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access.html:
* platform/mac-wk2/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (251503 => 251504)


--- trunk/LayoutTests/ChangeLog	2019-10-23 22:34:57 UTC (rev 251503)
+++ trunk/LayoutTests/ChangeLog	2019-10-23 22:39:34 UTC (rev 251504)
@@ -1,5 +1,22 @@
 2019-10-23  Kate Cheney  <[email protected]>
 
+        [macOS WK2] Layout Test http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access.html is a flaky timeout (198670)
+        https://bugs.webkit.org/show_bug.cgi?id=198670
+        <rdar://problem/51529251>
+
+        Reviewed by John Wilander.
+
+        Was able to reproduce flaky timeouts extremely rarely accompanied by
+        the error 'JS ERROR TypeError: null is not an object (evaluating
+        'document.body.appendChild’)'. Since the frame was being created in
+        head, the document body was sometimes not finished loading by the time
+        the appendChild call was being made. Moving the frame load to the body should fix this flakiness.
+
+        * http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access.html:
+        * platform/mac-wk2/TestExpectations:
+
+2019-10-23  Kate Cheney  <[email protected]>
+
         Implement dumpResourceLoadStatistics in SQLite ITP Database
         https://bugs.webkit.org/show_bug.cgi?id=203224
         <rdar://problem/56482165>

Modified: trunk/LayoutTests/http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access.html (251503 => 251504)


--- trunk/LayoutTests/http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access.html	2019-10-23 22:34:57 UTC (rev 251503)
+++ trunk/LayoutTests/http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access.html	2019-10-23 22:39:34 UTC (rev 251504)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
 <head>
+</head>
+<body>
     <script src=""
     <script src=""
     <script src=""
@@ -84,7 +86,5 @@
             });
         }
     </script>
-</head>
-<body>
 </body>
-</html>
\ No newline at end of file
+</html>

Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (251503 => 251504)


--- trunk/LayoutTests/platform/mac-wk2/TestExpectations	2019-10-23 22:34:57 UTC (rev 251503)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations	2019-10-23 22:39:34 UTC (rev 251504)
@@ -687,7 +687,6 @@
 http/tests/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame.html [ Pass ]
 http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal.html [ Pass ]
 [ HighSierra+ ] http/tests/storageAccess/ [ Pass ]
-webkit.org/b/198670 [ HighSierra+ ] http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access.html [ Pass Timeout ]
 [ HighSierra+ ] http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access-database.html [ Pass Timeout ]
 [ HighSierra+ ] http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture.html [ Skip ]
 [ HighSierra+ ] http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture-database.html [ Skip ]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to