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

4569 Коммитов

Автор SHA1 Сообщение Дата
Josh Matthews b776db08f0 Bug 1137287 - Build fix. rs=KWierso for a CLOSED TREE 2015-04-17 19:27:05 -04:00
Josh Matthews 04c41ddefc Bug 1137287 - Part 2: Send non-200/404 synthesized responses via the parent HTTP implementation for proper processing. r=mayhemer 2015-04-17 18:59:10 -04:00
Josh Matthews 9726be2a7e Bug 1137287 - Part 1: Shift some code from InterceptedChannelContent to HttpChannelChild. r=mayhemer 2015-04-17 18:59:10 -04:00
Nathan Froyd 1e6cdad33c Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Gijs Kruitbosch 8d04b9dd34 Bug 1150703, allow about: pages to be unlinkable even if "safe for content", r=mcmanus, IGNORE IDL
--HG--
extra : rebase_source : 4a73b907c246d7900362b55f908789cf354e703e
extra : histedit_source : 72c8a0d642684d833ec3819e216367a6db985d61
2015-04-03 09:59:00 +01:00
Patrick McManus 965b4acedf Bug 1154068 - rename relaxed to insecure scheme and add more runtime checks r=hurley
we used the term relaxed for http:// over tls; but someitmes we also
enforced the authentication if alt-svc changed the host involved. That
was all done correctly but the term relaxed wasn't very accurate in
those cases.

For clarity rename "relaxed" to be "insecureScheme". Also add a
runtime check (with debug assert) to paths to enforce that bit isn't
set where it shouldn't be (it isn't known to be).
2015-04-06 17:30:29 -04:00
Patrick McManus dea53428c8 Bug 1154061 - clear cached alt svc mappings on a variety of state changes r=hurley
an alt-svc map is just an optimization which can get out of phase like
any other piece of state.. therefore it makes sense to
drop them when a user presses some kind of "serenity now" button such
as force-reload, clear cache, etc..
2015-04-10 16:13:30 -04:00
Patrick McManus 2bc676b831 Bug 1153936 - nsIHttpChannelInteral attribute to opt out of alt-svc on per channel basis r=hurley 2015-04-13 12:59:34 -04:00
Patrick McManus f5c22512f7 Bug 1153924 - do not use altsvc with proxy r=hurley 2015-04-13 12:33:10 -04:00
Patrick McManus 61b076171b Bug 1153896 - dont setup altsvc for same host/port as origin r=hurley 2015-04-09 23:38:26 -04:00
Patrick McManus c5a3235e9e Bug 1153869 - altsvc assert scheme is http or https r=hurley 2015-04-13 10:20:26 -04:00
Nathan Froyd 2b1ae6e2ca Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan 2015-03-31 10:03:49 -04:00
Patrick McManus 279ac8f075 Bug 1152897 - update Alt-Svc pref name and default r=hurley 2015-04-06 15:28:21 -04:00
Ryan VanderMeulen 579da75a70 Backed out changeset e713ce8013eb (bug 1127618) for suspicion of causing semi-frequent B2G crashes.
CLOSED TREE
2015-04-09 20:05:49 -04:00
Nicholas Hurley 0b4c1de637 Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj
--HG--
extra : rebase_source : 3da2229082ccd041a1ec47ba77d9f0940020f3c9
2015-04-08 14:42:00 +02:00
Ehsan Akhgari 4f8f80b77d Bug 1053650 follow-up: Mark GetNetworkInterfaceId/SetNetworkInterfaceId as override 2015-04-08 10:27:41 -04:00
Henry Chang d7d5a942ab Bug 1053650 - Part 3: Make use of gonk-specific per-interface DNS lookup. r=mcmanus
--HG--
extra : rebase_source : a859ed97ede124c0d87dd72c6399be15c72c272d
2015-01-28 11:21:37 +08:00
Henry Chang 90b7e51843 Bug 1053650 - Part 2: Populate networkInterfaceId to SocketTransport. r=mcmanus
--HG--
extra : rebase_source : a198156d6d430d7f92801c0f2db51cb297820867
2015-04-07 11:45:57 -04:00
Dragana Damjanovic ef6b522bde Bug 1136969 - Add a check that OnStartRequest is called just once during the lifetime of a channel. r=mcmanus
--HG--
extra : rebase_source : 756ae3c377788dfe9cf4b073fddc8d99f6021b77
2015-04-02 06:12:00 -04:00
Ehsan Akhgari 54a6fed4fc Bug 1148854 - Part 2: Resume the intercepted network reuest if the interception fails for some reason; r=jdm 2015-04-02 17:58:22 -04:00
Nathan Froyd 4c7234747e Bug 1143651 - don't use CallQueryInterface when the compiler can do the cast for us; r=ehsan 2015-03-12 13:20:29 -04:00
Dragana Damjanovic b658f9d97e Bug 647010 - Limit when HTTP authentication dialog is shown. Block cross-origin http auth prompts with pref. r=mayhemer, r=tanvi 2015-04-01 06:56:00 -04:00
Mike Hommey b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Patrick McManus c16820f682 bug 1148237 restart verifier null pattern r=honzab
--HG--
extra : rebase_source : 5d351e693d01851ec5a7a7f0455a8f4ed2ae9bb7
2015-03-30 15:56:49 -04:00
Olli Pettay 27cce7e99a Bug 1149228, cache data: and https: handlers, r=honzab.moz
--HG--
extra : rebase_source : 104be024bcaa43317abe048e403e29420aa285e4
2015-03-30 22:32:26 +03:00
Mike Hommey c39e359c7d Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Sylvestre Ledru ded6365439 Bug 1149078 - Missing UUID dump. r=mconley, a=me
DONTBUILD
2015-03-30 02:27:00 -04:00
Blake Kaplan f1944c7299 Bug 1058551 - Support redirects to data: URIs. r=honza 2015-03-27 13:12:37 -07:00
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari bf1ed4b213 Bug 1147746 - Null check mInterceptListener in HttpChannelChild::ResetInterception; r=jdm 2015-03-26 17:10:15 -04:00
Honza Bambas 1b73f3c25b Bug 1098422 - Change the HTTP cache half-life experiment values. r=jduell 2015-02-27 10:17:00 -05:00
Trevor Saunders d5851ef31c bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Nikhil Marathe 7a7e74fe7c Bug 1134324 - Set CORS mode and credentials on Fetch event Request. r=michal
renames fetch to fetchXHR() since fetch() is now a superpower.

