-
Notifications
You must be signed in to change notification settings - Fork 46
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
Add WASM Core 2 spec and phase 3+ WASM proposals #1190
Conversation
The list only contained Level 1 of WASM Core (see #1059). This adds Level 2. In practice, crawling will work fine for the Editor's Draft but Reffy will basically not extract anything from the /TR version of the spec because it does not follow usual patterns. That seems fine enough for now. This update also introduces missing WASM proposals as forks of the WASM Core or WASM JavaScript API specification. Most of the time, the title needs to be created because the actual specification remains that of the base spec. One difficulty is that the WebAssembly group approaches extensions proposals as generic WASM extensions, and not necessarily as WASM *Core* extensions or WASM *JS API* extensions, whereas we need to make a choice to set the `forkOf` property. Things look good for this batch of updates, because current proposals still seem to extend either of these specs. That may not always be the case though in the future! Similarly, the find-specs script assumed that proposals were always extending the Core spec. It now reports the URL of the home page, both to make it clearer that a choice needs to be made, and to avoid reporting a proposal that is already in the list as a WASM JS API fork. Via #1186.
"url": "https://webassembly.github.io/content-security-policy/js-api/", | ||
"forkOf": "wasm-js-api-2", | ||
"title": "WebAssembly JavaScript Interface: Content Security Policy" | ||
}, | ||
{ | ||
"url": "https://webassembly.github.io/exception-handling/js-api/", | ||
"forkOf": "wasm-js-api-2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note this one has a custom title, no need to set it ourselves in specs.json
.
"url": "https://www.w3.org/TR/wasm-core-1/", | ||
"url": "https://www.w3.org/TR/wasm-core-2/", | ||
"nightly": { | ||
"url": "https://webassembly.github.io/spec/core/bikeshed/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed because the Editor's Draft link in the Level 2 spec does not target the Bikeshed rendition of the spec.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I note that the forks include forks of the test suites, which may or may not include related test cases; I think we're probably better off ignoring this at the moment
The list only contained Level 1 of WASM Core (see #1059). This adds Level 2. In practice, crawling will work fine for the Editor's Draft but Reffy will basically not extract anything from the /TR version of the spec because it does not follow usual patterns. That seems fine enough for now.
This update also introduces missing WASM proposals as forks of the WASM Core or WASM JavaScript API specification. Most of the time, the title needs to be created because the actual specification remains that of the base spec.
One difficulty is that the WebAssembly group approaches extensions proposals as generic WASM extensions, and not necessarily as WASM Core extensions or WASM JS API extensions, whereas we need to make a choice to set the
forkOf
property. Things look good for this batch of updates, because current proposals still seem to extend either of these specs. That may not always be the case though in the future!Similarly, the find-specs script assumed that proposals were always extending the Core spec. It now reports the URL of the home page, both to make it clearer that a choice needs to be made, and to avoid reporting a proposal that is already in the list as a WASM JS API fork.
Via #1186.