Title: [218026] trunk/LayoutTests
- Revision
- 218026
- Author
- [email protected]
- Date
- 2017-06-09 16:13:41 -0700 (Fri, 09 Jun 2017)
Log Message
CSP: Apply img-src directive to favicon loads
https://bugs.webkit.org/show_bug.cgi?id=172733
Remove CONSOLE MESSAGE line from expected result that I inadvertently left in from an earlier iteration
of the test that did not call testRunner.queueReload(). Calling testRunner.queueReload() clears out
any emitted console messages. The dump of the resource load callbacks is sufficient to ensure that
the favicon was blocked as expected.
* http/tests/security/contentSecurityPolicy/block-favicon-expected.txt:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (218025 => 218026)
--- trunk/LayoutTests/ChangeLog 2017-06-09 22:45:00 UTC (rev 218025)
+++ trunk/LayoutTests/ChangeLog 2017-06-09 23:13:41 UTC (rev 218026)
@@ -1,3 +1,15 @@
+2017-06-09 Daniel Bates <[email protected]>
+
+ CSP: Apply img-src directive to favicon loads
+ https://bugs.webkit.org/show_bug.cgi?id=172733
+
+ Remove CONSOLE MESSAGE line from expected result that I inadvertently left in from an earlier iteration
+ of the test that did not call testRunner.queueReload(). Calling testRunner.queueReload() clears out
+ any emitted console messages. The dump of the resource load callbacks is sufficient to ensure that
+ the favicon was blocked as expected.
+
+ * http/tests/security/contentSecurityPolicy/block-favicon-expected.txt:
+
2017-06-09 Andy VanWagoner <[email protected]>
REGRESSION: LayoutTest js/intl-datetimeformat.html is failing
Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/block-favicon-expected.txt (218025 => 218026)
--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/block-favicon-expected.txt 2017-06-09 22:45:00 UTC (rev 218025)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/block-favicon-expected.txt 2017-06-09 23:13:41 UTC (rev 218026)
@@ -1,5 +1,4 @@
http://127.0.0.1:8000/security/contentSecurityPolicy/block-favicon.html - didFinishLoading
http://127.0.0.1:8000/security/contentSecurityPolicy/block-favicon.html - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/security/contentSecurityPolicy/block-favicon.html, main document URL http://127.0.0.1:8000/security/contentSecurityPolicy/block-favicon.html, http method GET> redirectResponse (null)
http://127.0.0.1:8000/security/contentSecurityPolicy/block-favicon.html - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/security/contentSecurityPolicy/block-favicon.html, http status code 200>
-CONSOLE MESSAGE: Refused to load http://127.0.0.1:8000/misc/resources/favicon.ico because it does not appear in the img-src directive of the Content Security Policy.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes