Commit Graph

3208 Commits

Author SHA1 Message Date
Patrick McManus
7b3d6bf83d Bug 354493 - revert Add nsINetworkZonePolicy to protect resources loaded from private IPs r=backout a=backout 2014-07-24 10:05:36 -04:00
Patrick McManus
17997be3f9 bug 1041511 - backout due to instability. r=backout a=backout 2014-07-24 09:59:42 -04:00
Monica Chew
3a14448afa Bug 1039012: Only cancel third party channels with NS_ERROR_TRACKING_URI (r=gcp,briansmith) 2014-07-24 10:59:00 -07:00
Patrick McManus
959e69cf86 bug 1040930 - part 2 allow proxy connects if uri host is not yet known r=hurley
--HG--
extra : rebase_source : cbccec4785861bec7c25ed980df01c66c7001ac8
2014-07-18 15:05:41 -04:00
Ben Kelly
0d01c09be4 Bug 1029620 P4 Make HTTP token and header value validation accessible via nsNetUtil.h r=ehsan r=mcmanus 2014-07-24 12:38:55 -04:00
Steve Workman
e8c969cfc2 Bug 1041511 - Fix navigations to private resources after landing bug 354493 r=mcmanus 2014-07-23 10:25:26 -07:00
Mike Hommey
bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Steve Workman
111df17ab2 Bug 354493 - Add nsINetworkZonePolicy to protect resources loaded from private IPs r=mcmanus 2014-07-17 11:08:20 -07:00
Makoto Kato
3708a1ba13 Bug 984033 - Large OOM in nsStreamLoader::WriteSegmentFun. r=honza 2014-07-17 17:37:33 +09:00
Jeremy Poulin
6240993aa3 Bug 1037184 - Extended the speculative connection overrider to track predictor preconnects. r=hurley 2014-07-14 11:30:18 -07:00
Dragana Damjanovic
2cd40ad8a5 Bug 915024 - Add ForcePending for HttpChannel. r=jduell 2014-07-10 10:13:00 -04:00
Brian Smith
60c3387388 Bug 1036765: Disable cipher suites that are not in the "Browser Cipher Suite" proposal that are still enabled, r=keeler
--HG--
extra : rebase_source : af06ac8fe6c2132b942ca4a1a50a12505b3ca508
extra : histedit_source : 2127635c80fbff235136980990993e753509e802
2014-07-09 18:33:38 -07:00
Boris Zbarsky
2d81966ba3 Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus 2014-07-10 02:56:36 -04:00
Wes Kocher
b4cf7d16de Backed out changeset 7b5a6cc2a244 (bug 354493) for frequent intermittent xpcshell oranges 2014-07-09 18:20:54 -07:00
Steve Workman
ce5c9f601f Bug 354493 - Add nsINetworkZonePolicy to restrict private resource loads from public networks r=mcmanus 2014-07-09 11:16:39 -07:00
Mike Connor
584e14f367 Bug 1006103 - add speculativeConnect() method to search engines, API + browser change, r=gavin
* * *
bug 1006103 - use speculativeConnect() method on nsISearchEngine in Fennec, r=margaret

--HG--
extra : rebase_source : 63739b6a876b373945ccf8b326a42150a5bb3cef
2014-05-06 12:47:22 -04:00
Benoit Jacob
2e6afb5415 Bug 1035394 - Fix dangerous public destructors in netwerk - r=mcmanus 2014-07-08 17:23:18 -04:00
Jan de Mooij
44da586636 Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz 2014-07-05 17:30:54 +02:00
Jim Blandy
c4c96eb42c Bug 1005323: In nsTemporaryFileInputStream::ReadSegments, call writer correctly. r=roc
- Respect the byte count that writer returns; don't assume it always accepts the full amount.
 - If writer returns an error, return NS_OK with a partial write count; don't continue writing data.
 - Simplify counters slightly.
