Title: [243353] trunk/LayoutTests
- Revision
- 243353
- Author
- [email protected]
- Date
- 2019-03-21 18:58:13 -0700 (Thu, 21 Mar 2019)
Log Message
[ Mac WK2 ] Layout Test http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=194350
<rdar://problem/47937466>
Reviewed by Alex Christensen.
Bypass the HTMLPreloadScanner in the test or compass.jpg resource may end up getting loaded twice and log extra
lines in the test output.
* http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt:
* http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-with-enforced-and-report-policies.php:
* platform/mac-wk2/TestExpectations:
* platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (243352 => 243353)
--- trunk/LayoutTests/ChangeLog 2019-03-22 01:22:47 UTC (rev 243352)
+++ trunk/LayoutTests/ChangeLog 2019-03-22 01:58:13 UTC (rev 243353)
@@ -1,3 +1,19 @@
+2019-03-21 Chris Dumez <[email protected]>
+
+ [ Mac WK2 ] Layout Test http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies.html is a flaky failure
+ https://bugs.webkit.org/show_bug.cgi?id=194350
+ <rdar://problem/47937466>
+
+ Reviewed by Alex Christensen.
+
+ Bypass the HTMLPreloadScanner in the test or compass.jpg resource may end up getting loaded twice and log extra
+ lines in the test output.
+
+ * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt:
+ * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-with-enforced-and-report-policies.php:
+ * platform/mac-wk2/TestExpectations:
+ * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt:
+
2019-03-21 Simon Fraser <[email protected]>
Unreviewed test gardening.
Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt (243352 => 243353)
--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt 2019-03-22 01:22:47 UTC (rev 243352)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt 2019-03-22 01:58:13 UTC (rev 243353)
@@ -23,9 +23,9 @@
violatedDirective: block-all-mixed-content
effectiveDirective: block-all-mixed-content
originalPolicy: block-all-mixed-content
-sourceFile:
-lineNumber: 0
-columnNumber: 0
+sourceFile: https://127.0.0.1:8443/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-with-enforced-and-report-policies.php
+lineNumber: 9
+columnNumber: 15
statusCode: 0
Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-with-enforced-and-report-policies.php (243352 => 243353)
--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-with-enforced-and-report-policies.php 2019-03-22 01:22:47 UTC (rev 243352)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-with-enforced-and-report-policies.php 2019-03-22 01:58:13 UTC (rev 243353)
@@ -8,6 +8,9 @@
<script src=""
</head>
<body>
-<img src=""
+<script>
+// Use document.write() to bypass the HTMLPreloadScanner and address flakiness.
+document.write('<img src=""
+</script>
</body>
</html>
Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (243352 => 243353)
--- trunk/LayoutTests/platform/mac-wk2/TestExpectations 2019-03-22 01:22:47 UTC (rev 243352)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations 2019-03-22 01:58:13 UTC (rev 243353)
@@ -918,6 +918,4 @@
webkit.org/b/194253 scrollingcoordinator/scrolling-tree/fixed-inside-frame.html [ Pass Failure ]
-webkit.org/b/194350 http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies.html [ Pass Failure ]
-
webkit.org/b/194916 fast/mediastream/MediaStream-video-element.html [ Pass Failure ]
Modified: trunk/LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt (243352 => 243353)
--- trunk/LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt 2019-03-22 01:22:47 UTC (rev 243352)
+++ trunk/LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt 2019-03-22 01:58:13 UTC (rev 243353)
@@ -23,9 +23,9 @@
violatedDirective: block-all-mixed-content
effectiveDirective: block-all-mixed-content
originalPolicy: block-all-mixed-content
-sourceFile:
-lineNumber: 0
-columnNumber: 0
+sourceFile: https://127.0.0.1:8443/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-with-enforced-and-report-policies.php
+lineNumber: 9
+columnNumber: 15
statusCode: 0
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes