Skip to content

Commit

Permalink
Turn on upstream SW wpt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CYBAI committed Nov 27, 2018
1 parent e7d4e65 commit d44243a
Show file tree
Hide file tree
Showing 231 changed files with 4,227 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/wpt/metadata/service-workers/__dir__.ini
@@ -0,0 +1,2 @@
prefs: ["dom.serviceworker.enabled:true"]

@@ -0,0 +1,4 @@
[common.https.html]
[Window sees cache puts by Worker]
expected: FAIL

@@ -0,0 +1,4 @@
[cache-abort.https.html]
[Cache Storage: Abort]
expected: FAIL

@@ -0,0 +1,4 @@
[cache-add.https.html]
[Cache.add and Cache.addAll]
expected: FAIL

@@ -0,0 +1,4 @@
[cache-delete.https.html]
[Cache.delete]
expected: FAIL

@@ -0,0 +1,7 @@
[cache-keys-attributes-for-service-worker.https.html]
[Request.IsReloadNavigation should persist.]
expected: FAIL

[Request.IsHistoryNavigation should persist.]
expected: FAIL

@@ -0,0 +1,4 @@
[cache-keys.https.html]
[Cache.keys]
expected: FAIL

@@ -0,0 +1,4 @@
[cache-match.https.html]
[Cache.match]
expected: FAIL

@@ -0,0 +1,4 @@
[cache-matchAll.https.html]
[Cache.matchAll]
expected: FAIL

@@ -0,0 +1,4 @@
[cache-put.https.html]
[Cache.put]
expected: FAIL

@@ -0,0 +1,4 @@
[cache-storage-keys.https.html]
[CacheStorage.keys]
expected: FAIL

@@ -0,0 +1,4 @@
[cache-storage-match.https.html]
[CacheStorage.match]
expected: FAIL

@@ -0,0 +1,4 @@
[cache-storage.https.html]
[CacheStorage]
expected: FAIL

@@ -0,0 +1,4 @@
[credentials.https.html]
[Cache API matching includes credentials]
expected: FAIL

@@ -0,0 +1,29 @@
[cache-abort.https.html]
expected: ERROR
[put() synchronously followed by abort should reject with AbortError]
expected: NOTRUN

[addAll() on an already-aborted request should reject with AbortError]
expected: NOTRUN

[addAll() synchronously followed by abort should reject with AbortError]
expected: NOTRUN

[add() synchronously followed by abort should reject with AbortError]
expected: NOTRUN

[put() on an already-aborted request should reject with AbortError]
expected: FAIL

[put() followed by abort after headers received should reject with AbortError]
expected: NOTRUN

[add() on an already-aborted request should reject with AbortError]
expected: NOTRUN

[addAll() followed by abort after headers received should reject with AbortError]
expected: NOTRUN

[add() followed by abort after headers received should reject with AbortError]
expected: NOTRUN

@@ -0,0 +1,65 @@
[cache-add.https.html]
expected: ERROR
[Cache.addAll with no arguments]
expected: NOTRUN

[Cache.addAll with an empty array]
expected: NOTRUN

[Cache.add with request that results in a status of 404]
expected: NOTRUN

[Cache.addAll called with the same Request object specified twice]
expected: NOTRUN

[Cache.add with 206 response]
expected: NOTRUN

[Cache.add called twice with the same Request object]
expected: NOTRUN

[Cache.addAll with Request arguments]
expected: NOTRUN

[Cache.addAll should reject when entries are duplicate by vary header]
expected: NOTRUN

[Cache.addAll should succeed when entries differ by vary header]
expected: NOTRUN

[Cache.add called with relative URL specified as a string]
expected: NOTRUN

[Cache.add called with non-HTTP/HTTPS URL]
expected: NOTRUN

[Cache.addAll with string URL arguments]
expected: NOTRUN

[Cache.add with request that results in a status of 500]
expected: NOTRUN

[Cache.addAll with a mix of succeeding and failing requests]
expected: NOTRUN

[Cache.add called with Request object]
expected: NOTRUN

[Cache.addAll with 206 response]
expected: NOTRUN

[Cache.addAll should reject when one entry has a vary header matching another entry]
expected: NOTRUN

[Cache.add called with no arguments]
expected: FAIL

[Cache.addAll with a mix of valid and undefined arguments]
expected: NOTRUN

[Cache.add called with POST request]
expected: NOTRUN

[Cache.add with request with null body (not consumed)]
expected: NOTRUN

