Commit Graph

6929 Commits

Author SHA1 Message Date
Kris Maglione
1cbafa556f Bug 1209184: Part 2 - [webext] Localize CSS files served from moz-extension: channels. r=jdm 2015-11-27 16:03:01 -08:00
Christoph Kerschbaumer
b285f554ba Bug 1182546 - Use channel->Open2() in parser/htmlparser/nsExpatDriver.cpp (r=bz) 2015-11-20 10:55:54 -08:00
Christoph Kerschbaumer
2c50be44cf Bug 1226444 - Use helper function to identify preloads. r=sicking 2015-11-19 17:02:40 -08:00
Nigel Babu
8a5bc7a096 Backed out changeset 95069f2ce648 (bug 1182546) for Android M(c) bustage ON A CLOSED TREE 2015-11-19 14:26:33 +05:30
Christoph Kerschbaumer
b15a00221a Bug 1182546 - Use channel->Open2() in parser/htmlparser/nsExpatDriver.cpp (r=bz) 2015-11-18 19:23:28 -08:00
Nicholas Nethercote
667f04e581 Bug 1187137 (part 3) - Replace nsBaseHashtable::Enumerate() calls in netwerk/protocol/ with iterators. r=michal. 2015-11-03 17:05:34 -08:00
Nicholas Nethercote
1e36ceb311 Bug 1187137 (part 2) - Replace nsBaseHashtable::Enumerate() calls in netwerk/protocol/ with iterators. r=michal. 2015-11-03 17:00:30 -08:00
Nicholas Nethercote
27f084bce3 Bug 1187137 (part 1) - Replace nsBaseHashtable::Enumerate() calls in netwerk/protocol/ with iterators. r=michal. 2015-11-03 16:31:40 -08:00
Mike Hommey
50a7b175b9 Bug 1225407 - Replace nsInterfaceHashtable::EnumerateRead() call in SubstitutingProtocolHandler with an iterator. r=michal 2015-11-19 08:05:51 +09:00
Valentin Gosu
c78b9af9d4 Bug 1142083 - Add test for IDN Unicode domain redirect r=mcmanus 2015-06-20 00:03:57 +03:00
Valentin Gosu
5e2fb6ab16 Bug 1218918 - Issues with devtools "work offline" when connectivity changes r=mcmanus,dao
* Flip the network.offline-mirrors-connectivity pref, so that ioservice.offline means the same as devtools work offline
* ioService.manageOfflineStatus shouldn't be changed when going to offline mode.
* Add logging to nsIOService in order to track offline/connectivity issues
2015-11-18 15:25:39 +01:00
Valentin Gosu
8ace7f4163 Bug 412457 - should unescape hostname first, then perform IDNA r=mcmanus 2015-11-18 15:25:27 +01:00
Mike Hommey
4df99c9753 Bug 1224046 - Remove <base href> from directory listings. r=mcmanus
There was an attempt to remove it in bug 358128, but that was backed out
because of FTP listings, where e.g. a 'mozilla' link on the
ftp://ftp.mozilla.org/pub listing (without a trailing slash) would go to
ftp://ftp.mozilla.org/pubmozilla instead of ftp://ftp.mozilla.org/pub/mozilla.

It appears that versions of Firefox at the time of that bug wouldn't "redirect"
directories to the same url with a trailing slash when one was not provided.
It also appears that current versions of Firefox *do* "redirect" in such a way,
such that the <base href> is now unnecessary.

