Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit f754f5c

Browse files
authored
[spec/tests] Specification of legacy exceptions + tests (#284)
* [legacy] Create specification doc for legacy exception handling * [test] Create infra for legacy tests
1 parent 2c91fd1 commit f754f5c

25 files changed

+4005
-3
lines changed

document/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DIRS = core js-api web-api
1+
DIRS = core js-api web-api legacy/exceptions
22
FILES = index.html
33
BUILDDIR = _build
44

document/index.html

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,32 @@ <h3>Embedder specifications</h3>
4949
<ul>
5050
<li><p><b>JavaScript Embedding</b>: defines JavaScript classes and objects for accessing WebAssembly from within JavaScript, including methods for validation, compilation, instantiation, and classes for representing and manipulating imports and exports as JavaScript objects.</p>
5151
<ul>
52-
<li><a href="js-api/index.html">W3C version</a></li>
52+
<li><a href="js-api/">W3C version</a></li>
5353
<!-- <li><a href="https://github.com/WebAssembly/spec/document/js-api/">Sources</a></li> -->
5454
</ul>
5555
</li>
5656

5757
<li><p><b>Web Embedding</b>: defines extensions to the JavaScript API made available specifically in web browsers, in particular, an interface for streaming compilation and instantiation from origin-bound <code>Response</code> types.</p>
5858
<ul>
59-
<li><a href="web-api/index.html">W3C version</a></li>
59+
<li><a href="web-api/">W3C version</a></li>
6060
<!-- <li><a href="https://github.com/WebAssembly/spec/document/web-api/">Sources</a></li> -->
6161
</ul>
6262
</li>
6363
</ul>
6464

65+
<h3>Legacy Extensions</h3>
66+
67+
<p>Define extensions that are deprecated, but may still be in use.</p>
68+
69+
<ul>
70+
<li><p><b>Legacy Exception Handling</b>: defines additional instructions for exception handling that may still be available in some engines and tools, specifically web browsers.</p>
71+
<ul>
72+
<li><a href="legacy/exceptions/">Browser version</a></li>
73+
</ul>
74+
</li>
75+
</ul>
76+
77+
6578
<p>
6679
Source for these documents is available
6780
<a href="https://github.com/WebAssembly/spec/">here</a>.

document/legacy/exceptions/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_build
2+
_static
3+
document/*.pyc

document/legacy/exceptions/LICENSE

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE
2+
3+
This work is being provided by the copyright holders under the following
4+
license.
5+
6+
7+
LICENSE
8+
9+
By obtaining and/or copying this work, you (the licensee) agree that you have
10+
read, understood, and will comply with the following terms and conditions.
11+
12+
Permission to copy, modify, and distribute this work, with or without
13+
modification, for any purpose and without fee or royalty is hereby granted,
14+
provided that you include the following on ALL copies of the work or portions
15+
thereof, including modifications:
16+
17+
* The full text of this NOTICE in a location viewable to users of the
18+
redistributed or derivative work.
19+
20+
* Any pre-existing intellectual property disclaimers, notices, or terms and
21+
conditions. If none exist, the W3C Software and Document Short Notice
22+
(https://www.w3.org/Consortium/Legal/copyright-software-short-notice) should
23+
be included.
24+
25+
* Notice of any changes or modifications, through a copyright statement on the
26+
new code or document such as "This software or document includes material
27+
copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)."
28+
29+
30+
DISCLAIMERS
31+
32+
THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS
33+
OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
34+
MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE
35+
SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
36+
TRADEMARKS OR OTHER RIGHTS.
37+
38+
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
39+
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT.
40+
41+
The name and trademarks of copyright holders may NOT be used in advertising or
42+
publicity pertaining to the work without specific, written prior permission.
43+
Title to copyright in this work will at all times remain with copyright
44+
holders.
45+
46+
47+
NOTES
48+
49+
This version:
50+
http://www.w3.org/Consortium/Legal/2015/copyright-software-and-document

0 commit comments

Comments
 (0)