-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert JSON modules #4943
Revert JSON modules #4943
Conversation
As explained at WICG/webcomponents#839 the current setup is insecure. This reverts db03474.
Perhaps we should take a different approach though as Wasm modules could use much of the infrastructure created here. |
It seems clear that JSON modules have lost multi-engine support, so removing from the spec sounds good. I suppose we should also remove the wpt tests. Let's not worry about Wasm modules for now--it will be easy to add this infrastructure back when it's time. |
Given the security issue we raised, we support removing this from the spec at least for now. |
@littledan could you have another look as it seems I missed some things initially. Unfortunately |
See whatwg/html#4943 for context.
I've notified the original implementation bugs:
(I also created a PR to mark all WPT tests as tentative.) |
See whatwg/html#4943 for context.
I don't quite have the energy to follow up here during TC39. Maybe @Ms2ger could help sooner. |
…estonly Automatic update from web-platform-tests Mark JSON module tests as tentative See whatwg/html#4943 for context. -- wpt-commits: bec7ffa28cc69fe8d8fb343fd9184d30ecce3070 wpt-pr: 19441 --HG-- rename : testing/web-platform/tests/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.html => testing/web-platform/tests/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.tentative.html rename : testing/web-platform/tests/html/semantics/scripting-1/the-script-element/json-module/module.html => testing/web-platform/tests/html/semantics/scripting-1/the-script-element/json-module/module.tentative.html rename : testing/web-platform/tests/html/semantics/scripting-1/the-script-element/json-module/non-object.any.js => testing/web-platform/tests/html/semantics/scripting-1/the-script-element/json-module/non-object.tentative.any.js rename : testing/web-platform/tests/html/semantics/scripting-1/the-script-element/json-module/parse-error.html => testing/web-platform/tests/html/semantics/scripting-1/the-script-element/json-module/parse-error.tentative.html rename : testing/web-platform/tests/html/semantics/scripting-1/the-script-element/json-module/utf8.html => testing/web-platform/tests/html/semantics/scripting-1/the-script-element/json-module/utf8.tentative.html rename : testing/web-platform/tests/html/semantics/scripting-1/the-script-element/json-module/valid-content-type.html => testing/web-platform/tests/html/semantics/scripting-1/the-script-element/json-module/valid-content-type.tentative.html
…estonly Automatic update from web-platform-tests Mark JSON module tests as tentative See whatwg/html#4943 for context. -- wpt-commits: bec7ffa28cc69fe8d8fb343fd9184d30ecce3070 wpt-pr: 19441
…estonly Automatic update from web-platform-tests Mark JSON module tests as tentative See whatwg/html#4943 for context. -- wpt-commits: bec7ffa28cc69fe8d8fb343fd9184d30ecce3070 wpt-pr: 19441 UltraBlame original commit: 4c1fd5ec1e57a33ef9e732ee1a87420825bfcb0a
…estonly Automatic update from web-platform-tests Mark JSON module tests as tentative See whatwg/html#4943 for context. -- wpt-commits: bec7ffa28cc69fe8d8fb343fd9184d30ecce3070 wpt-pr: 19441 UltraBlame original commit: 4c1fd5ec1e57a33ef9e732ee1a87420825bfcb0a
…estonly Automatic update from web-platform-tests Mark JSON module tests as tentative See whatwg/html#4943 for context. -- wpt-commits: bec7ffa28cc69fe8d8fb343fd9184d30ecce3070 wpt-pr: 19441 UltraBlame original commit: 4c1fd5ec1e57a33ef9e732ee1a87420825bfcb0a
As explained at WICG/webcomponents#839 the current setup is insecure.
This reverts db03474.
TODO:
cc @littledan @Ms2ger
/infrastructure.html ( diff )
/scripting.html ( diff )
/timers-and-user-prompts.html ( diff )
/webappapis.html ( diff )