Commit Graph

12123 Commits

Author SHA1 Message Date
Patrick McManus
266550b577 bug 1217834 - buzzfeed packet loss r=dragana 2015-10-22 17:46:02 -04:00
Jonathan Hao
3d02a2da65 Bug 1216469 - Bypass verification for signed packages from trust origins. r=valentin 2015-10-22 17:09:44 +08:00
Henry
9fe43dfb43 Bug 1180088 - Use origin-based permission check on parent side for signed packaged web app. r=kanru. 2015-10-22 05:44:00 +02:00
Tooru Fujisawa
73cd2e9cab Bug 1217316 - Remove for-each from netwerk/. r=jduell
--HG--
extra : commitid : EIpillrRBad
2015-10-19 02:19:02 +09:00
Ben Kelly
748c384c83 Bug 1212904 P2 Add LoadTainting information to nsILoadInfo. r=jduell 2015-10-22 11:07:32 -07:00
Ben Kelly
47e6f66786 Bug 1212904 P1 Add a LoadTainting enumeration. r=jduell 2015-10-22 11:07:32 -07:00
Dragana Damjanovic
a600313556 Bug 1214786 - Channelwrapper: Fix up maybeWrapChannel to wrap if not gecko internal channel (r=mayhemer,sicking) 2015-10-22 09:56:56 -07:00
Josh Matthews
de85fb3b8a Bug 1173811 - Part 2: Propagate the response URL to intercepted channels when necessary (e10s). r=mayhemer,bkelly 2015-10-22 09:23:48 -04:00
Josh Matthews
d3726427db Bug 1173811 - Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly 2015-10-22 09:23:39 -04:00
Masatoshi Kimura
6ad41c8aee Bug 1215796 - Remove the static fallback whitelist. r=keeler 2015-10-22 21:37:40 +09:00
Dragana Damjanovic
35a05c4285 Bug 1175685 - add OriginAttribute to LoadInfo. r=jonas, r=ckerschb, r=michal 2015-10-21 23:47:00 +02:00
Dragana Damjanovic
4233416b20 Bug 1175685 - Add special appId for SAFEBROWSING_APP_ID. r=ckerschb 2015-10-21 13:43:00 +02:00
Phil Ringnalda
6401c0185c Back out 2 changesets (bug 1173811) for test_synthesized_response.js timeouts
CLOSED TREE

Backed out changeset 56bc1314e660 (bug 1173811)
Backed out changeset 0ad51d302ba9 (bug 1173811)
2015-10-21 20:21:05 -07:00
Josh Matthews
187a3da7d2 Bug 1173811 - Part 2: Propagate the response URL to intercepted channels when necessary (e10s). r=mayhemer,bkelly 2015-10-21 00:05:40 -04:00
Josh Matthews
591281df75 Bug 1173811 - Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly 2015-10-21 00:05:40 -04:00
Wes Kocher
3fe8e966dd Merge m-c to inbound, a=merge CLOSED TREE 2015-10-21 16:39:18 -07:00
Wes Kocher
ceefa2939a Merge b2ginbound to central, a=merge 2015-10-21 16:37:24 -07:00
Wes Kocher
b8596f28a2 Merge inbound to m-c a=merge 2015-10-21 16:28:43 -07:00
J. Ryan Stinnett
7eceb8f4c5 Bug 1203159 - Clean up various tests after DevTools resource move. r=me 2015-10-21 14:18:29 -05:00
Patrick McManus
70c555d190 bug 1083930 - cpu spin during large h2/spdy upload r=hurley
--HG--
extra : rebase_source : 0204d5128df1f76d0e2c9a9ec24f719cb538a1e6
2015-10-19 17:42:18 -04:00
Carsten "Tomcat" Book
68ab10be0d Merge m-c to b2g-inbound on a CLOSED TREE 2015-10-21 15:37:25 +02:00
Patrick McManus
06d7c103e1 bug 1215552 - nsHttpConnectionMgr::PostEvent shouldnt manually ref count r=hurley 2015-10-16 11:36:59 -04:00
Jonathan Hao
e4b1f62b85 Bug 1178448 - Use imported CA in developer mode. r=keeler,valentin 2015-10-08 17:08:45 +08:00
Kershaw Chang
f182f7563e Bug 1200132 - Part2: Get IP address by calling InetAddress.getHostAddress(), r=mcmanus, rnewman 2015-10-21 02:53:00 +02:00
Kershaw Chang
42ddfe4f02 Bug 1200132 - Part1: Get address info after service resolved, r=mcmanus 2015-10-21 02:51:00 +02:00
Manish Goregaokar
95218a96a0 Bug 280280 - Make "no proxy for" do domain comparison. r=bagder
--HG--
extra : rebase_source : e746931c499bb741191e7cef8df274f3f10aba82
2015-10-21 03:05:00 +02:00
Jonathan Watt
de2eb25725 Bug 1216370 - For safety and searchability, define the nsHostResolver::RES_* enum in terms of the nsIDNSService::RESOLVE_* enum. r=mayhemer 2015-09-14 14:46:47 +01:00
Carsten "Tomcat" Book
dab1222aac Backed out changeset 9fc04da2a662 (bug 1211694) for perma failures in B2G ICS Emulator opt C1 Tests on a CLOSED TREE
--HG--
extra : rebase_source : 9a83f398604b155849dc128fb029e35f4c6b023a
2015-10-20 16:09:13 +02:00
Masatoshi Kimura
a8924119ce Bug 1201025 - Disable fallback whitelist by default. r=keeler 2015-10-20 20:29:55 +09:00
Valentin Gosu
60f58fbb1a Bug 1215944 - Return false if string is empty. r=mcmanus 2015-10-20 11:47:12 +02:00
Dragana Damjanovic
1fe2f40e7d Bug 1211694 - dataLength has been added twice. r=mcmanus
--HG--
extra : rebase_source : 1257d714d47126059bcf368a316252eca70b7e81
2015-10-05 14:58:00 +02:00
Dragana Damjanovic
2e111f2bed Bug 1211694 - dataLength has been added twice. r=mcmanus 2015-10-05 14:58:00 +02:00
Andrew McCreight
a70edd2a83 Bug 1158404 - Part 2 - Don't hold alive DataChannelShutdown with a global. r=jesup 2015-10-20 10:47:00 +02:00
Andrew McCreight
62280abb0f Bug 1158404 - part 1 - DataChannelShutdown should instead observe xpcom-will-shutdown. r=jesup
profile-change-net-teardown does not happen in the child process, so this ends up leaking.
2015-10-20 10:47:00 +02:00
Christoph Kerschbaumer
33fa277605 Bug 1204983 - Allow about: pages to load remote content (r=bholley,bz,florian,dragana) 2015-10-09 22:03:27 -07:00
Nicholas Nethercote
5b34a25af2 Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
DONTBUILD because it only changes comments.

