Implemented nosniff for fetch algorithm

This commit is contained in:
Sumant Manne 2016-12-16 15:04:18 -06:00 committed by Anthony Ramine
parent 7cd4c69c40
commit 8aac575019
9 changed files with 172 additions and 79 deletions

View file

@ -1,5 +0,0 @@
[importscripts.html]
type: testharness
[Test importScripts()]
expected: FAIL

View file

@ -1,8 +0,0 @@
[parsing-nosniff.html]
type: testharness
[URL query: first]
expected: FAIL
[URL query: uppercase]
expected: FAIL

View file

@ -1,14 +0,0 @@
[script.html]
type: testharness
[URL query: ]
expected: FAIL
[URL query: ?type=]
expected: FAIL
[URL query: ?type=x]
expected: FAIL
[URL query: ?type=x/x]
expected: FAIL

View file

@ -1,14 +0,0 @@
[stylesheet.html]
type: testharness
[URL query: ]
expected: FAIL
[URL query: ?type=]
expected: FAIL
[URL query: ?type=x]
expected: FAIL
[URL query: ?type=x/x]
expected: FAIL

View file

@ -1,14 +0,0 @@
[worker.html]
type: testharness
[URL query: ]
expected: FAIL
[URL query: ?type=]
expected: FAIL
[URL query: ?type=x]
expected: FAIL
[URL query: ?type=x/x]
expected: FAIL

View file

@ -1,5 +0,0 @@
[WorkerGlobalScope_importScripts_NosniffErr.htm]
type: testharness
[importScripts throws on 'nosniff' violation]
expected: FAIL

View file

@ -1,6 +0,0 @@
[Worker_NosniffErr.htm]
type: testharness
expected: TIMEOUT
[ Worker with nosniff X-Content-Type-Options header ]
expected: TIMEOUT