Граф коммитов

135 Коммитов

Автор SHA1 Сообщение Дата
Wei-Cheng Pan 510ba75c20 Bug 1310127 - Part 17: Use MOZ_MUST_USE in netwerk/protocol/http r=smaug
MozReview-Commit-ID: 5gvVZtsa3yS

--HG--
extra : rebase_source : 5e1ab2fc06ae58f18abb8909ac93f9512abbe220
2016-12-20 11:49:32 +08:00
Ben Kelly d304b8453f Bug 1337543 P5 Move code to fill InternalHeaders from an nsIChannel response into utility method. r=baku 2017-02-14 10:06:39 -05:00
Sebastian Hengst c88c3d119a Backed out changeset a8b7ae2ed577 (bug 1337543) 2017-02-13 18:59:48 +01:00
Ben Kelly 7529d95c7c Bug 1337543 P5 Move code to fill InternalHeaders from an nsIChannel response into utility method. r=baku 2017-02-13 12:15:59 -05:00
Tim Huang 756cf900c9 Bug 1336802 - Part 2: Updating the whole code base to make sure nsILoadInfo get null check. r=smaug
--HG--
extra : rebase_source : 22149fd540fd02119afe9fe5c9a815d01cf959c1
2017-02-07 11:49:34 +08:00
Boris Zbarsky dbb8879a4c Bug 1328761 part 2. Update some FetchDriver comments to more clearly reflect reality. r=bkelly 2017-01-14 22:43:17 -05:00
Thomas Nguyen d1229b6f90 Bug 1304623 - Create a pref to control the default referrer policy - part 1. r=bkelly
MozReview-Commit-ID: 6R7kLB6jvhP
2017-01-05 11:30:07 +08:00
Thomas Nguyen b169621e2e Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana.
MozReview-Commit-ID: 3V6W0fuRomZ

--HG--
extra : rebase_source : 4b708f9646ea42ef40c60ba0b7a86e14edf621e3
2016-11-14 15:15:32 +08:00
Tom Tung a63de77d6a Bug 1264178 - Part 1: Expose URL fragment to request but not response. r=bkelly
--HG--
extra : rebase_source : ee0cac184ac64b1fa9185f912753f10b61a55383
2016-11-07 10:16:34 +08:00
Andrea Marchesini 50b8aabe39 Bug 1312410 - Fetch API should use MutableBlobStorage to store big Blobs on disk, r=qdot 2016-10-26 09:07:25 +02:00
Saurabh Singhal 0a5645d30d Bug 1278275 - Update Headers::GetAll and Headers::Get to match the specification. r=jdm, r=bkelly 2016-10-10 22:50:14 +05:30
Tom Tung a167b66e90 Bug 1187335 - P4 - Integrate fetch and cache with SRI & add nsIConsoleReportCollector to show console report. r=bkelly. 2016-09-07 10:20:23 +08:00
Nicholas Nethercote 34dcc7b852 Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.

In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.

> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));

In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.

> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");

This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
  be true" sense used in assertions.

A common variation on the side-effect-free case is the following.

> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");

