Skip to content

Commit 1978842

Browse files
[feature-policy] Rename all the things( feature-policy → permissions policy
w3c/webappsec-permissions-policy#359 Update ABNF w3c/webappsec-permissions-policy@9830475 Rename featurePolicy member w3c/webappsec-permissions-policy@dfcf2c7 Rename FeaturePolicy interface w3c/webappsec-permissions-policy@44a7b9e Rename variables w3c/webappsec-permissions-policy@deb2fef Rename reporting concepts and interfaces w3c/webappsec-permissions-policy@fe5e6f1 Rename the feature policy concept w3c/webappsec-permissions-policy@1096ea8 Rename the header w3c/webappsec-permissions-policy@18a2f87 Rename the spec and API w3c/webappsec-permissions-policy@d6b23aa
1 parent 4c07fb0 commit 1978842

12 files changed

+266
-246
lines changed

HTML-dependencies-ja.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -753,11 +753,13 @@
753753
#concept-policy-controlled-feature
754754
施策により制御される特能:~FEATUREPOLICY#policy-controlled-feature
755755
#concept-feature-policy
756-
特能~施策:~FEATUREPOLICY#feature-policy
756+
許可~施策:~FEATUREPOLICY#permissions-policy
757+
廃)特能~施策:~FEATUREPOLICY#feature-policy
757758
#concept-container-policy
758759
容器~施策:~FEATUREPOLICY#container-policy
759760
#concept-serialized-feature-policy
760-
直列形の特能~施策:~FEATUREPOLICY#serialized-feature-policy
761+
直列形の許可~施策:~FEATUREPOLICY#serialized-permissions-policy
762+
廃)直列形の特能~施策:~FEATUREPOLICY#serialized-feature-policy
761763
#concept-default-allowlist
762764
既定の許容list:~FEATUREPOLICY#default-allowlist
763765
#creating-a-feature-policy
@@ -767,7 +769,8 @@
767769
#is-feature-enabled
768770
文書~内の特能は生成元~用に可能化されるか?:~FEATUREPOLICY#is-feature-enabled
769771
#process-feature-policy-attributes
770-
特能~施策~属性を処理する:~FEATUREPOLICY#process-feature-policy-attributes
772+
許可~施策~属性を処理する:~FEATUREPOLICY#process-feature-policy-attributes
773+
廃)特能~施策~属性を処理する:~FEATUREPOLICY#process-feature-policy-attributes
771774

772775
●PAYMENTREQUEST
773776
#paymentrequest
@@ -5543,15 +5546,15 @@ <h3 title="Dependencies">2.1.9. 依存関係</h3>
55435546
</p>
55445547

55455548
<ul><li>`施策により制御される特能!
5546-
</li><li>`特能~施策!
5549+
</li><li>`許可~施策!
55475550
</li><li>`容器~施策!
5548-
</li><li>`直列形の特能~施策!
5551+
</li><li>`直列形の許可~施策!
55495552
</li><li>`既定の許容list!
55505553
</li><li>次に挙げる~algo:
55515554
<ul><li>`閲覧文脈~用の施策を作成する!
55525555
</li><li>`応答から閲覧文脈~用の施策を作成する!
55535556
</li><li>`文書~内の特能は生成元~用に可能化されるか?!
5554-
</li><li>`特能~施策~属性を処理する!
5557+
</li><li>`許可~施策~属性を処理する!
55555558
</li></ul>
55565559
</li></ul>
55575560

HTML-dom-ja.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,8 @@
649649
doc.~HTTPS状態:#concept-document-https-state
650650
doc.~referrer施策:#concept-document-referrer-policy
651651
doc.~CSP~list:#concept-document-csp-list
652-
doc.特能~施策:#concept-document-feature-policy
652+
doc.許可~施策:#concept-document-feature-policy
653+
改称)doc.特能~施策:~HTMLdom#concept-document-feature-policy
653654
doc.~module~map:#concept-document-module-map
654655
doc.現在の準備度:#current-document-readiness
655656
有名~要素:#dom-document-nameditem-filter
@@ -874,7 +875,8 @@
874875
set-cookie-string を受信-:~HTMLdep#receives-a-set-cookie-string
875876

876877
●他
877-
特能~施策:~FEATUREPOLICY#feature-policy
878+
許可~施策:~FEATUREPOLICY#permissions-policy
879+
廃)特能~施策:~FEATUREPOLICY#feature-policy
878880

