Commit Graph

6897 Commits

Author SHA1 Message Date
Simon Montagu
3943af288f Bug 1218179: move from transitional to non-transitional IDNA2008 processing, r=jfkthame 2015-10-25 23:53:21 -07:00
Valentin Gosu
ed9421be16 Bug 1228640 - Backout bug 1183781 (changeset b9b6a1567ef6) for causing crash a=me 2015-11-28 00:20:01 +01:00
Carsten "Tomcat" Book
d229b39c6e merge mozilla-inbound to mozilla-central a=merge 2015-11-26 16:54:27 +01:00
Daniel Stenberg
6088e2b735 Bug 1227931 - init Http2Stream::mReceivedData in the constructor. r=nwgh 2015-11-25 05:15:00 +01:00
Yoshi Huang
dc3740f0fa Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Jonathan Hao
d2a1b36abc Bug 1225422 - Update the PrivilegedPackageRoot certificate. r=keeler 2015-11-19 15:08:05 +08:00
Valentin Gosu
d7b0eedf84 Bug 1222352 - Resource Timing - nextHopProtocol does not work in e10s r=nwgh 2015-11-24 13:42:47 +01:00
Andrew McCreight
04b0b0df64 Bug 1226709 - Enable two mochitests that seem to work with e10s. r=bz 2015-11-20 11:19:00 +01:00
Jonas Sicking
7101cc3e8e Bug 1217456: Add a security flag for controlling redirects. Use this flag in fetch() implementation. r=bkelly,jduell 2015-11-23 18:47:10 -08:00
Carsten "Tomcat" Book
57241e3d5c Merge mozilla-central to mozilla-inbound 2015-11-25 13:57:30 +01:00
Valentin Gosu
a3e28c2d43 Bug 1226760 - ViewSource doesn't work for packaged app resources r=mcmanus
* The packaged app service should use the URI of the channel, not the URI of the channel's principal.
2015-11-25 12:44:43 +01:00
Ben Bucksch
a66fa9d022 Bug 1200802 - Accept RFC1929 SOCKS credentials in proxyInfo. r=michal 2015-11-24 22:56:00 +01:00
Shih-Chiang Chien
811b5aa235 Bug 1225726 - enable nsDNSServiceDiscovery on OS X. r=mcmanus. 2015-11-18 14:02:31 +08:00
Patrick McManus
5a8d15f87c Bug 1174899 - discarded spdy data with fin attributed to wrong stream r=bagder 2015-11-22 16:23:18 -05:00
Patrick McManus
158be4c25e Bug 1174899 - fixup log format strings for spdy/h2 r=bagder 2015-11-20 15:33:04 -05:00
Valentin Gosu
42dfafc455 Bug 1183781 - Small leak in DNS.cpp and nsHostResolver.cpp r=sworkman
* makes AddrInfo extend nsISupports
* uses RefPtr for managing AddrInfo and nsHostResolver in nsHostResolver.cpp
2015-11-23 13:02:41 +01:00
Jan Varga
6abef8f019 Bug 961049 - Part 3: Move PersistenceType serializer from indexedDB to quota module; r=baku 2015-11-22 10:43:34 +01:00
Ehsan Akhgari
c31b75ac2a Bug 1210302 - Part 6: Update the documentation of the methods in the IDL file; r=mcmanus 2015-11-20 16:32:56 -05:00
Ehsan Akhgari
6ea5bf1aeb Bug 1210302 - Part 5: Add a unit test for parseRequestContentType; r=mcmanus 2015-11-20 16:32:54 -05: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