-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to new baseline format - external/wpt/(service-workers, webso…
…ckets) The new baselines format for test harness tests is machine parsable. Do this incrementally to make it easier to handle and review. With this change, we will be able to regenerate WPT metadata from baselines. Note to Gardeners: Please don't revert this CL if there are individual test failures. Pls ping and I can rebaseline for such tests. Bug: 1481730 Change-Id: Icb7caaae14ec396b218b6c7553b6183143f6563c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4950359 Commit-Queue: Weizhong Xia <weizhong@google.com> Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1211662}
- Loading branch information
Showing
234 changed files
with
2,383 additions
and
2,329 deletions.
There are no files selected for viewing
45 changes: 23 additions & 22 deletions
45
...ink/web_tests/external/wpt/service-workers/cache-storage/cache-add.https.any-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
This is a testharness.js-based test. | ||
PASS Cache.add called with no arguments | ||
PASS Cache.add called with relative URL specified as a string | ||
PASS Cache.add called with non-HTTP/HTTPS URL | ||
PASS Cache.add called with Request object | ||
PASS Cache.add called with POST request | ||
PASS Cache.add called twice with the same Request object | ||
PASS Cache.add with request with null body (not consumed) | ||
PASS Cache.add with 206 response | ||
PASS Cache.addAll with 206 response | ||
PASS Cache.addAll with opaque-filtered 206 response | ||
PASS Cache.add with request that results in a status of 404 | ||
PASS Cache.add with request that results in a status of 500 | ||
PASS Cache.addAll with no arguments | ||
PASS Cache.addAll with a mix of valid and undefined arguments | ||
PASS Cache.addAll with an empty array | ||
PASS Cache.addAll with string URL arguments | ||
PASS Cache.addAll with Request arguments | ||
PASS Cache.addAll with a mix of succeeding and failing requests | ||
FAIL Cache.addAll called with the same Request object specified twice promise_rejects_dom: Cache.addAll should throw InvalidStateError if the same request is added twice. function "function() { throw e }" threw object "TypeError: Failed to execute 'addAll' on 'Cache': Request failed" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11 | ||
PASS Cache.addAll should succeed when entries differ by vary header | ||
PASS Cache.addAll should reject when entries are duplicate by vary header | ||
PASS Cache.addAll should reject when one entry has a vary header matching another entry | ||
[PASS] Cache.add called with no arguments | ||
[PASS] Cache.add called with relative URL specified as a string | ||
[PASS] Cache.add called with non-HTTP/HTTPS URL | ||
[PASS] Cache.add called with Request object | ||
[PASS] Cache.add called with POST request | ||
[PASS] Cache.add called twice with the same Request object | ||
[PASS] Cache.add with request with null body (not consumed) | ||
[PASS] Cache.add with 206 response | ||
[PASS] Cache.addAll with 206 response | ||
[PASS] Cache.addAll with opaque-filtered 206 response | ||
[PASS] Cache.add with request that results in a status of 404 | ||
[PASS] Cache.add with request that results in a status of 500 | ||
[PASS] Cache.addAll with no arguments | ||
[PASS] Cache.addAll with a mix of valid and undefined arguments | ||
[PASS] Cache.addAll with an empty array | ||
[PASS] Cache.addAll with string URL arguments | ||
[PASS] Cache.addAll with Request arguments | ||
[PASS] Cache.addAll with a mix of succeeding and failing requests | ||
[FAIL] Cache.addAll called with the same Request object specified twice | ||
promise_rejects_dom: Cache.addAll should throw InvalidStateError if the same request is added twice. function "function() { throw e }" threw object "TypeError: Failed to execute 'addAll' on 'Cache': Request failed" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11 | ||
[PASS] Cache.addAll should succeed when entries differ by vary header | ||
[PASS] Cache.addAll should reject when entries are duplicate by vary header | ||
[PASS] Cache.addAll should reject when one entry has a vary header matching another entry | ||
Harness: the test ran to completion. | ||
|
45 changes: 23 additions & 22 deletions
45
...external/wpt/service-workers/cache-storage/cache-add.https.any.serviceworker-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
This is a testharness.js-based test. | ||
PASS Cache.add called with no arguments | ||
PASS Cache.add called with relative URL specified as a string | ||
PASS Cache.add called with non-HTTP/HTTPS URL | ||
PASS Cache.add called with Request object | ||
PASS Cache.add called with POST request | ||
PASS Cache.add called twice with the same Request object | ||
PASS Cache.add with request with null body (not consumed) | ||
PASS Cache.add with 206 response | ||
PASS Cache.addAll with 206 response | ||
PASS Cache.addAll with opaque-filtered 206 response | ||
PASS Cache.add with request that results in a status of 404 | ||
PASS Cache.add with request that results in a status of 500 | ||
PASS Cache.addAll with no arguments | ||
PASS Cache.addAll with a mix of valid and undefined arguments | ||
PASS Cache.addAll with an empty array | ||
PASS Cache.addAll with string URL arguments | ||
PASS Cache.addAll with Request arguments | ||
PASS Cache.addAll with a mix of succeeding and failing requests | ||
FAIL Cache.addAll called with the same Request object specified twice promise_rejects_dom: Cache.addAll should throw InvalidStateError if the same request is added twice. function "function() { throw e }" threw object "TypeError: Failed to execute 'addAll' on 'Cache': Request failed" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11 | ||
PASS Cache.addAll should succeed when entries differ by vary header | ||
PASS Cache.addAll should reject when entries are duplicate by vary header | ||
PASS Cache.addAll should reject when one entry has a vary header matching another entry | ||
[PASS] Cache.add called with no arguments | ||
[PASS] Cache.add called with relative URL specified as a string | ||
[PASS] Cache.add called with non-HTTP/HTTPS URL | ||
[PASS] Cache.add called with Request object | ||
[PASS] Cache.add called with POST request | ||
[PASS] Cache.add called twice with the same Request object | ||
[PASS] Cache.add with request with null body (not consumed) | ||
[PASS] Cache.add with 206 response | ||
[PASS] Cache.addAll with 206 response | ||
[PASS] Cache.addAll with opaque-filtered 206 response | ||
[PASS] Cache.add with request that results in a status of 404 | ||
[PASS] Cache.add with request that results in a status of 500 | ||
[PASS] Cache.addAll with no arguments | ||
[PASS] Cache.addAll with a mix of valid and undefined arguments | ||
[PASS] Cache.addAll with an empty array | ||
[PASS] Cache.addAll with string URL arguments | ||
[PASS] Cache.addAll with Request arguments | ||
[PASS] Cache.addAll with a mix of succeeding and failing requests | ||
[FAIL] Cache.addAll called with the same Request object specified twice | ||
promise_rejects_dom: Cache.addAll should throw InvalidStateError if the same request is added twice. function "function() { throw e }" threw object "TypeError: Failed to execute 'addAll' on 'Cache': Request failed" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11 | ||
[PASS] Cache.addAll should succeed when entries differ by vary header | ||
[PASS] Cache.addAll should reject when entries are duplicate by vary header | ||
[PASS] Cache.addAll should reject when one entry has a vary header matching another entry | ||
Harness: the test ran to completion. | ||
|
45 changes: 23 additions & 22 deletions
45
.../external/wpt/service-workers/cache-storage/cache-add.https.any.sharedworker-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
This is a testharness.js-based test. | ||
PASS Cache.add called with no arguments | ||
PASS Cache.add called with relative URL specified as a string | ||
PASS Cache.add called with non-HTTP/HTTPS URL | ||
PASS Cache.add called with Request object | ||
PASS Cache.add called with POST request | ||
PASS Cache.add called twice with the same Request object | ||
PASS Cache.add with request with null body (not consumed) | ||
PASS Cache.add with 206 response | ||
PASS Cache.addAll with 206 response | ||
PASS Cache.addAll with opaque-filtered 206 response | ||
PASS Cache.add with request that results in a status of 404 | ||
PASS Cache.add with request that results in a status of 500 | ||
PASS Cache.addAll with no arguments | ||
PASS Cache.addAll with a mix of valid and undefined arguments | ||
PASS Cache.addAll with an empty array | ||
PASS Cache.addAll with string URL arguments | ||
PASS Cache.addAll with Request arguments | ||
PASS Cache.addAll with a mix of succeeding and failing requests | ||
FAIL Cache.addAll called with the same Request object specified twice promise_rejects_dom: Cache.addAll should throw InvalidStateError if the same request is added twice. function "function() { throw e }" threw object "TypeError: Failed to execute 'addAll' on 'Cache': Request failed" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11 | ||
PASS Cache.addAll should succeed when entries differ by vary header | ||
PASS Cache.addAll should reject when entries are duplicate by vary header | ||
PASS Cache.addAll should reject when one entry has a vary header matching another entry | ||
[PASS] Cache.add called with no arguments | ||
[PASS] Cache.add called with relative URL specified as a string | ||
[PASS] Cache.add called with non-HTTP/HTTPS URL | ||
[PASS] Cache.add called with Request object | ||
[PASS] Cache.add called with POST request | ||
[PASS] Cache.add called twice with the same Request object | ||
[PASS] Cache.add with request with null body (not consumed) | ||
[PASS] Cache.add with 206 response | ||
[PASS] Cache.addAll with 206 response | ||
[PASS] Cache.addAll with opaque-filtered 206 response | ||
[PASS] Cache.add with request that results in a status of 404 | ||
[PASS] Cache.add with request that results in a status of 500 | ||
[PASS] Cache.addAll with no arguments | ||
[PASS] Cache.addAll with a mix of valid and undefined arguments | ||
[PASS] Cache.addAll with an empty array | ||
[PASS] Cache.addAll with string URL arguments | ||
[PASS] Cache.addAll with Request arguments | ||
[PASS] Cache.addAll with a mix of succeeding and failing requests | ||
[FAIL] Cache.addAll called with the same Request object specified twice | ||
promise_rejects_dom: Cache.addAll should throw InvalidStateError if the same request is added twice. function "function() { throw e }" threw object "TypeError: Failed to execute 'addAll' on 'Cache': Request failed" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11 | ||
[PASS] Cache.addAll should succeed when entries differ by vary header | ||
[PASS] Cache.addAll should reject when entries are duplicate by vary header | ||
[PASS] Cache.addAll should reject when one entry has a vary header matching another entry | ||
Harness: the test ran to completion. | ||
|
45 changes: 23 additions & 22 deletions
45
..._tests/external/wpt/service-workers/cache-storage/cache-add.https.any.worker-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
This is a testharness.js-based test. | ||
PASS Cache.add called with no arguments | ||
PASS Cache.add called with relative URL specified as a string | ||
PASS Cache.add called with non-HTTP/HTTPS URL | ||
PASS Cache.add called with Request object | ||
PASS Cache.add called with POST request | ||
PASS Cache.add called twice with the same Request object | ||
PASS Cache.add with request with null body (not consumed) | ||
PASS Cache.add with 206 response | ||
PASS Cache.addAll with 206 response | ||
PASS Cache.addAll with opaque-filtered 206 response | ||
PASS Cache.add with request that results in a status of 404 | ||
PASS Cache.add with request that results in a status of 500 | ||
PASS Cache.addAll with no arguments | ||
PASS Cache.addAll with a mix of valid and undefined arguments | ||
PASS Cache.addAll with an empty array | ||
PASS Cache.addAll with string URL arguments | ||
PASS Cache.addAll with Request arguments | ||
PASS Cache.addAll with a mix of succeeding and failing requests | ||
FAIL Cache.addAll called with the same Request object specified twice promise_rejects_dom: Cache.addAll should throw InvalidStateError if the same request is added twice. function "function() { throw e }" threw object "TypeError: Failed to execute 'addAll' on 'Cache': Request failed" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11 | ||
PASS Cache.addAll should succeed when entries differ by vary header | ||
PASS Cache.addAll should reject when entries are duplicate by vary header | ||
PASS Cache.addAll should reject when one entry has a vary header matching another entry | ||
[PASS] Cache.add called with no arguments | ||
[PASS] Cache.add called with relative URL specified as a string | ||
[PASS] Cache.add called with non-HTTP/HTTPS URL | ||
[PASS] Cache.add called with Request object | ||
[PASS] Cache.add called with POST request | ||
[PASS] Cache.add called twice with the same Request object | ||
[PASS] Cache.add with request with null body (not consumed) | ||
[PASS] Cache.add with 206 response | ||
[PASS] Cache.addAll with 206 response | ||
[PASS] Cache.addAll with opaque-filtered 206 response | ||
[PASS] Cache.add with request that results in a status of 404 | ||
[PASS] Cache.add with request that results in a status of 500 | ||
[PASS] Cache.addAll with no arguments | ||
[PASS] Cache.addAll with a mix of valid and undefined arguments | ||
[PASS] Cache.addAll with an empty array | ||
[PASS] Cache.addAll with string URL arguments | ||
[PASS] Cache.addAll with Request arguments | ||
[PASS] Cache.addAll with a mix of succeeding and failing requests | ||
[FAIL] Cache.addAll called with the same Request object specified twice | ||
promise_rejects_dom: Cache.addAll should throw InvalidStateError if the same request is added twice. function "function() { throw e }" threw object "TypeError: Failed to execute 'addAll' on 'Cache': Request failed" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11 | ||
[PASS] Cache.addAll should succeed when entries differ by vary header | ||
[PASS] Cache.addAll should reject when entries are duplicate by vary header | ||
[PASS] Cache.addAll should reject when one entry has a vary header matching another entry | ||
Harness: the test ran to completion. | ||
|
6 changes: 4 additions & 2 deletions
6
...service-workers/cache-storage/cache-keys-attributes-for-service-worker.https-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
This is a testharness.js-based test. | ||
FAIL Request.IsReloadNavigation should persist. assert_equals: expected "original: false, stored: false" but got "original: undefined, stored: undefined" | ||
FAIL Request.IsHistoryNavigation should persist. assert_equals: expected "original: true, stored: true" but got "original: true, stored: false" | ||
[FAIL] Request.IsReloadNavigation should persist. | ||
assert_equals: expected "original: false, stored: false" but got "original: undefined, stored: undefined" | ||
[FAIL] Request.IsHistoryNavigation should persist. | ||
assert_equals: expected "original: true, stored: true" but got "original: true, stored: false" | ||
Harness: the test ran to completion. | ||
|
33 changes: 17 additions & 16 deletions
33
...nk/web_tests/external/wpt/service-workers/cache-storage/cache-keys.https.any-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
This is a testharness.js-based test. | ||
PASS Cache.keys() called on an empty cache | ||
PASS Cache.keys with no matching entries | ||
PASS Cache.keys with URL | ||
PASS Cache.keys with Request | ||
PASS Cache.keys with new Request | ||
PASS Cache.keys with ignoreSearch option (request with no search parameters) | ||
PASS Cache.keys with ignoreSearch option (request with search parameters) | ||
PASS Cache.keys supports ignoreMethod | ||
PASS Cache.keys supports ignoreVary | ||
PASS Cache.keys with URL containing fragment | ||
PASS Cache.keys with string fragment "http" as query | ||
PASS Cache.keys without parameters | ||
PASS Cache.keys with explicitly undefined request | ||
PASS Cache.keys with explicitly undefined request and empty options | ||
FAIL Cache.keys without parameters and VARY entries assert_equals: Cache.keys without parameters should match all entries. expected 3 but got 1 | ||
PASS Cache.keys with a HEAD Request | ||
[PASS] Cache.keys() called on an empty cache | ||
[PASS] Cache.keys with no matching entries | ||
[PASS] Cache.keys with URL | ||
[PASS] Cache.keys with Request | ||
[PASS] Cache.keys with new Request | ||
[PASS] Cache.keys with ignoreSearch option (request with no search parameters) | ||
[PASS] Cache.keys with ignoreSearch option (request with search parameters) | ||
[PASS] Cache.keys supports ignoreMethod | ||
[PASS] Cache.keys supports ignoreVary | ||
[PASS] Cache.keys with URL containing fragment | ||
[PASS] Cache.keys with string fragment "http" as query | ||
[PASS] Cache.keys without parameters | ||
[PASS] Cache.keys with explicitly undefined request | ||
[PASS] Cache.keys with explicitly undefined request and empty options | ||
[FAIL] Cache.keys without parameters and VARY entries | ||
assert_equals: Cache.keys without parameters should match all entries. expected 3 but got 1 | ||
[PASS] Cache.keys with a HEAD Request | ||
Harness: the test ran to completion. | ||
|
33 changes: 17 additions & 16 deletions
33
...xternal/wpt/service-workers/cache-storage/cache-keys.https.any.serviceworker-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
This is a testharness.js-based test. | ||
PASS Cache.keys() called on an empty cache | ||
PASS Cache.keys with no matching entries | ||
PASS Cache.keys with URL | ||
PASS Cache.keys with Request | ||
PASS Cache.keys with new Request | ||
PASS Cache.keys with ignoreSearch option (request with no search parameters) | ||
PASS Cache.keys with ignoreSearch option (request with search parameters) | ||
PASS Cache.keys supports ignoreMethod | ||
PASS Cache.keys supports ignoreVary | ||
PASS Cache.keys with URL containing fragment | ||
PASS Cache.keys with string fragment "http" as query | ||
PASS Cache.keys without parameters | ||
PASS Cache.keys with explicitly undefined request | ||
PASS Cache.keys with explicitly undefined request and empty options | ||
FAIL Cache.keys without parameters and VARY entries assert_equals: Cache.keys without parameters should match all entries. expected 3 but got 1 | ||
PASS Cache.keys with a HEAD Request | ||
[PASS] Cache.keys() called on an empty cache | ||
[PASS] Cache.keys with no matching entries | ||
[PASS] Cache.keys with URL | ||
[PASS] Cache.keys with Request | ||
[PASS] Cache.keys with new Request | ||
[PASS] Cache.keys with ignoreSearch option (request with no search parameters) | ||
[PASS] Cache.keys with ignoreSearch option (request with search parameters) | ||
[PASS] Cache.keys supports ignoreMethod | ||
[PASS] Cache.keys supports ignoreVary | ||
[PASS] Cache.keys with URL containing fragment | ||
[PASS] Cache.keys with string fragment "http" as query | ||
[PASS] Cache.keys without parameters | ||
[PASS] Cache.keys with explicitly undefined request | ||
[PASS] Cache.keys with explicitly undefined request and empty options | ||
[FAIL] Cache.keys without parameters and VARY entries | ||
assert_equals: Cache.keys without parameters should match all entries. expected 3 but got 1 | ||
[PASS] Cache.keys with a HEAD Request | ||
Harness: the test ran to completion. | ||
|
33 changes: 17 additions & 16 deletions
33
...external/wpt/service-workers/cache-storage/cache-keys.https.any.sharedworker-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
This is a testharness.js-based test. | ||
PASS Cache.keys() called on an empty cache | ||
PASS Cache.keys with no matching entries | ||
PASS Cache.keys with URL | ||
PASS Cache.keys with Request | ||
PASS Cache.keys with new Request | ||
PASS Cache.keys with ignoreSearch option (request with no search parameters) | ||
PASS Cache.keys with ignoreSearch option (request with search parameters) | ||
PASS Cache.keys supports ignoreMethod | ||
PASS Cache.keys supports ignoreVary | ||
PASS Cache.keys with URL containing fragment | ||
PASS Cache.keys with string fragment "http" as query | ||
PASS Cache.keys without parameters | ||
PASS Cache.keys with explicitly undefined request | ||
PASS Cache.keys with explicitly undefined request and empty options | ||
FAIL Cache.keys without parameters and VARY entries assert_equals: Cache.keys without parameters should match all entries. expected 3 but got 1 | ||
PASS Cache.keys with a HEAD Request | ||
[PASS] Cache.keys() called on an empty cache | ||
[PASS] Cache.keys with no matching entries | ||
[PASS] Cache.keys with URL | ||
[PASS] Cache.keys with Request | ||
[PASS] Cache.keys with new Request | ||
[PASS] Cache.keys with ignoreSearch option (request with no search parameters) | ||
[PASS] Cache.keys with ignoreSearch option (request with search parameters) | ||
[PASS] Cache.keys supports ignoreMethod | ||
[PASS] Cache.keys supports ignoreVary | ||
[PASS] Cache.keys with URL containing fragment | ||
[PASS] Cache.keys with string fragment "http" as query | ||
[PASS] Cache.keys without parameters | ||
[PASS] Cache.keys with explicitly undefined request | ||
[PASS] Cache.keys with explicitly undefined request and empty options | ||
[FAIL] Cache.keys without parameters and VARY entries | ||
assert_equals: Cache.keys without parameters should match all entries. expected 3 but got 1 | ||
[PASS] Cache.keys with a HEAD Request | ||
Harness: the test ran to completion. | ||
|
Oops, something went wrong.