-
Notifications
You must be signed in to change notification settings - Fork 4
/
359.txt
722 lines (535 loc) · 32.2 KB
/
359.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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
[85] [DFN[[[XHR]]]] ([DFN[[CODE(DOMi)@en[[[XMLHttpRequest]]]]]]) は、
[[XML]] を含む様々なデータを [[HTTP]] を含む [[Web]] の[[プロトコル]]を使って、
[[要求]]を送信して[[応答]]を受信する [[API]] です。
* 代替
[117] 新規開発では [[XHR]] より [[fetch]] を使うのが好ましいと考えられます。
[[XHR]] の方がより近代的な [[API]] で使いやすく、高機能です。
[125] [[XHR]] への新機能の追加は凍結されています。
* 仕様書
[REFS[
- [86] [CITE@en-US[XMLHttpRequest Standard]] ([TIME[2015-05-08 02:15:26 +09:00]] 版) <https://xhr.spec.whatwg.org/>
]REFS]
* [CODE(DOMi)@en[XMLHttpRequest]] 構築子
[53]
[PRE(JS example code)[
var xhr = new XMLHttpRequest ();
]PRE]
* [CODE(DOMi)@en[XMLHttpRequest]] オブジェクト
[FIG(short list)[
- [33] [CODE(DOMi)@en[[[EventTarget]]]] を継承
- [52] [CODE(JS)@en[[[Object]]]] を継承
- [CODE(DOMm)@en[[[abort]]]]
- [CODE(DOMa)@en[[[channel]]]]
- [CODE(DOMm)@en[[[getAllRespondeHeaders]]]]
- [CODE(DOMm)@en[[[getResponseHeader]]]]
- [CODE(DOMa)@en[[[mozBackgroundRequest]]]]
- [CODE(DOMa)@en[[[multipart]]]]
- [CODE(DOMa)@en[[[onerror]]]]
- [CODE(DOMa)@en[[[onload]]]]
- [CODE(DOMa)@en[[[onprogress]]]]
- [CODE(DOMa)@en[[[onreadystatechange]]]]
- [CODE(DOMa)@en[[[onuploadprogress]]]]
- [CODE(DOMm)@en[[[open]]]]
- [CODE(DOMm)@en[[[overrideMimeType]]]]
- [CODE(DOMa)@en[[[readyState]]]]
- [CODE(DOMa)@en[[[response]]]]
- [CODE(DOMa)@en[[[mozResponseArrayBuffer]]]]
- [CODE(DOMa)@en[[[responseText]]]]
- [CODE(DOMa)@en[[[responseType]]]]
- [CODE(DOMa)@en[[[responseXML]]]]
- [CODE(DOMm)@en[[[send]]]]
- [CODE(DOMm)@en[[[sendAsBinary]]]]
- [CODE(DOMm)@en[[[setRequestHeader]]]]
- [CODE(DOMa)@en[[[status]]]]
- [CODE(DOMa)@en[[[statusText]]]]
- [CODE(DOMa)@en[[[upload]]]]
- [CODE(DOMa)@en[[[withRefererTokenBindingID]]]]
]FIG]
** 事象
- [CODE(DOMe)@en[[[abort]]]]
- [CODE(DOMe)@en[[[error]]]]
- [CODE(DOMe)@en[[[load]]]]
- [CODE(DOMe)@en[[[loadend]]]]
- [CODE(DOMe)@en[[[progress]]]]
- [CODE(DOMe)@en[[[readystatechange]]]]
* 文脈
[121] [[文書環境]]、[[専用ワーカー環境]]、[[共有ワーカー環境]]に[[晒され]]ています。
[122] [[サービスワーカー環境]]には[[晒され]]ておらず、使うことはできません。
* 関連
[98] [[Fetch]]、[[CORS]] も参照。
* 歴史
** Microsoft による開発
[87] [[Microsoft]] が [[IE]] から [CODE(DOMi)@en[[[ActiveXObject]]]]
によってアクセスできる [[API]] として実装しました。
** 普及
[88] [[Mozilla]] は [[XML Extras]] として [[XHR]] を実装しました。
この時 [CODE(DOMi)@en[[[ActiveXObject]]]] としてではなく、
[CODE(DOMi)@en[[[XMLHttpRequest]]]] [[コンストラクター]]として実装されました。
[89] [[Safari]] ([[WebKit]]) と [[Opera]] ([[Presto]]) も追随しました。
** WHATWG での標準化
[90] [[Ian Hickson]] は [[WHATWG]] 設立直後の2004年に [[Web Applications 1.0]]
(現在の [[HTML Standard]]) の一部として [[XHR]] を仕様化しました。
** W3C での開発
[91] その後 [[annevk]] が [[W3C]] [[WebApps WG]] で [[XHR]]
の標準化を行うこととなり、 [[Web Applications 1.0]] からは削除されて移管されました。
[92] [[WebApps WG]] では [[CORS]] をはじめ多くの新機能が開発されました。
[93] [[Microsoft]] による [[CORS]] ではなく [CODE(DOMi)@en[[[XDomainRequest]]]]
の実装、 [[CORS]] と [[UMP]] との対立、 [[XHR]] Level 1 と Level 2
の並行開発に関する混乱など、必ずしも順調ではありませんでしたが、
[[Microsoft]] を含む全 [[Webブラウザー]]で [[XHR]] は仕様書にある形で実装されるよう徐々に収束してはいきました。
[REFS[
- [105] [CITE[XMLHttpRequest 2 - Anne’s Weblog]] ([TIME[2007-06-22 19:45:39 +09:00]] 版) <http://annevankesteren.nl/2007/06/xmlhttprequest-2>
([[名無しさん]] [WEAK[2007-06-24 07:56:47 +00:00]])
]REFS]
** WHATWG XHR Standard
[94] [[W3C]] の手続きに関する [[annevk]] との対立がきっかけで [[XHR]]
は [[WHATWG]] に移り、[[Living Standard]] モデルで開発が進められることになりました。
[95] 当初 [[WebApps WG]] は [[WHATWG]] 版の変更に追随する形で同内容で出版する方針でしたが、
意味のない作業であり、うまくいかなかったようです。結局 (かなり古い版である)
Level 1 の [[W3C勧告]]を出版し、 (比較的新しい版である) Level 2 は [[WG Note]]
として出版することで廃案とし、以後の開発は完全に [[WHATWG]] に委ねることとなりました。
** Fetch
[96] [[CORS]] や [[HTML]] の [[fetch]]、[[XHR]] の内部処理部分を統合した [[WHATWG]]
[[Fetch Standard]] が [[annevk]] により新たに開発されました。 [[Service Worker]]
の開発の流れで [CODE(DOMm)@en[[[fetch]]]] [[API]] が追加され、 [[XHR]]
よりも [CODE(DOMm)@en[[[fetch]]]] がより根源的な [[API]] であると認識されるようになりました。
[97] そのため2014年以後 [[XHR]] に新機能は追加されなくなっています。
**
[1]
[CITE[IE7 XML Extras]] <http://dean.edwards.name/weblog/2004/11/ie7-xml-extras/>
([[名無しさん]])
[2]
[CITE[Dynamic HTML and XML: The XMLHttpRequest Object]] <http://developer.apple.com/internet/webcontent/xmlhttpreq.html>
([[名無しさん]] [sage])
[3]
[CITE[Hawk's W3 Laboratory : XML : XMLHttpRequestについて]]
[DEL[<http://www.hawk.34sp.com/stdpls/xml/xmlhttprequest.html>]]
<http://web.archive.org/web/20060901145130/www.hawk.34sp.com/stdpls/xml/xmlhttprequest.html>
[31]
>セキュリティ上の配慮から、XMLHttpRequestがリクエストを送信できるのは同一ドメイン内に制限されています。この制限を超えたリクエストを行おうとすると、IE/Geckoではopenメソッド呼び出し時に、Operaではsendメソッド呼び出し時にエラーとなります(throwされるものはブラウザ毎にバラバラですが)。KHTMLでは特にエラーらしい挙動は無いようです。
>
;; 厳密に言えばIE+MSXMLは『MSXML Client Security』に従い、ローカルファイルからはあらゆるリソースに対してリクエストを発行できます。しかしWindows XP SP2環境ではデフォルトで実行がブロックされるはずです。WSHやHTAから実行する場合には制限はありません。
[32]
>XMLHttpRequestが送信するHTTPリクエストは、setRequestHeaderメソッドを使って書き換えたり、sendメソッドの引数として値を渡したりしない限り、ブラウザが送信するものと全く同一と言えます。ごく僅かの例外として、MSXMLではIEと比較してAcceptヘッダの内容が * に変わっているとか、MSXMLとOperaではスクリプトを呼び出したページのURLがRefererとして送信されるとか、その程度の違いはありますが、基本的にサーバサイドではブラウザからのアクセスなのかXMLHttpRequestを通したアクセスなのか区別する術はありません。
[4]
[CITE[JP Vendor Status Notes]] <http://jvn.jp/jp/JVN%2331226748/index.html>
([[名無しさん]] [WEAK[2005-10-06 00:21:09 +00:00]])
[5]
仕様書(案)
[CITE[Web Applications 1.0]]
<http://www.whatwg.org/specs/web-apps/current-work/#scripted-http>
([[名無しさん]] [sage])
[6]
[CITE[XMLHttpRequest でよくわからないけど Opera 8 が落ちるテスト]]
<http://suika.fam.cx/~wakaba/-temp/test/html/script/xmlhttp/opera8-abone>
= [[Opera 8]] (8.0 Beta, build 7522 および 8.5, build 7702
(いずれも [[Windows XP]] [[SP2]] 上) で確認。)
で開く
= [KBD[読込み]]ボタンを押して、読込まれるのを待つ。
= ブラウザの[KBD[更新]]ボタンを押す。
何も起こらなければ何度か押してみる。
こうすると Opera が強制終了されるか、 CPU 使用率が高騰したままになります。
([[名無しさん]] [WEAK[2005-11-07 03:51:34 +00:00]])
[7]
- もちろん、普段はちゃんと動いています。
- [KBD[読込み]]ボタンを押さなければ (つまり
[CODE(DOMi)@en[[[XMLHttpRequest]]]] を使わなければ)
問題ありません。
- 読込んでいるのは自分自身ですが、
自分か他の文書かは余り関係ないようです。
- [CODE(XMLa)@en[[[onclick]]]] 属性の有無が1つの再現条件のような気がします。
- [CODE(XMLa)@en[[[xmlns]]]] 属性の有無が1つの再現条件のような気がします。
- でも決定的な条件はよく分かりませんでした。
([[名無しさん]] [WEAK[2005-11-07 03:54:40 +00:00]])
[8]
ああ、見ての通り [CODE(MIME)@en[[[text/html]]]]
な文書を扱ってます。他のは試してません。
([[名無しさん]] [WEAK[2005-11-07 03:56:30 +00:00]])
[9]
[CITE[Bug 304980 - nsIXMLHttpRequest throws exception on access of status member when the request failed due to a timeout]] <https://bugzilla.mozilla.org/show_bug.cgi?id=304980>
([[名無しさん]] [WEAK[2005-11-30 03:50:57 +00:00]])
[10]
[CITE[XMLHttpRequest - MDC]] <http://developer.mozilla.org/en/docs/XMLHttpRequest>
([[名無しさん]])
[11]
[CITE[IEBlog : Native XMLHTTPRequest object]] <http://blogs.msdn.com/ie/archive/2006/01/23/516393.aspx>
([[名無しさん]] [WEAK[2006-02-01 00:03:42 +00:00]])
[12]
[CITE[The XMLHttpRequest Object]] <http://www.w3.org/TR/2006/WD-XMLHttpRequest-20060405/>
([[名無しさん]] [WEAK[2006-04-06 03:36:19 +00:00]])
[13]
[CITE[The XMLHttpRequest Object]] <http://www.w3.org/TR/2006/WD-XMLHttpRequest-20060619/>
([[名無しさん]] [WEAK[2006-06-21 22:46:32 +00:00]])
[14]
[CITE[Index of /apis/XMLHttpRequest]] <http://tc.labs.opera.com/apis/XMLHttpRequest/>
([[名無しさん]])
[15]
[CITE[(XMLHttpRequest 2) Second proposal for cross-site extensions to XMLHttpRequest from Ian Hickson on 2006-04-17 (public-webapi@w3.org from April 2006)]] <http://lists.w3.org/Archives/Public/public-webapi/2006Apr/0331>
([[名無しさん]])
[16]
[CITE[Alex Hopmann's Web Site]] ([CODE[2007-01-20 01:43:29 +09:00]] 版) <http://www.alexhopmann.com/xmlhttp.htm>
([[名無しさん]] [WEAK[2007-01-19 16:50:44 +00:00]])
[17]
[CITE@ja[XMLHttpNoRequest - misuzilla.org]] ([[Mayuki Sawatari]] 著, [CODE[2007-02-04 18:07:57 +09:00]] 版) <http://www.misuzilla.org/dist/xmlhttpnorequest/>
([[名無しさん]] [WEAK[2007-02-04 09:09:58 +00:00]])
[18]
[CITE@en[Marcus Granado's Ars Technica: Downloading Binary Streams with Javascript XMLHttpRequest]] ([CODE[2007-02-01 02:13:23 +09:00]] 版) <http://mgran.blogspot.com/2006/08/downloading-binary-streams-with.html>
([[名無しさん]])
[19]
[CITE[k12uのアレ - JavaScriptでバイナリファイルの中身にアクセスできた]] ([CODE[2007-02-12 03:04:51 +09:00]] 版) <http://d.hatena.ne.jp/k12u/20061216/p1>
([[名無しさん]])
[20]
[CITE[k12uのアレ - JavaScriptでバイナリファイルの中身にアクセスできた]] ([CODE[2007-02-12 03:04:51 +09:00]] 版) <http://d.hatena.ne.jp/k12u/20061216/p1>
([[名無しさん]])
[21]
[CITE[The road to cross-domain XMLHttpRequest - Anne’s Weblog]] ([CODE[2007-02-16 20:51:24 +09:00]] 版) <http://annevankesteren.nl/2007/02/xxx>
([[名無しさん]] [WEAK[2007-02-17 03:13:48 +00:00]])
[22]
[CITE@en-US[The XMLHttpRequest Object]] ([CODE[2007-02-28 04:15:06 +09:00]] 版) <http://www.w3.org/TR/2007/WD-XMLHttpRequest-20070227/>
([[名無しさん]] [WEAK[2007-02-28 06:40:03 +00:00]])
[23]
[CITE@en-US[The XMLHttpRequest Object]] ([CODE[2007-06-18 22:59:51 +09:00]] 版) <http://www.w3.org/TR/2007/WD-XMLHttpRequest-20070618/>
([[名無しさん]])
[24]
[CITE@en[FW: Feedback from the IE Team: Web API XHR Draft]] ([[Sunava Dutta]] 著, [CODE[2007-09-26 11:35:40 +09:00]] 版) <http://lists.w3.org/Archives/Public/public-webapi/2007Sep/0043.html>
([[名無しさん]])
[25]
>>24 [[Microsoft]] は[[版付け]]がお好きなようで。
([[名無しさん]])
[26]
>>24 [[Microsoft]] は[[版付け]]がお好きなようで。
([[名無しさん]])
[27]
[CITE@en-US[The XMLHttpRequest Object]] ([CODE[2007-10-24 06:48:22 +09:00]] 版) <http://www.w3.org/TR/2007/WD-XMLHttpRequest-20071026/>
([[名無しさん]])
[28]
[CITE@en-US[XMLHttpRequest Level 2]] ([CODE[2008-02-26 02:27:00 +09:00]] 版) <http://www.w3.org/TR/2008/WD-XMLHttpRequest2-20080225/>
([[名無しさん]])
[29]
[CITE@en-US[The XMLHttpRequest Object]] ([CODE[2008-04-16 01:33:17 +09:00]] 版) <http://www.w3.org/TR/2008/WD-XMLHttpRequest-20080415/>
([[名無しさん]])
[30]
[CITE@en-US[XMLHttpRequest Level 2]] ([TIME[2008-10-03 23:37:56 +09:00]] 版) <http://www.w3.org/TR/2008/WD-XMLHttpRequest2-20080930/>
[34] [CITE@en-US[XMLHttpRequest]]
([TIME[2009-08-20 04:37:53 +09:00]] 版)
<http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/>
[35] [CITE@en-US[XMLHttpRequest Level 2]]
([TIME[2009-08-20 04:43:23 +09:00]] 版)
<http://www.w3.org/TR/2009/WD-XMLHttpRequest2-20090820/>
[36] [CITE@en-US[XMLHttpRequest]]
([TIME[2009-11-19 04:03:25 +09:00]] 版)
<http://www.w3.org/TR/2009/WD-XMLHttpRequest-20091119/>
[37] [CITE@en-US[XMLHttpRequest]]
([TIME[2009-11-19 04:03:25 +09:00]] 版)
<http://www.w3.org/TR/2009/WD-XMLHttpRequest-20091119/>
[38] [CITE[IRC logs: freenode / #whatwg / 20091218]]
([TIME[2010-01-05 22:35:29 +09:00]] 版)
<http://krijnhoetmer.nl/irc-logs/whatwg/20091218#l-266>
[39] [CITE@en['''['''XHR''']''''''['''XHR2''']''' single source file]]
([[Anne van Kesteren]] 著, [TIME[2009-12-24 03:33:07 +09:00]] 版)
<http://lists.w3.org/Archives/Public/public-webapps/2009OctDec/1497.html>
[40] [CITE[IRC logs: freenode / #whatwg / 20100203]]
([TIME[2010-02-06 01:45:27 +09:00]] 版)
<http://krijnhoetmer.nl/irc-logs/whatwg/20100203#l-393>
[41] [CITE@en-us[XMLHttpRequest - MDC]]
([TIME[2010-04-30 22:28:53 +09:00]] 版)
<https://developer.mozilla.org/en/XMLHttpRequest>
[42] [CITE[IRC logs: freenode / #whatwg / 20100422]]
([TIME[2010-05-09 08:51:51 +09:00]] 版)
<http://krijnhoetmer.nl/irc-logs/whatwg/20100422>
[43] [CITE[IRC logs: freenode / #whatwg / 20100616]]
([TIME[2010-06-27 14:17:28 +09:00]] 版)
<http://krijnhoetmer.nl/irc-logs/whatwg/20100616#l-469>
[44] [CITE@en-US[XMLHttpRequest]]
([TIME[2010-08-03 20:41:18 +09:00]] 版)
<http://www.w3.org/TR/2010/CR-XMLHttpRequest-20100803/>
[45] [CITE[IRC logs: freenode / #whatwg / 20100803]]
([TIME[2010-08-11 00:19:06 +09:00]] 版)
<http://krijnhoetmer.nl/irc-logs/whatwg/20100803#l-970>
[46] [CITE[IRC logs: freenode / #whatwg / 20100809]]
([TIME[2010-08-14 15:23:27 +09:00]] 版)
<http://krijnhoetmer.nl/irc-logs/whatwg/20100809#l-151>
[47] [CITE@en-US[XMLHttpRequest Level 2]]
( ([TIME[2010-09-08 02:14:03 +09:00]] 版))
<http://www.w3.org/TR/2010/WD-XMLHttpRequest2-20100907/>
[48] [CITE[外部コンテンツを読み込む系のGreasemonkeyやブラウザ拡張を作る際の注意事項 - 金利0無利息キャッシング – キャッシングできます - subtech]]
( ([TIME[2010-10-24 21:00:37 +09:00]] 版))
<http://subtech.g.hatena.ne.jp/mala/20101021/1287670869>
[49] [CITE@ja[StoryOfXmlhttp - XMLHTTP の話。]]
( ([TIME[2010-10-28 00:00:17 +09:00]] 版))
<http://www.hyuki.com/yukiwiki/wiki.cgi?StoryOfXmlhttp>
[50] [CITE@en-US[XMLHttpRequest Level 2]]
( ([TIME[2011-08-16 22:21:49 +09:00]] 版))
<http://www.w3.org/TR/2011/WD-XMLHttpRequest2-20110816/>
[51] [CITE@en-US[XMLHttpRequest Level 2]]
( ([TIME[2011-08-16 22:21:49 +09:00]] 版))
<http://www.w3.org/TR/2011/WD-XMLHttpRequest2-20110816/>
[54] [CITE[IRC logs: freenode / #whatwg / 20111124]]
( ([TIME[2011-11-26 01:17:30 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20111124>
[55] [CITE@en-US[XMLHttpRequest]]
( ([TIME[2011-12-03 12:41:16 +09:00]] 版))
<http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html>
[56] [CITE@en-US[XMLHttpRequest Level 2]]
( ([TIME[2012-01-19 04:42:06 +09:00]] 版))
<http://www.w3.org/TR/2012/WD-XMLHttpRequest-20120117/>
[57] [CITE@en-US[XMLHttpRequest]]
( ([TIME[2012-01-17 23:05:37 +09:00]] 版))
<http://www.w3.org/TR/2012/NOTE-XMLHttpRequest1-20120117/>
[58] [CITE@en-US[XMLHttpRequest]]
( ([TIME[2012-01-17 23:05:37 +09:00]] 版))
<http://www.w3.org/TR/XMLHttpRequest1/>
[59] [CITE@ja[Android 2.3 の WebViwe で GET によるクロスドメインリクエストが最初の1回しか成功しない - latest log]]
( ([TIME[2012-08-21 00:54:50 +09:00]] 版))
<http://uupaa.hatenablog.com/entry/2012/08/20/145004>
[60] [CITE[IRC logs: freenode / #whatwg / 20120905]]
( ([TIME[2012-09-09 15:00:05 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20120905#l-265>
[61] [CITE@en-US[XMLHttpRequest Standard]]
( ([TIME[2012-09-14 06:06:23 +09:00]] 版))
<http://xhr.spec.whatwg.org/>
[62] [CITE[IRC logs: freenode / #whatwg / 20120911]]
( ([TIME[2012-09-13 22:32:41 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20120911#l-627>
[63] [CITE[IRC logs: freenode / #whatwg / 20121002]]
( ([TIME[2012-10-04 21:58:19 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20121002#l-233>
[64] [CITE[IRC logs: freenode / #whatwg / 20121107]]
( ([TIME[2012-11-25 12:45:34 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20121107#l-313>
[65] [CITE@en-US[XMLHttpRequest]]
( ([TIME[2012-12-03 15:44:07 +09:00]] 版))
<http://www.w3.org/TR/2012/WD-XMLHttpRequest-20121206/>
[66] [CITE@en[''''''[''''''XHR.Bleeding-edge'''''']'''''' ED update]]
( ([[Jungkee Song]] 著, [TIME[2013-05-10 14:00:25 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-webapps/2013AprJun/0607.html>
[67] [CITE@en[''''''[''''''admin'''''']'''''' Towards XHR "The Attorney's Edition"]]
( ([[Arthur Barstow]] 著, [TIME[2013-02-28 23:46:34 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-webapps/2013JanMar/0609.html>
[68] [CITE@en[''''''[''''''XHR'''''']'''''' ED update]]
( ([[Jungkee Song]] 著, [TIME[2012-11-13 17:06:30 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-webapps/2012OctDec/0463.html>
[69] [CITE[IRC logs: freenode / #whatwg / 20130530]]
( ([TIME[2013-06-01 02:28:57 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20130530>
[70] [CITE@en-US[XMLHttpRequest - Web API interfaces | MDN]]
( ([TIME[2013-09-30 16:43:46 +09:00]] 版))
<https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest>
[71] [CITE@en[XMLHttpRequest and Fetch]]
( ([[Anne van Kesteren]] 著, [TIME[2013-10-23 01:44:25 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-webapps/2013OctDec/0237.html>
[72] [CITE@en-US[XMLHttpRequest Level 1]]
( ([TIME[2014-01-29 01:50:16 +09:00]] 版))
<http://www.w3.org/TR/2014/WD-XMLHttpRequest-20140130/>
[73] [CITE[IRC logs: freenode / #whatwg / 20140207]]
( ([TIME[2014-02-10 22:38:26 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20140207#l-454>
[74] [CITE[IRC logs: freenode / #whatwg / 20140217]]
( ([TIME[2014-02-18 19:41:22 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20140217#l-588>
[75] [CITE[IRC logs: freenode / #whatwg / 20140526]]
( ([TIME[2014-05-28 11:36:12 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20140526>
[76] [CITE[IRC logs: freenode / #whatwg / 20140527]]
( ([TIME[2014-05-28 12:05:27 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20140527>
[77] [CITE[IRC logs: freenode / #whatwg / 20140609]]
( ([TIME[2014-06-10 11:19:48 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20140609#l-308>
[78] [CITE@en[788369 – In Dropbox JS sample page, NS_ERROR_XPC_BAD_CONVERT_JS: Could not convert JavaScript argument]]
( ([TIME[2014-08-25 02:02:18 +09:00]] 版))
<https://bugzilla.mozilla.org/show_bug.cgi?id=788369>
[79] [CITE@en[''''''[''''''xhr'''''']'''''' Questions on the future of the XHR spec, W3C snapshot]]
( ([[Hallvord R. M. Steen]] 著, [TIME[2014-10-18 09:19:13 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-webapps/2014OctDec/0160.html>
[80] [CITE@en[MIX: Dropping exceptions for XHR and EventSource. · aac819b · w3c/webappsec]]
( ([TIME[2014-11-04 03:25:07 +09:00]] 版))
<https://github.com/w3c/webappsec/commit/aac819b28287e8fd3a9ebad2666336e2bc77a24b>
[81] [CITE@en[CfC: publish WG Note of XHR Level 2; deadline November 14]]
( ([[Arthur Barstow]] 著, [TIME[2014-11-08 01:46:51 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-webapps/2014OctDec/0345.html>
[82] [CITE@en[Web Applications Working Group Teleconference -- 27 Oct 2014]]
( ([TIME[2014-10-28 08:58:18 +09:00]] 版))
<http://www.w3.org/2014/10/27-webapps-minutes.html#item21>
[83] [CITE@en[XMLHttpRequest Level 2]]
( ([TIME[2014-11-17 22:44:24 +09:00]] 版))
<http://www.w3.org/TR/2014/NOTE-XMLHttpRequest2-20141118/>
[84] [CITE@en[Bug 23726 – Integration between XMLHttpRequest and Streams API]]
([TIME[2015-04-30 15:11:19 +09:00]] 版)
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=23726>
[99] [CITE@en[W3C's version of XMLHttpRequest should be abandoned]]
([[Anne van Kesteren]] 著, [TIME[2015-08-06 16:15:47 +09:00]] 版)
<https://lists.w3.org/Archives/Public/public-webapps/2015JulSep/0244.html>
[100] [CITE@en[Moving XHR, DOM Parsing and Pointer Lock to Github]]
([[Arthur Barstow]] 著, [TIME[2015-08-04 23:54:29 +09:00]] 版)
<https://lists.w3.org/Archives/Public/www-archive/2015Aug/0001.html>
[101] [CITE@en[Re: W3C's version of XMLHttpRequest should be abandoned]]
([[Julian Aubourg]] 著, [TIME[2015-08-10 22:04:17 +09:00]] 版)
<https://lists.w3.org/Archives/Public/public-webapps/2015JulSep/0272.html>
[102] [CITE@en[Do not expose XMLHttpRequest and ProgressEvent in service workers. Fi… · whatwg/xhr@9d0a9bb]]
([TIME[2015-08-20 13:16:55 +09:00]] 版)
<https://github.com/whatwg/xhr/commit/9d0a9bb85c32e10788227a79943362bede178a7c>
[103] [CITE@en[918771 – XMLHttpRequest (XHR) send() of an HTML document sends it as application/xml, not text/html]]
([TIME[2015-11-06 18:11:10 +09:00]] 版)
<https://bugzilla.mozilla.org/show_bug.cgi?id=918771>
[104] [CITE@en[931243 – XMLHttpRequest should be disabled on ServiceWorkers]]
([TIME[2015-11-06 18:11:32 +09:00]] 版)
<https://bugzilla.mozilla.org/show_bug.cgi?id=931243>
[106] [CITE@en[Replace byte stream with ReadableStream · whatwg/xhr@243bb82]]
([TIME[2016-03-23 17:33:52 +09:00]] 版)
<https://github.com/whatwg/xhr/commit/243bb82b5249e6405705b8eb252dd8bd416bd5f6>
[107] [CITE@en[Issue 602925 - chromium - Measure how many pages are using cross-origin XHR with credentials - Monorail]]
([TIME[2016-04-16 12:38:32 +09:00]] 版)
<https://bugs.chromium.org/p/chromium/issues/detail?id=602925>
[108] [CITE@en[Allow synchronous withCredentials (#67) · whatwg/xhr@90d7058]]
([TIME[2016-04-26 12:16:23 +09:00]] 版)
<https://github.com/whatwg/xhr/commit/90d7058031aca487f4480be07dc26cefbc4103c4>
[109] [CITE@en[26736 – Does the final progress event need to be dispatched after readystatechange?]]
([TIME[2016-08-13 11:45:44 +09:00]])
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=26736>
[110] [CITE@en[28505 – Synchronous XHR removal makes patching Error.prepareStackTrace impossible]]
([TIME[2016-08-13 11:46:33 +09:00]])
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=28505>
[111] [CITE@en[26917 – For any chunk, progress event should be fired at least in 50ms since the arrival of the chunk]]
([TIME[2016-08-13 11:50:04 +09:00]])
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=26917>
[112] [CITE@en[Fiddle with progress events]]
([[annevk]]著, [TIME[2016-09-15 22:29:05 +09:00]])
<https://github.com/whatwg/xhr/commit/01da69fb27d10a3315f9bf8259cc7074713379ee>
[113] [CITE@en[w3c/XMLHttpRequest: XMLHttpRequest]]
([TIME[2016-09-27 23:50:40 +09:00]])
<https://github.com/w3c/XMLHttpRequest>
[114] [CITE@en-US[XMLHttpRequest]]
([TIME[2016-08-19 00:32:50 +09:00]])
<https://w3c.github.io/XMLHttpRequest/Overview.html>
[115] [CITE@en-US[XMLHttpRequest Level 1]]
([TIME[2016-08-19 00:32:50 +09:00]])
<https://w3c.github.io/XMLHttpRequest/xhr-1/Overview.html>
[116] [CITE@en[Publish as a Note - abandoned work item? · Issue #2 · w3c/XMLHttpRequest]]
([TIME[2016-09-27 23:51:55 +09:00]])
<https://github.com/w3c/XMLHttpRequest/issues/2>
[118] [CITE@en[Publish XHR-1 as a note]]
([[Dominique Hazael-Massieux]]著, [TIME[2016-09-27 01:30:18 +09:00]])
<https://lists.w3.org/Archives/Public/public-webapps/2016JulSep/0107.html>
[119] [CITE@en[XMLHttpRequest Level 1]]
([TIME[2016-10-06 17:43:00 +09:00]])
<https://www.w3.org/TR/2016/NOTE-XMLHttpRequest-20161006/>
[120] [CITE@en[Regression: open() needs to unset the send() flag]]
([[annevk]]著, [TIME[2016-10-24 23:57:34 +09:00]])
<https://github.com/whatwg/xhr/commit/e719291e88bb078dc922f3702794c016963b4828>
[123] [CITE@en-US[XMLHttpRequest - Web APIs | MDN]]
([TIME[2016-12-13 19:38:24 +09:00]])
<https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest>
[124] [CITE@en[Editorial: convert to Bikeshed]]
([[annevk]]著, [TIME[2016-11-08 23:56:26 +09:00]])
<https://github.com/whatwg/xhr/commit/83a4d706c12c219392c015b5c48ca55847af7056>
[126] [CITE@en[Meta: enable PR preview and update web-platform-tests links]]
([[annevk]]著, [TIME[2017-02-23 01:01:52 +09:00]])
<https://github.com/whatwg/xhr/commit/7fb57170cdeb572013fcbc3f0e8e4a56595e9922>
[127] [CITE@en[Meta: remove annotation system and update deploy infrastructure]]
([[annevk]]著, [TIME[2017-02-23 18:41:18 +09:00]])
<https://github.com/whatwg/xhr/commit/96e3512a48ec8b901a0f012b19fbaaf24195abff>
[128] [CITE@en[Clarify when subsubsubsteps run in "process response"]]
([[annevk]]著, [TIME[2017-02-23 17:42:00 +09:00]])
<https://github.com/whatwg/xhr/commit/95dd85b366ea59e3e45a85b44418a5bade64f084>
[129] [CITE@en[Editorial: use a single response object]]
([[annevk]]著, [TIME[2017-02-23 22:10:41 +09:00]])
<https://github.com/whatwg/xhr/commit/d618835af5562e015f7ac10f3fe5e0ce5925ed13>
[130] [CITE@en[Editorial: define send()'s Content-Type logic in terms of Fetch]]
([[annevk]]著, [TIME[2017-03-10 17:06:22 +09:00]])
<https://github.com/whatwg/xhr/commit/0a7025aa18462fb93a21c0e95f1769b0f457ef57>
[131] [CITE@en[Improve the wording around handling timeouts]]
([[annevk]]著, [TIME[2017-03-13 20:06:32 +09:00]])
<https://github.com/whatwg/xhr/commit/4d40787e39eb872de30e40110d1201f90c4beecb>
[132] [CITE@en[Serialize non-well-formed documents too]]
([[annevk]]著, [TIME[2017-03-13 23:05:31 +09:00]])
<https://github.com/whatwg/xhr/commit/59c9cd9ae31fc8fafd1c327f2d2a1ca1e88da28f>
[FIG(quote)[
[FIGCAPTION[
[133] [CITE[Cross-Origin XMLHttpRequest - Google Chrome]]
([TIME[2017-10-14 12:21:27 +09:00]])
<https://developer.chrome.com/apps/xhr>
]FIGCAPTION]
> Regular web pages can use the XMLHttpRequest object to send and receive data from remote servers, but they're limited by the same origin policy. Extensions aren't so limited. An extension can talk to remote servers outside of its origin, as long as it first requests cross-origin permissions
]FIG]
[FIG(quote)[
[FIGCAPTION[
[134] [CITE[Cross-Origin XMLHttpRequest - Google Chrome]]
([TIME[2017-10-14 12:21:27 +09:00]])
<https://developer.chrome.com/apps/xhr>
]FIGCAPTION]
> Regular web pages can use the XMLHttpRequest object to send and receive data from remote servers, but they're limited by the same origin policy. Extensions aren't so limited. An extension can talk to remote servers outside of its origin, as long as it first requests cross-origin permissions
]FIG]
[135] [CITE@en[22646 – So if we want to say on a per-object basis whether it ought to be exposed to workers (which I think is useful) lets introduce "exposed to document environments", "exposed to worker environments", and '''['''...''']''']]
([TIME[2017-12-08 16:17:33 +09:00]])
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=22646>
[136] [CITE@en[Meta: use new WHATWG boilerplate and license]]
([[domenic]]著, [TIME[2018-01-05 03:14:12 +09:00]])
<https://github.com/whatwg/xhr/commit/391a92f93eb471408aba41527ae555591a13887e>
[137] [CITE@en[Meta: use new WHATWG boilerplate and license by domenic · Pull Request #184 · whatwg/xhr]]
([TIME[2018-01-07 13:47:09 +09:00]])
<https://github.com/whatwg/xhr/pull/184>
[138] [CITE@en[Meta: remove mention of CC0]]
([[annevk]]著, [TIME[2018-01-13 05:59:08 +09:00]])
<https://github.com/whatwg/xhr/commit/c6583e9a718e309f1cefcd5f21681e7d6acdfd12>
[139] [CITE@en[Meta: remove mention of CC0 by annevk · Pull Request #187 · whatwg/xhr]]
([TIME[2018-01-16 00:21:15 +09:00]])
<https://github.com/whatwg/xhr/pull/187>
[140] [CITE@en[Integrate Feature Policy: "sync-xhr"]]
([[clelland]]著, [TIME[2018-03-03 03:22:56 +09:00]])
<https://github.com/whatwg/xhr/commit/67a423f9f5d95ee240d48d4cf82c57e2d33876a2>
[141] [CITE@en[Allow developers to opt-out of sync XHR with feature policy · Issue #178 · whatwg/xhr]]
([TIME[2018-03-03 12:49:36 +09:00]])
<https://github.com/whatwg/xhr/issues/178>
[142] [CITE@en[Integrate feature policy by clelland · Pull Request #177 · whatwg/xhr]]
([TIME[2018-03-03 12:52:21 +09:00]])
<https://github.com/whatwg/xhr/pull/177>
[143] [CITE@en[Feature proposal: sync-xhr · Issue #126 · WICG/feature-policy]]
([TIME[2018-03-03 12:55:36 +09:00]])
<https://github.com/WICG/feature-policy/issues/126>
[144] [CITE@en[Don't fire a "progress" event for synchronous XMLHttpRequest]]
([[ricea]]著, [TIME[2018-05-09 01:49:10 +09:00]])
<https://github.com/whatwg/xhr/commit/62b1bf80f92c21e97a78ce00cf200e1656255012>
[145] [CITE@en[Review Draft Publication: August 2018]]
([[annevk]]著, [TIME[2018-08-21 23:13:46 +09:00]])
<https://github.com/whatwg/xhr/commit/34250d36461068e9a9a3171d690a9567caa3f671>
[146] [CITE@en[Review Draft Publication: August 2018 by annevk · Pull Request #219 · whatwg/xhr]]
([TIME[2018-09-04 16:22:49 +09:00]])
<https://github.com/whatwg/xhr/pull/219>
[147] [CITE@en[XMLHttpRequest Standard Review Draft August 2018]]
([TIME[2018-08-22 04:55:23 +09:00]])
<https://xhr.spec.whatwg.org/review-drafts/2018-08/>
[148] [CITE@en[Review Draft Publication: August 2018]]
([[annevk]]著, [TIME[2018-08-21 23:13:46 +09:00]])
<https://github.com/whatwg/xhr/commit/34250d36461068e9a9a3171d690a9567caa3f671>
[149] [CITE@en[Review Draft Publication: August 2018 by annevk · Pull Request #219 · whatwg/xhr]]
([TIME[2019-03-04 16:39:00 +09:00]])
<https://github.com/whatwg/xhr/pull/219>
[150] [CITE@en[Review Draft Publication: February 2019]]
([[annevk]]著, [TIME[2019-02-18 19:22:32 +09:00]])
<https://github.com/whatwg/xhr/commit/dbbd77c99300ec580d81f74ae0698571896e24e3>
[151] [CITE@en[Review Draft Publication: February 2019 by annevk · Pull Request #238 · whatwg/xhr]]
([TIME[2019-06-20 20:31:29 +09:00]])
<https://github.com/whatwg/xhr/pull/238>
[152] [CITE@en[XMLHttpRequest Standard Review Draft February 2019]]
([TIME[2019-02-19 02:06:13 +09:00]])
<https://xhr.spec.whatwg.org/review-drafts/2019-02/>
[153] [CITE@en[(XMLHttpRequest 2) Proposal for cross-site extensions to XMLHttpRequest]]
([[Ian Hickson]]著, [TIME[2006-04-11 05:02:59 +09:00]])
<https://lists.w3.org/Archives/Public/public-webapi/2006Apr/0214.html>
[154] [CITE@en['''['''whatwg''']''' JSONRequest]]
([[Douglas Crockford]]著, [TIME[2006-03-12 07:11:28 +09:00]])
<https://lists.w3.org/Archives/Public/public-whatwg-archive/2006Mar/0098.html>
[155] [CITE[JSONRequest]]
([TIME[2012-08-10 21:42:23 +09:00]])
<http://json.org/JSONRequest.html>
[156] [CITE@en[Align with IDL constructor changes]]
([[autokagami]]著, [TIME[2019-09-24 22:47:10 +09:00]])
<https://github.com/whatwg/xhr/commit/22424f0eed9696a935fb441e8cede66517fc5490>
[157] [CITE@en['''['''xhr''']''' Align with Web IDL specification by autokagami · Pull Request #261 · whatwg/xhr]]
([TIME[2020-05-14 14:07:57 +09:00]])
<https://github.com/whatwg/xhr/pull/261>
[158] [CITE@en[Update to constructor operations · Issue #254 · whatwg/xhr]]
([TIME[2020-05-14 14:08:15 +09:00]])
<https://github.com/whatwg/xhr/issues/254>
[159] [CITE@ja[Chris WilsonさんはTwitterを使っています: 「@BrendanEich @CodingItWrong The coding standards we used at Microsoft at the time said to capitalize 2- or 3-letter acronyms, but 4-letter and larger acronyms should be camel-cased. I thought this was the craziest thing I'd ever heard.」 / Twitter]], 午後11:07 · 2020年10月14日 [TZ[+09:00]], [TIME[2022-09-05T07:43:26.000Z]] <https://twitter.com/cwilso/status/1316380176171692032>