blob: 4ca07953ca2cd126281a220383b1c6b2370fc916 [file] [log] [blame]
CONSOLE MESSAGE: line 2: Executed script with MIME type: 'application/json'.
CONSOLE MESSAGE: line 2: Executed script with MIME type: 'text/html'.
CONSOLE MESSAGE: line 2: Executed script with MIME type: 'text/vbs'.
CONSOLE MESSAGE: line 2: Executed script with MIME type: 'text/vbscript'.
CONSOLE MESSAGE: line 2: Executed script with MIME type: 'text/x-javascript'.
Check that script sent with an invalid 'X-Content-Type-Options: nosniff' header is correctly allowed, even if the MIME type isn't scripty.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS window.scriptsSuccessfullyLoaded is unscriptyMimeTypes.length
PASS successfullyParsed is true
TEST COMPLETE