aboutsummaryrefslogtreecommitdiff
path: root/Web.md
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken links to GC.md (#1209)Kenrick2020-01-131-1/+1
| | | | | | * Fix broken links to GC.md * Update links to proposals repo
* Fixup links to future features (#1157)Joseph Richey2017-11-151-2/+5
| | | | | | | | | | | | | | | | | | This link standardizes how all the other design pages will refer to future features (either in `FutureFeatures.md` or in a tracking issue). All links to these upcoming features now use references at the bottom of the doc page (as opposed to inline links or references). Note that this change makes it very easy for the doc links to be updated when a tracking issue is started. As all the references have a standard format; a simple find/replace script will get everything. This commit also makes sure that references now point to a tracking issue if one exists. Note that this means a future CL can now delete some of the unnecessary sections from `FutureFeatures.md`. The only visible change from this commit is that certain broken links are now fixed, or links pointing to a doc section now point to the correct tracking issue.
* Rewrite compileStreaming/instantiateStreaming to be more rigorousDomenic Denicola2017-07-191-84/+153
| | | | Fixes #1081 by being very clear about the interaction with the event loop, i.e. which portions of the tasks happen in parallel and how they get back to the main thread, where objects can actually be created. In general this also makes the specification algorithmic, links it to appropriate definitions, and makes various failure cases (such as being passed a rejected promise, or attempting to read from a locked/disturbed body) clearer.
* Clarify "support" of web APIs (#1086)Mircea Trofin2017-06-011-2/+4
| | | Clarified that "support" means "presence", rather than (for example) throwing exceptions when not present; also indicated that the 2 streaming APIs should be present/absent together: it simplifies developer experience.
* Require an ok status for a responseAnne van Kesteren2017-05-231-7/+14
| | | | | | This changes both WebAssembly.compile and WebAssembly.instantiate to be both more clear about response requirements and require an ok status. Fixes #1039.
* Fix missed replace in API name change. (#1072)Brad Nelson2017-05-221-2/+2
|
* Specify display conventions for wasm locations (#1053)Derek Schuff2017-05-221-0/+66
| | | Applies especially for use on the web, but useful for consistency in tools and other cases as well.
* Rename Response based compile + instantiate *Streaming. (#1068)Brad Nelson2017-05-181-25/+26
| | | | Clarify how the source parameter is resolved. Clarify how the result of instantiate* is described.
* Throw "TypeError" on incorrect MIME type (#1054)Mircea Trofin2017-05-121-1/+1
| | | | Proposing that we throw TypeError when the Response parameter has incorrect MIME type. This seems more in-line to what we do for: WebAssembly.{compile|instantiate}("hello!")
* Clarify import/export identifier validation on the Web. (#1028)Dan Gohman2017-04-041-8/+5
|
* Revert "Split out compileAndInstantiate from instantiate"Luke Wagner2017-02-261-55/+6
| | | | This reverts commit 1be98b3f11979a5ca7a42a5c69818313a46cbc81.
* Split out compileAndInstantiate from instantiateLuke Wagner2017-02-261-6/+55
|
* Adding Response based versions of compile, and instantiate. (#991)Brad Nelson2017-02-241-0/+101
| | | | | | This allows us to support streaming compilation and origin bound sources for WebAssembly modules. Proposes a mime type of application/wasm for WebAssembly modules.
* Merge PostMVP into FutureFeatures for clarity. (#845)Brad Nelson2016-10-301-1/+1
|
* fix improperly spaced markdown blocks and typos (for formatting on website ↵Seth Thompson2016-10-261-0/+1
| | | | (#837)
* Provide overview of security model (#717)Dominic Chen2016-07-111-5/+6
| | | | | This commit introduces a discussion of WebAssembly's security model for both users and developers, though primarily targeted at latter. Resolves #205.
* Add JS Memory and Table API, support dynamic linking (#682)Luke Wagner2016-06-281-30/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Memory, Table and multi-import/export of these * Clarify mutation of elements * Mention CFI use case * Clarify call_table signature mismatches * Explicate elements section * Change support to allow/enable * Remove table/memory indices add global imports/exports * Clarify host-defined (i.e., JavaScript) table elements * s/necessary/useful * s/will/may/ * Fix typo * Fix typo * Clarify that table updates are observed by all instances * Clarify that host-defined table element values can have different signature checking * Just 'constraints' since more detail is below * Wordsmith DynamicLinking.md intro * Wordsmith FutureFeatures.md * Try to clarify wording in FutureFeatures.md * Change 'function' to 'anyfunc' * Fix nits * Refine description of initializer expressions * Remove the Definition Index Space, use (type, index) pairs as necessary
* add initial JS API spec (#659)Luke Wagner2016-05-021-17/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add basic JS API * Expand JS in title; link MVP; Unicode mdash; deliminted * Change 'name' to an index/number * Reject, not throw, on failure in Wasm.compile * Loosen wording to allow racy copy of SAB in Wasm.compile * Mention streams as a future extension of Wasm.compile * Change TypedArray to BufferSource * s/receiver/this value/ * Fill in missing builtin-function internal slots * Simplify FutureFeatures.md sentence, remove typo * s/Wasm/WASM/ * Switch to WASM.Instance constructor and Module Namespace exports object * Add note about Wasm.instantiateModule * s/WASM/WebAssembly/
* Merge pull request #665 from bnjbvr/patch-2Benjamin Bouvier2016-04-211-1/+1
| | | Fix typo in Web.md
* clarify how export/import names convert to JS strings (#569) (#573)pizlonator2016-04-151-0/+29
| | | | | | | | | | * When embedded in the web, clarify how export/import names convert to JS strings (#569) * Fixes suggested by @jf * Address more feedback Added a link to http://monsur.hossa.in/2012/07/20/utf-8-in-javascript.html. Simplified the decoding algorithm thanks to Luke's feedback.
* Mention ES6 modulesJF Bastien2016-03-181-1/+3
|
* Skeleton for the Wasm objectJF Bastien2016-03-151-0/+6
| | | | We should document this better. Here's a start.
* Refine linear memory aliasingLuke Wagner2015-11-091-23/+62
|
* fix spellingSergey Rubanov2015-11-051-1/+1
|
* JS -> JavaScriptJF Bastien2015-10-171-1/+1
|
* Add a missing word in Web.mdBenjamin Bouvier2015-10-071-1/+1
|
* Remove reference to dynamic linking of modules, fix typosDerek Schuff2015-08-261-1/+1
|
* Refactor MVPLuke Wagner2015-08-061-1/+6
|
* Drop cell details and move everything to GC.mdLuke Wagner2015-08-041-2/+3
|
* Change 'thus' to 'and'Luke Wagner2015-07-241-1/+1
|
* Consolidate explanation of modules into a new Modules.md and improve explanationLuke Wagner2015-07-241-23/+8
|
* Say "on the Web" rather than "in a browser" when talking about Web use cases.Dan Gohman2015-07-171-2/+3
|
* Fix several link anchor names.Dan Gohman2015-07-061-3/+3
|
* Update Web.mdtitzer2015-06-241-2/+2
|
* Use https links instead of http links for sites that support it.Dan Gohman2015-06-151-3/+3
|
* Short document name bikeshed.JF Bastien2015-06-121-5/+4
|
* Refactor essential post-MVP featuresJF Bastien2015-06-111-4/+17
| | | | | | | | | * Format similar to other documents. * Clarify threads. * Move some details of threads on the Web to Web.md. * Move some details of SIMD for the Web to Web.md. * Expand on zero-cost EH. * Move discussion of coroutines to FutureFeatures.md.
* Hyphen for "high-level", as in other documents.JF Bastien2015-06-111-1/+1
|
* Wordsmith Web.md and NonWeb.md.Dan Gohman2015-06-101-4/+6
|
* Consistently capitalize "Web" in "the Web".Dan Gohman2015-06-101-1/+1
|
* Fix typo in Web.mdLuke Wagner2015-06-101-1/+1
|
* Web security: CORS and SRIJF Bastien2015-06-101-4/+11
| | | | | As discussed in #125: https://github.com/WebAssembly/spec/pull/125#discussion_r32024524
* Link to dynamic linking from Web.md.JF Bastien2015-06-091-1/+3
|
* Clarify first paragraph of Web.md.JF Bastien2015-06-091-2/+2
|
* Fork out Web and NonWeb documents.JF Bastien2015-06-091-0/+28