Fail fast on bad schemes

This commit is contained in:
Patrick Shaughnessy 2020-02-05 15:22:45 -05:00
parent 5f55cd5d71
commit 7ef644c1f7
3 changed files with 14 additions and 30 deletions

View file

@ -5,13 +5,3 @@
[dedicated worker - EventSource: constructor (act as if there is a network error) (https://example.not/test)]
expected: FAIL
[dedicated worker - EventSource: constructor (act as if there is a network error) (ftp://example.not/)]
expected: FAIL
[dedicated worker - EventSource: constructor (act as if there is a network error) (mailto:whatwg@awesome.example)]
expected: FAIL
[dedicated worker - EventSource: constructor (act as if there is a network error) (javascript:alert('FAIL'))]
expected: FAIL

View file

@ -1,17 +0,0 @@
[eventsource-constructor-non-same-origin.htm]
type: testharness
[EventSource: constructor (act as if there is a network error) (http://example.not/)]
expected: FAIL
[EventSource: constructor (act as if there is a network error) (https://example.not/test)]
expected: FAIL
[EventSource: constructor (act as if there is a network error) (ftp://example.not/)]
expected: FAIL
[EventSource: constructor (act as if there is a network error) (mailto:whatwg@awesome.example)]
expected: FAIL
[EventSource: constructor (act as if there is a network error) (javascript:alert('FAIL'))]
expected: FAIL