879881
~outline:~HEsections#outline
880882
~sectioning根:~HEsections#sectioning-root
@@ -2061,13 +2063,17 @@ <h3 title="The Document object">3.1.1. `Document^I ~obj</h3>
20612063
The Document has a CSP list, which is a CSP list containing all of the Content Security Policy objects active for the document. The list is empty unless otherwise specified.
20622064
</dd>
20632065

2064-
<dt>`特能~施策@doc</dt>
2066+
<dt>`許可~施策@doc</dt>
20652067
<dd>
2066-
`特能~施策$。
2068+
`許可~施策$。
20672069
初期~時は空とする。
20682070
20692071
The Document has a feature policy, which is a feature policy, which is initially empty.
20702072
</dd>
2073+
<dd class="trans-note">
2074+
参照先の用語は、以前は “特能~施策( `feature policy^en )” と称されていたが,改称された。
2075+
この仕様では、まだそのように改称されていないが、この訳では,改称された名前を利用することにする。
2076+
</dd>
20712077

20722078
<dt>`~module~map@doc</dt>
20732079
<dd>

HTML-embed-ja.html

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,8 @@
485485
~sandbox法~指令を構文解析-:~ORIGIN#parse-a-sandboxing-directive
486486
閲覧文脈~sandbox化( ~plugin )~flag:~ORIGIN#sandboxed-plugins-browsing-context-flag
487487

488-
doc.特能~施策:~HTMLdom#concept-document-feature-policy
488+
doc.許可~施策:~HTMLdom#concept-document-feature-policy
489+
廃/改称)doc.特能~施策:~HTMLdom#concept-document-feature-policy
489490
~navigate:~NAVI#navigate
490491
~navi:~NAVI#navigate
491492
i.置換を可能化する:~NAVI#replacement-enabled
@@ -549,11 +550,14 @@
549550
属性~値の正規化:https://www.w3.org/TR/xml/#AVNormalize
550551
~referrer施策:~REFERRER-POLICY#referrer-policy
551552

552-
特能~施策:~FEATUREPOLICY#feature-policy
553+
許可~施策:~FEATUREPOLICY#permissions-policy
554+
廃)特能~施策:~FEATUREPOLICY#feature-policy
553555
容器~施策:~FEATUREPOLICY#container-policy
554-
直列形の特能~施策:~FEATUREPOLICY#serialized-feature-policy
556+
直列形の許可~施策:~FEATUREPOLICY#serialized-permissions-policy
557+
廃)直列形の特能~施策:~FEATUREPOLICY#serialized-feature-policy
555558
文書~内の特能は生成元~用に可能化されるか?:~FEATUREPOLICY#is-feature-enabled
556-
特能~施策~属性を処理する:~FEATUREPOLICY#process-feature-policy-attributes
559+
許可~施策~属性を処理する:~FEATUREPOLICY#process-feature-policy-attributes
560+
廃)特能~施策~属性を処理する:~FEATUREPOLICY#process-feature-policy-attributes
557561
施策により制御される特能:~FEATUREPOLICY#policy-controlled-feature
558562

559563
内在的~横幅:~CSSIMAGE#intrinsic-width
@@ -1139,7 +1143,7 @@ <h3 title="The iframe element">4.8.5. `iframe^e 要素</h3>
11391143
</dd>
11401144
<dd>
11411145
`allow$aF
1142-
— `iframe$e の内容に適用されることになる`特能~施策$
1146+
— `iframe$e の内容に適用されることになる`許可~施策$
11431147
11441148
allow — Feature policy to be applied to the iframe's contents
11451149
</dd>
@@ -2040,9 +2044,9 @@ <h3 title="The iframe element">4.8.5. `iframe^e 要素</h3>
20402044
`allow@aF
20412045
属性は、指定されたときは,`容器~施策$を決定する
20422046
— それは、[
2043-
`iframe$e が`入子にしている閲覧文脈$に属する`文書$用の`特能~施策$doc
2047+
`iframe$e が`入子にしている閲覧文脈$に属する`文書$用の`許可~施策$doc
20442048
]が初期化されるときに,利用されることになる。
2045-
値は`直列形の特能~施策$でなければナラナイ。
2049+
値は`直列形の許可~施策$でなければナラナイ。
20462050
`FEATUREPOLICY$r
20472051
20482052
The allow attribute, when specified, determines the container policy that will be used when the feature policy for a Document in the iframe's nested browsing context is initialized. Its value must be a serialized feature policy. [FEATUREPOLICY]
@@ -2067,9 +2071,9 @@ <h3 title="The iframe element">4.8.5. `iframe^e 要素</h3>
20672071
属性は,`真偽~属性$であり、指定されたときは,[
20682072
`iframe$e 要素が`入子にしている閲覧文脈$に属する`文書$は、[
20692073
どの`生成元$からでも, `fullscreen^l 特能の利用を許容する
2070-
]ように,`特能~施策$docで初期化されることになる
2074+
]ように,`許可~施策$docで初期化されることになる
20712075
]ことを指示する。
2072-
これは、`特能~施策~属性を処理する$ ~algoにより施行される。
2076+
これは、`許可~施策~属性を処理する$ ~algoにより施行される。
20732077
`FEATUREPOLICY$r
20742078
20752079
The allowfullscreen attribute is a boolean attribute. When specified, it indicates that Document objects in the iframe element's nested browsing context will be initialized with a feature policy which allows the "fullscreen" feature to be used from any origin. This is enforced by the Process feature policy attributes algorithm. [FEATUREPOLICY]
@@ -2094,9 +2098,9 @@ <h3 title="The iframe element">4.8.5. `iframe^e 要素</h3>
20942098
属性は`真偽~属性$であり、指定されたときは,[
20952099
`iframe$e 要素が`入子にしている閲覧文脈$に属する`文書$は、[
20962100
どの`生成元$からでも,~payment要請を為して `payment^l 特能を利用することを許容する
2097-
]ように,`特能~施策$docで初期化されることになる
2101+
]ように,`許可~施策$docで初期化されることになる
20982102
]ことを指示する。
2099-
これは、`特能~施策~属性を処理する$~algoにより施行される。
2103+
これは、`許可~施策~属性を処理する$~algoにより施行される。
21002104
`FEATUREPOLICY$r
21012105
21022106
The allowpaymentrequest attribute is a boolean attribute. When specified, it indicates that Document objects in the iframe element's nested browsing context will be initialized with a feature policy which allows the "payment" feature to be used to make payment requests from any origin. This is enforced by the Process feature policy attributes algorithm. [FEATUREPOLICY]
@@ -2164,7 +2168,7 @@ <h3 title="The iframe element">4.8.5. `iframe^e 要素</h3>
21642168
`allow$aF /
21652169
`allowfullscreen$aF /
21662170
`allowpaymentrequest$aF
2167-
]属性が波及するのは,当の `iframe$e 要素が`入子にしている閲覧文脈$にて`作動中の文書$の`特能~施策$docに限られるので、これらの属性が効果を~~発揮するのは,その閲覧文脈が`~navigate$されるときに限られる。
2171+
]属性が波及するのは,当の `iframe$e 要素が`入子にしている閲覧文脈$にて`作動中の文書$の`許可~施策$docに限られるので、これらの属性が効果を~~発揮するのは,その閲覧文脈が`~navigate$されるときに限られる。
21682172
属性を追加しようが除去しようが,すでに読込まれた文書に対する効果は無い。
21692173
21702174
Because they only influence the feature policy of the nested browsing context's active document, the allow, allowfullscreen and allowpaymentrequest attributes only take effect when the nested browsing context of the iframe is navigated. Adding or removing them has no effect on an already-loaded document.

HTML-index1-ja.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,8 +1210,10 @@
12101210
P.Pattern:~TC39#prod-Pattern
12111211
~ID:~DOM4#concept-id
12121212
~referrer施策:~REFERRER-POLICY#referrer-policy
1213-
直列形の特能~施策:~FEATUREPOLICY#serialized-feature-policy
1214-
特能~施策:~FEATUREPOLICY#feature-policy
1213+
直列形の許可~施策:~FEATUREPOLICY#serialized-permissions-policy
1214+
廃)直列形の特能~施策:~FEATUREPOLICY#serialized-feature-policy
1215+
許可~施策:~FEATUREPOLICY#permissions-policy
1216+
廃)特能~施策:~FEATUREPOLICY#feature-policy
12151217

12161218
●●trans_metadata
12171219
<p>
@@ -2759,11 +2761,11 @@ <h2 title="Attributes">属性</h2>
27592761
<tr><th>`allow!a
27602762
<td>`iframe$eA
27612763
<td>
2762-
`iframe$e の内容に適用されることになる`特能~施策$
2764+
`iframe$e の内容に適用されることになる`許可~施策$
27632765
27642766
Feature policy to be applied to the iframe's contents
27652767
<td>
2766-
`直列形の特能~施策$
2768+
`直列形の許可~施策$
27672769
27682770
Serialized feature policy
27692771

HTML-navigation-ja.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,8 @@
756756
doc.~HTTPS状態:~HTMLdom#concept-document-https-state
757757
doc.~referrer:~HTMLdom#the-document's-referrer
758758
'
759-
doc.特能~施策:~HTMLdom#concept-document-feature-policy
759+
doc.許可~施策:~HTMLdom#concept-document-feature-policy
760+
改称)doc.特能~施策:~HTMLdom#concept-document-feature-policy
760761
作動中の構文解析器:~HTMLdom#active-parser
761762
現在の文書の準備度:~HTMLdom#current-document-readiness
762763

@@ -2294,7 +2295,7 @@ <h3 title="Navigating across documents">7.8.1. 文書から文書への~navigate
22942295
</li>
22952296
<li>
22962297
<p>
2297-
%特能~施策 ~LET
2298+
%許可~施策 ~LET
22982299
`応答から閲覧文脈~用の施策を作成する$( %B, %生成元, %応答 )
22992300
`FEATUREPOLICY$r
23002301
@@ -2308,7 +2309,7 @@ <h3 title="Navigating across documents">7.8.1. 文書から文書への~navigate
23082309
%B の`容器~文書$に対し `document.domain$m が利用されていた場合、その`生成元$は
23092310
【以下で作成され,入子にされる文書】 %文書 の`生成元$と`同じ生成元~domain$にはなり得ない
23102311
— この手続きが走るのは, %文書 が作成される前であり、この時点では まだ %文書 の `document.domain$m は利用され得ないので。
2311-
したがって,特能~施策の検査は、`同一-生成元$かどうか検査するよりも,~~寛容でない。
2312+
したがって,許可~施策【!特能~施策】の検査は、`同一-生成元$かどうか検査するよりも,~~寛容でない。
23122313
23132314
The creating a feature policy from a response algorithm makes use of origin. If document.domain has been used for the browsingContext container document, then its origin cannot be same origin-domain with &gt;origin, because these steps run before the document is created, so it cannot itself yet have used document.domain. Note that this means that Feature Policy checks are less permissive compared to doing a same origin check instead.
23142315
</p>
@@ -2385,7 +2386,7 @@ <h3 title="Navigating across documents">7.8.1. 文書から文書への~navigate
23852386
`種別$doc ~SET %種別,
23862387
`内容~型$doc ~SET %内容~型,
23872388
`生成元$ ~SET %生成元,
2388-
`特能~施策$doc ~SET %特能~施策,
2389+
`許可~施策$doc ~SET %許可~施策,
23892390
`作動中の~sandbox法~flag集合$ ~SET %最終~sandbox~flag群
23902391
23912392
Let document be a new Document, whose type is type, content type is contentType, origin is origin, feature policy is featurePolicy, and active sandboxing flag set is finalSandboxFlags.

XHR-ja.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4173,7 +4173,7 @@ <h3 title="Events summary">4.7. ~event要覧</h3>
41734173

41744174
</section>
41754175
<section id="feature-policy-integration">
4176-
<h3 title="Feature Policy Integration">4.8. 特能~施策の統合</h3>
4176+
<h3 title="Feature Policy Integration">4.8. 許可~施策【!特能~施策】の統合</h3>
41774177

41784178
<p>
41794179
この仕様は、[

browsers-ja.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,8 @@
505505
doc.過去互換~mode:~DOM4#concept-document-quirks
506506
doc.内容~:~DOM4#concept-document-content-type
507507
doc.~URL:~DOM4#concept-document-url
508-
doc.特能~施策:~HTMLdom#concept-document-feature-policy
508+
doc.許可~施策:~HTMLdom#concept-document-feature-policy
509+
改称)doc.特能~施策:~HTMLdom#concept-document-feature-policy
509510

510511
~node文書:~DOM4#concept-node-document
511512
~tree内にある:~DOM4#in-a-document
@@ -930,7 +931,7 @@ <h3 title="Creating browsing contexts">7.1.1. 閲覧文脈の作成-法</h3>
930931
Let origin be the result of determining the origin given browsingContext, about:blank, sandboxFlags, browsingContext's creator origin, and null.
931932
</li>
932933
<li>
933-
%特能~施策 ~LET
934+
%許可~施策【!特能~施策 ~LET
934935
`閲覧文脈~用の施策を作成する$( %B, %生成元 )
935936
`FEATUREPOLICY$r
936937
@@ -997,7 +998,7 @@ <h3 title="Creating browsing contexts">7.1.1. 閲覧文脈の作成-法</h3>
997998
active sandboxing flag set is sandboxFlags,\
998999
</li>
9991000
<li>
1000-
`特能~施策$doc ~SET %特能~施策
1001+
`許可~施策$doc ~SET %許可~施策
10011002
10021003
feature policy is feature policy, and\
10031004
</li>

0 commit comments

Comments
 (0)