--HG--
extra : rebase_source : 58788245021096efa8372a9dc1d597a611d45611
2016-09-02 17:12:24 +10:00
Kan-Ru Chen b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Thomas Nguyen d90a1c6522 Bug 1264164 - Support Referrer Policy HTTP header. r=jdm
MozReview-Commit-ID: GANRqgAZQ5C
2016-07-19 15:38:26 +08:00
Thomas Nguyen 64fdf9d702 Bug 1251378 - Use referrer policy of worker instead of default. r=ehsan
MozReview-Commit-ID: I8X8nMkaS9V
2016-04-01 11:52:28 +08:00
Christoph Kerschbaumer 19ac7d31c1 Bug 1274170 - Remove unnecessary includes of nsCorsListenerProxy. r=jkingston
--HG--
extra : rebase_source : 488864e497a7e6c127a98e05efd17d1d0580e000
2016-06-21 12:54:03 +02:00
Jarda Snajdr b57da2dc12 Bug 1278778 - Show JS stack traces of Fetch requests in Netmonitor r=bkelly 2016-06-14 04:08:00 +01:00
Jonas Sicking 32162d33c2 Bug 1273279 - Changes in preparation for FlyWeb landing. Change InternalResponse handling to track body size. r=baku f=bkelly
--HG--
extra : amend_source : 257331b8f4b86d6e1c7608ca6866526ce6aa645a
2016-06-01 17:02:29 -04:00
Tom Tung 842431d95a Bug 1243792 - P1 implement response.redirected - Fetch API & Cache API & ServiceWorker changed. r=bkelly, r=baku.
--HG--
extra : rebase_source : 29ec29361738c6d2446b410a98bd4876a689ce99
2016-05-03 09:48:40 +08:00
Carsten "Tomcat" Book a993b36b4a Backed out changeset dc42de66de8c (bug 1243791) landing with wrong bug number
--HG--
extra : rebase_source : b016defba5a12065b401d0d59b3f03e8b1d7cbe1
2016-05-10 12:50:15 +02:00
Tom Tung 15b89607c6 Bug 1243791 - P1 implement response.redirected - Fetch API & Cache API & ServiceWorker changed. r=bkelly, r=baku. 2016-05-03 09:48:40 +08:00
Kyle Huey 941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey 48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Ehsan Akhgari 756a1054f9 Bug 1265941 - Rename the ReferrerPolicy "origin-only" enum value to "origin"; r=jdm 2016-04-20 14:21:34 -04:00
Ehsan Akhgari a014521971 Bug 1120715 - Part 5: Treat a default cache mode Request with a revalidation header as no-store; r=bkelly 2016-03-11 14:40:49 -05:00
Ehsan Akhgari b70a0ad138 Bug 1120715 - Part 3: Connect the Necko level cache mode parameter with the Request cache mode variable; r=bkelly 2016-03-11 14:40:41 -05:00
Eric Rahm ec9877219e Bug 1253054 - Stop warning if request has already failed. r=bkelly 2016-03-11 11:18:07 -08:00
Ryan VanderMeulen e98112b9bd Backed out 8 changesets (bug 1120715) for Android dom/u2f/tests/test_no_token.html permafail.
Backed out changeset 043770204431 (bug 1120715)
Backed out changeset e10c375353f4 (bug 1120715)
Backed out changeset c2871dbeb7cc (bug 1120715)
Backed out changeset 79158f028ad3 (bug 1120715)
Backed out changeset c74866f52320 (bug 1120715)
Backed out changeset c731944ecc64 (bug 1120715)
Backed out changeset 44f346712a3a (bug 1120715)
Backed out changeset 60d6045125e2 (bug 1120715)

CLOSED TREE
2016-03-10 20:20:05 -05:00
Ehsan Akhgari 53434f9639 Bug 1120715 - Part 5: Treat a default cache mode Request with a revalidation header as no-store; r=bkelly 2016-03-10 17:29:11 -05:00
Ehsan Akhgari f08814d04f Bug 1120715 - Part 3: Connect the Necko level cache mode parameter with the Request cache mode variable; r=bkelly 2016-03-10 17:29:11 -05:00
Wes Kocher 53011a6a05 Backed out 6 changesets (bug 1120715) for wpt bustage in request-cache.html
Backed out changeset 2ee4b18f6b3a (bug 1120715)
Backed out changeset f87a25ade31e (bug 1120715)
Backed out changeset 9391f22c08c2 (bug 1120715)
Backed out changeset c5bf9f7bb86e (bug 1120715)
Backed out changeset 7e003fb64d41 (bug 1120715)
Backed out changeset ef66b64e9f8a (bug 1120715)

MozReview-Commit-ID: AI47IhtGWea
2016-03-09 15:57:43 -08:00
Ehsan Akhgari ea3b20fae4 Bug 1120715 - Part 5: Treat a default cache mode Request with a revalidation header as no-store; r=bkelly 2016-03-09 16:44:58 -05:00
Ehsan Akhgari d9ecb20ef6 Bug 1120715 - Part 3: Connect the Necko level cache mode parameter with the Request cache mode variable; r=bkelly 2016-03-09 16:43:33 -05:00
Jonathan Watt a73bd8c354 Bug 1253094, part 1 - Stop using DebugOnly for class/struct members in dom/. r=baku
MozReview-Commit-ID: ErWZs9oV4WS
2016-02-26 15:52:06 +00:00
Ehsan Akhgari 38637e2005 Bug 1251872 - Part 1: Implement Request.referrerPolicy; r=jdm 2016-03-03 16:43:55 -05:00
Stefan Dye 4ddfe18b64 Bug 1204520 - Remove unused return value from FetchDriver::FailWithNetworkError. r=jdm 2016-01-31 21:56:00 -05: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
Ehsan Akhgari fbf2580b8c Bug 1197379 - Remove support for intercepting app:// URIs using service workers; r=jdm 2016-01-27 15:26:27 -05: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
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