Commit Graph

12346 Commits

Author SHA1 Message Date
Simon Montagu
89109c7aa9 Bug 479520: Implement IDNA2008 standard for International Domain Names, patch 1: build system changes, r=ted; code changes, r=jfkthame 2015-10-28 03:46:44 -07:00
Makoto Kato
63f3a6b33c Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on netwerk. r=nfroyd 2015-10-28 14:30:07 +09:00
Ben Kelly
51ad72c930 Bug 1217501 P1 Expose Accept and Accept-Language to service worker FetchEvent.request. r=mcmanus 2015-10-26 08:25:15 -07:00
Ehsan Akhgari
0549164d1b Bug 1206298 - Part 1: Update the expiration time on the fake cache entry object for an intercepted request in the non-e10s case; r=mcmanus 2015-10-27 11:58:29 -04:00
Jonathan Hao
92a67d9e5c Bug 1218284 - Match signed packages' with trust origin without suffix. r=valentin 2015-10-26 15:30:38 +08:00
Birunthan Mohanathas
44936aabb2 Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Kyle Huey
c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Nicholas Hurley
16a6305536 Bug 1213060 (part 2) - Re-add state assertion in Http2Session::OnWriteSegment. r=mcmanus
--HG--
extra : rebase_source : d4752bea750d0d8d252e40d60bc6717a0ce5d57f
2015-10-22 12:48:57 -07:00
Nicholas Hurley
728aabcd9c Bug 1213060 (part 1) - Properly handle discarding padding in Http2Session::OnWriteSegment. r=mcmanus
--HG--
extra : rebase_source : 5351820cd1ac06403b29ee35b02773d98fe233f2
2015-10-26 12:13:53 -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
Andrea Marchesini
5fb333826f Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 4 - IPC, r=michal 2015-10-26 15:31:00 +00:00
Andrea Marchesini
2cabb2ac76 Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 3 - timestamp, r=michal 2015-10-26 15:30:39 +00:00
Andrea Marchesini
08f3fd3539 Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 2 - WebSocketFrameService, r=michal 2015-10-26 15:30:11 +00:00
Andrea Marchesini
8ec6671244 Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 1 - WindowID added into WebSocketChannel, r=michal 2015-10-26 15:29:28 +00:00
Ben Kelly
4fa55322eb Bug 1217501 P1 Expose Accept and Accept-Language to service worker FetchEvent.request. r=mcmanus 2015-10-26 08:25:15 -07:00
Valentin Gosu
f4d3791247 Bug 1163030 - URL: stop escaping ` in query r=mcmanus 2015-11-02 13:55:24 +01:00
Valentin Gosu
e96a491a5d Bug 1163028 - URL: stop escaping [ and ] in path r=mcmanus 2015-11-02 13:54:10 +01:00
Nate Hughes ext:(%2C%20Valentin%20Gosu%20%3Cvalentin.gosu%40gmail.com%3E)
7e19134192 Bug 1154309 - Add New Resource Timing Fields r=bz,hurley 2015-07-24 08:49:25 -07:00
Honza Bambas
7b71527d7d Bug 1220215 - Add '#' between client id and suffix in appcache groud id, r=jduell 2015-10-30 10:14:00 +01:00
Honza Bambas
844d2170f3 Bug 1213577 - Use OriginAttributes in nsHttpAuthManager, r=mcmanus 2015-10-29 10:43:00 +01:00
Honza Bambas
1e445509dc Bug 1206060 - Show pinning status at about:cache. r=michal 2015-10-30 08:12:00 +01:00
Yury Delendik
6a45b9b59b Bug 1217617 - Fixes nsURIChecker.cpp dependency on nsIURI. r=mcmanus 2015-10-22 17:21:59 -05:00
Ehsan Akhgari
e3eca83210 Bug 1214277 - Avoid bypassing opening a cache entry for possibly intercepted channels; r=mcmanus 2015-10-24 00:39:08 -04:00
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
Shih-Chiang Chien
e50f7091ee Bug 1199592 - support TV device type in UA string. r=fabrice.
--HG--
extra : rebase_source : 7999c1a81fd7e297b88d3b780c252b70bf265d23
2015-10-05 19:58:00 +02:00
Wes Kocher
0f015ebe75 Merge b2ginbound to central, a=merge 2015-10-15 11:34:27 -07:00
Carsten "Tomcat" Book
d89def21d7 Merge m-c to b2g-inbound 2015-10-15 12:04:19 +02:00
Yoshi Huang
fb57af4ae6 Bug 1191653 - Listen to clear-origin-data in nsPermissionManager. r=bholley 2015-10-13 10:27:42 +08:00
Jonas Sicking
54c75e38eb Bug 1211000: Move CORS preflight logic from nsCORSListenerProxy to nsCORSPreflightListener. r=ehsan 2015-10-15 02:07:25 -07:00
Patrick McManus
03d026b624 Bug 1213979 - h2 packet formats. r=hurley 2015-10-12 23:56:12 -04:00
Carsten "Tomcat" Book
cfcbb3d261 Backed out changeset 32357df66881 (bug 1168635) for Android s4 test failures 2015-10-14 16:28:59 +02:00
Masatoshi Kimura
d9f0dc8b43 Bug 1168635 - Extend nsITLSServerSocket to customize cipher suites. r=keeler 2015-10-14 21:12:33 +09:00
Carsten "Tomcat" Book
6ffd4fc09b Merge m-c to mozilla-inbound 2015-10-14 12:47:31 +02:00
Carsten "Tomcat" Book
0ecf764867 merge mozilla-inbound to mozilla-central a=merge 2015-10-14 12:46:09 +02:00
Henry
d0922cb7a4 Bug 1210235 - Skip package verification if pref out or no signature. The package would be treated unsigned. r=valentin
--HG--
extra : histedit_source : e3820fb54cfbab00bf8db377aec2bc8afcb0fb0e
2015-10-12 15:38:41 +08:00
M Hamdy
67d215f8de Bug 606655 - delete cookies UI option AskMeEveryTime and its related comments and tests. r=mak
--HG--
extra : rebase_source : 242a074db54395e4b285110286e7692f26b57daa
2015-10-08 09:13:00 +02:00
Ryan VanderMeulen
89f4a647c5 Backout eab6f9c125cc (bug 1211694) to see if it fixes the crashes reported in bug 1213979. a=me
--HG--
extra : amend_source : f08a20212360b2729c3a313c818981d806c12321
2015-10-12 18:04:55 -04:00
Carsten "Tomcat" Book
51460284dc Merge m-c to mozilla-inbound
--HG--
extra : rebase_source : ff3eb8adeb22d7c5166ce9fbb4ac693e0585b254
2015-10-13 12:27:01 +02:00
Valentin Gosu
370bdbf483 Bug 1211871 - Backout bug 1142083. r=mcmanus 2015-10-12 23:49:23 +02:00
Masatoshi Kimura
82aeed3ddc Bug 1168635 - Extend nsITLSServerSocket to customize cipher suites. r=keeler 2015-10-15 05:48:26 +09:00
Michael Layzell
d4beae866a Backout of bug 1207233 due to web-compat concerns 2015-10-14 16:06:35 -04:00
Hiroyuki Ikezoe
aaf4ad90ac Bug 1167627 - Part 7: Use mozinfo in netwerk/. 2015-08-25 14:58:00 +02:00
Dragana Damjanovic
daeb9f7f13 Bug 1211694 - dataLength has been added twice. r=nwgh 2015-10-11 18:13:10 +02:00
Dragana Damjanovic dd.mozilla@gmail.com
48d945f4e6 Bug 1197679 - If nsUnknownDecoder is involved in e10s DivertToParent can break. r=jduell 2015-10-11 18:13:09 +02:00
Honza Bambas
4bd41740d0 Bug 1165269 - Use OriginAttributes in nsILoadContextInfo, r=michal+allstars 2015-10-11 18:13:09 +02:00
Patrick McManus
7b4a70a169 bug 718797 - allow heuristic cache of query string resources r=hurley 2015-10-09 09:28:37 -04:00
Ehsan Akhgari
d5f5467827 Bug 1213150 follow-up: fix build bustage 2015-10-09 11:27:05 -04:00
Daniel Stenberg
7b64106297 Bug 1121800 - when all proxies fail try DIRECT, r=mcmanus
To mimic how other browsers do it these days and better deal with wrong
propxy settings lingering.
2015-10-09 01:59:00 +02:00
Ehsan Akhgari
a9097bf0fb Bug 1213150 - Part 3: Remove nsIInterceptedChannel.isNavigation; r=jdm 2015-10-09 10:52:56 -04:00
Ehsan Akhgari
f303ed36f2 Bug 1213150 - Part 2: Rework ShouldPrepareForIntercept() in terms of subresource requests; r=jdm 2015-10-09 10:52:55 -04:00
Sajal Kayan
315c526a1e Bug 1211168 - Fix resource timing domainLookupStart by setting the timestamp only once. r=mcmanus 2015-10-04 18:43:15 +07:00
Patrick McManus
ad9258704b bug 1208114 - fix h2 connect tunnels r=hurley 2015-10-07 12:55:07 -04:00
Wes Kocher
163f262ba5 Backed out changeset 3cd86929d883 (bug 1208114) for test_video_playback.py crashes 2015-10-08 13:12:20 -07:00
Patrick McManus
9beb606f8c bug 1211706 - fix network io loop spin when clearing h2 flow control buffer r=hurley 2015-10-07 17:45:46 -04:00
Patrick McManus
bfd706e3e8 bug 1208114 - fix h2 connect tunnels r=hurley 2015-10-07 12:55:07 -04:00
Daniel Stenberg
2a6016b36e Bug 1201037 - only send "HTTP pings" on seemingly idle connections, r=mcmanus 2015-10-08 03:59:00 +02:00
Daniel Stenberg
03eae49d46 Bug 1201037 - coalesce network-events on Windows, r=mcmanus 2015-10-08 03:52:00 +02:00
Daniel Stenberg
52c5bad8d9 Bug 1201037 - (Linux) squash network-change events during 1000ms, r=mcmanus 2015-10-08 03:50:00 +02:00
hchang
a63dff70df Bug 1212223 - Update |bufLen| as well when we probed the multipart preamble. r=valentin. 2015-10-07 17:06:00 +02:00
Henry
4f83bb6af3 Bug 1210573 - Add attribute 'packageIdentifier' to nsIPackagedAppUtils. r=valentin. 2015-10-07 20:02:00 +02:00
Valentin Gosu
a83aaacc09 Bug 1199430 - Reject hostnames containing @. r=mcmanus
--HG--
extra : rebase_source : 12ab477ffb559055386f0705e0de37cb4a353410
2015-09-03 21:15:30 +02:00
Maks Naumov
d0d6064a8e Bug 1212056 - Add virtual dtor to WindowsWifiScannerInterface. r=jdm 2015-10-06 22:35:09 +03:00
Ehsan Akhgari
a2befb3bb7 Bug 1210077 - Null check gNeckoChild in HttpChannelChild::ResetInterception(); r=mcmanus 2015-10-07 23:25:25 -04:00
Michal Novotny
05dff5829e Bug 1211001 - constant ASSERTION: nsITimer->SetDelay() called when the one-shot timer is not set up, r=mcmanus 2015-10-08 00:32:18 +02:00
Ben Kelly
53f9c75469 Bug 1210413 P1 Propagate new channel load flags from child to parent on redirect. r=jduell a=dveditz 2015-10-07 14:33:31 -07:00
Patrick McManus
0793f32151 bug 1211916 - rename brotli http coding to br r=bagder 2015-10-06 11:03:50 -04:00
Patrick McManus
295fd4fa05 bug 1211580 - cancel brotli failures from channel instead of converter r=bagder 2015-10-05 14:11:26 -04:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Ehsan Akhgari
158253749d Bug 1210302 - Part 3: Add a NS_ParseRequestContentType API; r=mcmanus,sicking 2015-10-06 20:26:46 -04:00
Ehsan Akhgari
c3300a106e Bug 1210302 - Part 2: Rename NS_ParseContentType to NS_ParseResponseContentType; r=mcmanus,sicking 2015-10-06 20:24:51 -04:00
Ehsan Akhgari
b62b1c1bb8 Bug 1210302 - Part 1: Rename nsINetUtil.parseContentType() to parseResponseContentType(); r=mcmanus 2015-10-06 20:24:49 -04:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Nicholas Hurley
90183c451d Bug 1197847 - Disallow folded headers in h2. r=mcmanus
This also fixes a lot of situations in which we could get a compression
state out of sync with the server, which would be Very Bad.

--HG--
extra : rebase_source : 53b87c3cacd34c496f4c63cddda606d005a383e5
2015-09-22 19:58:14 -07:00
Nicholas Hurley
4c3788b7e0 Bug 1197847 - make debugging h2 and spdy test servers easier. r=mcmanus
--HG--
extra : rebase_source : d7559f26af0fb04ae2249db4acc181ff9be6eb6b
2015-10-05 13:13:05 -07:00
Ben Kelly
0482554d13 Bug 1210941 P13 Remove ForceNoIntercept from jar channel. r=jduell 2015-10-06 06:37:07 -07:00
Ben Kelly
031144370f Bug 1210941 P12 Remove http channel's ForceNoIntercept. r=jduell IGNORE IDL 2015-10-06 06:37:07 -07:00
Ben Kelly
d908cf0384 Bug 1210941 P9 Use LOAD_BYPASS_SERVICE_WORKER in nsCORSListenerProxy. r=ehsan 2015-10-06 06:37:07 -07:00
Ben Kelly
5f0bbc9218 Bug 1210941 P2 Use LOAD_BYPASS_SERVICE_WORKER in HttpBaseChannel instead of mForceNoIntercept. r=jduell 2015-10-06 06:37:06 -07:00
Ben Kelly
d080cc4a26 Bug 1210941 P1 Create the LOAD_BYPASS_SERVICE_WORKER flag. r=jduell 2015-10-06 06:37:06 -07:00
Henry Chang
10017eda0f Bug 1186290 - Notify TabParent to switch process when loading a signed package. r=honzab, r=kanru. 2015-10-02 05:25:22 -07:00
Christoph Kerschbaumer
10581fce1b Bug 1206199 - Extend channelwrapper to mediate OnStartRequest, OnStopRequest, OnDataAvailable (r=sicking) 2015-10-05 19:01:35 -07:00
Nicholas Nethercote
5ac1e32951 Bug 1211306 (follow-up) - Fix non-Windows compile bustage on a CLOSED TREE. r=bustage. 2015-10-05 15:44:19 -07:00
Nicholas Nethercote
465017691b Bug 1211306 - Replace a use of deprecated GetVersionEx() with its MFBT equivalent. r=jduell.
--HG--
extra : rebase_source : ac72adbb04601860124b3a016edb7ba6608eedd5
2015-10-04 19:11:29 -07:00
Boris Zbarsky
3f6a60d5c6 Bug 1209658 part 2. Add text/json and text/vtt as text MIME types. r=bkelly
--HG--
rename : parser/htmlparser/tests/mochitest/test_bug667533.html => parser/htmlparser/tests/mochitest/test_bug1209658.html
2015-10-05 12:23:26 -04:00
Andrea Marchesini
48bc6c454b Bug 1147749 - View source should go through service worker interception, r=bz, r=jduell 2015-10-05 14:46:24 +01:00
Ethan Tseng
bb095c04f4 Bug 1165267 - Part 1: Replace appId and inBrowser by originAttributes v2. r=honzab 2015-09-03 18:22:51 +08:00
Ethan Tseng
583b7001e7 Bug 1165267 - Part 0: Add util functions NS_GetOriginAttributes. r=honzab 2015-09-03 10:46:03 +08:00
Dragana Damjanovic
e1927c0575 Bug 1152046 - move ClosingService::Start/Shutdown to nsIOService. r=mayhemer
--HG--
extra : rebase_source : 473295104e37947bcb6bd531b5c4eb00f7956b64
2015-10-04 13:43:00 +02:00
Nicholas Nethercote
3c75804211 Bug 1209351 (part 4) - Optimize nsTHashTable::RemoveEntry() usage in netwerk/. r=michal.novotny.
--HG--
extra : rebase_source : f8016c5411f428b60c7bee892eceee33b8951149
2015-09-24 19:10:37 -07:00
Bobby Holley
75a560dba5 Bug 1208756 - Introduce URI_FETCHABLE_BY_ANYONE and use it for moz-extension. r=bz
This matches the behavior described in
https://developer.chrome.com/extensions/manifest/web_accessible_resources
2015-10-02 15:02:07 -07:00
R Kent James
0ed2ef72ed backout f600f0cd7bb3 (Bug 1170646) because of Thunderbird regressions with OSX, r=michal 2015-10-02 14:02:03 -07:00
Christoph Kerschbaumer
ad00d3a88e Bug 1199295 - Pass right loadingPrincipal to uriloader/prefetch - test updates (r=mayhemer) 2015-10-02 09:16:45 -07:00
Carsten "Tomcat" Book
e91d5a31b6 Merge m-c to mozilla-inbound 2015-10-02 13:37:27 +02:00
Carsten "Tomcat" Book
ca77b70a8d merge mozilla-inbound to mozilla-central a=merge 2015-10-02 11:52:49 +02:00
Simon Montagu
e5b15415e7 Bug 321491: Refactor error handling in nsIDNService, r=mcmanus 2015-10-02 01:27:34 -07:00
Ehsan Akhgari
7f68257bc6 Bug 1204596 - Part 1: Avoid overriding the channel final URI when it gets intercepted; r=nsm,bkelly 2015-10-01 18:47:04 -04:00
Yoshi Huang
836f7732eb Bug 1210459: Add originAttributes for tests that implement nsILoadContext. r=bholley 2015-09-30 18:14:12 -07:00
Cervantes Yu
ad24e39fa4 Bug 1204837, Part 1: Make ClosingService thread Nuwa-friedly. r=khuey 2015-09-16 18:55:44 +08:00
Seth Fowler
ee578a0619 Bug 1118926 (Part 1) - Remove remnants of -moz-resolution in C++ code. r=tn 2015-09-30 17:00:52 -07:00
Ben Kelly
ce0c9e1623 Bug 1208755 HttpBaseChannel::ShouldIntercept() should not assume every channel has a LoadInfo. r=ckerschb 2015-09-30 13:48:37 -07:00
Tooru Fujisawa
c6f36af25e Bug 1207499 - Part 6: Remove use of expression closure from netwerk/. r=jduell
--HG--
extra : commitid : 5DyZh0tAoEX
extra : rebase_source : 2e98b2e87ee7940dd4c0b6c0703454d8a1fbd072
2015-09-23 18:42:18 +09:00
Mike Perry
742a935cd3 Bug 962358 - Provide an observer event to close persistent connections. r=arthuredelstein
We need to prevent linkability across "New Identity", which includes closing
keep-alive connections.

Conflicts:
	netwerk/protocol/http/nsHttpHandler.cpp
2015-09-15 20:35:00 +02:00
Jason Orendorff
deb2270515 Bug 1054756, part 5 - Remove Class::convert.
--HG--
extra : commitid : 6KCxWrCseSZ
extra : rebase_source : 63f3cd6ec1ade43c732ffd9b661fe6f2dca9eb4b
2015-03-20 16:28:59 -05:00
Stephanie Ouillon
5e14a3b3a8 Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages r=bholley,fabrice,valentin 2015-08-26 13:12:13 +02:00
Mike Conley
b33b0eb0c4 Bug 1204301 - HttpChannelParent needs to be able to GetInterface to an nsIPrompt. r=billm.
NSS TLS authentication prompts require us to ask the user for their
master password in the event that the user has one set up. In that
case, the nsIInterfaceRequestor passed to PK11_DoPassword needs to
be able to GetInterface to an nsIPrompt in order to prompt the user
for the password.

This nsIInterfaceRequestor, when running with e10s enabled, happens
to be HttpChannelParent.

--HG--
extra : commitid : 2xscAswpfjc
extra : rebase_source : 155e40104d9e4191d0bc9ce36e84a97e469f3b72
extra : amend_source : 5ccfce3925eee68eb3ed011bf05915ecb76ffdf1
2015-09-22 17:39:15 -04:00
Mike Hommey
8171e1469d Bug 1209398 - Make AC_SUBST_SET emit a list of unique items instead of an actual set. r=gps
While the name AC_SUBST_SET suggests the underlying type would be a set, it does
not actually matter that much in moz.build, and is not used that much anyways.
2015-09-30 11:51:47 +09:00
Carsten "Tomcat" Book
804c890bc0 Backed out 1 changesets (bug 1160200) for causing R2 test failures
Backed out changeset b4f64c940524 (bug 1160200)

--HG--
extra : rebase_source : d037665348c358848b40f6b09194f58b66ce8be9
2015-09-29 11:48:53 +02:00
David Newton
5c07d1ccdb Bug 1160200 - APNG can't be used with type switching. r=mcaceres, sr=jrmuizel
--HG--
extra : rebase_source : ea7ff84295608a51d663fee48707bfec5a8c13e5
2015-09-25 11:36:00 +02:00
Randell Jesup
08e9208d4a Bug 1178091: Implement RTCDataChannel BufferedAmountLowThreshold and bufferedamountlow event r=smaug,drno 2015-09-28 19:02:23 -04:00
Richard Barnes
77dbfa7a24 Bug 1208847 - Add telemetry to measure how often secure cookies are set from non-secure origins r=mcmanus 2015-09-28 15:15:16 -04:00
Carsten "Tomcat" Book
363e40e298 merge mozilla-inbound to mozilla-central a=merge 2015-09-28 14:13:24 +02:00
Yoshi Huang
d38b78ae54 Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley 2015-09-23 16:10:21 +08:00
Simon Montagu
1fa581c489 Bug 319030: remove fossil support for RACE encoding and multilingual test bed from IDN code, r=jfkthame 2015-09-26 23:28:33 -07:00
Ehsan Akhgari
3414ffd758 Bug 1207556 - Part 1: Stop reusing the loadinfo in StartCORSPreflight; r=sicking 2015-09-26 12:34:16 -04:00
Francois Marier
04e5ed4966 Bug 1208285 - Improve TP debug logging. r=gcp 2015-09-25 20:39:49 -07:00
Wes Kocher
dab2db0590 Backed out 2 changesets (bug 1207556) for leaks in various mochitests
Backed out changeset bd1eed74e2ec (bug 1207556)
Backed out changeset 3260a147595a (bug 1207556)
2015-09-25 14:46:03 -07:00
Michael Layzell
59b6510302 Bug 1207233 - Don't provide a default content-type header if user calls XHR.setRequestHeader('Content-Type', ''), r=jduell 2015-09-24 16:54:11 -04:00
Ehsan Akhgari
63ed1d6a3e Bug 1207556 - Part 1: Stop reusing the loadinfo in StartCORSPreflight; r=sicking 2015-09-25 16:09:28 -04:00
Jonathan Hao
077ea1aeb2 Bug 1178518 - Verify signed packages. r=valentin 2015-09-24 10:07:01 +08:00
Jonathan Hao
ae5a452f5b Bug 1178518 - Packaged App Utils. r=valentin 2015-09-18 11:50:37 +08:00
Ehsan Akhgari
0bc360edc4 Bug 1204581 - Add a deprecation warning for the usage of AppCache when service worker fetch interception is enabled; r=mcmanus,baku 2015-09-24 10:09:10 -04:00
Carsten "Tomcat" Book
2376775adf merge mozilla-inbound to mozilla-central a=merge 2015-09-24 12:03:40 +02:00
Wes Kocher
e4fc739f11 Merge m-c to fx-team, a=merge CLOSED TREE 2015-09-23 13:26:00 -07:00
Wes Kocher
46c7f8fbad Merge fx-team to central, a=merge CLOSED TREE 2015-09-23 13:22:10 -07:00
Carsten "Tomcat" Book
8c6fb25f01 Merge mozilla-central to fx-team
--HG--
rename : ipc/chromium/src/third_party/libevent-avoid-empty-sighandler.patch => ipc/chromium/src/third_party/libevent/patches/avoid-empty-sighandler.patch
rename : ipc/chromium/src/third_party/libevent-dont-use-issetugid-on-android.patch => ipc/chromium/src/third_party/libevent/patches/dont-use-issetugid-on-android.patch
rename : ipc/chromium/src/third_party/libevent/mac-arc4random-buf.patch => ipc/chromium/src/third_party/libevent/patches/mac-arc4random-buf.patch
rename : ipc/chromium/src/third_party/libevent/openbsd-no-arc4random_addrandom.patch => ipc/chromium/src/third_party/libevent/patches/openbsd-no-arc4random_addrandom.patch
rename : ipc/chromium/src/third_party/libevent-use-non-deprecated-syscalls.patch => ipc/chromium/src/third_party/libevent/patches/use-non-deprecated-syscalls.patch
rename : testing/web-platform/mozilla/tests/service-workers/service-worker/getregistrations.sub.html => testing/web-platform/mozilla/tests/service-workers/service-worker/getregistrations.https.html
extra : rebase_source : 67b20330e6107d82c58c1fb0d90926d799380b54
2015-09-23 12:40:30 +02:00
Florian Quèze
239d577df1 Bug 862148 - remove the DATA_* and TYPE_* constants from nsISearchEngine, r=adw. 2015-09-23 12:05:37 +02:00
Florian Quèze
7f751627bc Bug 862148 - stop supporting installation of Sherlock plugins through Services.search.addEngine, r=adw. 2015-09-23 12:05:36 +02:00
Wes Kocher
15e1bb7d7a Merge m-c to inbound, a=merge CLOSED TREE 2015-09-23 13:23:42 -07:00
Wes Kocher
b19d88b060 Backed out 7 changesets (bug 1206168, bug 1177318, bug 1054756) for hazard build failures CLOSED TREE
Backed out changeset e892727a373a (bug 1206168)
Backed out changeset 6c93d1044b7e (bug 1054756)
Backed out changeset 105433ce195b (bug 1054756)
Backed out changeset 13128a88f2b9 (bug 1054756)
Backed out changeset c250abf4fd17 (bug 1054756)
Backed out changeset fc9fef646a97 (bug 1054756)
Backed out changeset c8897f109a08 (bug 1177318)
2015-09-23 12:31:19 -07:00
Dave Townsend
a22c2d1f9e Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.

--HG--
extra : commitid : KsbH21csjH4
extra : rebase_source : bc7c08de1ec6e802261b8cd294d88ee2c4e75c2d
2015-09-14 11:04:19 -07:00
Patrick McManus
94bbb268e4 bug 366559 - backout due to android build bustage patch 7 on CLOSED TREE r=backout
--HG--
extra : amend_source : c5d7b9ed27860c9aff9598814762fea9b1c00089
2015-09-22 12:47:25 -04:00
Patrick McManus
24ea44733e bug 366559 - patch 7, content-encoding brotli for https r=bagder 2015-09-18 18:04:28 -04:00
Patrick McManus
5fd5ee712e bug 366559 - patch 6, support different content encodings for http vs https r=bagder 2015-09-19 18:51:32 -04:00
Patrick McManus
d57114716b bug 366559 - patch 5, fix nsHTTPCompressConv manual addref r=bagder 2015-09-18 13:58:14 -04:00
Patrick McManus
41fd8ca785 bug 366559 - patch 4, fix nsHTTPCompressConv namespace r=bagder 2015-09-18 21:24:28 -04:00
Patrick McManus
a2e1d4e4d9 bug 366559 - patch 3, fix nsHTTPCompressConv bracing style r=bagder 2015-09-18 13:54:01 -04:00
Patrick McManus
429958d286 bug 366559 - patch 2, fix nsHTTPCompressConv indentation r=bagder 2015-09-18 13:48:50 -04:00
Nathan Froyd
3eae8069d0 Bug 1202497 - part 7 - make nsEventQueue use external locking; r=gerald
We want to ensure that nsThread's use of nsEventQueue uses locking done
in nsThread instead of nsEventQueue, for efficiency's sake: we only need
to lock once in nsThread, rather than the current situation of locking
in nsThread and additionally in nsEventQueue.  With the current
structure of nsEventQueue, that would mean that nsThread should be using
a Monitor internally, rather than a Mutex.

Which would be well and good, except that DOM workers use nsThread's
mutex to protect their own, internal CondVar.  Switching nsThread to use
a Monitor would mean that either:

- DOM workers drop their internal CondVar in favor of nsThread's
  Monitor-owned CondVar.  This change seems unlikely to work out well,
  because now the Monitor-owned CondVar is performing double duty:
  tracking availability of events in nsThread's event queue and
  additionally whatever DOM workers were using a CondVar for.  Having a
  single CondVar track two things in such a fashion is for Experts Only.

- DOM workers grow their own Mutex to protect their own CondVar.  Adding
  a mutex like this would change locking in subtle ways and seems
  unlikely to lead to success.

Using a Monitor in nsThread is therefore untenable, and we would like to
retain the current Mutex that lives in nsThread.  Therefore, we need to
have nsEventQueue manage its own condition variable and push the
required (Mutex) locking to the client of nsEventQueue.  This scheme
also seems more fitting: external clients merely need synchronized
access to the event queue; the details of managing notifications about
events in the event queue should be left up to the event queue itself.

Doing so also forces us to merge nsEventQueueBase and nsEventQueue:
there's no way to have nsEventQueueBase require an externally-defined
Mutex and then have nsEventQueue subclass nsEventQueueBase and provide
its own Mutex to the superclass.  C++ initialization rules (and the way
things like CondVar are constructed) simply forbid it.  But that's OK,
because we want a world where nsEventQueue is externally locked anyway,
so there's no reason to have separate classes here.

One casualty of this work is removing ChaosMode support from
nsEventQueue.  nsEventQueue had support to delay placing events into the
queue, theoretically giving other threads the chance to put events there
first.  Unfortunately, since the thread would have been holding a lock
(as is evident from the MutexAutoLock& parameter required), sleeping in
PutEvent accomplishes nothing but delaying the thread from getting
useful work done.  We should support this, but it's complicated to
figure out how to reasonably support this right now.

A wrinkle in this overall pleasant refactoring is that nsThreadPool's
threads wait for limited amounts of time for new events to be placed in
the event queue, so that they can shut themselves down if no new events
are appearing.  Setting limits on the number of threads also needs to be
able to wake up all threads, so threads can shut themselves down if
necessary.

Unfortunately, with the transition to nsEventQueue managing its own
condition variable, there's no way for nsThreadPool to perform these
functions, since there's no Monitor to wait on.  Therefore, we add a
private API for accessing the condition variable and performing the
tasks nsThreadPool needs.

Prior to all the previous patches, placing items in an nsThread's event
queue required three lock/unlock pairs: one for nsThread's Mutex, one to
enter nsEventQueue's ReentrantMonitor, and one to exit nsEventQueue's
ReentrantMonitor.  The upshot of all this work is that we now only
require one lock/unlock pair in nsThread itself, as things should be.
2015-09-20 05:13:09 -04:00
Nathan Froyd
c6238d0d96 Bug 1202497 - part 6 - make the locking requirements of nsEventQueue explicit; r=gerald
Like the previous patch, this patch is a no-op change in terms of
functionality.  It does, however, pave part of the way for forcing
clients of nsEventQueue to provide their own locking.
2015-09-21 04:34:51 -04:00
hchang
5513455b8d Bug 1205228 - Change PackagedAppVerifier to notify the verification result asynchronously. r=valentin. 2015-09-21 03:11:00 +02:00
Ehsan Akhgari
46ece311dc Bug 1206894 follow-up: Add a null check 2015-09-21 22:13:39 -04:00
Carsten "Tomcat" Book
58878018ac Backed out 1 changesets (bug 1178533) for s4 testfailures
Backed out changeset 8bbdb80f67e0 (bug 1178533)

--HG--
extra : rebase_source : 040491f382ad7b03ba803686601f1272416ab47d
2015-09-23 10:17:54 +02:00
Chris Peterson
71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Carsten "Tomcat" Book
9c84276cb7 Backed out 1 changesets (bug 1152046) for b2g bustage on a CLOSED TREE
Backed out changeset acce23926d07 (bug 1152046)

--HG--
extra : rebase_source : 31c48b2ce5985fecc9c3bed77779d81ac14d8f5b
2015-09-23 08:55:51 +02:00
Stephanie Ouillon
ad9e2b8a95 Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages. r=bholley, r=fabrice, r=valentin 2015-09-22 11:55:00 +02:00
Dragana Damjanovic
bd5c25eb2b Bug 1152046 - Disable ClosingService for Firefox OS. r=mcmanus
--HG--
extra : rebase_source : 350323fe22cedd593837fd88f7c0798a142b569e
2015-09-22 05:54:00 +02:00
Patrick McManus
c32c5be689 bug 366559 - patch 7, content-encoding brotli for https r=bagder
--HG--
extra : rebase_source : 7723eb77ac22aa5000d8e00bf68c83427e3411bb
2015-09-22 12:55:23 -04:00
Nikhil Marathe
48d53f38df Bug 1184798 - Ensure workers loads are treated as non-subresource fetches. r=jdm
--HG--
extra : commitid : KSrA2sDx3MI
extra : rebase_source : c28988811316aa40e38752669a928d27750001b6
2015-09-17 11:56:41 -07:00
Ehsan Akhgari
5d40efa578 Bug 1206894 - Enable asynchronous dispatching of fetch events; r=jdm
This refactoring patch separates the preparation of the fetch event
object from its dispatching, so that consumers would be able to
dispatch the event asynchronously.
2015-09-21 20:59:27 -04:00
Patrick McManus
7479d7b332 bug 1206771 - fix reentrantFlag compiler warning on >= beta r=jduell 2015-09-21 13:22:23 -04:00
Jason Orendorff
54e92d9beb Bug 1054756, part 5 - Remove Class::convert.
--HG--
extra : commitid : KrjkP1flM3c
extra : rebase_source : 8c367e3158528e92ac8ebc51521d32472f1e5bb1
2015-03-20 16:28:59 -05:00
Nicholas Hurley
d37329060e Bug 1191423 - Disallow illegal characters in cookies set via HTTP. r=jduell
--HG--
extra : rebase_source : 5ba6edf42c123c50fe351a735a44fb2b5b93bb9c
2015-09-04 09:58:31 -07:00
Josh Matthews
fbb088e702 Bug 885982 - Part 3: Add e10s support to TCPSocket and TCPServerSocket. r=asuth,mayhemer,bz 2015-03-25 10:36:56 -04:00
Christoph Kerschbaumer
35ed4ce561 Bug 1204703 - Add AsyncOpen2 to channels within JS tests (r=sicking)
--HG--
extra : source : 309b4d1ab81c67783d7db0968bcff7c88108ba4f
2015-09-18 09:27:52 -07:00
Wes Kocher
8414be2356 Backed out 3 changesets (bug 1143922) for landing with the wrong bug number
Backed out changeset 309b4d1ab81c (bug 1143922)
Backed out changeset deda472458fd (bug 1143922)
Backed out changeset 977d5b7ecba3 (bug 1143922)
2015-09-18 14:13:33 -07:00
Patrick McManus
53b6eb3848 bug 1187239 - ontransportstatus SENDING_TO should not use request stream re-entrantly r=hurley r=bz 2015-09-15 18:12:37 -04:00
Christoph Kerschbaumer
a54527efd5 Bug 1143922 - Add AsyncOpen2 to channels within JS tests (r=sicking) 2015-09-18 09:27:52 -07:00
Ben Kelly
3528a43c26 Bug 1206084 Always Cancel() channel in nsCORSListenerProxy for failed redirects. r=ehsan 2015-09-18 07:15:39 -07:00
Nicholas Hurley
3054507124 Bug 1198058 - Fix crashes inspecting loadGroups in browser toolbox. r=mcmanus 2015-09-16 09:31:19 -07:00
Andrea Marchesini
9462aa8c25 Bug 1163545 - Bypass AppCache completely when Service Workers supported & registered, r=jdm 2015-09-18 10:18:38 +08:00
Patrick McManus
0027642c1e Bug 1205810 - telemetry for local h2 goaway code r=hurley 2015-09-17 15:26:59 -04:00
Daniel Stenberg
e8f7f42088 Bug 1205266 - log network-change events on Mac. r=mcmanus 2015-09-16 06:15:00 +02:00
Dragana Damjanovic
b77e0cb62b Bug 1204529 - mMaxTimePerPollIter should be atomic. r=mcmanus 2015-09-16 10:23:00 +02:00
Lee Salzman
da5fa47c15 Bug 1205016: double ClosingService thread stack size to avoid stack overflow r=glandium 2015-09-16 20:31:43 -04:00
Simon Montagu
1d6bf38e9b Bug 843689: make network.IDN.use_whitelist pref default to false preparatory to removing it completely, r=gerv 2015-09-16 13:53:18 -07:00
Nicholas Nethercote
647b520991 Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
--HG--
rename : xpcom/glue/pldhash.cpp => xpcom/glue/PLDHashTable.cpp
rename : xpcom/glue/pldhash.h => xpcom/glue/PLDHashTable.h
extra : rebase_source : 06b9d30db96ed78500fd44d9c0b51609103508a3
2015-09-15 20:49:53 -07:00
Phil Ringnalda
92751c5b3e Back out 3 changesets (bug 1204596) for b2g test_fetch_cors.html failures
Backed out changeset 2662a1ad4cad (bug 1204596)
Backed out changeset cfc4c4ecbbf5 (bug 1204596)
Backed out changeset d10c6f32ce46 (bug 1204596)
2015-09-16 20:51:17 -07:00
Ehsan Akhgari
b2a35e80cb Bug 1204596 - Part 1: Avoid overriding the channel final URI when it gets intercepted; r=nsm,bkelly 2015-09-16 20:38:19 -04:00
Patrick McManus
b095cc3e9b bug 1204614 - test for h2 per stream flow control r=hurley 2015-09-14 14:08:10 -04:00
Patrick McManus
60d6db97ae bug 1204614 - use h2 per stream flow control to deal with suspended channels r=hurley 2015-09-11 15:53:27 -04:00
Patrick McManus
9a07c5f169 Bug 1204731 - telemetry for peer h2 goaway r=hurley 2015-09-14 21:55:06 -04:00
Francois Marier
b0afa1e0fc Bug 1205138 - Cleanup tracking protection warnings and logs. r=gcp 2015-09-16 16:42:08 -07:00
Nathan Froyd
8a9abcdd4d Bug 1156974 - mark CacheFileHandle::mIsDoomed as a release/acquire Atomic variable; r=michal 2015-08-04 00:32:36 -04:00
Nathan Froyd
8597ac7a6f Bug 1203658 - mark Linux's nsNotifyAddrListener::mChildThreadShutdown member as Atomic; r=bagder
Relaxed memory consistency here is OK; the only concern here is that the
child thread eventually goes away, not that it does so immediately after
we've signaled that it should go away.
2015-09-10 23:53:42 -04:00
Christoph Kerschbaumer
ba5db0a4fd Bug 1205158 - Use channel->Open2() netwerk/test/ (r=sicking) 2015-09-15 20:12:52 -07:00
Nigel Babu
1d36e1a565 Backed out changeset d5d0b5994149 (bug 1152046) for b2g debug hustdown hangs
CLOSED TREE
2015-09-16 11:44:12 +05:30
Nicholas Nethercote
0743335ea3 Bug 1204919 - Build osx_corewlan.mm with -Wno-error=objc-method-access to avoid bustage on some machines in warnings-on-errors builds. r=glandium.
--HG--
extra : rebase_source : c2403e14734d9dbf88ff53e49dafc70705eaef97
2015-09-16 09:41:52 +10:00
Patrick McManus
daaeed9ec1 bug 1152046 - Revert Make separate thread only for PRClose. r=backout
This reverts commit 760a84e7cf.
2015-09-15 21:40:28 -04:00
Nicholas Nethercote
2ee4fd783b Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru.
--HG--
extra : rebase_source : 3cdc975507170d783b02d70f7c7d95c6bf2e1bcd
2015-09-14 14:23:47 -07:00
Nicholas Nethercote
59683492e5 Bug 1121760 (part 3) - Remove PL_DHashTableRemove(). r=poiru.
--HG--
extra : rebase_source : c34d693de4aca45f2ea05c2767c8b1007c89df29
2015-09-14 14:23:24 -07:00
Nicholas Nethercote
479244f7c9 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
--HG--
extra : rebase_source : 41eb939bfb5c925cba58b1af57abce9a4e5fdb30
2015-09-14 14:23:12 -07:00
Nicholas Nethercote
fcfdd8f54b Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru.
--HG--
extra : rebase_source : 770e1f49a451ecbadd778e071b204611e27cf701
2015-05-21 00:34:25 -07:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Ben Kelly
16d99d45bd Bug 1203680 P8 nsCORSListenerProxy::OnStartRequest must always call outer OnStartRequest. r=ehsan 2015-09-15 10:15:45 -07:00
Ben Kelly
c1505a4206 Bug 1203680 P7 Fix e10s handling on interceptions resulting in redirect status codes. r=jdm 2015-09-15 10:15:45 -07:00
Ben Kelly
6195e9f02c Bug 1203680 P3 Add a method to ensure an http upload stream is directly cloneable. r=mcmanus 2015-09-15 10:15:45 -07:00
Dragana Damjanovic
09970df1f7 Bug 1204043 - remove mServeMultipleEventsPerPollIter pref. r=mcmanus 2015-09-15 05:10:00 +02:00
Christoph Kerschbaumer
36d3d42c2b Bug 1204648 - Support AsyncOpen2,Open2,nsIUploadChannel and nsIUploadChannel2 on nsSecCheckWrapChannelBase. r=sicking 2015-09-14 14:21:03 -07:00
Nicholas Nethercote
9d68ee2953 Bug 1204277 - Disallow warnings in six more directories. r=glandium.
These are all conditional uses of ALLOW_COMPILER_WARNINGS=True that are no
longer necessary.

--HG--
extra : rebase_source : e654fa940aed18b1d5ef7b2bebb45bbef59cfd84
2015-09-14 21:16:37 -07:00
Christoph Kerschbaumer
1e5ee64415 Bug 1195162 - Use channel->ascynOpen2 dom/xbl/nsXBLService.cpp (r=sicking) 2015-09-14 18:59:35 -07:00
Wes Kocher
a336f83a0a Backed out 9 changesets (bug 1203680) for mochitest bustage CLOSED TREE
Backed out changeset e4733b9eb53c (bug 1203680)
Backed out changeset fb33eb2a55b0
Backed out changeset eb42e21bbb96 (bug 1203680)
Backed out changeset 86642d84e604 (bug 1203680)
Backed out changeset 1026da4b02fb (bug 1203680)
Backed out changeset 311f9810e0b3 (bug 1203680)
Backed out changeset 6fedc85dc0d9 (bug 1203680)
Backed out changeset b25230c0a193 (bug 1093357)
Backed out changeset 2369d63ef14a (bug 1203680)
2015-09-14 14:27:57 -07:00
Ben Kelly
8dc9231872 Bug 1203680 P7 Fix e10s handling on interceptions resulting in redirect status codes. r=jdm 2015-09-14 12:04:56 -07:00
Ben Kelly
35d27caaa0 Bug 1203680 P3 Add a method to ensure an http upload stream is directly cloneable. r=mcmanus 2015-09-14 12:04:56 -07:00
Nathan Froyd
fd7eb3b17b Bug 1204042 - make nsSocketTransportService::mTelemetryEnabledPref an atomic variable; r=mcmanus
This variable is written on the main thread (where we can access prefs),
but read on the socket thread on every poll iteration to decide whether
we should record telemetry information.  Making it atomic communicates
our intent to read/write the value on multiple threads without any
locking.  Using relaxed memory consistency is just as efficient as what
we have today, and it does not seem terribly crucial whether the *very
next* poll iteration records telemetry once the pref is updated, or
whether we can eventually get the correct value on the socket thread.
2015-09-11 21:03:53 -04:00
Dragana Damjanovic
760a84e7cf Bug 1152046 - Make separate thread only for PRClose. r=mcmanus r=mayhemer
--HG--
extra : rebase_source : a4f4845023d6cebdd56d75b1ff7afd29447d2167
2015-09-10 19:07:00 +02:00
Ehsan Akhgari
48f31cf19f Bug 1199049 - Part 15: Add a missing include 2015-09-12 20:13:23 -04:00
Ehsan Akhgari
13d849f40c Bug 1199049 - Part 14: Cancel the original channel in case a CORS preflight fails using AsyncAbort(); r=jduell 2015-09-12 19:21:17 -04:00
Ehsan Akhgari
c30d38ac4d Bug 1199049 - Part 13: Cancel the preflight channel if the original channel gets canceled when a CORS preflight is in progress; r=jduell,sicking 2015-09-12 19:21:15 -04:00
Ehsan Akhgari
c22d4dd15d Bug 1199049 - Part 12: Move the calls on the listener object to OnPreflightFailed(); r=jduell 2015-09-12 19:21:13 -04:00
Ehsan Akhgari
b511946ddc Bug 1199049 - Part 11: Make it impossible to start CORS preflights from outside of Necko; r=jduell,ckerschb,sicking 2015-09-12 19:21:11 -04:00