Bug 71896 - [WK2] http/tests/security/contentSecurityPolicy/block-mixed-content-hides-warning.html fails
Summary: [WK2] http/tests/security/contentSecurityPolicy/block-mixed-content-hides-war...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: LayoutTestFailure
Depends on:
Blocks:
 
Reported: 2011-11-09 06:23 PST by Balazs Kelemen
Modified: 2013-01-13 01:10 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balazs Kelemen 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.
Comment 1 Balazs Kelemen 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.
Comment 2 Balazs Kelemen 2011-11-09 06:41:57 PST
Skipped in http://trac.webkit.org/changeset/99702
Comment 3 Adam Barth 2011-11-09 16:57:16 PST
The first diff is distrubing.  Why isn't the script blocked?
Comment 4 Chris Dumez 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.
Comment 5 Ádám Kallai 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>
Comment 6 Ádám Kallai 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.
Comment 7 Kwek Kelvin 2013-01-13 01:10:14 PST
How am I to removedn this bug ?