That <base href> prevents links from resource://... directory listings to work
properly because of security contraints added in bug 1184387, as they force
links to go to a jar/file url instead of the equivalent resource://... url,
which removing <base href> allows.
2015-11-18 08:41:40 +09:00
Ben Kelly
74ebcbe8e0 Bug 1217909 P8 Track navigation interceptions per scope in ServiceWorkerManager. r=catalinb 2015-11-16 08:04:11 -08:00
Henry
53a925bad8 Bug 1224508 - Use URI path without reference as the callback key. r=valentin. 2015-11-13 02:15:00 +01:00
Henry
2e71b5e840 Bug 1178526 - Create docshell with packageId from TabContext. r=sicking. 2015-10-29 00:52:40 +08:00
sajitk
6208e4b76c Bug 1201997 - Part 4 - Change size and offset variables to size_t.r=froydn 2015-11-15 14:48:08 +01:00
Daniel Stenberg
79a5320acd Bug 1207798 - add pref to toggle proxy behavior when inaccessible. r=mcmanus 2015-11-10 15:27:45 +01:00
Magnus Melin
3e04589c9b 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
745806b307 Bug 663570 - MetaCSP Part 3: Upgrade insecure requests changes (r=bz) 2015-11-14 19:28:38 -08:00
Phil Ringnalda
63560ca236 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
18481eac79 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
3499c9b1c7 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
ed92e70636 Bug 1214305 - Part 3: Add a nsIInterceptedChannel.secureUpgradedChannelURI helper; r=jdm 2015-11-02 11:27:00 -05:00
Ehsan Akhgari
2140496207 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
f25b0d85b9 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
90f5c2606d 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
12039ab942 Bug 1224328 - Don't infinite loop when parsing headers with newlines. r=mcmanus 2015-11-12 14:44:31 -08:00
Nicholas Nethercote
227b8c93ab Bug 1186783 (part 1) - Replace nsBaseHashtable::EnumerateRead() calls in netwerk/. r=michal. 2015-11-03 16:25:22 -08:00
Nigel Babu
424a9ed0d9 Backed out changeset 80a79987da8b (bug 1221758) for xpcshell bustage on CLOSED TREE 2015-11-13 14:49:14 +05:30
Magnus Melin
afb5db1ab3 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
ce912d02cd 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
c257f4f382 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
648a027793 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
0388febbe2 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
d3dbbf170a Bug 1222829: Remove URIChecker. r=mcmanus 2015-11-09 13:48:05 -08:00
Christoph Kerschbaumer
893ed45b8b Bug 1222297 - Use channel->Open2() in netwerk/base/nsNetUtil.cpp (r=sicking) 2015-11-08 18:54:38 -08:00
Nathan Froyd
d9e842238c 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
f8d8f1aaa8 Bug 1214079 - Doom the package cache if the signature verification failed. r=valentin 2015-11-05 23:44:00 +01:00
Mike Hommey
1db89374d8 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
405622a83e Bug 1221453 - Use ObjDirPaths for GENERATED_INCLUDES and merge with LOCAL_INCLUDES. r=gps 2015-11-06 09:59:21 +09:00
Ethan Tseng
eacf75e813 Bug 1220570 - Potential cookie lost while downgrading from Aurora 44 to 43. r=jduell 2015-11-03 18:40:58 +08:00
Gijs Kruitbosch
6897cafd81 Bug 1221444, r=bz 2015-11-04 16:54:44 +00:00
Nathan Froyd
97008ae09f 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
61b99a5eee 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
5928de9149 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
d6b758f5e1 Bug 1220007 P1 Allow ConsoleReportCollectors to flush to another collector. r=bz 2015-11-03 11:20:56 -08:00
Andrea Marchesini
a11dfee392 Bug 1219939 - make nsTemporaryFileInputStream nsISeekableStream, r=jduell 2015-11-03 15:12:23 +00:00
Julian Seward
9993f34dd1 Bug 1218506 - Uninitialised value use in nsHttpTransaction::OnTransportStatus. r=mcmanus. 2015-11-03 15:03:16 +01:00
Carsten "Tomcat" Book
862b6d1dc3 Merge mozilla-central to mozilla-inbound 2015-11-03 14:09:31 +01:00
Carsten "Tomcat" Book
147463b52e 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
111855e600 Backed out changeset d8d75be11275 (bug 1220007) 2015-11-03 14:08:04 +01:00
Chris Peterson
7852829f82 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
dc124e51a4 bug 1219466 - convert netwerk to LazyLogModule r=valentin.gosu 2015-11-02 23:35:29 -05:00
Christoph Kerschbaumer
bc8b658c1b Bug 1206964 - Use channel->AsyncOpen2() in netwerk/base/nsNetUtil.cpp (r=sicking) 2015-11-02 17:31:08 -08:00
Liang-Heng Chen
0a9e0b1105 Bug 1217807 - Part 1: use ServiceWatcher to extend life cycle of mDNS operators; r=schien 2015-11-03 01:03:00 +01:00
Wes Kocher
2de907ddad Merge m-c to inbound, a=merge 2015-11-02 15:57:48 -08:00
Wes Kocher
78adfe0755 Merge inbound to m-c a=merge 2015-11-02 15:12:16 -08:00
Fabrice Desré
182ef87353 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
94998cf5fe Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Ben Kelly
d4d90a81c2 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
938f08436f Bug 1220007 P1 Allow ConsoleReportCollectors to flush to another collector. r=bz 2015-11-02 12:04:29 -08:00
Jonathan Watt
8de43c3f2d 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
0590d1acb8 Bug 1197313 - remove PR_snprintf calls in netwerk/; r=froydnj 2015-10-29 16:07:44 -04:00
Ben Kelly
199d1539b6 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
8d6569a5a7 Bug 1165267 - Fix downgrading issue by restoring appId and inBrowserElement columns v3. r=honzab 2015-11-01 11:13:12 -05:00
Christoph Kerschbaumer
c8209b4021 Bug 1194052 - LoadInfo redirectchain tests (r=mayhemer) 2015-10-31 15:22:31 -07:00
Christoph Kerschbaumer
bbbc48e2aa Bug 1194052 - Append to redirectchain before asyncopen() is called (r=sicking,mayhemer) 2015-10-31 15:22:01 -07:00
Christoph Kerschbaumer
dac39e39df Bug 1194052 - Update Clone() functionality of LoadInfo (r=sicking) 2015-10-31 15:20:48 -07:00
Christoph Kerschbaumer
dae81c4629 Bug 1194052 - Add support for internal redirectchain to loadInfo (r=sicking) 2015-10-31 15:18:59 -07:00
Phil Ringnalda
a843b37507 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
8a684bfd17 Bug 1197313 - remove PR_snprintf calls in netwerk/; r=froydnj 2015-10-29 16:07:44 -04:00
Wes Kocher
691cc3853f Merge m-c to inbound, a=merge 2015-10-30 16:57:55 -07:00
Wes Kocher
156ed37b5d Merge b2ginbound to central, a=merge 2015-10-30 16:54:07 -07:00
Munro Chiang
77f6427e30 Bug 1205927 - Part 1: [MediaEncoder] Support *.3g2 with EVRC audio format. r=ayang 2015-10-27 15:12:26 +08:00
Carsten "Tomcat" Book
a210f701dd Backed out changeset 2a233dadfc49 (bug 1219910) for bustage on a CLOSED TREE 2015-10-30 16:09:19 +01:00
Carsten "Tomcat" Book
080861907c Backed out changeset 9093e927a247 (bug 1201997) 2015-10-30 15:52:18 +01:00
Nathan Froyd
fb0f824231 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
e4def01cb9 Bug 1201997 - Part 4 - Change size and offset variables to size_t.r=froydn 2015-10-29 19:58:00 +01:00
Ben Kelly
33e095fae1 Bug 1215140 P10 Avoid AddRef'ing the nsIChannel OMT. r=bz 2015-10-29 19:53:25 -07:00
Ben Kelly
24b9d99a67 Bug 1215140 P3 Flush pending console reports on http channels. r=bz 2015-10-29 19:53:25 -07:00
Ben Kelly
ed4547a103 Bug 1215140 P2 Make HttpBaseChannel implement nsIConsoleReportCollector. r=bz 2015-10-29 19:53:25 -07:00
Bill McCloskey
330afb2752 Bug 867407 - Fix cloning of file URIs with search query strings (r=sworkman) 2015-10-30 13:10:27 -07:00
Bill McCloskey
3b545937b6 Bug 1209243 - LoadInfo should use GetScriptableParent rather than GetParent (r=bz) 2015-10-30 13:08:41 -07:00
Jonathan Hao
1fd1c6557d 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
c5e600d42f Bug 1032254 - Generic way to pin reasource in the HTTP cache, r=michal
* * *
Bug NNNNNNN - message, r=reviewer
2015-10-22 12:11:00 +02:00
Andrea Marchesini
69adf98a71 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 4 - MessageAvailable event, r=michal 2015-10-28 19:11:25 +00:00
Andrea Marchesini
2687f516ac Bug 1215092 - WebSocketEventService and WebSocket discovering - part 3 - Events, r=michal 2015-10-28 19:11:05 +00:00
Andrea Marchesini
f24f602d62 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
bc1db78ef1 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 1 - Renaming WebSocketFrameService, r=michal 2015-10-28 19:10:20 +00:00
Simon Montagu
8bfa7fdb63 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
e819eb87dc 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
742509b719 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
5a154f264e Backed out changeset 7393a036ce36 (bug 1215092) for failing on own tests on a CLOSED TREE 2015-10-28 14:28:59 +01:00
Carsten "Tomcat" Book
d89ad767c0 Backed out changeset 2284c3e8c336 (bug 1215092) 2015-10-28 14:28:37 +01:00
Carsten "Tomcat" Book
97304bfc33 Backed out changeset f527785e39c6 (bug 1215092) 2015-10-28 14:28:35 +01:00
Carsten "Tomcat" Book
f7a75f7672 Backed out changeset 2730cc97c6ec (bug 1215092) 2015-10-28 14:28:34 +01:00
Andrea Marchesini
c2e1339868 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 4 - MessageAvailable event, r=michal 2015-10-28 11:42:53 +00:00
Andrea Marchesini
dacf95320d Bug 1215092 - WebSocketEventService and WebSocket discovering - part 3 - Events, r=michal 2015-10-28 11:42:21 +00:00
Andrea Marchesini
efe3c01f37 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