/
133.txt
158 lines (117 loc) · 6.83 KB
/
133.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
* 仕様書
[REFS[
- [11] [CITE@en[Fetch Standard]] ([TIME[2017-06-15 14:00:01 +09:00]]) <https://fetch.spec.whatwg.org/#concept-request-destination>
- [14] [CITE@en[Fetch Standard]] ([TIME[2017-06-15 14:00:01 +09:00]]) <https://fetch.spec.whatwg.org/#requestdestination>
]REFS]
* 分類
[FIG(short list)[ [17] [[終点][要求終点]]の分類
- [[script-like]]
]FIG]
* 文脈
[FIG(short list)[ [18] [[終点][要求終点]]が参照される場面
- [[Should response to request be blocked due to its MIME type?]]
- [CODE[X-Content-Type-Options]]
]FIG]
* 関連
[12]
[[potential destination]] なるものもありますが、
少し認められる値が違います。
* 歴史
** 導入
[3] [[要求終点]]は、[[要求文脈]]を細かく分解した結果導入されました。
[13] [CITE@en[Expand Request.destination · whatwg/fetch@6b9cdaa]]
([TIME[2016-02-16 11:13:23 +09:00]] 版)
<https://github.com/whatwg/fetch/commit/6b9cdaa9be7acd2b8074c74823981ef994d17857>
[1] [CITE@en[Expand Request.destination · whatwg/fetch@6b9cdaa]]
([TIME[2016-02-16 11:13:07 +09:00]] 版)
<https://github.com/whatwg/fetch/commit/6b9cdaa9be7acd2b8074c74823981ef994d17857>
[2] [CITE@en[expand Request.destination with more granular values by igrigorik · Pull Request #211 · whatwg/fetch]]
([TIME[2016-02-29 17:52:20 +09:00]] 版)
<https://github.com/whatwg/fetch/pull/211>
[4] [CITE@en[Make script fetching more correct with regard to request destinations · whatwg/html@6dc9c9e]]
([TIME[2016-02-29 17:53:40 +09:00]] 版)
<https://github.com/whatwg/html/commit/6dc9c9e1efcc3122294fb015e4a4eea66456a611>
[5] [CITE@en[XMLHttpRequest uses the default destination]]
( ([[annevk]]著, [TIME[2016-06-07 20:16:36 +09:00]]))
<https://github.com/whatwg/xhr/commit/4be9ce5bc7abcf544a2f0f5ebed9b17fcbb0dad9>
[6] [CITE@en["subresource" destination doesn't exist · Issue #71 · whatwg/xhr]]
( ([TIME[2016-06-08 17:12:43 +09:00]]))
<https://github.com/whatwg/xhr/issues/71>
[7] [CITE@en[Align Fetch's destination concept with changes in Fetch]]
([[sideshowbarker]]著, [TIME[2016-07-05 02:46:14 +09:00]])
<https://github.com/whatwg/html/commit/5e8f96a85d182d36c177db0d6fdde58b4ded86d4>
[8] [CITE@en[Add the "as" attribute for the <link> element]]
([[sideshowbarker]]著, [TIME[2016-07-01 04:20:03 +09:00]])
<https://github.com/whatwg/html/commit/2381476ea6143d835f08a3a82e6634b215cb60ea>
[9] [CITE@en[Split up media into video, audio and track]]
([[yoavweiss]]著, [TIME[2016-12-17 00:06:19 +09:00]])
<https://github.com/whatwg/fetch/commit/ba175cf1100045da83ed0d7768629653aa979c20>
[FIG(quote)[
[FIGCAPTION[
[10] [CITE@en[Creating Safari Content-Blocking Rules]]
([TIME[2017-06-06 17:04:35 +09:00]])
<https://developer.apple.com/library/content/documentation/Extensions/Conceptual/ContentBlockingRules/CreatingRules/CreatingRules.html#//apple_ref/doc/uid/TP40016265-CH2-SW1>
]FIGCAPTION]
> The value associated with this key is an array of strings representing the resource types that the rule should match. If not specified, the rule matches all resource types. The strings describes how the browser intends to use the resource, not necessarily the type of the resource itself. For example, <img src="something.css"> is identified as an image. Valid values for resource-type are:
> document
> image
> style-sheet
> script
> font
> raw (Any untyped load, such as XMLHttpRequest)
> svg-document
> media
> popup
]FIG]
** 型の吸収
[15] [F[終点][要求終点]]が細分化された結果、[F[型][要求型]]と区別する必要がなくなったとして、
両者は統合されました。
[16] [CITE@en[Fold request type into destination]] ([[annevk]]著, [TIME[2017-08-28 18:15:21 +09:00]]) <https://github.com/whatwg/fetch/commit/d7052e2b6d24d04caa2cea8ef664923ecdb1e35c>
[19] [CITE@en[Fold request type into destination · Issue #581 · whatwg/fetch]]
([TIME[2017-08-29 14:04:54 +09:00]])
<https://github.com/whatwg/fetch/issues/581>
[20] [CITE@en[Fold request type into destination by annevk · Pull Request #582 · whatwg/fetch]]
([TIME[2017-08-29 14:05:38 +09:00]])
<https://github.com/whatwg/fetch/pull/582>
[21] [CITE@en[Replace Request type with destination by yoavweiss · Pull Request #11 · w3c/webappsec-mixed-content]]
([TIME[2017-08-29 14:06:40 +09:00]])
<https://github.com/w3c/webappsec-mixed-content/pull/11>
[22] [CITE@en[Replace request type with destination]]
([[yoavweiss]]著, [TIME[2017-08-29 00:52:45 +09:00]])
<https://github.com/w3c/webappsec-mixed-content/commit/f052b819f0724a577379bbc7abba80fbc30cb307>
[23] [CITE@en[Fetch removes type in favor of just destination]]
([[annevk]]著, [TIME[2017-08-21 16:37:50 +09:00]])
<https://github.com/whatwg/html/commit/5f59b7a73d450e244a573e5916deb1c2037c1366>
[24] [CITE@en[Fetch removes type in favor of just destination by annevk · Pull Request #2949 · whatwg/html]]
([TIME[2017-08-29 14:13:07 +09:00]])
<https://github.com/whatwg/html/pull/2949>
[25] [CITE@en[Editorial: correct CSP column]]
([[annevk]]著, [TIME[2017-08-30 17:19:19 +09:00]])
<https://github.com/whatwg/fetch/commit/a4290d1dbe93120a345f95932640c0a9180780b5>
[26] [CITE@en[Editorial: correct CSP column by annevk · Pull Request #588 · whatwg/fetch]]
([TIME[2017-08-31 14:50:23 +09:00]])
<https://github.com/whatwg/fetch/pull/588>
[27] [CITE@en[Editorial: remove "serviceworker" from RequestDestination]]
([[martinthomson]]著, [TIME[2017-09-12 17:14:13 +09:00]])
<https://github.com/whatwg/fetch/commit/22f9bf4275bf10d152282925bc29d0182f9f051a>
[28] [CITE@en["serviceworker" in the RequestDestination enum · Issue #602 · whatwg/fetch]]
([TIME[2017-09-13 16:17:12 +09:00]])
<https://github.com/whatwg/fetch/issues/602>
[29] [CITE@en[Remove "serviceworker" from RequestDestination by martinthomson · Pull Request #603 · whatwg/fetch]]
([TIME[2017-09-13 16:18:01 +09:00]])
<https://github.com/whatwg/fetch/pull/603>
[30] [CITE@en[Replace Request.type based logic with Request.destination (#231)]]
([[yoavweiss]]著, [TIME[2017-10-09 17:36:46 +09:00]])
<https://github.com/w3c/webappsec-csp/commit/6638ad4a69933fe824575edf96348c6ec6eb7251>
[31] [CITE@en[Replace Request.type based logic with Request.destination by yoavweiss · Pull Request #231 · w3c/webappsec-csp]]
([TIME[2017-10-10 18:26:10 +09:00]])
<https://github.com/w3c/webappsec-csp/pull/231>
[32] [CITE@en[Add audioworklet and paintworklet as destinations]]
([[bfgeek]]著, [TIME[2017-10-26 08:41:20 +09:00]])
<https://github.com/whatwg/fetch/commit/8ab040a62c993a3f730da333a3f0ae42fc341d14>
[33] [CITE@en[Adds "audioworklet" and "paintworklet" as destinations. by bfgeek · Pull Request #527 · whatwg/fetch]]
([TIME[2017-11-02 17:48:20 +09:00]])
<https://github.com/whatwg/fetch/pull/527>
[34] [CITE@en[Request.destination for `<link rel=prefetch>` · Issue #658 · whatwg/fetch]]
([TIME[2018-05-02 13:07:41 +09:00]])
<https://github.com/whatwg/fetch/issues/658>