--HG--
extra : transplant_source : %DA%00%E38%A6%0Fw%DA%26%D3%A9q%AE%A6%FE%BA%81%AA%EEB
2015-03-17 08:47:02 -07:00
Ehsan Akhgari 8ee8c0e69c Bug 1146169 - Check mChannel for null-ness in nsIInterceptedChannel::SetSecurityInfo(); r=jdm 2015-03-22 19:54:03 -04:00
Nikhil Marathe fa2b7dfb6b Bug 1141332 - Disable content decoding and use decoded length on intercepted channels. r=mcmanus
--HG--
extra : transplant_source : %B9%A2%AB.%EA%A4%ABH%86%D0%F0%3F%DE%03%DF%7D%A9p%B2%D5
2015-03-17 08:48:32 -07:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Wes Kocher 14f75f943c Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Jonathan Hao 791a83eee8 Bug 1144513 - [gonk-lmr1] Adapt RTSPSource.cpp. r=ettseng 2015-03-19 16:45:43 +08:00
Daniel Holbert 9a5edfb4e7 Bug 1134462 followup: Add missing MOZ_OVERRIDE annotation to SynthesizeStatus impls in SynthesizeStatus.h. r=ehsan 2015-03-18 16:44:02 -07:00
Wes Kocher 3bba7718ed Merge fx-team to m-c a=merge 2015-03-18 15:38:20 -07:00
Nikhil Marathe 191be106d4 Bug 1134462 - Synthesize status and headers from Response returned by ServiceWorker. r=jdm
--HG--
extra : rebase_source : 6bfb181427869bb99a0812608e75b6311f3dfb97
2015-03-17 08:48:30 -07:00
Olli Pettay dcff05ecb2 Bug 1124206, don't release nsCORSListenerProxy so early, r=mcmanus
--HG--
extra : rebase_source : c3b7d883d0a64abc7714d55f05fdf66248885f8f
2015-03-18 00:26:33 +02:00
Daniel Stenberg 3a63575b80 Bug 1144040 - Coverity detected uninitialized nsHttpHandler members, r=mcmanus 2015-03-17 02:19:00 +01:00
Josh Matthews c59c121c80 Bug 1142124 - Never revalidate cache entries for synthesized responses. r=michal 2015-03-11 13:00:38 -04:00
Daniel Holbert 082fd9cd7f Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Nicholas Hurley f46b3c2dec Bug 1136484 - Fix happy eyeballs regression from bug 1003448. r=mcmanus 2015-03-17 09:23:11 -07:00
Ehsan Akhgari 876c77c8e4 Bug 1133763 - Part 5: Allow the security info on intercepted HTTP channels to be overridden; r=michal 2015-03-13 14:37:21 -04:00
Alex Verstak d0c9d91dc1 Bug 1113431 - Expose referrer policy to UI code via Document and nsIWebNavigation. r=jst, sr=bz 2015-01-05 09:42:31 -08:00
Daniel Stenberg 2360040d37 Bug 1145050 - Fix uninitialized class members in Http2Session. r=hurley
--HG--
extra : rebase_source : c3b8fe4956bf03da8ab42b45de9fa9d9e56a2d83
2015-03-20 00:42:00 -04:00
awake 0e085bdb1c Bug 1108183 - Regularize case of language subtags in Accept-Language header. r=mcmanus
--HG--
extra : rebase_source : 4274cf333c75bd06896ec0fa8072bc39cebb5ecc
2014-12-05 19:44:00 +01:00