Skip to content

Commit 711d5e8

Browse files
[HTML] Add has cross-site ancestor to environment settings objects whatwg/html@baec061
1 parent 123e8f5 commit 711d5e8

5 files changed

Lines changed: 102 additions & 16 deletions

File tree

HTML-window-ja.html

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@
133133

134134
●●options
135135

136-
spec_date:2025-04-25
137-
trans_update:2025-04-25
136+
spec_date:2025-07-25
137+
trans_update:2025-07-26
138138
source_checked:240620
139139
page_state_key:HTML
140140
spec_status:LS
@@ -376,6 +376,7 @@
376376
%閲覧~文脈:browsingContext
377377
%~navi:navigation
378378
%継続するか:continue
379+
%~文書:parentDocument
379380

380381
%:child
381382
%~backしている構造体:backingStruct
@@ -841,6 +842,7 @@
841842
enV.時刻~起点:~WAPI#concept-settings-object-time-origin
842843
enV.生成元:~WAPI#concept-settings-object-origin
843844
enV.非同一-生成元~能力は隔離されるか?:~WAPI#concept-settings-object-cross-origin-isolated-capability
845+
enV.非同一-~siteな先祖を有するか?:~WAPI#concept-settings-object-has-cross-site-ancestor
844846

845847
tK.文書:~WAPI#concept-task-document
846848
~event~loop:~WAPI#event-loop
@@ -3358,6 +3360,51 @@ <h5 title="Script settings for Window objects">7.2.2.6. `Window^I ~obj用の~scr
33583360
• Return the origin of window's associated Document.
33593361
</li>
33603362
<li class="algo">
3363+
<p>
3364+
`非同一-~siteな先祖を有するか?$enV:
3365+
3366+
The has cross-site ancestor
3367+
</p>
3368+
<ol>
3369+
<li>
3370+
~IF[
3371+
%~window の`~navigable$の`親~navigable$ ~EQ ~NULL
3372+
3373+
3374+
~RET ~F
3375+
3376+
If window's navigable's parent is null, then return false.
3377+
</li>
3378+
<li>
3379+
%親~文書 ~LET %~window の`~navigable$の`親~navigable$にて`作動中な文書$nav
3380+
3381+
Let parentDocument be window's navigable's parent's active document.
3382+
</li>
3383+
<li>
3384+
<p>
3385+
~RET ~IS[
3386+
~OR↓
3387+
]:
3388+
</p>
3389+
<ul>
3390+
<li>
3391+
%親~文書 に`関連な設定群~obj$の`非同一-~siteな先祖を有するか?$enV ~EQ ~T
3392+
</li>
3393+
<li>
3394+
( %親~文書 の`生成元$doc, %現~文書 の`生成元$doc )
3395+
は`同じ~site$でない
3396+
</li>
3397+
</ul>
3398+
3399+
If parentDocument's relevant settings object's has cross-site ancestor is true, then return true.
3400+
3401+
If parentDocument's origin is not same site with window's associated Document's origin, then return true.
3402+
3403+
Return false.
3404+
</li>
3405+
</ol>
3406+
</li>
3407+
<li class="algo">
33613408
`施策~容器$enV
33623409
33633410
~RET %現~文書 の`施策~容器$doc

Workers-ja.html

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@
118118

119119
●●options
120120

121-
spec_date:2025-06-20
122-
trans_update:2025-01-15
121+
spec_date:2025-07-25
122+
trans_update:2025-07-26
123123
source_checked:240730
124124
page_state_key:HTML
125125
original_url:https://html.spec.whatwg.org/multipage/workers.html
@@ -409,6 +409,7 @@
409409
enV.非同一-生成元~能力は隔離されるか?:~WAPI#concept-settings-object-cross-origin-isolated-capability
410410
enV.~API用~基底~URL:~WAPI#api-base-url
411411
enV.時刻~起点:~WAPI#concept-settings-object-time-origin
412+
enV.非同一-~siteな先祖を有するか?:~WAPI#concept-settings-object-has-cross-site-ancestor
412413

413414
現在の設定群~obj:~WAPI#current-settings-object
414415
設定群~obj:~WAPI#settings-object
@@ -4217,6 +4218,20 @@ <h5 title="Script settings for workers">10.2.6.2. ~worker用の~script設定群<
42174218
42184219
The origin
42194220
• Return a unique opaque origin if worker global scope's url's scheme is "data", and inherited origin otherwise.
4221+
</li>
4222+
<li class="algo">
4223+
`非同一-~siteな先祖を有するか?$enV
4224+
4225+
~RET ~IS[
4226+
%外側~設定群 の`非同一-~siteな先祖を有するか?$enV ~EQ ~T
4227+
]~OR[
4228+
%~worker大域~scope の`~URL$wGの`~scheme$url ~EQ `data^l
4229+
4230+
4231+
The has cross-site ancestry
4232+
• If outside settings's has cross-site ancestor is true, then return true.
4233+
• If worker global scope's url's scheme is "data", then return true.
4234+
• Return false.
42204235
</li>
42214236
<li class="algo">
42224237
`施策~容器$enV

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>2025-07-24</time>
383+
(原文日付:<time>2025-07-25</time>
384384
<small>
385385
個々のページに示される これより過去の原文日付は、
386386
この日付まで,概ね(有意な)更新は無いことを表す。

webappapis-ja.html

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@
117117

118118
●●options
119119

120-
spec_date:2025-06-27
121-
trans_update:2025-06-28
120+
spec_date:2025-07-25
121+
trans_update:2025-07-26
122122
source_checked:240712
123123
page_state_key:HTML
124124
spec_status:LS
@@ -683,6 +683,7 @@
683683
enV.~API用~URL文字~符号化法:#api-url-character-encoding
684684
enV.~API用~基底~URL:#api-base-url
685685
enV.生成元:#concept-settings-object-origin
686+
enV.非同一-~siteな先祖を有するか?:#concept-settings-object-has-cross-site-ancestor
686687
enV.~top-level作成時の~URL:#concept-environment-top-level-creation-url
687688
enV.~top-level生成元:#concept-environment-top-level-origin
688689
enV.施策~容器:#concept-settings-object-policy-container
@@ -3196,7 +3197,7 @@ <h5 title="Environment settings objects">8.1.3.2. 環境~設定群~obj</h5>
31963197
A module map
31973198
</dt>
31983199
<dd>
3199-
`~module~map$
3200+
ある`~module~map$
32003201
— ~JS~moduleを~importするときに利用される。
32013202
32023203
A module map that is used when importing JavaScript modules.
@@ -3208,7 +3209,7 @@ <h5 title="Environment settings objects">8.1.3.2. 環境~設定群~obj</h5>
32083209
An API base URL
32093210
</dt>
32103211
<dd>
3211-
`~URL$
3212+
ある`~URL$
32123213
— %設定群 を利用する~scriptから~callされる~APIが`~URLを符号化法の下で相対的に構文解析する$ときに利用される。
32133214
32143215
A URL used by APIs called by scripts that use this environment settings object to parse URLs.
@@ -3220,10 +3221,22 @@ <h5 title="Environment settings objects">8.1.3.2. 環境~設定群~obj</h5>
32203221
An origin
32213222
</dt>
32223223
<dd>
3223-
`生成元$
3224+
ある`生成元$
32243225
— ~security検査に利用される。
32253226
32263227
An origin used in security checks.
3228+
</dd>
3229+
3230+
<dt>
3231+
`非同一-~siteな先祖を有するか?@enV
3232+
3233+
A has cross-site ancestor
3234+
</dt>
3235+
<dd>
3236+
ある真偽値
3237+
— ~security検査に利用される。
3238+
3239+
A boolean used in security checks.
32273240
</dd>
32283241

32293242
<dt>
@@ -3232,7 +3245,7 @@ <h5 title="Environment settings objects">8.1.3.2. 環境~設定群~obj</h5>
32323245
A policy container
32333246
</dt>
32343247
<dd>
3235-
`施策~容器$
3248+
ある`施策~容器$
32363249
— ~security検査に利用される施策を包含する。
32373250
32383251
A policy container containing policies used for security checks.
@@ -3244,7 +3257,8 @@ <h5 title="Environment settings objects">8.1.3.2. 環境~設定群~obj</h5>
32443257
A cross-origin isolated capability
32453258
</dt>
32463259
<dd>
3247-
次を表現する真偽値
3260+
ある真偽値
3261+
— 次を表現する
32483262
32493263
%設定群 を利用する~scriptには、[
32503264
非同一-生成元~隔離を要求する~API
@@ -3259,9 +3273,10 @@ <h5 title="Environment settings objects">8.1.3.2. 環境~設定群~obj</h5>
32593273
A time origin
32603274
</dt>
32613275
<dd>
3262-
3276+
ある数
3277+
— [
32633278
処理能に関係する時刻印
3264-
]用の~~起点として利用される数
3279+
]用の~~起点として利用される
32653280
`HRT$r
32663281
32673282
A number used as the baseline for performance-related timestamps. [HRT]

worklets-ja.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@
104104

105105
●●options
106106

107-
spec_date:2025-05-27
108-
trans_update:2025-03-15
107+
spec_date:2025-07-25
108+
trans_update:2025-07-26
109109
source_checked:240807
110110
page_state_key:HTML
111111
original_url:https://html.spec.whatwg.org/multipage/worklets.html
@@ -234,6 +234,7 @@
234234
enV.~realm実行~文脈:~WAPI#realm-execution-context
235235
enV.~module~map:~WAPI#concept-settings-object-module-map
236236
enV.生成元:~WAPI#concept-settings-object-origin
237+
enV.非同一-~siteな先祖を有するか?:~WAPI#concept-settings-object-has-cross-site-ancestor
237238
enV.非同一-生成元~能力は隔離されるか?:~WAPI#concept-settings-object-cross-origin-isolated-capability
238239
enV.~ID:~WAPI#concept-environment-id
239240
enV.作成時の~URL:~WAPI#concept-environment-creation-url
@@ -1533,6 +1534,14 @@ <h5 title="Script settings for worklets">11.3.1.3. ~worklet用の~script設定
15331534
15341535
The origin
15351536
• Return origin.
1537+
</li>
1538+
<li class="algo">
1539+
`非同一-~siteな先祖を有するか?$enV
1540+
1541+
~RET ~T
1542+
1543+
The has cross-site ancestor
1544+
• Return true.
15361545
</li>
15371546
<li class="algo">
15381547
`施策~容器$enV

0 commit comments

Comments
 (0)