Title: [270137] trunk/LayoutTests
Revision
270137
Author
[email protected]
Date
2020-11-20 16:51:21 -0800 (Fri, 20 Nov 2020)

Log Message

Silence ApplicationCache related errors when running http/tests/inspector/network/x-frame-options.html
https://bugs.webkit.org/show_bug.cgi?id=218830

* http/tests/inspector/network/x-frame-options.html:
This makes the test output deterministic, even after trying to message a frame that has been destroyed.
The actual fix was the revision referred to in the bugzilla, but this was needed to make the test not print out mostly-unrelated errors.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (270136 => 270137)


--- trunk/LayoutTests/ChangeLog	2020-11-21 00:38:46 UTC (rev 270136)
+++ trunk/LayoutTests/ChangeLog	2020-11-21 00:51:21 UTC (rev 270137)
@@ -1,3 +1,12 @@
+2020-11-20  Alex Christensen  <[email protected]>
+
+        Silence ApplicationCache related errors when running http/tests/inspector/network/x-frame-options.html
+        https://bugs.webkit.org/show_bug.cgi?id=218830
+
+        * http/tests/inspector/network/x-frame-options.html:
+        This makes the test output deterministic, even after trying to message a frame that has been destroyed.
+        The actual fix was the revision referred to in the bugzilla, but this was needed to make the test not print out mostly-unrelated errors.
+
 2020-11-20  Kate Cheney  <[email protected]>
 
         PCM: Persist pending ad clicks and attributions so they can survive browser restart

Modified: trunk/LayoutTests/http/tests/inspector/network/x-frame-options.html (270136 => 270137)


--- trunk/LayoutTests/http/tests/inspector/network/x-frame-options.html	2020-11-21 00:38:46 UTC (rev 270136)
+++ trunk/LayoutTests/http/tests/inspector/network/x-frame-options.html	2020-11-21 00:51:21 UTC (rev 270137)
@@ -19,6 +19,7 @@
         async test() {
             const option = "DENY";
             InspectorTest.evaluateInPage(`createIFrame("${option}")`);
+            WI.reportInternalError = (e) => { };
 
             let event = await WI.Resource.awaitEvent(WI.Resource.Event.ResponseReceived);
 
@@ -33,6 +34,7 @@
         async test() {
             const option = "SAMEORIGIN";
             InspectorTest.evaluateInPage(`createIFrame("${option}")`);
+            WI.reportInternalError = (e) => { };
 
             let event = await WI.Resource.awaitEvent(WI.Resource.Event.ResponseReceived);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to