Content Security Policy console error messages should include the violated directive.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 May 2012 07:04:00 +0000 (07:04 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 May 2012 07:04:00 +0000 (07:04 +0000)
https://bugs.webkit.org/show_bug.cgi?id=86323

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-15
Reviewed by Adam Barth.

Update global expectations for 1 Content Security Policy test after r117006.

* http/tests/security/contentSecurityPolicy/media-src-blocked-expected.txt:

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

LayoutTests/ChangeLog
LayoutTests/http/tests/security/contentSecurityPolicy/media-src-blocked-expected.txt

index 4eabbc7..90828fc 100644 (file)
@@ -1,3 +1,14 @@
+2012-05-15  Christophe Dumez  <christophe.dumez@intel.com>
+
+        Content Security Policy console error messages should include the violated directive.
+        https://bugs.webkit.org/show_bug.cgi?id=86323
+
+        Reviewed by Adam Barth.
+
+        Update global expectations for 1 Content Security Policy test after r117006.
+
+        * http/tests/security/contentSecurityPolicy/media-src-blocked-expected.txt:
+
 2012-05-14  Csaba Osztrogon√°c  <ossy@webkit.org>
 
         [Qt] Unreviewed morning gardening to paint the Qt bots green.
index 080a82a..ad9648e 100644 (file)
@@ -1,4 +1,4 @@
-CONSOLE MESSAGE: Refused to load media from 'http://127.0.0.1:8000/media/video-load-and-stall.cgi?name=../../../media/content/test.mp4&mimeType=video/mp4&stallAt=100000' because of Content-Security-Policy.
+CONSOLE MESSAGE: Refused to load the media 'http://127.0.0.1:8000/media/video-load-and-stall.cgi?name=../../../media/content/test.mp4&mimeType=video/mp4&stallAt=100000' because it violates the following Content Security Policy directive: "media-src 'none'".
 
 END OF TEST
 This test passes if it doesn't alert failure.