Makoto Kato
12c0753107
Bug 984033 - Large OOM in nsStreamLoader::WriteSegmentFun. r=honza
2014-07-17 17:37:33 +09:00
Jeremy Poulin
894ed6c712
Bug 1037184 - Extended the speculative connection overrider to track predictor preconnects. r=hurley
2014-07-14 11:30:18 -07:00
Boris Zbarsky
e8aa2f7514
Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus
2014-07-10 02:56:36 -04:00
Wes Kocher
4a69a1eeba
Backed out changeset 7b5a6cc2a244 (bug 354493) for frequent intermittent xpcshell oranges
2014-07-09 18:20:54 -07:00
Steve Workman
f80ce043ba
Bug 354493 - Add nsINetworkZonePolicy to restrict private resource loads from public networks r=mcmanus
2014-07-09 11:16:39 -07:00
Benoit Jacob
0895eca019
Bug 1035394 - Fix dangerous public destructors in netwerk - r=mcmanus
2014-07-08 17:23:18 -04:00
Jan de Mooij
3c7459b21a
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
623bd04b5e
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
Steve Fink
5c77611361
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
Shihua Zheng
36767b73f6
Bug 1024027 - Cannot safely dispatch to nsStreamTransportService from a non-main thread. r=bsmedberg,mcmanus
2014-06-21 03:26:43 -07:00
Jeremy Poulin
a61533480e
Bug 1029760 - Modified inner predictor telemetry counters so data would persist. r=hurley
2014-06-24 14:16:10 -07:00
Jim Blandy
4d6a633bba
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
4180218bc7
Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus
2014-06-24 12:36:44 -04:00
Benoit Jacob
f8aed38cee
Bug 1027251 - Fix or whitelist dangerous public destructors in netwerk/ - r=mcmanus
2014-06-20 07:08:24 -04:00
Birunthan Mohanathas
f475f7189b
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Birunthan Mohanathas
ec8396a564
Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin
2014-06-18 17:56:02 -07:00
Ed Morley
0fb72e2604
Bug 1027004 - Add newline to MOZ_DISABLE_NONLOCAL_CONNECTIONS fprintf_stderr(); r=froydnj
2014-06-18 14:46:56 +01:00
Kyle Huey
5b596dc0ff
Bug 1024898: Allow (most) nsBaseChannel subclasses to retarget OnDataAvailable to other threads. r=jduell,sworkman
2014-06-17 09:39:26 -07:00
Nathan Froyd
d023eee4cc
Bug 995417 - part 1 - netwerk/ changes for crashing on non-local connections; r=mcmanus
2014-04-15 15:38:55 -04:00
Olli Pettay
2672babef6
Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz
2014-06-11 22:38:55 +03:00
Patrick McManus
3d39114141
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
a273f7a11d
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
4c8dd6d4b2
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
Robert O'Callahan
a8bbe633b9
Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg
2014-06-03 00:08:24 +12:00
Robert O'Callahan
9170085906
Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg
2014-06-03 00:08:21 +12:00
Victor Porof
5643294005
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Valentin Gosu
4dd1a9d8b8
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
3cc4f04ff5
Bug 1016617 - Prevent a subresources' hit count from overflowing over its parent. r=hurley
2014-05-29 10:38:30 -07:00
Jeremy Poulin
36e1db76a8
Bug 1016615 - Make subresources inherit timestamps from their parent. r=hurley
2014-05-28 17:40:17 -07:00
Brian Hackett
6fe0a1d95d
Bug 941805 - Use helper thread pool in all runtimes in a process, r=billm.
2014-05-29 13:06:23 -06:00
David Keeler
56379872a2
bug 1006710 - add class of PSM errors to SEC and SSL errors r=briansmith
2014-05-28 15:28:03 -07:00
Jeff Walden
2155f1cf29
Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent, r=efaust, r=jorendorff
2014-05-27 14:32:41 -07:00
Ryan VanderMeulen
b46128affc
Backed out changeset 2c631967ab9e (bug 999651) for B2G crashes.
...
CLOSED TREE
2014-05-27 14:08:30 -04:00
Jeff Walden
8978c3f50f
Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent
2014-05-27 09:56:43 -07:00
Neil Rashbrook
9cfd58c16f
Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
Relading with correct bug number so DONTBUILD.
--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
f3421c776b
Backout 8b8bbe7aa1cc due to wrong bug number
2014-05-27 14:42:13 +03:00
Neil Rashbrook
12b4869c02
Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Kyle Huey
8a1ded0d50
Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan
2014-05-23 12:53:17 -07:00
Birunthan Mohanathas
6f68094e30
Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...))
. r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
411a8639b4
Bug 869836 - Part 3: Use Append('c')
instead of AppendLiteral("c")
. r=ehsan
2014-05-22 06:48:51 +03:00
Patrick McManus
4de8618b54
bug 1012853 - kill switch for https proxying r=hurley
2014-05-19 16:29:46 -04:00
Patrick McManus
7b65ad0857
bug 378637 part 12 - proxy over TLS (i.e. https proxying) r=hurley
...
--HG--
extra : rebase_source : 85b4f6b3eb1a3977ff888fa70214055a41f72da5
2014-04-16 09:52:43 -04:00
Patrick McManus
58088b28b2
bug 378637 part 8 - add https proxy info type r=hurley
...
--HG--
extra : rebase_source : 430a9a58793ccc4da04d93044cf802b72f4e41d3
2014-04-15 18:16:41 -04:00
Daniel Holbert
d693a40d48
Bug 1008286: Remove unused variable 'kProxyType_UNKNOWN' from nsProtocolProxyService.cpp to fix clang warning. r=jduell
2014-05-14 16:52:52 -07:00
Benjamin Chen
43afc680cc
Bug 993598 - Don't move forward the mStartPos if the writer returns a failure value. r=roc
2014-05-13 15:26:40 +08:00
Ryan VanderMeulen
72940c2d4c
Backed out 11 changesets (bug 378637) for Android crashes.
...
Backed out changeset 2a607cddc4cb (bug 378637)
Backed out changeset e416503aea99 (bug 378637)
Backed out changeset b2257226899f (bug 378637)
Backed out changeset dafd618c3f52 (bug 378637)
Backed out changeset dfde9d47d8c4 (bug 378637)
Backed out changeset cf9de5c367a5 (bug 378637)
Backed out changeset 62aa68e8b499 (bug 378637)
Backed out changeset 38efa8f2e56e (bug 378637)
Backed out changeset 2b5753e09a92 (bug 378637)
Backed out changeset 7a73873e133d (bug 378637)
Backed out changeset f58ce7ac1c7f (bug 378637)
2014-05-09 15:25:55 -04:00
Patrick McManus
16efa82b79
bug 378637 part 11 - proxy over TLS (i.e. https proxying) r=hurley
...
--HG--
extra : rebase_source : 8962538247666781e30eaa3b9673b857ec150204
2014-04-16 09:52:43 -04:00
Patrick McManus
8734f77e7a
bug 378637 part 7 - add https proxy info type r=hurley
...
--HG--
extra : rebase_source : 0b56558cf24e25b78f13d88dcef8f9d8ef7de2bd
2014-04-15 18:16:41 -04:00
Nicholas Hurley
4fa100f5c9
Bug 1007850 - Don't reset seer if it's not enabled. r=mcmanus
2014-05-08 17:35:59 -07:00
Neil Rashbrook
f9520ae677
Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg
2014-05-08 20:08:38 +01:00