Skip to content

Commit 7c8fb7b

Browse files
[HTML] Integrate with Error Stack Accessor proposal whatwg/html@9b5f1b3
1 parent 9b1c878 commit 7c8fb7b

3 files changed

Lines changed: 60 additions & 52 deletions

File tree

HTML-references.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<script type="text/plain" id="_source_data">
1717

1818
●●options
19-
spec_date:2026-05-14
19+
spec_date:2026-05-26
2020
source_checked:230324
2121
spec_status:LS
2222
original_url:https://html.spec.whatwg.org/multipage/references.html
@@ -517,8 +517,12 @@
517517
<JPEG File Interchange Format>, E. Hamilton.
518518
URL: https://www.w3.org/Graphics/JPEG/jfif3.pdf
519519

520+
[JSERRORSTACKACCESSOR]
521+
<Error Stack Accessor>. Ecma International.
522+
URL: https://tc39.es/proposal-error-stack-accessor/
523+
520524
[JSERRORSTACKS]
521-
(参考) <Error Stacks>. Ecma International.
525+
<Error Stacks>. Ecma International.
522526
URL: https://tc39.es/proposal-error-stacks/
523527

524528
[JSDYNAMICCODEBRANDCHECKS]

HTML-structured-data-ja.html

Lines changed: 53 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@
116116

117117
●●options
118118

119-
spec_date:2025-06-20
120-
trans_update:2025-06-19
119+
spec_date:2026-05-26
120+
trans_update:2026-05-27
121121
source_checked:241029
122122
page_state_key:HTML
123123
spec_status:LS
@@ -256,6 +256,7 @@
256256
変異-不能な~prototype~exotic~obj:~TC39#immutable-prototype-exotic-object
257257
完了~Record:~TC39#sec-completion-record-specification-type
258258

259+
実装定義:~INFRA#implementation-defined
259260
付加する:~INFRA#list-append
260261
~list:~INFRA#list
261262
~map:~INFRA#ordered-map
@@ -295,7 +296,7 @@
295296
process::::プロセス
296297
同期して:synchronousに:~
297298
複製した:copied:~
298-
添付-:attach::~
299+
-:attach::~
299300

