-
Notifications
You must be signed in to change notification settings - Fork 4
/
12.txt
26 lines (18 loc) · 1.29 KB
/
12.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
* 仕様書
[REFS[
- [4] [CITE@en-GB-x-hixie[HTML Standard]] ([TIME[2015-03-05 09:33:40 +09:00]] 版) <https://html.spec.whatwg.org/#importing-scripts-and-libraries:js-syntaxerror>
- [5] [CITE[Web IDL (Second Edition)]] ([TIME[2015-05-27 01:29:33 +09:00]] 版) <http://heycam.github.io/webidl/#dfn-simple-exception>
]REFS]
* DOM API
[6] [CODE(JS)@en[[[SyntaxError]]]] は [[Web IDL]] [[単純例外]]には含まれていません [SRC[>>5]]。
[3] [[JavaScript]] [CODE(JS)@en[[[SyntaxError]]]] は、[[ワーカー]]の[[構文解析]]に失敗した時にも[[投げ]]られます [SRC[>>4]]。
* 歴史
[1] [CITE[Less TypeError, more "SyntaxError" (DOMException) https://www.w3.org/Bug... · 1bb586f · whatwg/dom]]
( ([TIME[2014-06-06 11:46:09 +09:00]] 版))
<https://github.com/whatwg/dom/commit/1bb586f40753b5030b043c364f8eecee1e3e3d58>
[2] [CITE@en[Remove the SyntaxError simple exception (the ECMAScript-corresponding on... · 8963248 · heycam/webidl]]
( ([TIME[2014-10-04 10:21:30 +09:00]] 版))
<https://github.com/heycam/webidl/commit/8963248ebcddfc33f1296402c7e6566749d5e2d0>
[7] [CITE@en[Editorial: change wording for throwing DOMExceptions]]
( ([[domenic]]著, [TIME[2016-05-06 05:19:47 +09:00]]))
<https://github.com/whatwg/html/commit/3ac179e4e7626f11cb37690fb0f5f44972f58a48>