71
71
< h1 class ="p-name no-ref " id ="title "> Credential Management Level 1</ h1 >
72
72
73
73
< h2 class ="no-num no-toc no-ref heading settled " id ="subtitle "> < span class ="content "> Editor’s Draft,
74
- < time class ="dt-updated " datetime ="2015-09-02 " > 2 September 2015</ time > </ span > </ h2 >
74
+ < time class ="dt-updated " datetime ="2015-09-03 " > 3 September 2015</ time > </ span > </ h2 >
75
75
76
76
< div data-fill-with ="spec-metadata ">
77
77
< dl >
@@ -223,11 +223,12 @@ <h2 class="no-num no-toc no-ref heading settled" id="contents"><span class="cont
223
223
Algorithm Modifications
224
224
</ span > </ a >
225
225
< ul class ="toc ">
226
- < li > < a href ="#monkey-patching-xhr-2 "> < span class ="secno "> 3.3.1.1</ span > < span class ="content "> XHR: < code > FormData</ code > ’s < code > get()</ code > </ span > </ a >
227
- < li > < a href ="#monkey-patching-xhr-3 "> < span class ="secno "> 3.3.1.2</ span > < span class ="content "> XHR: < code > FormData</ code > ’s < code > getAll()</ code > </ span > </ a >
228
- < li > < a href ="#monkey-patching-fetch-1 "> < span class ="secno "> 3.3.1.3</ span > < span class ="content "> Fetch: < code > Body</ code > objects</ span > </ a >
229
- < li > < a href ="#monkey-patching-fetch-2 "> < span class ="secno "> 3.3.1.4</ span > < span class ="content "> Fetch: < code > Request</ code > ’s constructor</ span > </ a >
230
- < li > < a href ="#monkey-patching-serviceworkers-1 "> < span class ="secno "> 3.3.1.5</ span > < span class ="content "> Service Worker: Handle a Fetch</ span > </ a >
226
+ < li > < a href ="#monkey-patching-xhr-1 "> < span class ="secno "> 3.3.1.1</ span > < span class ="content "> XHR: < code > FormData</ code > Iteration</ span > </ a >
227
+ < li > < a href ="#monkey-patching-xhr-2 "> < span class ="secno "> 3.3.1.2</ span > < span class ="content "> XHR: < code > FormData</ code > ’s < code > get()</ code > </ span > </ a >
228
+ < li > < a href ="#monkey-patching-xhr-3 "> < span class ="secno "> 3.3.1.3</ span > < span class ="content "> XHR: < code > FormData</ code > ’s < code > getAll()</ code > </ span > </ a >
229
+ < li > < a href ="#monkey-patching-fetch-1 "> < span class ="secno "> 3.3.1.4</ span > < span class ="content "> Fetch: < code > Body</ code > objects</ span > </ a >
230
+ < li > < a href ="#monkey-patching-fetch-2 "> < span class ="secno "> 3.3.1.5</ span > < span class ="content "> Fetch: < code > Request</ code > ’s constructor</ span > </ a >
231
+ < li > < a href ="#monkey-patching-serviceworkers-1 "> < span class ="secno "> 3.3.1.6</ span > < span class ="content "> Service Worker: Handle a Fetch</ span > </ a >
231
232
</ ul >
232
233
</ ul >
233
234
</ ul >
@@ -1508,7 +1509,29 @@ <h4 class="heading settled" data-level="3.3.1" id="opaque-formdata-algorithms"><
1508
1509
< p class ="issue " id ="issue-020f94b2 "> < a class ="self-link " href ="#issue-020f94b2 "> </ a > Monkey-patching! Hooray! Talk with Anne, et al.</ p >
1509
1510
1510
1511
1511
- < h5 class ="heading settled " data-level ="3.3.1.1 " id ="monkey-patching-xhr-2 "> < span class ="secno "> 3.3.1.1. </ span > < span class ="content "> XHR: < code > FormData</ code > ’s < code > get()</ code > </ span > < a class ="self-link " href ="#monkey-patching-xhr-2 "> </ a > </ h5 >
1512
+ < h5 class ="heading settled " data-level ="3.3.1.1 " id ="monkey-patching-xhr-1 "> < span class ="secno "> 3.3.1.1. </ span > < span class ="content "> XHR: < code > FormData</ code > Iteration</ span > < a class ="self-link " href ="#monkey-patching-xhr-1 "> </ a > </ h5 >
1513
+
1514
+
1515
+ < p > Replace the following text from < code class ="idl "> < a data-link-type ="idl " href ="https://xhr.spec.whatwg.org/#interface-formdata "> FormData</ a > </ code > :</ p >
1516
+
1517
+
1518
+ < blockquote >
1519
+ The < a data-link-type ="dfn " href ="https://heycam.github.io/webidl/#dfn-value-pairs-to-iterate-over "> value pairs to iterate over</ a > are the < a data-link-type ="dfn " href ="https://xhr.spec.whatwg.org/#concept-formdata-entry "> entries</ a > with the key
1520
+ being the < code class ="idl "> < a data-link-type ="idl " href ="https://xhr.spec.whatwg.org/#concept-formdata-entry-name "> name</ a > </ code > and the value the < code class ="idl "> < a data-link-type ="idl " href ="https://xhr.spec.whatwg.org/#concept-formdata-entry-value "> value</ a > </ code > .
1521
+ </ blockquote >
1522
+
1523
+
1524
+ < p > With:</ p >
1525
+
1526
+
1527
+ < blockquote >
1528
+ The < a data-link-type ="dfn " href ="https://heycam.github.io/webidl/#dfn-value-pairs-to-iterate-over "> value pairs to iterate over</ a > is an empty list if the < a data-link-type ="dfn " href ="#opaque-flag "> opaque
1529
+ flag</ a > is set, otherwise the < a data-link-type ="dfn " href ="https://xhr.spec.whatwg.org/#concept-formdata-entry "> entries</ a > with the key being the
1530
+ < code class ="idl "> < a data-link-type ="idl " href ="https://xhr.spec.whatwg.org/#concept-formdata-entry-name "> name</ a > </ code > and the value the < code class ="idl "> < a data-link-type ="idl " href ="https://xhr.spec.whatwg.org/#concept-formdata-entry-value "> value</ a > </ code > .
1531
+ </ blockquote >
1532
+
1533
+
1534
+ < h5 class ="heading settled " data-level ="3.3.1.2 " id ="monkey-patching-xhr-2 "> < span class ="secno "> 3.3.1.2. </ span > < span class ="content "> XHR: < code > FormData</ code > ’s < code > get()</ code > </ span > < a class ="self-link " href ="#monkey-patching-xhr-2 "> </ a > </ h5 >
1512
1535
1513
1536
1514
1537
< p > Redefine < code class ="idl "> < a data-link-type ="idl " href ="https://xhr.spec.whatwg.org/#interface-formdata "> FormData</ a > </ code > 's < code class ="idl "> < a data-link-type ="idl " href ="https://xhr.spec.whatwg.org/#dom-formdata-get "> get()</ a > </ code > method as follows:</ p >
@@ -1529,7 +1552,7 @@ <h5 class="heading settled" data-level="3.3.1.1" id="monkey-patching-xhr-2"><spa
1529
1552
</ ol >
1530
1553
1531
1554
1532
- < h5 class ="heading settled " data-level ="3.3.1.2 " id ="monkey-patching-xhr-3 "> < span class ="secno "> 3.3.1.2 . </ span > < span class ="content "> XHR: < code > FormData</ code > ’s < code > getAll()</ code > </ span > < a class ="self-link " href ="#monkey-patching-xhr-3 "> </ a > </ h5 >
1555
+ < h5 class ="heading settled " data-level ="3.3.1.3 " id ="monkey-patching-xhr-3 "> < span class ="secno "> 3.3.1.3 . </ span > < span class ="content "> XHR: < code > FormData</ code > ’s < code > getAll()</ code > </ span > < a class ="self-link " href ="#monkey-patching-xhr-3 "> </ a > </ h5 >
1533
1556
1534
1557
1535
1558
< p > Redefine < code class ="idl "> < a data-link-type ="idl " href ="https://xhr.spec.whatwg.org/#interface-formdata "> FormData</ a > </ code > 's < code class ="idl "> < a data-link-type ="idl " href ="https://xhr.spec.whatwg.org/#dom-formdata-getAll "> getAll()</ a > </ code > method as follows:</ p >
@@ -1550,7 +1573,7 @@ <h5 class="heading settled" data-level="3.3.1.2" id="monkey-patching-xhr-3"><spa
1550
1573
</ ol >
1551
1574
1552
1575
1553
- < h5 class ="heading settled " data-level ="3.3.1.3 " id ="monkey-patching-fetch-1 "> < span class ="secno "> 3.3.1.3 . </ span > < span class ="content "> Fetch: < code > Body</ code > objects</ span > < a class ="self-link " href ="#monkey-patching-fetch-1 "> </ a > </ h5 >
1576
+ < h5 class ="heading settled " data-level ="3.3.1.4 " id ="monkey-patching-fetch-1 "> < span class ="secno "> 3.3.1.4 . </ span > < span class ="content "> Fetch: < code > Body</ code > objects</ span > < a class ="self-link " href ="#monkey-patching-fetch-1 "> </ a > </ h5 >
1554
1577
1555
1578
1556
1579
< p > Add a new < dfn class ="idl-code " data-dfn-for ="Body " data-dfn-type ="attribute " data-export ="" id ="dom-body-opaque-flag "> opaque flag< a class ="self-link " href ="#dom-body-opaque-flag "> </ a > </ dfn > to Fetch’s < code class ="idl "> < a data-link-type ="idl " href ="https://fetch.spec.whatwg.org/#body "> Body</ a > </ code >
@@ -1641,7 +1664,7 @@ <h5 class="heading settled" data-level="3.3.1.3" id="monkey-patching-fetch-1"><s
1641
1664
which means that the body remains unconsumed.</ p >
1642
1665
1643
1666
1644
- < h5 class ="heading settled " data-level ="3.3.1.4 " id ="monkey-patching-fetch-2 "> < span class ="secno "> 3.3.1.4 . </ span > < span class ="content "> Fetch: < code > Request</ code > ’s constructor</ span > < a class ="self-link " href ="#monkey-patching-fetch-2 "> </ a > </ h5 >
1667
+ < h5 class ="heading settled " data-level ="3.3.1.5 " id ="monkey-patching-fetch-2 "> < span class ="secno "> 3.3.1.5 . </ span > < span class ="content "> Fetch: < code > Request</ code > ’s constructor</ span > < a class ="self-link " href ="#monkey-patching-fetch-2 "> </ a > </ h5 >
1645
1668
1646
1669
1647
1670
< p > Perform the following after step 33 of the current < code class ="idl "> < a data-link-type ="idl " href ="https://fetch.spec.whatwg.org/#dom-request "> Request()</ a > </ code > constructor:</ p >
@@ -1660,7 +1683,7 @@ <h5 class="heading settled" data-level="3.3.1.4" id="monkey-patching-fetch-2"><s
1660
1683
</ ol >
1661
1684
1662
1685
1663
- < h5 class ="heading settled " data-level ="3.3.1.5 " id ="monkey-patching-serviceworkers-1 "> < span class ="secno "> 3.3.1.5 . </ span > < span class ="content "> Service Worker: Handle a Fetch</ span > < a class ="self-link " href ="#monkey-patching-serviceworkers-1 "> </ a > </ h5 >
1686
+ < h5 class ="heading settled " data-level ="3.3.1.6 " id ="monkey-patching-serviceworkers-1 "> < span class ="secno "> 3.3.1.6 . </ span > < span class ="content "> Service Worker: Handle a Fetch</ span > < a class ="self-link " href ="#monkey-patching-serviceworkers-1 "> </ a > </ h5 >
1664
1687
1665
1688
1666
1689
< p class ="issue " id ="issue-be0db764 "> < a class ="self-link " href ="#issue-be0db764 "> </ a > Currently, we’re not protecting requests with opaque bodies from
@@ -3322,7 +3345,7 @@ <h3 class="no-num heading settled" id="index-defined-here"><span class="content"
3322
3345
< li > opaque flag
3323
3346
< ul >
3324
3347
< li > < a href ="#opaque-flag "> definition of</ a > < span > , in §3.3</ span >
3325
- < li > < a href ="#dom-body-opaque-flag "> attribute for Body</ a > < span > , in §3.3.1.3 </ span >
3348
+ < li > < a href ="#dom-body-opaque-flag "> attribute for Body</ a > < span > , in §3.3.1.4 </ span >
3326
3349
</ ul >
3327
3350
< li > < a href ="#opaque-formdata-objects "> Opaque FormData objects</ a > < span > , in §3.3</ span >
3328
3351
< li > < a href ="#dom-credentialcontainer-get-options-options "> options</ a > < span > , in §3.2</ span >
@@ -3428,6 +3451,7 @@ <h3 class="no-num heading settled" id="index-defined-elsewhere"><span class="con
3428
3451
< li > < a href ="https://heycam.github.io/webidl/#idl-USVString "> USVString</ a >
3429
3452
< li > < a href ="https://heycam.github.io/webidl/#idl-boolean "> boolean</ a >
3430
3453
< li > < a href ="https://heycam.github.io/webidl/#dfn-dictionary-member "> dictionary member</ a >
3454
+ < li > < a href ="https://heycam.github.io/webidl/#dfn-value-pairs-to-iterate-over "> value pairs to iterate over</ a >
3431
3455
</ ul >
3432
3456
< li > < a data-link-type ="biblio " href ="#biblio-xhr "> [XHR]</ a > defines the following terms:
3433
3457
< ul >
0 commit comments