300301
手続き:set of steps
301302
一連の段からなる
@@ -325,6 +326,7 @@
325326
%~key:key
326327
%~key群:-
327328
%~message:message
329+
%~stack:stack
328330
%~message記述子:messageDesc
329331
%~realm:realm
330332
%~size:size
@@ -1223,7 +1225,7 @@ <h4 title="StructuredSerializeInternal ( value, forStorage [ , memory ] )">2.7.3
12231225
%値 . `ArrayBufferData^sl ~NEQ ε
12241226
]:
12251227
1226-
Otherwise, if value has an [[ArrayBufferData]] internal slot, then:
1228+
Otherwise, if value has an [[ArrayBufferData]] internal slot:
12271229
</p>
12281230
<ol>
12291231
<li>
@@ -1232,7 +1234,7 @@ <h4 title="StructuredSerializeInternal ( value, forStorage [ , memory ] )">2.7.3
12321234
`IsSharedArrayBuffer$jA( %値 ) ~EQ ~T
12331235
]:
12341236
1235-
If IsSharedArrayBuffer(value) is true, then:
1237+
If IsSharedArrayBuffer(value) is true:
12361238
</p>
12371239
<ol>
12381240
<li>
@@ -1375,7 +1377,7 @@ <h4 title="StructuredSerializeInternal ( value, forStorage [ , memory ] )">2.7.3
13751377
%値 . `ViewedArrayBuffer^sl ~NEQ ε
13761378
]:
13771379
1378-
Otherwise, if value has a [[ViewedArrayBuffer]] internal slot, then:
1380+
Otherwise, if value has a [[ViewedArrayBuffer]] internal slot:
13791381
</p>
13801382
<ol>
13811383
<li>
@@ -1461,7 +1463,7 @@ <h4 title="StructuredSerializeInternal ( value, forStorage [ , memory ] )">2.7.3
14611463
%値 . `MapData^sl ~NEQ ε
14621464
]:
14631465
1464-
Otherwise, if value has a [[MapData]] internal slot, then:
1466+
Otherwise, if value has a [[MapData]] internal slot:
14651467
</p>
14661468
<ol>
14671469
<li>
@@ -1486,7 +1488,7 @@ <h4 title="StructuredSerializeInternal ( value, forStorage [ , memory ] )">2.7.3
14861488
%値 . `SetData^sl ~NEQ ε
14871489
]:
14881490
1489-
Otherwise, if value has a [[SetData]] internal slot, then:
1491+
Otherwise, if value has a [[SetData]] internal slot:
14901492
</p>
14911493
<ol>
14921494
<li>
@@ -1513,7 +1515,7 @@ <h4 title="StructuredSerializeInternal ( value, forStorage [ , memory ] )">2.7.3
15131515
%値 は`~platform~obj$でない
15141516
]:
15151517
1516-
Otherwise, if value has an [[ErrorData]] internal slot and value is not a platform object, then:
1518+
Otherwise, if value has an [[ErrorData]] internal slot and value is not a platform object:
15171519
</p>
15181520
<ol>
15191521
<li>
@@ -1544,35 +1546,32 @@ <h4 title="StructuredSerializeInternal ( value, forStorage [ , memory ] )">2.7.3
15441546
~ELSE_ ~ABRUPT `ToString$jA( %値~message記述子 . `Value^sl )
15451547
15461548
Let message be undefined if IsDataDescriptor(valueMessageDesc) is false, and ? ToString(valueMessageDesc.[[Value]]) otherwise.
1549+
</li>
1550+
<li>
1551+
%~stack ~LET %値 . `Stack^sl を表現する`実装定義$な文字列
1552+
`JSERRORSTACKACCESSOR$r
1553+
`JSERRORSTACKS$r
1554+
1555+
Let stack be an implementation-defined string that represents value.[[Stack]]. [JSERRORSTACKACCESSOR] [JSERRORSTACKS]
15471556
</li>
15481557
<li>
15491558
%直列形 ~SET 新たな`~Record$js
15501559
— その
15511560
⇒#
15521561
`Type^sl ~SET `Error^l,
15531562
`Name^sl ~SET %名前,
1554-
`Message^sl ~SET %~message
1563+
`Message^sl ~SET %~message,
1564+
`Stack^sl ~SET %~stack
15551565
1556-
Set serialized to { [[Type]]: "Error", [[Name]]: name, [[Message]]: message }.
1566+
Set serialized to { [[Type]]: "Error", [[Name]]: name, [[Message]]: message, [[Stack]]: stack }.
15571567
</li>
15581568
<li>
1559-
<p>
15601569
~UAは、
1561-
まだ仕様~化されていないが関心ng~data
1562-
— 特に, `stack^jp ~propが挙げられる —
1563-
が付随しているならば、
1564-
それを直列化した表現も %直列形 に添付するベキである
1565-
1566-
User agents should attach a serialized representation of any interesting accompanying data which are not yet specified, notably the stack property, to serialized.
1567-
</p>
1568-
1569-
<p class="note">
1570-
この~dataを指定する進捗-中な作業については、
1571-
`Error Stacks^cite 提案 `JSERRORSTACKS$r を見よ。
1570+
まだ仕様~化されていない関心ng~dataが付随しているならば,
1571+
それを直列化した表現も %直列形 に付するベキである。
15721572
1573-
See the Error Stacks proposal for in-progress work on specifying this data. [JSERRORSTACKS]
1574-
</p>
1575-
</li>
1573+
User agents should attach a serialized representation of any interesting accompanying data which are not yet specified to serialized.
1574+
</li>
15761575
</ol>
15771576
</li>
15781577
<li>
@@ -1581,7 +1580,7 @@ <h4 title="StructuredSerializeInternal ( value, forStorage [ , memory ] )">2.7.3
15811580
%値 は `Array^jt ~exotic~objである
15821581
]:
15831582
1584-
Otherwise, if value is an Array exotic object, then:
1583+
Otherwise, if value is an Array exotic object:
15851584
</p>
15861585
<ol>
15871586
<li>
@@ -1773,7 +1772,7 @@ <h4 title="StructuredSerializeInternal ( value, forStorage [ , memory ] )">2.7.3
17731772
%深いか ~EQ ~T
17741773
]:
17751774
1776-
If deep is true, then:
1775+
If deep is true:
17771776
</p>
17781777
<ol>
17791778
<li>
@@ -1782,7 +1781,7 @@ <h4 title="StructuredSerializeInternal ( value, forStorage [ , memory ] )">2.7.3
17821781
%値 . `MapData^sl ~NEQ ε
17831782
]:
17841783
1785-
If value has a [[MapData]] internal slot, then:
1784+
If value has a [[MapData]] internal slot:
17861785
</p>
17871786
<ol>
17881787
<li>
@@ -1861,7 +1860,7 @@ <h4 title="StructuredSerializeInternal ( value, forStorage [ , memory ] )">2.7.3
18611860
%値 . `SetData^sl ~NEQ ε
18621861
]:
18631862
1864-
Otherwise, if value has a [[SetData]] internal slot, then:
1863+
Otherwise, if value has a [[SetData]] internal slot:
18651864
</p>
18661865

18671866
<ol>
@@ -1978,7 +1977,7 @@ <h4 title="StructuredSerializeInternal ( value, forStorage [ , memory ] )">2.7.3
19781977
19791978
~CONTINUE
19801979
1981-
If ! HasOwnProperty(value, key) is true, then:
1980+
If ! HasOwnProperty(value, key) is true:
19821981
</li>
19831982
<li>
19841983
%入力~値 ~LET
@@ -2230,7 +2229,7 @@ <h4 title="StructuredDeserialize ( serialized, targetRealm [ , memory ] )">2.7.6
22302229
<p>
22312230
`SharedArrayBuffer^l:
22322231
2233-
Otherwise, if serialized.[[Type]] is "SharedArrayBuffer", then:
2232+
Otherwise, if serialized.[[Type]] is "SharedArrayBuffer":
22342233
</p>
22352234
<ol>
22362235
<li>
@@ -2257,7 +2256,7 @@ <h4 title="StructuredDeserialize ( serialized, targetRealm [ , memory ] )">2.7.6
22572256
<p>
22582257
`GrowableSharedArrayBuffer^l :
22592258
2260-
Otherwise, if serialized.[[Type]] is "GrowableSharedArrayBuffer", then:
2259+
Otherwise, if serialized.[[Type]] is "GrowableSharedArrayBuffer":
22612260
</p>
22622261
<ol>
22632262
<li>
@@ -2346,7 +2345,7 @@ <h4 title="StructuredDeserialize ( serialized, targetRealm [ , memory ] )">2.7.6
23462345
<p>
23472346
`ArrayBufferView^l:
23482347
2349-
Otherwise, if serialized.[[Type]] is "ArrayBufferView", then:
2348+
Otherwise, if serialized.[[Type]] is "ArrayBufferView":
23502349
</p>
23512350
<ol>
23522351
<li>
@@ -2399,7 +2398,7 @@ <h4 title="StructuredDeserialize ( serialized, targetRealm [ , memory ] )">2.7.6
23992398
<p>
24002399
`Map^l:
24012400
2402-
Otherwise, if serialized.[[Type]] is "Map", then:
2401+
Otherwise, if serialized.[[Type]] is "Map":
24032402
</p>
24042403
<ol>
24052404
<li>
@@ -2421,7 +2420,7 @@ <h4 title="StructuredDeserialize ( serialized, targetRealm [ , memory ] )">2.7.6
24212420
<p>
24222421
`Set^l:
24232422
2424-
Otherwise, if serialized.[[Type]] is "Set", then:
2423+
Otherwise, if serialized.[[Type]] is "Set":
24252424
</p>
24262425
<ol>
24272426
<li>
@@ -2443,7 +2442,7 @@ <h4 title="StructuredDeserialize ( serialized, targetRealm [ , memory ] )">2.7.6
24432442
<p>
24442443
`Array^l:
24452444
2446-
Otherwise, if serialized.[[Type]] is "Array", then:
2445+
Otherwise, if serialized.[[Type]] is "Array":
24472446
</p>
24482447
<ol>
24492448
<li>
@@ -2468,7 +2467,7 @@ <h4 title="StructuredDeserialize ( serialized, targetRealm [ , memory ] )">2.7.6
24682467
<p>
24692468
`Object^l:
24702469
2471-
Otherwise, if serialized.[[Type]] is "Object", then:
2470+
Otherwise, if serialized.[[Type]] is "Object":
24722471
</p>
24732472
<ol>
24742473
<li>
@@ -2487,7 +2486,7 @@ <h4 title="StructuredDeserialize ( serialized, targetRealm [ , memory ] )">2.7.6
24872486
<p>
24882487
`Error^l:
24892488
2490-
Otherwise, if serialized.[[Type]] is "Error", then:
2489+
Otherwise, if serialized.[[Type]] is "Error":
24912490
</p>
24922491
<ol>
24932492
<li>
@@ -2523,9 +2522,9 @@ <h4 title="StructuredDeserialize ( serialized, targetRealm [ , memory ] )">2.7.6
25232522
</li>
25242523
<li>
25252524
%値 ~SET
2526-
`OrdinaryObjectCreate$jA( %~prototype, « `ErrorData^sl » )
2525+
`OrdinaryObjectCreate$jA( %~prototype, « `ErrorData^sl, `Stack^sl » )
25272526
2528-
Set value to OrdinaryObjectCreate(prototype, « [[ErrorData]] »).
2527+
Set value to OrdinaryObjectCreate(prototype, « [[ErrorData]], [[Stack]] »).
25292528
</li>
25302529
<li>
25312530
%~message記述子 ~LET 新たな`~PropertyDescriptor$js
@@ -2548,8 +2547,13 @@ <h4 title="StructuredDeserialize ( serialized, targetRealm [ , memory ] )">2.7.6
25482547
If message is not undefined, then perform ! OrdinaryDefineOwnProperty(value, "message", messageDesc).
25492548
</li>
25502549
<li>
2551-
他にも %直列形 に添付された関心ng~dataがあるならば、
2552-
それも逆直列化して %値 に添付するベキである
2550+
%値 . `Stack^sl ~SET %直列形 . `Stack^sl
2551+
2552+
Set value.[[Stack]] to serialized.[[Stack]].
2553+
</li>
2554+
<li>
2555+
他にも %直列形 に付された関心ng~dataがあるならば、
2556+
それも逆直列化して %値 に付するベキである
25532557
25542558
Any interesting accompanying data attached to serialized should be deserialized and attached to value.
25552559
</li>
@@ -2612,14 +2616,14 @@ <h4 title="StructuredDeserialize ( serialized, targetRealm [ , memory ] )">2.7.6
26122616
<p>
26132617
%直列形 . `Type^sl に応じて:
26142618
2615-
If deep is true, then:
2619+
If deep is true:
26162620
</p>
26172621
<ol class="switch">
26182622
<li>
26192623
<p>
26202624
`Map^l:
26212625
2622-
If serialized.[[Type]] is "Map", then:
2626+
If serialized.[[Type]] is "Map":
26232627
</p>
26242628
<ol>
26252629
<li>
@@ -2662,7 +2666,7 @@ <h4 title="StructuredDeserialize ( serialized, targetRealm [ , memory ] )">2.7.6
26622666
<p>
26632667
`Set^l:
26642668
2665-
Otherwise, if serialized.[[Type]] is "Set", then:
2669+
Otherwise, if serialized.[[Type]] is "Set":
26662670
</p>
26672671
<ol>
26682672
<li>
@@ -2693,7 +2697,7 @@ <h4 title="StructuredDeserialize ( serialized, targetRealm [ , memory ] )">2.7.6
26932697
<p>
26942698
`Array^l / `Object^l:
26952699
2696-
Otherwise, if serialized.[[Type]] is "Array" or "Object", then:
2700+
Otherwise, if serialized.[[Type]] is "Array" or "Object":
26972701
</p>
26982702

26992703
<ol>
@@ -2904,7 +2908,7 @@ <h4 title="StructuredSerializeWithTransfer ( value, transferList )">2.7.7. `Stru
29042908
%転送対象 . `ArrayBufferData^sl ~NEQ ε
29052909
]:
29062910
2907-
If transferable has an [[ArrayBufferData]] internal slot, then:
2911+
If transferable has an [[ArrayBufferData]] internal slot:
29082912
</p>
29092913
<ol>
29102914
<li>
@@ -2920,7 +2924,7 @@ <h4 title="StructuredSerializeWithTransfer ( value, transferList )">2.7.7. `Stru
29202924
`ArrayBufferByteLength^sl ~SET %転送対象 . `ArrayBufferByteLength^sl,
29212925
`ArrayBufferMaxByteLength^sl ~SET %転送対象 . `ArrayBufferMaxByteLength^sl
29222926
2923-
If transferable has an [[ArrayBufferMaxByteLength]] internal slot, then:
2927+
If transferable has an [[ArrayBufferMaxByteLength]] internal slot:
29242928
• Set dataHolder.[[Type]] to "ResizableArrayBuffer".
29252929
• Set dataHolder.[[ArrayBufferData]] to transferable.[[ArrayBufferData]].
29262930
• Set dataHolder.[[ArrayBufferByteLength]] to transferable.[[ArrayBufferByteLength]].

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ <h2>日本語訳ページ一覧</h2>
380380
HTML
381381
<a id="spec-list-html" href="#spec-list-html"></a>
382382
<p>
383-
(原文日付:<time>2026-05-17</time>
383+
(原文日付:<time>2026-05-26</time>
384384
<small>
385385
個々のページに示される これより過去の原文日付は、
386386
この日付まで,概ね(有意な)更新は無いことを表す。

0 commit comments

Comments
 (0)