Commit Graph

12385 Commits

Author SHA1 Message Date
Daniel Stenberg
9dad85ec49 Bug 1207798 - add pref to toggle proxy behavior when inaccessible. r=mcmanus 2015-11-10 15:27:45 +01:00
Magnus Melin
12d47d0d77 Bug 1221758 - don't run cache2 tests when cache2 isn't used. r=michal.novotny
Was causing test failures for Thunderbird where cache2 isn't in use yet.
2015-11-12 22:12:50 +02:00
Christoph Kerschbaumer
d9f1276ace Bug 663570 - MetaCSP Part 3: Upgrade insecure requests changes (r=bz) 2015-11-14 19:28:38 -08:00
Phil Ringnalda
596e8ff827 Back out 9 changesets (bug 1214305) for e10s devtools browser_bug1045902_console_csp_ignore_reflected_xss_message.js failures
Backed out changeset 82929be36e95 (bug 1214305)
Backed out changeset e926606aefbf (bug 1214305)
Backed out changeset 226c83ca9a2a (bug 1214305)
Backed out changeset 88ab26108f2d (bug 1214305)
Backed out changeset 2e3e4f256d46 (bug 1214305)
Backed out changeset 347cd0f8f1e3 (bug 1214305)
Backed out changeset be072bba15fc (bug 1214305)
Backed out changeset 3b85acbe7be7 (bug 1214305)
Backed out changeset 49b930683c02 (bug 1214305)
2015-11-14 10:09:58 -08:00
Ehsan Akhgari
f51834eac5 Bug 1214305 - Part 7: Decide in the child process whether an intercepted channel should go through a secure upgrade; r=mcmanus
This is OK from a security perspective, since this decision only affects
whether the channel will be intercepted with the secure URI in the child
process.  If the intercepting service worker decides to fall back to an
actual network request, we send the request to the parent process with
the original pre-upgrade URI, and the parent process will still be in
charge of whether a network visible HTTP request should be upgraded.
2015-11-02 11:27:00 -05:00
Ehsan Akhgari
cef4c60f16 Bug 1214305 - Part 6: Use a non-IPC redirect for synthesized upgraded responses to ensure the response URL is correctly propagated; r=mcmanus 2015-11-02 11:27:00 -05:00
Ehsan Akhgari
03d8835f92 Bug 1214305 - Part 3: Add a nsIInterceptedChannel.secureUpgradedChannelURI helper; r=jdm 2015-11-02 11:27:00 -05:00
Ehsan Akhgari
1295fc0d03 Bug 1214305 - Part 2: Refactor the logic for obtaining the secure upgraded URI into HttpBaseChannel; r=mcmanus 2015-11-02 11:27:00 -05:00
Ehsan Akhgari
39d5e41384 Bug 1214305 - Part 1: Refactor the logic for querying whether a connection should go through a secure upgrade into NS_ShouldSecureUpgrade; r=mcmanus 2015-11-02 11:27:00 -05:00
Michal Novotny
a040388dea Bug 1222782 - TSan: data race netwerk/cache2/CacheIOThread.cpp:148 Target (race on mXPCOMThread), r=jseward 2015-11-13 18:49:29 +01:00
Nicholas Hurley
31010dbad5 Bug 1224328 - Don't infinite loop when parsing headers with newlines. r=mcmanus
--HG--
extra : rebase_source : c044f7bd991b7e48010d6bb6997585b1fc846d1d
2015-11-12 14:44:31 -08:00
Nicholas Nethercote
caf1f67d29 Bug 1186783 (part 1) - Replace nsBaseHashtable::EnumerateRead() calls in netwerk/. r=michal.
--HG--
extra : rebase_source : ca2350bb6cc806972841347430265d6b1b374a53
2015-11-03 16:25:22 -08:00
Nigel Babu
9fdcc7ce00 Backed out changeset 80a79987da8b (bug 1221758) for xpcshell bustage on CLOSED TREE 2015-11-13 14:49:14 +05:30
Magnus Melin
95a949dd6a Bug 1221758 - don't run cache2 tests when cache2 isn't used. r=michal.novotny
Was causing test failures for Thunderbird where cache2 isn't in use yet.
2015-11-13 08:12:30 +02:00
Michal Novotny
4eff3a14a2 Bug 1190951 - TSan: data race netwerk/cache2/CacheIndex.cpp:1397 CacheIndex::IsUpToDate, r=valentin.gosu 2015-11-12 11:07:48 +01:00
Nathan Froyd
a701380ad7 Bug 1222170 - fix initialization order in ScopedWLANObject; r=jimm
Member fields are supposed to be initialized in the order they are
declared, but the constructor of ScopedWLANObject initialized mObject
prior to mLibrary.  This is probably harmless, but it does cause a
warning on clang-cl, so let's fix it.
2015-11-05 14:50:02 -05:00
Nathan Froyd
245e39afde Bug 1222867 - part 2 - be smarter about transferring ownership of WebSocketFrame; r=mcmanus
WebSocketFrames are created only to be transferred in to
WebSocketEventService::Frame{Sent,Received}, where a strong reference is
taken to them by a runnable posted to the main thread.  Let's avoid an
extra AddRef/Release cycle by passing through already_AddRefed
structures.
2015-11-08 20:52:27 -05:00
Nathan Froyd
bb66fde0a0 Bug 1222867 - part 1 - return already_AddRefed from WebSocketEventService::CreateFrameIfNeeded; r=mcmanus
The result of CreateFrameIfNeeded is always assigned to a RefPtr, so we
can save a little code space by moving the AddRef into the callee,
rather than doing it in the caller.
2015-11-08 20:44:11 -05:00
Jonas Sicking
69d737d7df Bug 1222829: Remove URIChecker. r=mcmanus 2015-11-09 13:48:05 -08:00
Christoph Kerschbaumer
c209162622 Bug 1222297 - Use channel->Open2() in netwerk/base/nsNetUtil.cpp (r=sicking) 2015-11-08 18:54:38 -08:00
Nathan Froyd
0d181baf2d Bug 1219910 - make gSocketThread a relaxed atomic variable; r=mcmanus
Many places that (re-)declared gSocketThread already included
nsSocketTransportService2.h; we can delete the declaration for those
places.  For all the other places, we need to include
nsSocketTransportService2.h.
2015-11-06 12:00:37 -05:00
Henry
ba8fe97d17 Bug 1214079 - Doom the package cache if the signature verification failed. r=valentin 2015-11-05 23:44:00 +01:00
Mike Hommey
4d40edea15 Bug 1221453 - Use AbsolutePaths with LOCAL_INCLUDES instead of manual -I in CXXFLAGS. r=gps 2015-11-06 09:59:21 +09:00
Mike Hommey
762aba02cd Bug 1221453 - Use ObjDirPaths for GENERATED_INCLUDES and merge with LOCAL_INCLUDES. r=gps 2015-11-06 09:59:21 +09:00
Ethan Tseng
8364215e41 Bug 1220570 - Potential cookie lost while downgrading from Aurora 44 to 43. r=jduell
--HG--
extra : rebase_source : f5fdca0cca8b67dd2ffb702993dfa3559cab08b9
2015-11-03 18:40:58 +08:00
Gijs Kruitbosch
3718ce387c Bug 1221444, r=bz
--HG--
extra : commitid : KNAjQV8ZZZG
extra : rebase_source : aae0193c47347b32a85a3c374b8dc6f2f2fb0fb8
2015-11-04 16:54:44 +00:00
Nathan Froyd
f8a4c9d877 Bug 1221151 - use [infallible] in nsILoadInfo.idl instead of manual %{C++ blocks; r=jduell
Using [infallible] generates the exact same code as we already have in
the %{C++ blocks.  Let's get rid of the %{C++ blocks.
2015-11-03 10:51:24 -05:00
Jonathan Watt
d507cbda58 Bug 1221103 - Add a comment to nsIChannel::securityInfo noting that this info may appear on non-nsHttpChannels and how that may happen. r=bz IGNORE IDL 2015-10-06 18:25:10 +01:00
Ben Kelly
8267928bb3 Bug 1220007 P2 Make InterceptedChannel's collect logs locally and only flush to nsIChannel on main thread r=bz 2015-11-03 11:20:56 -08:00
Ben Kelly
c59018c14a Bug 1220007 P1 Allow ConsoleReportCollectors to flush to another collector. r=bz 2015-11-03 11:20:56 -08:00
Andrea Marchesini
0391daa755 Bug 1219939 - make nsTemporaryFileInputStream nsISeekableStream, r=jduell 2015-11-03 15:12:23 +00:00
Julian Seward
c93c98f458 Bug 1218506 - Uninitialised value use in nsHttpTransaction::OnTransportStatus. r=mcmanus. 2015-11-03 15:03:16 +01:00
Carsten "Tomcat" Book
3e511b9fbb Merge mozilla-central to mozilla-inbound 2015-11-03 14:09:31 +01:00
Carsten "Tomcat" Book
507e90cf52 Backed out changeset c253b6bd00b1 (bug 1220007) for causing a bustage on B2g-emulator L builds which is only visible on b2g-inbound on a CLOSED TREE 2015-11-03 14:08:50 +01:00
Carsten "Tomcat" Book
042b4d64cd Backed out changeset d8d75be11275 (bug 1220007) 2015-11-03 14:08:04 +01:00
Chris Peterson
5cb548e84b Bug 1125947 - Fix clang warnings in netwerk/sctp/datachannel. r=jesup
netwerk/sctp/datachannel/DataChannel.cpp:727:11 [-Wunreachable-code] code will never be executed
netwerk/sctp/datachannel/DataChannel.cpp:1835:19 [-Wshadow] declaration of 'i' shadows a previous local
netwerk/sctp/datachannel/DataChannel.h:531:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-01 23:03:32 -08:00
Patrick McManus
073d4a9803 bug 1219466 - convert netwerk to LazyLogModule r=valentin.gosu 2015-11-02 23:35:29 -05:00
Christoph Kerschbaumer
1ee2473768 Bug 1206964 - Use channel->AsyncOpen2() in netwerk/base/nsNetUtil.cpp (r=sicking) 2015-11-02 17:31:08 -08:00
Liang-Heng Chen
95414d19cc Bug 1217807 - Part 1: use ServiceWatcher to extend life cycle of mDNS operators; r=schien
--HG--
extra : rebase_source : 8a3db0a321e666e8dc297958e085954530a33571
2015-11-03 01:03:00 +01:00
Wes Kocher
5c94e0f593 Merge m-c to inbound, a=merge
--HG--
extra : commitid : 2sVZQRwbKyB
2015-11-02 15:57:48 -08:00
Wes Kocher
3696443a14 Merge inbound to m-c a=merge
--HG--
extra : commitid : Iy93sktRpdv
2015-11-02 15:12:16 -08:00
Fabrice Desré
5f7f5f2afc Bug 1220061 - Android UA is not correct when MOZ_UA_OS_AGNOSTIC is set r=gerv 2015-11-02 09:23:28 -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
537f8dad54 Bug 1220007 P2 Make InterceptedChannel's collect logs locally and only flush to nsIChannel on main thread r=bz 2015-11-02 12:04:29 -08:00
Ben Kelly
671d5644f9 Bug 1220007 P1 Allow ConsoleReportCollectors to flush to another collector. r=bz 2015-11-02 12:04:29 -08:00
Jonathan Watt
2368545ffe Bug 1220607 - Expand on the nsILoadGroup interface's comment to indicate how it is used. r=bz IGNORE IDL 2015-09-29 15:49:15 +01:00
Madhurima
a687733788 Bug 1197313 - remove PR_snprintf calls in netwerk/; r=froydnj 2015-10-29 16:07:44 -04:00
Ben Kelly
5b0d032145 Bug 1220678 Don't crash when DivertToParent() is called on an intercepted channel. r=jdm 2015-11-02 08:17:27 -08:00
Ethan Tseng
692c621f8c Bug 1165267 - Fix downgrading issue by restoring appId and inBrowserElement columns v3. r=honzab 2015-11-01 11:13:12 -05:00
Christoph Kerschbaumer
3b01811afd Bug 1194052 - LoadInfo redirectchain tests (r=mayhemer) 2015-10-31 15:22:31 -07:00
Christoph Kerschbaumer
7dd3e47cb3 Bug 1194052 - Append to redirectchain before asyncopen() is called (r=sicking,mayhemer) 2015-10-31 15:22:01 -07:00
Christoph Kerschbaumer
08e98bc312 Bug 1194052 - Update Clone() functionality of LoadInfo (r=sicking) 2015-10-31 15:20:48 -07:00
Christoph Kerschbaumer
e15fd3a5f0 Bug 1194052 - Add support for internal redirectchain to loadInfo (r=sicking) 2015-10-31 15:18:59 -07:00
Phil Ringnalda
d8a1629175 Back out changeset ea8093d8be6a (bug 1197313) for Linux xpcshell bustage in test_offlinecache_custom-directory.js
CLOSED TREE
2015-10-31 12:14:38 -07:00
Madhurima
52b55c546f Bug 1197313 - remove PR_snprintf calls in netwerk/; r=froydnj 2015-10-29 16:07:44 -04:00
Wes Kocher
59aa271131 Merge m-c to inbound, a=merge
--HG--
rename : webapprt/application.ini.in => webapprt/webapprt.ini
extra : commitid : BR0bpNo1yny
2015-10-30 16:57:55 -07:00
Wes Kocher
8f2f7470c0 Merge b2ginbound to central, a=merge
--HG--
extra : commitid : Gss5YcLbHOY
2015-10-30 16:54:07 -07:00
Munro Chiang
42b02d58cd Bug 1205927 - Part 1: [MediaEncoder] Support *.3g2 with EVRC audio format. r=ayang 2015-10-27 15:12:26 +08:00
Carsten "Tomcat" Book
cb10921e0d Backed out changeset 2a233dadfc49 (bug 1219910) for bustage on a CLOSED TREE
--HG--
extra : rebase_source : 9d089223ab201540ca0f1852188114c2d2a743bd
2015-10-30 16:09:19 +01:00
Carsten "Tomcat" Book
4c0ed54e29 Backed out changeset 9093e927a247 (bug 1201997)
--HG--
extra : rebase_source : c47b13e37a7756243a68cf15555bf176c0de8600
2015-10-30 15:52:18 +01:00
Nathan Froyd
a782e5c73e Bug 1219910 - make gSocketThread a relaxed atomic variable; r=mcmanus
All the places that (re-)declared gSocketThread already included
nsSocketTransportService2.h, so we can safely delete them.
2015-10-29 16:47:23 -04:00
sajitk
fe2a36f981 Bug 1201997 - Part 4 - Change size and offset variables to size_t.r=froydn
--HG--
extra : rebase_source : 0fd59eb6513e1af0162a9a02c6041182e556b9e7
2015-10-29 19:58:00 +01:00
Ben Kelly
69c8a55480 Bug 1215140 P10 Avoid AddRef'ing the nsIChannel OMT. r=bz 2015-10-29 19:53:25 -07:00
Ben Kelly
5f3adc2e2b Bug 1215140 P3 Flush pending console reports on http channels. r=bz 2015-10-29 19:53:25 -07:00
Ben Kelly
569cd6e587 Bug 1215140 P2 Make HttpBaseChannel implement nsIConsoleReportCollector. r=bz 2015-10-29 19:53:25 -07:00
Bill McCloskey
397ea79ef1 Bug 867407 - Fix cloning of file URIs with search query strings (r=sworkman) 2015-10-30 13:10:27 -07:00
Bill McCloskey
7c2898d1e6 Bug 1209243 - LoadInfo should use GetScriptableParent rather than GetParent (r=bz) 2015-10-30 13:08:41 -07:00
Jonathan Hao
b4855726e4 Bug 1217694 - Signed package should come from the moz-package-origin specified in its manifest. r=valentin 2015-10-28 19:16:08 +08:00
Honza Bambas
8f88fd6cdc Bug 1032254 - Generic way to pin reasource in the HTTP cache, r=michal
* * *
Bug NNNNNNN - message, r=reviewer

--HG--
rename : netwerk/test/unit/test_cache2-28-concurrent_read_resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29a-concurrent_read_resumable_entry_size_zero.js
rename : netwerk/test/unit/test_cache2-29-concurrent_read_non-resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29b-concurrent_read_non-resumable_entry_size_zero.js
2015-10-22 12:11:00 +02:00
Andrea Marchesini
cee356be8e Bug 1215092 - WebSocketEventService and WebSocket discovering - part 4 - MessageAvailable event, r=michal 2015-10-28 19:11:25 +00:00
Andrea Marchesini
419e060633 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 3 - Events, r=michal 2015-10-28 19:11:05 +00:00
Andrea Marchesini
73c08ab413 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 2 - Unique Serial number for WebSocketChannel in IPC, r=michal 2015-10-28 19:10:42 +00:00
Andrea Marchesini
b121e7da05 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 1 - Renaming WebSocketFrameService, r=michal
--HG--
rename : netwerk/protocol/websocket/PWebSocketFrameListener.ipdl => netwerk/protocol/websocket/PWebSocketEventListener.ipdl
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.cpp => netwerk/protocol/websocket/WebSocketEventListenerChild.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.h => netwerk/protocol/websocket/WebSocketEventListenerChild.h
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.cpp => netwerk/protocol/websocket/WebSocketEventListenerParent.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.h => netwerk/protocol/websocket/WebSocketEventListenerParent.h
rename : netwerk/protocol/websocket/WebSocketFrameService.cpp => netwerk/protocol/websocket/WebSocketEventService.cpp
rename : netwerk/protocol/websocket/WebSocketFrameService.h => netwerk/protocol/websocket/WebSocketEventService.h
rename : netwerk/protocol/websocket/nsIWebSocketFrameService.idl => netwerk/protocol/websocket/nsIWebSocketEventService.idl
2015-10-28 19:10:20 +00:00
Simon Montagu
f1dc624008 Bug 479520: Implement IDNA2008 standard for International Domain Names, patch 3: test for transitional processing and CONTEXTJ, r=jfkthame. 2015-10-28 07:05:32 -07:00
Simon Montagu
32a4df81ae Bug 479520: Implement IDNA2008 standard for International Domain Names, patch 2: changes to existing tests, r=jfkthame. 2015-10-28 07:05:32 -07:00
Simon Montagu
b24d492d72 Bug 479520: Implement IDNA2008 standard for International Domain Names, patch 1: build system changes, r=ted; code changes, r=jfkthame 2015-10-28 07:05:15 -07:00
Carsten "Tomcat" Book
bc50966763 Backed out changeset 7393a036ce36 (bug 1215092) for failing on own tests on a CLOSED TREE
--HG--
rename : netwerk/protocol/websocket/PWebSocketEventListener.ipdl => netwerk/protocol/websocket/PWebSocketFrameListener.ipdl
rename : netwerk/protocol/websocket/WebSocketEventListenerChild.cpp => netwerk/protocol/websocket/WebSocketFrameListenerChild.cpp
rename : netwerk/protocol/websocket/WebSocketEventListenerChild.h => netwerk/protocol/websocket/WebSocketFrameListenerChild.h
rename : netwerk/protocol/websocket/WebSocketEventListenerParent.cpp => netwerk/protocol/websocket/WebSocketFrameListenerParent.cpp
rename : netwerk/protocol/websocket/WebSocketEventListenerParent.h => netwerk/protocol/websocket/WebSocketFrameListenerParent.h
rename : netwerk/protocol/websocket/WebSocketEventService.cpp => netwerk/protocol/websocket/WebSocketFrameService.cpp
rename : netwerk/protocol/websocket/WebSocketEventService.h => netwerk/protocol/websocket/WebSocketFrameService.h
rename : netwerk/protocol/websocket/nsIWebSocketEventService.idl => netwerk/protocol/websocket/nsIWebSocketFrameService.idl
2015-10-28 14:28:59 +01:00
Carsten "Tomcat" Book
df5ef54deb Backed out changeset 2284c3e8c336 (bug 1215092) 2015-10-28 14:28:37 +01:00
Carsten "Tomcat" Book
b8bc8b9405 Backed out changeset f527785e39c6 (bug 1215092) 2015-10-28 14:28:35 +01:00
Carsten "Tomcat" Book
b9f731bd8e Backed out changeset 2730cc97c6ec (bug 1215092) 2015-10-28 14:28:34 +01:00
Andrea Marchesini
17e360f5e5 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 4 - MessageAvailable event, r=michal 2015-10-28 11:42:53 +00:00
Andrea Marchesini
7a36913896 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 3 - Events, r=michal 2015-10-28 11:42:21 +00:00
Andrea Marchesini
e0173ff60c Bug 1215092 - WebSocketEventService and WebSocket discovering - part 2 - Unique Serial number for WebSocketChannel in IPC, r=michal 2015-10-28 11:42:00 +00:00
Andrea Marchesini
4d8e79e969 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 1 - Renaming WebSocketFrameService, r=michal
--HG--
rename : netwerk/protocol/websocket/PWebSocketFrameListener.ipdl => netwerk/protocol/websocket/PWebSocketEventListener.ipdl
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.cpp => netwerk/protocol/websocket/WebSocketEventListenerChild.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.h => netwerk/protocol/websocket/WebSocketEventListenerChild.h
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.cpp => netwerk/protocol/websocket/WebSocketEventListenerParent.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.h => netwerk/protocol/websocket/WebSocketEventListenerParent.h
rename : netwerk/protocol/websocket/WebSocketFrameService.cpp => netwerk/protocol/websocket/WebSocketEventService.cpp
rename : netwerk/protocol/websocket/WebSocketFrameService.h => netwerk/protocol/websocket/WebSocketEventService.h
rename : netwerk/protocol/websocket/nsIWebSocketFrameService.idl => netwerk/protocol/websocket/nsIWebSocketEventService.idl
2015-10-28 11:41:24 +00:00
Carsten "Tomcat" Book
b4bb8871b5 Backed out changeset 533f3277cdbb (bug 479520) for bustage on a CLOSED TREE 2015-10-28 12:29:27 +01:00
Carsten "Tomcat" Book
7602d3a792 Backed out changeset ce23fa9ffb16 (bug 479520) 2015-10-28 12:29:13 +01:00
Carsten "Tomcat" Book
d059dd57dc Backed out changeset 80f9778bb787 (bug 479520) 2015-10-28 12:29:11 +01:00
Simon Montagu
f738f2cd6c Bug 479520: Implement IDNA2008 standard for International Domain Names, patch 3: test for transitional processing and CONTEXTJ, r=jfkthame. 2015-10-28 03:46:44 -07:00
Simon Montagu
f56bc3c1bf Bug 479520: Implement IDNA2008 standard for International Domain Names, patch 2: changes to existing tests, r=jfkthame. 2015-10-28 03:46:44 -07:00
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