@@ -0,0 +1,26 @@
[cache-delete.https.html]
expected: ERROR
[Cache.delete with no arguments]
expected: FAIL

[Cache.delete called with a Request object]
expected: NOTRUN

[Cache.delete with a non-existent entry]
expected: NOTRUN

[Cache.delete with ignoreSearch option (request with search parameters)]
expected: NOTRUN

[Cache.delete called with a HEAD request]
expected: NOTRUN

[Cache.delete supports ignoreVary]
expected: NOTRUN

[Cache.delete with ignoreSearch option (when it is specified as false)]
expected: NOTRUN

[Cache.delete called with a string URL]
expected: NOTRUN

@@ -0,0 +1,44 @@
[cache-keys.https.html]
expected: ERROR
[Cache.keys with URL containing fragment]
expected: NOTRUN

[Cache.keys with no matching entries]
expected: NOTRUN

[Cache.keys with string fragment "http" as query]
expected: NOTRUN

[Cache.keys with new Request]
expected: NOTRUN

[Cache.keys supports ignoreMethod]
expected: NOTRUN

[Cache.keys with URL]
expected: NOTRUN

[Cache.keys supports ignoreVary]
expected: NOTRUN

[Cache.keys with Request]
expected: NOTRUN

[Cache.keys without parameters]
expected: NOTRUN

[Cache.keys with ignoreSearch option (request with search parameters)]
expected: NOTRUN

[Cache.keys without parameters and VARY entries]
expected: NOTRUN

[Cache.keys with a HEAD Request]
expected: NOTRUN

[Cache.keys with ignoreSearch option (request with no search parameters)]
expected: NOTRUN

[Cache.keys() called on an empty cache]
expected: FAIL

@@ -0,0 +1,65 @@
[cache-match.https.html]
expected: ERROR
[cors-exposed header should be stored correctly.]
expected: NOTRUN

[Cache.match with ignoreSearch option (request with no search parameters)]
expected: NOTRUN

[Cache.match with responses containing "Vary" header]
expected: NOTRUN

[Cache.match with new Request]
expected: NOTRUN

[Cache produces large Responses that can be cloned and read correctly.]
expected: NOTRUN

[Cache.match with string fragment "http" as query]
expected: NOTRUN

[Cache.match with a non-2xx Response]
expected: NOTRUN

[Cache.match with a network error Response]
expected: NOTRUN

[Cache.match with no matching entries]
expected: FAIL

[Cache.match blob should be sliceable]
expected: NOTRUN

[Cache.match supports ignoreMethod]
expected: NOTRUN

[Cache.match with Request and Response objects with different URLs]
expected: NOTRUN

[Cache.match invoked multiple times for the same Request/Response]
expected: NOTRUN

[Cache.match with POST Request]
expected: NOTRUN

[Cache.match with multiple cache hits]
expected: NOTRUN

[Cache.match supports ignoreVary]
expected: NOTRUN

[Cache.match with URL]
expected: NOTRUN

[Cache.match with ignoreSearch option (request with search parameter)]
expected: NOTRUN

[Cache.match with HEAD]
expected: NOTRUN

[Cache.match with URL containing fragment]
expected: NOTRUN

[Cache.match with Request]
expected: NOTRUN

@@ -0,0 +1,44 @@
[cache-matchAll.https.html]
expected: ERROR
[Cache.matchAll with URL]
expected: NOTRUN

[Cache.matchAll with ignoreSearch option (request with no search parameters)]
expected: NOTRUN

[Cache.matchAll with HEAD]
expected: NOTRUN

[Cache.matchAll without parameters]
expected: NOTRUN

[Cache.matchAll supports ignoreMethod]
expected: NOTRUN

[Cache.matchAll with multiple vary pairs]
expected: NOTRUN

[Cache.matchAll with Request]
expected: NOTRUN

[Cache.matchAll with new Request]
expected: NOTRUN

[Cache.matchAll with ignoreSearch option (request with search parameters)]
expected: NOTRUN

[Cache.matchAll supports ignoreVary]
expected: NOTRUN

[Cache.matchAll with string fragment "http" as query]
expected: NOTRUN

[Cache.matchAll with no matching entries]
expected: FAIL

[Cache.matchAll with URL containing fragment]
expected: NOTRUN

[Cache.matchAll with responses containing "Vary" header]
expected: NOTRUN

0 comments on commit d44243a

Please sign in to comment.