Commit Graph

284 Commits

Author SHA1 Message Date
Stefan Dye
4ddfe18b64 Bug 1204520 - Remove unused return value from FetchDriver::FailWithNetworkError. r=jdm 2016-01-31 21:56:00 -05:00
Ben Kelly
1de96897ae Bug 1244764 P1 Make Cache .add()/.addAll() fail if a Response.ok() is false. r=ehsan 2016-02-04 07:59:52 -08:00
Birunthan Mohanathas
d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6 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
373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Ehsan Akhgari
fbf2580b8c Bug 1197379 - Remove support for intercepting app:// URIs using service workers; r=jdm 2016-01-27 15:26:27 -05:00
dimi
c21d1ebd14 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
d08dcc913c Bug 1209081 - Part 1: Implement the "navigate" value for RequestMode; r=bkelly 2016-01-19 17:46:10 -05:00
Ben Kelly
d255c137ac Bug 1237455 P5 Set headers on fetch() redirects. r=ehsan 2016-01-19 13:54:15 -08:00
Ben Kelly
e8c08705f3 Bug 1237455 P4 Create helper method to set fetch request headers. r=ehsan 2016-01-19 13:54:15 -08:00
Thomas Kuyper
2ae35fec9a 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
df420183a8 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
66209204da 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
83b88d383f Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug 2016-01-12 18:16:59 +00:00
Carsten "Tomcat" Book
6692893d20 Backed out changeset 5f6a58676e87 (bug 1231378) 2016-01-12 15:48:57 +01:00
Andrea Marchesini
001e241382 Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug 2016-01-12 13:54:53 +00:00
Andrea Marchesini
4fd7346fa1 Bug 1237674 - Rename nsFormData to mozilla::dom::FormData, r=smaug
--HG--
rename : dom/base/nsFormData.cpp => dom/base/FormData.cpp
rename : dom/base/nsFormData.h => dom/base/FormData.h
2016-01-07 19:30:36 +00:00
dimi
67f0b5d3cf 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
0bb4231605 Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb 2015-12-06 18:33:15 -05:00
Jonas Sicking
f7193fdf30 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
28de02f687 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
0e0c8c52ea 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
774236075d 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
993136c2c9 Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb 2015-12-05 01:46:21 -08:00
Jonas Sicking
7fae3fd853 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
ff12f48c5a 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
918c689657 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
ae1df2b2a2 Bug 1230509 - BlobImplFile should return false in IsDateUnknown and IsSizeUnknown, r=bz 2015-12-04 21:15:46 +00:00
Wes Kocher
bdc3f1fdf0 Backed out changeset b3cfca056388 (bug 1230509) for build bustage CLOSED TREE
--HG--
extra : commitid : 6ezF1zP3n26
2015-12-04 10:50:17 -08:00
Andrea Marchesini
40373a6e18 Bug 1230509 - BlobImplFile should return false in IsDateUnknown and IsSizeUnknown, r=bz 2015-12-04 18:18:21 +00:00
Francois Marier
c18c6996e6 Bug 1216793 - check against tracking protection list in fetch(). r=gcp 2015-11-30 16:27:56 -08:00
Boris Zbarsky
68dc1d9878 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
58f083c12c 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
66bbe5bc72 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
9dc9655c9e 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
c3bc1cdc40 Bug 1224007 part 5. Get rid of ErrorResult::StealJSException. r=peterv 2015-11-20 16:29:41 -05:00
Boris Zbarsky
fb747879e0 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
df75080cc3 Bug 1226479. Change ErrorResult::ThrowTypeError/ThrowRangeError to take string references, not pointers. r=mccr8 2015-11-20 13:36:46 -05:00
Jonas Sicking
9274bbfbe1 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
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Ben Kelly
34de792e6b Bug 1217501 P5 Relax guard checking on Headers with existing headers. r=ehsan 2015-10-27 09:23:34 -07:00
Ben Kelly
9338a75577 Bug 1217501 P2 Send */* for fetch() default Accept header. r=ehsan 2015-10-26 08:25:16 -07:00
Wes Kocher
3ac77ec6f9 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)

--HG--
extra : commitid : DHpgGALANW2
2015-10-26 11:52:23 -07:00
Ehsan Akhgari
6e14e2de2a 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
73f866b985 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
ac1df23ecf Bug 1217501 P2 Send */* for fetch() default Accept header. r=ehsan 2015-10-26 08:25:16 -07:00
Ehsan Akhgari
383397be38 Bug 1216697 - Unship Request.cache until the implementation is finished; r=bzbarsky 2015-10-23 15:38:47 -04:00
Ben Kelly
d7e898d8d0 Bug 1212904 P4 Set channel tainting in FetchEvent.respondWith(). r=ehsan 2015-10-22 11:07:32 -07:00
Ben Kelly
07f46d6f8c Bug 1212904 P3 Make FetchDriver look for the channel Tainting value. r=ehsan 2015-10-22 11:07:32 -07:00