2014-07-03 11:32:50 -07:00
Brian Smith
ffc0673b07 Bug 1031952: Remove preferences for obsolete cipher suites, r=keeler
--HG--
extra : rebase_source : 22eaa4fbeb20d9b9524d550c1979f5ec27d963ac
2014-06-29 15:15:45 -07:00
Wes Kocher
1c9490da59 Backed out changeset 6728977a3687 (bug 1031952) to fix bustage on a CLOSED TREE 2014-07-01 17:44:18 -07:00
Brian Smith
20671b9763 Bug 1031952: Remove preferences for obsolete cipher suites, r=keeler
--HG--
extra : rebase_source : 92ccc85ffe5db10649242d8796daecc6833ca14a
2014-06-29 15:15:45 -07:00
Steve Fink
e0b7644d4e Bug 1022773 - Switch all JS Compile functions to use MutableHandle, r=terrence
--HG--
extra : rebase_source : e7542a31e4818e6beafd2b1dab096606370534bb
2014-06-25 15:35:35 -07:00
Ryan VanderMeulen
b8cc2a9367 Merge inbound to m-c on a CLOSED TREE. a=merge 2014-06-26 17:13:04 -04:00
Benjamin Chen
da88119cc7 Bug 1021006 - [RTSP] Browser pops up a network warning message in the end of RTSP streaming. r=sworkman 2014-06-17 17:47:13 +08:00
Jeremy Poulin
bba364fb16 Bug 1029760 - Modified inner predictor telemetry counters so data would persist. r=hurley 2014-06-24 14:16:10 -07:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Benoit Jacob
ff32bb14c1 Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Shihua Zheng
6d6dffa411 Bug 1024027 - Cannot safely dispatch to nsStreamTransportService from a non-main thread. r=bsmedberg,mcmanus 2014-06-21 03:26:43 -07:00
Brian Smith
2d9e74e8ee Bug 975229: Remove NSS-based certificate verification, r=keeler
--HG--
extra : rebase_source : 49cb20f1b51e2d9993a35decd820764e20ad9be9
2014-06-16 23:13:29 -07:00
Benoit Jacob
117676ec6f Bug 1027251 - Fix or whitelist dangerous public destructors in netwerk/ - r=mcmanus 2014-06-20 07:08:24 -04:00
Birunthan Mohanathas
bc0233fe47 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Birunthan Mohanathas
51ba75d135 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Ed Morley
5cc15bd5ff Bug 1027004 - Add newline to MOZ_DISABLE_NONLOCAL_CONNECTIONS fprintf_stderr(); r=froydnj 2014-06-18 14:46:56 +01:00
Kyle Huey
f630c99382 Bug 1024898: Allow (most) nsBaseChannel subclasses to retarget OnDataAvailable to other threads. r=jduell,sworkman 2014-06-17 09:39:26 -07:00
Kyle Huey
3fa8bd3656 Bug 1024388: Allow JAR channels to retarget to a different thread. r=bz,jduell 2014-06-17 09:39:23 -07:00
Nathan Froyd
70bac57591 Bug 995417 - part 1 - netwerk/ changes for crashing on non-local connections; r=mcmanus 2014-04-15 15:38:55 -04:00
Olli Pettay
0040a9cd76 Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz 2014-06-11 22:38:55 +03:00
Michal Novotny
941cc3658c Bug 1023114 - backout of d56a7b4ed009, r=honzab 2014-06-10 19:12:51 +02:00
Michal Novotny
3c122f5d9b Bug 1023114 - nsILoadContextInfo.idl UUID have to be updated for the 31 release, r=honzab 2014-06-10 18:46:10 +02:00
Patrick McManus
6bed93400d bug 1022268 - cleaned up ssl type list too early r=honzab
--HG--
extra : rebase_source : 0e4204b61977f969f95906e18ff481c400801b7f
2014-06-09 22:16:57 -04:00
Andrea Marchesini
d1365e73a4 Bug 1020041 - host limit in nsStandardURL, r=jduell, r=valentin
--HG--
rename : dom/base/test/test_url_empty_port.html => dom/base/test/test_url_malformedHost.html
2014-06-10 12:53:54 +01:00
Jeremy Poulin
21428535f7 Bug 1016622: Renaming mozilla::network::Seer to mozilla::network Predictor. r=hurley
--HG--
rename : netwerk/base/public/nsINetworkSeer.idl => netwerk/base/public/nsINetworkPredictor.idl
rename : netwerk/base/public/nsINetworkSeerVerifier.idl => netwerk/base/public/nsINetworkPredictorVerifier.idl
rename : netwerk/base/src/Seer.cpp => netwerk/base/src/Predictor.cpp
rename : netwerk/base/src/Seer.h => netwerk/base/src/Predictor.h
rename : netwerk/test/unit/test_seer.js => netwerk/test/unit/test_predictor.js
2014-06-03 13:37:46 -07:00
Monica Chew
3858a700c8 Bug 1012882: Restrict pinning to desktop (r=keeler) 2014-06-02 15:06:30 -07:00
Robert O'Callahan
2a92625af7 Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg 2014-06-03 00:08:24 +12:00
Robert O'Callahan
cbb8fdebfc Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Victor Porof
9ce7e9c089 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Valentin Gosu
bfa80ae2c2 Bug 960014 - Make nsStandardURL::SetHost less magical around IPv6 r=honzab
Enforces brackets for IPv6 URLs in SetHost
Removed unreachable _if (!*host)_ block in nsStandardURL::SetHost
SetHostPort fails for empty and non-int strings
2014-05-02 06:31:43 +03:00
Jeremy Poulin
370d9ae036 Bug 1016617 - Prevent a subresources' hit count from overflowing over its parent. r=hurley 2014-05-29 10:38:30 -07:00
Jeremy Poulin
7095d2917e Bug 1016615 - Make subresources inherit timestamps from their parent. r=hurley 2014-05-28 17:40:17 -07:00