WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 71896
[WK2] http/tests/security/contentSecurityPolicy/block-mixed-content-hides-warning.html fails
https://bugs.webkit.org/show_bug.cgi?id=71896
Summary
[WK2] http/tests/security/contentSecurityPolicy/block-mixed-content-hides-war...
Balazs Kelemen
Reported
2011-11-09 06:23:20 PST
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
Comment 1
2011-11-09 06:37:30 PST
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
Comment 2
2011-11-09 06:41:57 PST
Skipped in
http://trac.webkit.org/changeset/99702
Adam Barth
Comment 3
2011-11-09 16:57:16 PST
The first diff is distrubing. Why isn't the script blocked?
Chris Dumez
Comment 4
2012-09-25 01:21:22 PDT
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
Comment 5
2012-09-27 05:23:16 PDT
This test is working well. I removed it from Wk2 skipped list. Committed in
r129756
: <
http://trac.webkit.org/changeset/129756
>
Ádám Kallai
Comment 6
2012-09-27 07:58:15 PDT
It seems this bug is fixed. After unskipping I checked the results on other platforms. It's working well. Closing bug.
Kwek Kelvin
Comment 7
2013-01-13 01:10:14 PST
How am I to removedn this bug ?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug