Commit Graph

4993 Commits

Author SHA1 Message Date
Rui You
baac8bbde3 Bug 1037339 - Update nsIHttpChannel.idl to reflect the changes of requestMethod property. r=hurley 2014-07-15 01:36:00 +02:00
Ryan VanderMeulen
ffa2468a1f Merge m-c to inbound. a=merge 2014-07-14 16:19:58 -04:00
Ryan VanderMeulen
28579f0ccd Merge b2g-inbound to m-c. a=merge 2014-07-14 16:17:10 -04:00
Andrew McCreight
77d782bb63 Bug 1038207 - Fix various classes that reimplement nsISupports. r=ehsan 2014-07-14 12:21:34 -07:00
Carsten "Tomcat" Book
12336940c8 Merge mozilla-central to b2g-inbound 2014-07-14 15:32:20 +02:00
Carsten "Tomcat" Book
b7dbeeb58b merge fx-team to mozilla-central a=merge 2014-07-14 15:14:40 +02:00
Gijs Kruitbosch
8a8f4bd649 Bug 693808 - part 0: add function decorator to nsIDNSListener, r=bsmedberg 2014-07-11 23:55:17 +01:00
Patrick McManus
52aa907e51 bug 1037082 - part 3/3 407 proxy auth for https over https r=hurley 2014-07-07 11:43:11 -04:00
Nicholas Hurley
ae1c7f98f3 Bug 1014600 part 2 - Properly truncate buffers when processing new header blocks. r=mcmanus 2014-07-11 09:48:34 -07:00
Nicholas Hurley
efe457b7ab Bug 1014600 part 1 - Improve HPACK logging. r=mcmanus 2014-07-11 09:48:32 -07:00
Mats Palmgren
d19bc406fa Bug 785753 - Adding two crashtests. 2014-07-13 13:01:43 +00:00
Patrick McManus
05b64f53db bug 1037082 - part 2/3 407 proxy auth for http over https r=hurley 2014-06-24 16:52:48 -04:00
Patrick McManus
047d57f2c1 bug 1037082 - part 1/3 dont doauthretry with closed persistent connection r=hurley 2014-07-09 18:06:12 -04:00
Carsten "Tomcat" Book
b56a995501 Merge mozilla-central to mozilla-inbound 2014-07-14 15:22:19 +02:00
Dragana Damjanovic
764a21b4be Bug 915024 - Add ForcePending for HttpChannel. r=jduell 2014-07-10 10:13:00 -04:00
Michal Novotny
4ee73488db Bug 979900 - Avoid completely filling cache partition on Gonk, r=honzab 2014-07-11 08:25:55 +02:00
Nicholas Nethercote
8ea1b7923f Bug 1036789 - Convert the third quarter of MFBT to Gecko style. r=Ms2ger.
--HG--
extra : rebase_source : 668cd394806203ddfa34bd4f226335ff26c846b5
2014-07-10 19:10:17 -07:00
Brian Smith
66d7df7a7b 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
bdb030720d Bug 965413 part 13. Stop propagating null principal owners across redirects in nsHttpChannel, since we now handle that via loadInfo. r=smaug 2014-07-10 02:56:38 -04:00
Boris Zbarsky
1987b0c856 Bug 965413 part 10. Use a LoadInfo for loading documents in various places where we force a particular principal. r=smaug 2014-07-10 02:56:37 -04:00
Boris Zbarsky
799aef1492 Bug 965413 part 8. Make HTTP redirects propagate along the load info. r=smaug 2014-07-10 02:56:37 -04:00
Boris Zbarsky
da8d201a1f Bug 965413 part 7. Make it safe to GetOwner() and SetOwner() on channels without asserting. r=smaug
We're going to want to check whether a channel has an existing owner in some cases, but some channels currently assert if you just ask them whether they have an owner.
2014-07-10 02:56:37 -04:00
Boris Zbarsky
e8aa2f7514 Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus 2014-07-10 02:56:36 -04:00
Michal Novotny
c3742f1212 Bug 1013395 - HTTP cache v2: have a limit for write backlog, r=honzab 2014-07-10 07:59:29 +02: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
Steve Workman
8b6d2429ab Bug 1036056 - Remove dangerous public destructor of nsFileUploadContentStream r=mcmanus 2014-07-09 11:02:06 -07:00
Mike Connor
16d273e48d 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
Patrick McManus
33f50185aa bug 1035993 - spdy sessions threadsafe as nshttpchannel MT refcounts them r=hurley 2014-07-09 11:20:41 -04:00
David Major
042ed9f8a0 Bug 1035068: Remove unused Windows logging code that VS2013 doesn't like. r=jesup
--HG--
extra : rebase_source : a6da82fc96b9042a112b2943ff7bf1e68875232b
2014-07-09 10:44:52 +12:00
Benoit Jacob
0895eca019 Bug 1035394 - Fix dangerous public destructors in netwerk - r=mcmanus 2014-07-08 17:23:18 -04:00
Steve Workman
ac10d5fc88 Bug 1034919 - Remove dangerous public destructor of nsTXTToHTMLConv r=mcmanus 2014-07-08 11:50:14 -07:00
Honza Bambas
d96f12a470 Backing out b94c916122c8 (bug 1021612) for sudden windows xpcshell failures, r=backout 2014-07-08 19:01:46 +02:00
Patrick McManus
31329c1ae8 bug 1034918 - nshttptransaction dtor can be private r=sworkman 2014-07-08 12:43:04 -04:00
Honza Bambas
e3ef90d8c4 Bug 1021612 - test, r=michal 2014-07-08 16:48:01 +02:00
Honza Bambas
5791d28035 Bug 920606 - HTTP cache v2: add telemetry for the intermediate memory cache purging, r=michal 2014-07-08 16:48:00 +02:00
Carsten "Tomcat" Book
518f246c5e merge fx-team to mozilla-central a=merge 2014-07-08 15:10:56 +02:00
Gregory Szorc
54c4d3b9ae Bug 1033836 - Convert TESTING_JS_MODULES to moz.build; r=glandium
--HG--
extra : rebase_source : 1cd9e402c507260358af7a93c6fb2fc91c24994b
2014-07-02 16:43:41 -07:00
Benoit Jacob
49fdae91d7 Bug 1028588 - Fix more, recently introduced dangerous public destructors - r=ehsan 2014-07-05 16:35:35 -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
Patrick McManus
96989188e3 revert bug 1034918 r=backout
--HG--
extra : rebase_source : 005df8e7a680767c2ebd890d653b623eb31ac552
2014-07-07 16:16:29 -04:00
Patrick McManus
222bf05494 bug 1034918 - nshttptransaction dtor can be private r=sworkman 2014-07-07 10:40:08 -04:00
Honza Bambas
4e4ec17651 Bug 1032992 - Set mHasData in CacheEntry when metadata are filled but no data are written, r=michal 2014-07-07 20:58:26 +02:00
Ryan VanderMeulen
9bf3f6fd96 Merge m-c to inbound on a CLOSED TREE. a=merge 2014-07-03 17:05:19 -04:00
Ryan VanderMeulen
9698c53e85 Merge inbound to m-c. a=merge 2014-07-03 17:03:48 -04:00
Garvan Keeley
82e7ca3f02 Bug 1032015 - Do a first scan immediately rather than waiting for the 5s timeout. r=dougt 2014-06-30 09:31:00 -04: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
Valentin Gosu
59b9bc3637 Bug 1026022 - Check that string is UTF8. r=mcmanus 2014-07-02 19:12:19 +03:00
Wes Kocher
6e308c5f61 Merge b2g-inbound to m-c a=merge 2014-07-02 17:00:33 -07:00
Honza Bambas
d54cb76071 Backing out 6c5c6cbad330 (bug 1032992) for Adnroid failures - GC doesn't work there as on other platforms..., r=backout 2014-07-02 19:53:00 +02:00
Honza Bambas
01d5bedc2c Bug 1032992 - Set mHasData in CacheEntry when metadata are filled but no data are written, r=michal 2014-07-02 18:16:22 +02:00
Honza Bambas
079be537aa Bug 1032594 - Don't run test_cache2-24-exists.js on Android, r=jcranmer 2014-07-02 18:16:22 +02:00
Honza Bambas
ab4c8d5ea9 Bug 1027789 - CacheEntry::RememberCallback should unlock before call to InvokeAvailableCallback, r=michal 2014-07-02 18:16:21 +02:00
Honza Bambas
c4a894b69d Bug 1018883 - Assertion failure: progress <= progressMax (unexpected progress values), at nsHttpChannel.cpp:5464, with 206 response, r=michal 2014-07-02 18:16:21 +02:00
Ehsan Akhgari
3e913adc5c Bug 1033171 - Fix building SCTP on Windows with clang-cl; r=jesup
Upstream bug: https://code.google.com/p/sctp-refimpl/issues/detail?id=5
2014-07-02 10:31:18 -04:00
Brian Smith
c0edfa6daf 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
af7ae55f0c Backed out changeset 6728977a3687 (bug 1031952) to fix bustage on a CLOSED TREE 2014-07-01 17:44:18 -07:00
Brian Smith
e9bc359f89 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
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
Monica Chew
a78d3a2975 Bug 1021419: Implement per-table update and gethash requests 2014-06-12 10:24:03 -07:00
Randell Jesup
be54f40b80 Bug 1017835: use array delete for SCTP/DTLS SendPacket data r=jib DONTBUILD 2014-06-28 04:26:34 -04:00
Randell Jesup
e0bbeceb0a Backed out changeset f04ad92a05ea (forgot to add r=) 2014-06-28 04:23:24 -04:00
Randell Jesup
880e06b0b6 Bug 1017835: use array delete for SCTP/DTLS SendPacket data 2014-06-28 04:19:29 -04:00
Henry Chang
73aad21522 Bug 937528 - Initialize port and host for the tcp server accepted socket. r=jduell 2013-12-19 11:21:12 +08:00
Ethan Tseng
18144ac588 Bug 1032065 - RTSP video playback quality is poor if payload type is MP4V-ES. r=sworkman, r=bechen 2014-07-11 17:29:47 +08:00
Nicholas Hurley
6bd9fe0ff7 Bug 1030203 - Send PROTOCOL_ERROR when receiving PUSH_PROMISE with push disabled. r=mcmanus 2014-06-27 13:13:42 -07:00
Steve Workman
ef258ae285 Bug 1024015 - Only enable HTTP response timeout when TCP Keepalives are disabled for HTTP r=mcmanus 2014-06-26 11:03:45 -07:00
Ed Morley
0434a327ab Backed out changeset 1a2a957f7d3f (bug 1029352) for B2G mochitest-4 failures in test_app_update.html 2014-06-27 16:12:03 +01:00
Dragana Damjanovic
a025cf6b18 Bug 748117 - Make sure http channel is pending in OnStartRequest & OnDataAvailable r=jduell 2014-06-26 18:51:49 -07:00
Jason Duell
eecef79d25 Bug 1029352 - Necko puts all apps in the same process into the same {cookie/cache/etc}jar r=bent 2014-06-26 17:06:55 -07:00
Ryan VanderMeulen
3fb7520283 Merge inbound to m-c on a CLOSED TREE. a=merge 2014-06-26 17:13:04 -04:00
Carsten "Tomcat" Book
c481d404e3 Merge mozilla-central to b2g-inbound 2014-06-26 15:58:35 +02:00
Ehsan Akhgari
654864a447 Backed out bug 1023058 because the upstream LLVM bug was fixed.
Upstream bug: http://llvm.org/bugs/show_bug.cgi?id=19987
2014-06-25 22:24:49 -07:00
Benjamin Chen
fbb1394204 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
Honza Bambas
afdfde986b Bug 1025913 - Let memory-only HTTP cache entries doom disk entries, CacheEntry.mUseDisk immutable, r=michal 2014-06-25 18:42:50 +02: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
Jim Blandy
432c882fdd Bug 914753: Fix broken Emacs mode lines. DONTBUILD r=ehsan
Don't bother to fix the misspelled mode names; we'll drop them in the next patch.
2014-06-24 22:11:56 -07:00
Andrea Marchesini
417cb89983 Bug 1016352 - WebSocketChannelChild must be thread-safe. r=jduell 2014-06-23 22:43:00 -04:00
Benoit Jacob
4180218bc7 Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Patrick McManus
926e563e62 bug 1029163 - part 3 tunnel https/h1 over h2 could duplicate bytes in upload and corrupt data r=hurley 2014-06-24 07:56:08 -04:00
Patrick McManus
064aa10644 bug 1029163 - part 2 tlsproxy incomplete upload flushes need to be rescheduled r= hurley 2014-06-24 07:56:07 -04:00
Patrick McManus
3649523288 bug 1029163 - part 1 nsPipe can turn failures into OK, consider that in the tlsproxy code r=hurley 2014-06-24 07:56:07 -04:00
Patrick McManus
6d4aa948ec bug 1027364 - multiple http/2 header frames on same stream r=hurley 2014-06-19 23:42:29 -04:00
Honza Bambas
04ea686520 Bug 1024989 - Crash MOZ_ASSERT(mMetadata) in SetFrecency, r=michal 2014-06-24 18:08:36 +02:00
Honza Bambas
40a16c956f Bug 1023413 - Introduce bool nsICacheStorage.exists(nsIURI, ACString), r=michal 2014-06-24 18:08:35 +02:00
Jeremy Poulin
f5bbeec25a Bug 1028426 - Move check for unused speculative connections to where they are removed. r=hurley 2014-06-20 15:17:23 -07:00
Honza Bambas
3972f064c7 Bug 1030426 - network.negotiate-auth.allow-insecure-ntlm-v1-https allows sending NTLMv1 credentials in plain to HTTP proxies, r=mcmanus 2014-06-26 15:08:35 +02:00
Nicu Badescu
f7cc46ac37 Bug 1026656 - Fix resolve accessing temporary variable. r=valentin.gosu, r=mcmanus 2014-06-22 15:55:00 -04:00
Honza Bambas
c3a79a614e Bug 1023748 - Allow NTLMv1 over SSL/TLS by default, r=jduell 2014-06-23 19:43:40 +02:00
Honza Bambas
4c2f42ca89 Bug 967310 - optimize call to CacheFileIOManager::UnscheduleMetadataWrite, r=michal 2014-06-23 17:48:52 +02:00
Honza Bambas
f20f68ae90 Bug 956801 - save some locking in CacheEntry::BackgroundOp, r=michal 2014-06-23 17:48:52 +02:00
Carsten "Tomcat" Book
8013815078 Backed out changeset 374f71301703 (bug 956801) for causing Android 2.2 Armv6 Opt XPCShell Test failures on a CLOSED TREE 2014-06-23 13:07:18 +02:00
Carsten "Tomcat" Book
d5a0b28f6d Backed out changeset d1c1aec94228 (bug 967310) for causing Android 2.2 Armv6 Opt XPCShell Test failures on a CLOSED TREE 2014-06-23 13:07:09 +02:00
Carsten "Tomcat" Book
05066fba21 Backed out changeset f2c5626b3cec (bug 1023413) for causing Android 2.2 Armv6 Opt XPCShell Test failures on a CLOSED TREE 2014-06-23 13:06:30 +02: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
Nicholas Hurley
fe7a4927a4 Bug 1026609 - HTTP/2 draft 13 part 2 - test updates. r=mcmanus 2014-06-25 17:33:17 -07:00
Nicholas Hurley
11c5c7db1e Bug 1026609 - HTTP/2 draft 13 part 1 - client implementation. r=mcmanus 2014-06-25 17:33:15 -07:00
Valentin Gosu
a8a162ead7 Bug 677754 - Fix test expecting a prompt for an unsafe redirect r=jduell 2014-06-22 23:35:01 +03:00
Honza Bambas
e697db4ce4 Bug 1023413 - Introduce bool nsICacheStorage.exists(nsIURI, ACString), r=michal 2014-06-21 21:41:02 +02:00