From 9df8c4f0e5a00bb0b8e7e8738a67eb97b72158ef Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Thu, 31 Jan 2019 18:56:18 +0000 Subject: [PATCH] Bug 1523562 [wpt PR 14905] - Rename async local storage to KV storage, a=testonly Automatic update from web-platform-tests Rename async local storage to KV storage Follows https://github.com/WICG/kv-storage/commit/7057d3dc66101fa237bbc6cd01ad4633b520f65b. This also removes .tentative from the web platform test filenames, as there exists a spec these days. Binary-Size: needed to implement the feature. Enabling gzip is tracked in crbug.com/920264. Change-Id: Ie34291da9cf0a25e6a70f2a97f27459ee6b58f13 Reviewed-on: https://chromium-review.googlesource.com/c/1407433 Commit-Queue: Domenic Denicola Reviewed-by: Hiroshige Hayashizaki Reviewed-by: Kinuko Yasuda Cr-Commit-Position: refs/heads/master@{#623344} -- wpt-commits: 6219c392c2c12b9536142e2edc665c2cb117670e wpt-pr: 14905 --HG-- rename : testing/web-platform/tests/async-local-storage/helpers/class-assert.js => testing/web-platform/tests/kv-storage/helpers/class-assert.js rename : testing/web-platform/tests/async-local-storage/helpers/equality-asserters.js => testing/web-platform/tests/kv-storage/helpers/equality-asserters.js --- testing/web-platform/tests/async-local-storage/META.yml | 3 --- testing/web-platform/tests/kv-storage/META.yml | 3 +++ .../api-surface.https.html} | 6 +++--- .../helpers/class-assert.js | 0 .../helpers/equality-asserters.js | 0 .../als-tests.js => kv-storage/helpers/kvs-tests.js} | 2 +- .../key-types.https.html} | 4 ++-- .../non-secure-context-dynamic-import.html} | 4 ++-- .../non-secure-context-import-statement.html} | 4 ++-- .../non-secure-context-script-element.html} | 4 ++-- .../storage-smoke-test.https.html} | 8 ++++---- .../undefined-value.https.html | 8 ++++---- 12 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 testing/web-platform/tests/async-local-storage/META.yml create mode 100644 testing/web-platform/tests/kv-storage/META.yml rename testing/web-platform/tests/{async-local-storage/api-surface.tentative.https.html => kv-storage/api-surface.https.html} (92%) rename testing/web-platform/tests/{async-local-storage => kv-storage}/helpers/class-assert.js (100%) rename testing/web-platform/tests/{async-local-storage => kv-storage}/helpers/equality-asserters.js (100%) rename testing/web-platform/tests/{async-local-storage/helpers/als-tests.js => kv-storage/helpers/kvs-tests.js} (97%) rename testing/web-platform/tests/{async-local-storage/key-types.tentative.https.html => kv-storage/key-types.https.html} (93%) rename testing/web-platform/tests/{async-local-storage/non-secure-context-dynamic-import.tentative.html => kv-storage/non-secure-context-dynamic-import.html} (64%) rename testing/web-platform/tests/{async-local-storage/non-secure-context-import-statement.tentative.html => kv-storage/non-secure-context-import-statement.html} (82%) rename testing/web-platform/tests/{async-local-storage/non-secure-context-script-element.tentative.html => kv-storage/non-secure-context-script-element.html} (79%) rename testing/web-platform/tests/{async-local-storage/storage-smoke-test.tentative.https.html => kv-storage/storage-smoke-test.https.html} (76%) rename testing/web-platform/tests/{async-local-storage => kv-storage}/undefined-value.https.html (81%) diff --git a/testing/web-platform/tests/async-local-storage/META.yml b/testing/web-platform/tests/async-local-storage/META.yml deleted file mode 100644 index 1bbe9e5ac609..000000000000 --- a/testing/web-platform/tests/async-local-storage/META.yml +++ /dev/null @@ -1,3 +0,0 @@ -spec: https://domenic.github.io/async-local-storage/ -suggested_reviewers: - - domenic diff --git a/testing/web-platform/tests/kv-storage/META.yml b/testing/web-platform/tests/kv-storage/META.yml new file mode 100644 index 000000000000..bf4a1e6e8b44 --- /dev/null +++ b/testing/web-platform/tests/kv-storage/META.yml @@ -0,0 +1,3 @@ +spec: https://wicg.github.io/kv-storage/ +suggested_reviewers: + - domenic diff --git a/testing/web-platform/tests/async-local-storage/api-surface.tentative.https.html b/testing/web-platform/tests/kv-storage/api-surface.https.html similarity index 92% rename from testing/web-platform/tests/async-local-storage/api-surface.tentative.https.html rename to testing/web-platform/tests/kv-storage/api-surface.https.html index 927871a8961c..65452f55be04 100644 --- a/testing/web-platform/tests/async-local-storage/api-surface.tentative.https.html +++ b/testing/web-platform/tests/kv-storage/api-surface.https.html @@ -1,14 +1,14 @@ -Async local storage API surface +KV Storage: API surface @@ -13,6 +13,6 @@ test(() => { }, "Prerequisite check"); promise_test(t => { - return promise_rejects(t, "SecurityError", import("std:async-local-storage")); + return promise_rejects(t, "SecurityError", import("std:kv-storage")); }); diff --git a/testing/web-platform/tests/async-local-storage/non-secure-context-import-statement.tentative.html b/testing/web-platform/tests/kv-storage/non-secure-context-import-statement.html similarity index 82% rename from testing/web-platform/tests/async-local-storage/non-secure-context-import-statement.tentative.html rename to testing/web-platform/tests/kv-storage/non-secure-context-import-statement.html index 879729696dbb..fda02aadf14f 100644 --- a/testing/web-platform/tests/async-local-storage/non-secure-context-import-statement.tentative.html +++ b/testing/web-platform/tests/kv-storage/non-secure-context-import-statement.html @@ -1,6 +1,6 @@ -Async local storage: should not work in non-secure contexts when included via an import statement +KV Storage: should not work in non-secure contexts when included via an import statement @@ -23,5 +23,5 @@ async_test(t => { diff --git a/testing/web-platform/tests/async-local-storage/non-secure-context-script-element.tentative.html b/testing/web-platform/tests/kv-storage/non-secure-context-script-element.html similarity index 79% rename from testing/web-platform/tests/async-local-storage/non-secure-context-script-element.tentative.html rename to testing/web-platform/tests/kv-storage/non-secure-context-script-element.html index feeddafc8daa..66802b1254ed 100644 --- a/testing/web-platform/tests/async-local-storage/non-secure-context-script-element.tentative.html +++ b/testing/web-platform/tests/kv-storage/non-secure-context-script-element.html @@ -1,6 +1,6 @@ -Async local storage: should not work in non-secure contexts when included via a script element +KV Storage: should not work in non-secure contexts when included via a script element @@ -22,4 +22,4 @@ async_test(t => { }); - + diff --git a/testing/web-platform/tests/async-local-storage/storage-smoke-test.tentative.https.html b/testing/web-platform/tests/kv-storage/storage-smoke-test.https.html similarity index 76% rename from testing/web-platform/tests/async-local-storage/storage-smoke-test.tentative.https.html rename to testing/web-platform/tests/kv-storage/storage-smoke-test.https.html index f978480ff2b8..df6fd8c8181f 100644 --- a/testing/web-platform/tests/async-local-storage/storage-smoke-test.tentative.https.html +++ b/testing/web-platform/tests/kv-storage/storage-smoke-test.https.html @@ -1,13 +1,13 @@ -Async local storage storage export smoke test +KV storage: storage export smoke test