Bug 71896
Summary: | [WK2] http/tests/security/contentSecurityPolicy/block-mixed-content-hides-warning.html fails | ||
---|---|---|---|
Product: | WebKit | Reporter: | Balazs Kelemen <kbalazs> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | abarth, cdumez, kadam, kkwek6561, sam |
Priority: | P2 | Keywords: | LayoutTestFailure |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Balazs Kelemen
Qt+Mac SL failure on block-mixed-content-hides-warning.html:
@@ -1,3 +1,1 @@
-CONSOLE MESSAGE: line 1: Refused to load script from 'http://127.0.0.1:8080/security/contentSecurityPolicy/resources/alert-fail.js' because of Content-Security-Policy.
-
This page should neither alert "FAIL" nor generate any mixed content warnings in the console.
Mac SL failure on script-src-star-cross-scheme.html
@@ -3,4 +3,4 @@
--------
Frame: '<!--framePath //<!--frame0-->-->'
--------
-PASS
+FAIL
Qt failure on object-src-no-url-blocked.html:
+CONSOLE MESSAGE: line 1: Refused to load object from '' because of Content-Security-Policy.
+
CONSOLE MESSAGE: line 1: Refused to load object from '' because of Content-Security-Policy.
This test passes if there is a console message saying the plugin was blocked.
Qt failure on object-src-none-allowed.html:
-ALERT: Plugin Loaded!
Qt failure on object-src-none-blocked.html:
+CONSOLE MESSAGE: line 1: Refused to load object from 'data:application/x-webkit-test-netscape,alertwhenloaded' because of Content-Security-Policy.
+
CONSOLE MESSAGE: line 1: Refused to load object from 'data:application/x-webkit-test-netscape,alertwhenloaded' because of Content-Security-Policy.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Balazs Kelemen
Hmm, the Qt failures fails with Qt5 as well (expect block-mixed-content-hides-warning.html), so it seems like only the first two are WK2 related.
Balazs Kelemen
Skipped in http://trac.webkit.org/changeset/99702
Adam Barth
The first diff is distrubing. Why isn't the script blocked?
Chris Dumez
This test is passing on WebKit2 EFL. Could someone try it for other ports?
I think we may be able to unskip it.
Ádám Kallai
This test is working well. I removed it from Wk2 skipped list.
Committed in r129756: <http://trac.webkit.org/changeset/129756>
Ádám Kallai
It seems this bug is fixed. After unskipping I checked the results on other platforms. It's working well. Closing bug.
Kwek Kelvin
How am I to removedn this bug ?