This will hopefully prevent confusion like that in bug 1215903.

--HG--
extra : rebase_source : f0a601d77b5f42b4fbe090693234f934e3becc42
2015-10-19 18:05:20 -07:00
Jonas Sicking
7bf7cbbd1a Bug 1215746: Remove RequestMode::Cors_with_forced_preflight. r=bkelly 2015-10-19 18:24:36 -07:00
Jonas Sicking
be2deca017 Bug 1195167 part 1: Let necko handle all protocols. r=bkelly 2015-10-19 18:24:36 -07:00
Wes Kocher
c6deb98829 Backed out 3 changesets (bug 1204983) for talos(g2) failures
Backed out changeset 00c07b02c8a8 (bug 1204983)
Backed out changeset a4879b180d2d (bug 1204983)
Backed out changeset 38b6f878608a (bug 1204983)
2015-10-19 16:09:33 -07:00
Christoph Kerschbaumer
1526f05f35 Bug 1204983 - Allow about: pages to load remote content (r=bholley,bz,florian,dragana) 2015-10-09 22:03:27 -07:00
Jonas Sicking
cc10dd7ad3 Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan 2015-10-19 11:14:54 -07:00
Jonas Sicking
4316c13003 Bug 1182571: Fix nsILoadInfo->GetContentPolicyType API to be less ambigious. Audit and fix all users of it. r=ckerschb 2015-10-19 11:14:54 -07:00
Patrick McManus
80650cd58d bug 1215724 - enable brotli on spdy r=hurley 2015-10-17 12:09:37 -04:00
Ehsan Akhgari
0078aed98a Bug 1198394 - Part 1: Allow interception of HSTS upgraded connections in non-e10s mode; r=mcmanus 2015-10-19 10:26:22 -04:00
Henry
fdaaf864d7 Bug 1216062 - Notify OnStartSignedPackagedRequest with package identifier. r=valentin. 2015-10-19 03:33:00 +02:00
Dragana Damjanovic
0f390c8344 Bug 1214122 - Check if addon ProtocolHandler actually provide nsHttpChannel. r=sicking r=mayhemer 2015-10-16 06:07:00 +02:00
Honza Bambas
5040c462d0 Bug 1198792 - Clear Application Cache internal hashtables on Clear Recent History, r=jduell
--HG--
extra : rebase_source : 564d1718d427c1c84973e18a56fcb86ebb22897f
2015-10-15 09:56:00 +02:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Daniel Stenberg
19855ea7f7 Bug 1214200: avoid double NS_RELEASE(), r=mcmanus 2015-10-17 08:26:38 -04:00