Expose kv-storage built-in module only on SecureContexts
This CL adds actual restriction in Blink implementation. This CL also modifies tests and expectations to match with the current Blink built-in/import maps infra. A subtest in WPT test `import-statement.html` is failing because the current Blink implementation is based on pre-import-map spec and thus importing unavailable built-in causes fetch error. See 'import 'std:nonexistent';' row of https://github.com/WICG/import-maps/issues/159. Bug: 977470 Change-Id: I107f60ed95e1f91d62f468c29c5d741eef13f4f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1702754 Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Cr-Commit-Position: refs/heads/master@{#691821}
Showing
Please register or sign in to comment