Commit Graph

282 Commits

Author SHA1 Message Date
Birunthan Mohanathas
9bed3781f9 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda
863943dfb7 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
f94b4ff6a2 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey
94f653c385 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Ehsan Akhgari
dc29e5f515 Bug 1197379 - Remove support for intercepting app:// URIs using service workers; r=jdm 2016-01-27 15:26:27 -05:00
dimi
2974c51f6e Bug 1188822 - Make service-workers/service-worker/fetch-request-resources.https.html pass. r=bkelly 2016-01-25 14:18:29 +08:00
Ehsan Akhgari
b01875643e Bug 1209081 - Part 1: Implement the "navigate" value for RequestMode; r=bkelly 2016-01-19 17:46:10 -05:00
Ben Kelly
4b2f16aa54 Bug 1237455 P5 Set headers on fetch() redirects. r=ehsan 2016-01-19 13:54:15 -08:00
Ben Kelly
4f6e6bbedd Bug 1237455 P4 Create helper method to set fetch request headers. r=ehsan 2016-01-19 13:54:15 -08:00
Thomas Kuyper
a7f5d9d616 Bug 1184550 - Move the check for bodyUsed before the check for a null body so subsequent fetches with the same Request fail. r=bkelly 2016-01-14 08:57:00 -05:00
Ehsan Akhgari
9e45384db9 Bug 1201664 - Avoid using Request's constructor when creating FetchEvent.request; r=bkelly
This enables us to avoid a number of checks in Request::Constructor
which don't make sense for exposing FetchEvent.request.
2016-01-14 13:08:36 -05:00
Ben Kelly
77e10b8a96 Bug 1238134 P1 Provide a Response.cloneUnfiltered() method for chrome code to access internal Response state. r=ehsan 2016-01-12 12:15:12 -08:00
Andrea Marchesini
da5c7a3c74 Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug 2016-01-12 18:16:59 +00:00
Carsten "Tomcat" Book
72d5b69443 Backed out changeset 5f6a58676e87 (bug 1231378) 2016-01-12 15:48:57 +01:00
Andrea Marchesini
2a65b00fe2 Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug 2016-01-12 13:54:53 +00:00
Andrea Marchesini
496a5cfe38 Bug 1237674 - Rename nsFormData to mozilla::dom::FormData, r=smaug 2016-01-07 19:30:36 +00:00
dimi
b58b81cc46 Bug 1205288 - implement and test fetch spec changes for blob scheme with non-GET method. r=bkelly 2016-01-06 17:13:19 +08:00
Jonas Sicking
4e8258d392 Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb 2015-12-06 18:33:15 -05:00
Jonas Sicking
f82c1655d9 Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly 2015-12-06 18:33:15 -05:00
Jonas Sicking
9d711c3aaf Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb 2015-12-06 18:33:14 -05:00
Jonas Sicking
ad3a5c7f5d Bug 1226909 part 2: Let CORS preflight logic grab information from nsILoadInfo rather than duplicate it. r=ckerschb 2015-12-06 18:33:14 -05:00
Sebastian Hengst
2d6490dc4b Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout 2015-12-05 16:34:47 +01:00
Jonas Sicking
a35bcbf76e Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb 2015-12-05 01:46:21 -08:00
Jonas Sicking
c76eed0c04 Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly 2015-12-05 01:46:20 -08:00
Jonas Sicking
83a2fbd789 Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb 2015-12-05 01:46:20 -08:00
Jonas Sicking
05f8d577f3 Bug 1226909 part 2: Let CORS preflight logic grab information from nsILoadInfo rather than duplicate it. r=ckerschb 2015-12-05 01:46:20 -08:00
Andrea Marchesini
6d20470759 Bug 1230509 - BlobImplFile should return false in IsDateUnknown and IsSizeUnknown, r=bz 2015-12-04 21:15:46 +00:00
Wes Kocher
814fa88abd Backed out changeset b3cfca056388 (bug 1230509) for build bustage CLOSED TREE 2015-12-04 10:50:17 -08:00
Andrea Marchesini
e75e3cad3e Bug 1230509 - BlobImplFile should return false in IsDateUnknown and IsSizeUnknown, r=bz 2015-12-04 18:18:21 +00:00
Francois Marier
dafc070491 Bug 1216793 - check against tracking protection list in fetch(). r=gcp 2015-11-30 16:27:56 -08:00
Boris Zbarsky
e53cff8aa2 Bug 1224596 part 16. Switch Fetch to using the new WorkerMainThreadRunnable::Dispatch signature. r=bkelly 2015-11-24 00:04:21 -05:00
Boris Zbarsky
e082980731 Bug 1224596 part 14. Switch URL to using the new WorkerMainThreadRunnable::Dispatch signature. r=baku 2015-11-24 00:04:21 -05:00
Jonas Sicking
7101cc3e8e Bug 1217456: Add a security flag for controlling redirects. Use this flag in fetch() implementation. r=bkelly,jduell 2015-11-23 18:47:10 -08:00
Andrea Marchesini
0fb8d12cc5 Bug 1213815 - dom/webidl/HTMLHyperlinkElementUtils and URL don't need to throw exceptions as we did before, r=bz 2015-11-23 20:05:26 +00:00
Boris Zbarsky
ef284c00d0 Bug 1224007 part 5. Get rid of ErrorResult::StealJSException. r=peterv 2015-11-20 16:29:41 -05:00
Boris Zbarsky
939138a7a4 Bug 1224007 part 3. Push down WouldReportJSException into MaybeSetPendingException, since anyone calling the latter will propagate the JS exception as needed. r=peterv 2015-11-20 16:29:41 -05:00
Boris Zbarsky
d6a774fa3d Bug 1226479. Change ErrorResult::ThrowTypeError/ThrowRangeError to take string references, not pointers. r=mccr8 2015-11-20 13:36:46 -05:00
Jonas Sicking
4e4332aa98 Bug 1224865: Don't set a document in FetchDriver for requests in workers. r=bkelly 2015-11-16 11:43:12 -08:00
Birunthan Mohanathas
94998cf5fe Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Ben Kelly
3ee537b9cc Bug 1217501 P5 Relax guard checking on Headers with existing headers. r=ehsan 2015-10-27 09:23:34 -07:00
Ben Kelly
10cb75be4d Bug 1217501 P2 Send */* for fetch() default Accept header. r=ehsan 2015-10-26 08:25:16 -07:00
Wes Kocher
3d3a068418 Backed out 3 changesets (bug 1217501) for m(4) leaks CLOSED TREE
Backed out changeset f00f079f712b (bug 1217501)
Backed out changeset 86ac4feb0e38 (bug 1217501)
Backed out changeset 0c7e876a69e5 (bug 1217501)
2015-10-26 11:52:23 -07:00
Ehsan Akhgari
98982c9a85 Bug 1181054 - Part 2: Refactor the code to extract an HTTP header from a buffer from FormDataParser; r=bkelly 2015-10-26 12:20:22 -04:00
Ehsan Akhgari
4943eccd2a Bug 1181054 - Part 1: Move FormFillIterator and FormDataParser to FetchUtil.cpp; r=bkelly
These two classes were not moved at the same time their consumer
moved from Fetch.cpp to FetchUtil.cpp.
2015-10-26 12:20:21 -04:00
Ben Kelly
1abde6a319 Bug 1217501 P2 Send */* for fetch() default Accept header. r=ehsan 2015-10-26 08:25:16 -07:00
Ehsan Akhgari
861bbb31bc Bug 1216697 - Unship Request.cache until the implementation is finished; r=bzbarsky 2015-10-23 15:38:47 -04:00
Ben Kelly
bd2ac6606b Bug 1212904 P4 Set channel tainting in FetchEvent.respondWith(). r=ehsan 2015-10-22 11:07:32 -07:00
Ben Kelly
b2d6605bc7 Bug 1212904 P3 Make FetchDriver look for the channel Tainting value. r=ehsan 2015-10-22 11:07:32 -07:00
Ben Kelly
e19ed00d9c Bug 1212904 P0 Do not abuse fetch response tainting to create opaqueredirect responses. r=ehsan 2015-10-22 11:07:32 -07:00
Ehsan Akhgari
9b801bb357 Bug 1216822 - Make sure that using an invalid Content-Type when constructing a Response object doesn't throw; r=bkelly 2015-10-21 16:06:34 -04:00