Skip to content

Commit f48e827

Browse files
[WebIDL] Update DOMException language to reflect standardized stack accessor whatwg/webidl@cca1103
1 parent 7c8fb7b commit f48e827

2 files changed

Lines changed: 26 additions & 17 deletions

File tree

WebIDL-JS-ja.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@
305305
●●options
306306

307307
spec_title:Web IDL Standard
308-
trans_update:2026-03-30
308+
trans_update:2026-05-27
309309
original_url:https://webidl.spec.whatwg.org/
310310
abbr_url:WEBIDLjs
311311
page_state_key:WEBIDL
@@ -22188,20 +22188,19 @@ <h4 title="DOMException custom bindings">3.14.1. `DOMException^T ~custom言語
2218822188
`~ifc原型~objを作成する$抽象-演算に定義されるとおりに,
2218922189
内在的~obj `Error.prototype$jI に設定するモノトスル。
2219022190
それは、
22191-
すべての組込みの例外と同様に,
22192-
`ErrorData^sl ~slotも有する。
22191+
すべての組込みの例外と同様に,[
22192+
`ErrorData^sl, `Stack^sl
22193+
]~slotも有する。
2219322194
22194-
In the JavaScript binding, the interface prototype object for DOMException has its [[Prototype]] internal slot set to the intrinsic object %Error.prototype%, as defined in the create an interface prototype object abstract operation. It also has an [[ErrorData]] slot, like all built-in exceptions.
22195+
In the JavaScript binding, the interface prototype object for DOMException has its [[Prototype]] internal slot set to the intrinsic object %Error.prototype%, as defined in the create an interface prototype object abstract operation. It also has [[ErrorData]] and [[Stack]] slots, like all built-in exceptions.
2219522196
</p>
2219622197

2219722198
<p>
2219822199
加えて,実装は、
22199-
~nativeな `Error$jt ~objに[
22200-
特別な力/標準でない~prop
22201-
]を与える場合( `stack^jp ~propなど),
22200+
~nativeな `Error$jt ~objに他にも特別な力, あるいは標準でない~prop( `line^jp, `column^jp ~propなど)を与える場合には,
2220222201
それらも `DOMException$T ~objに公開するべきである。
2220322202
22204-
Additionally, if an implementation gives native Error objects special powers or nonstandard properties (such as a stack property), it should also expose those on DOMException objects.
22203+
Additionally, if an implementation gives native Error objects other special powers or nonstandard properties (such as line and column properties), it should also expose those on DOMException objects.
2220522204
</p>
2220622205

2220722206
</section>

WebIDL-ja.html

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,8 @@
471471
●●options
472472

473473
spec_title:Web IDL Standard
474-
spec_date:2026-03-27
475-
trans_update:2025-09-25
474+
spec_date:2026-05-26
475+
trans_update:2026-05-27
476476
source_checked:250915
477477
original_url:https://webidl.spec.whatwg.org/
478478
abbr_url:WEBIDL
@@ -1088,7 +1088,7 @@
10881088
直列形:serialized::~::シリアル形
10891089
逆直列化-:deserialize::~::逆シリアル化
10901090
逆直列化:deserialization::~::逆シリアル化
1091-
添付-:attach::~
1091+
-:attach::~
10921092

10931093
~LET ε:Let be an uninitialized variable
10941094
設定しておく:set up
@@ -2299,7 +2299,7 @@
22992299

23002300
Commits
23012301
<a href="https://github.com/whatwg/webidl/commits">GitHub whatwg/webidl/commits</a>
2302-
<a href="https://webidl.spec.whatwg.org/commit-snapshots/e1300e95ea6598de45d79823ca72c9bd12852696/" id="commit-snapshot-link">Snapshot as of this commit</a>
2302+
<a href="https://webidl.spec.whatwg.org/commit-snapshots/cca1103c7095eca86af978cbe5d65fdb445017cf/" id="commit-snapshot-link">Snapshot as of this commit</a>
23032303
<a href="https://twitter.com/webidl">@webidl</a>
23042304

23052305
Tests
@@ -15036,15 +15036,20 @@ <h3>4.4. `DOMException^T</h3>
1503615036
%直列形 .`Message^sl ~SET %値 の`~message$eX
1503715037
1503815038
Set serialized.[[Message]] to value’s message.
15039+
</li>
15040+
<li>
15041+
%直列形 .`Stack^sl ~SET %値 .`Stack^sl から導出される実装定義な文字列
15042+
15043+
Set serialized.[[Stack]] to an implementation-defined string derived from value.[[Stack]].
1503915044
</li>
1504015045
<li>
1504115046
~UAは、
1504215047
まだ仕様~化されていないが関心ng~data
15043-
— 特に, `stack^jp ~propが挙げられる —
15048+
— 特に, `line^jp, `column^jp ~propが挙げられる —
1504415049
が付随しているならば、
15045-
それを直列化した表現も %直列形 に添付するベキである
15050+
それを直列化した表現も %直列形 に付するベキである
1504615051
15047-
User agents should attach a serialized representation of any interesting accompanying data which are not yet specified, notably the stack property, to serialized.
15052+
User agents should attach a serialized representation of any interesting accompanying data which are not yet specified, notably the line and column properties, to serialized.
1504815053
</li>
1504915054
</ol>
1505015055
</li>
@@ -15069,8 +15074,13 @@ <h3>4.4. `DOMException^T</h3>
1506915074
Set value’s message to serialized.[[Message]].
1507015075
</li>
1507115076
<li>
15072-
他にも %直列形 に添付された~dataがあるならば、
15073-
それも逆直列化して %値 に添付する
15077+
%値 .`Stack^sl ~SET %直列形 .`Stack^sl
15078+
15079+
Set value.[[Stack]] to serialized.[[Stack]].
15080+
</li>
15081+
<li>
15082+
他にも %直列形 に付された~dataがあるならば、
15083+
それも逆直列化して %値 に付する
1507415084
1507515085
If any other data is attached to serialized, then deserialize and attach it to value.
1507615086
</li>

0 commit comments

Comments
 (0)