Граф коммитов

12741 Коммитов

Автор SHA1 Сообщение Дата
Patrick McManus 265bd49b07 Bug 1246735 - h2 reset recursive push. r=hurley
--HG--
extra : rebase_source : 91c88eacaf31338c0c1c027665ed5d6001e3b843
2016-03-09 09:20:02 -05:00
Christoph Kerschbaumer f29ec8d62f Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal. r=sicking 2016-03-09 13:55:59 -08:00
Wes Kocher 53011a6a05 Backed out 6 changesets (bug 1120715) for wpt bustage in request-cache.html
Backed out changeset 2ee4b18f6b3a (bug 1120715)
Backed out changeset f87a25ade31e (bug 1120715)
Backed out changeset 9391f22c08c2 (bug 1120715)
Backed out changeset c5bf9f7bb86e (bug 1120715)
Backed out changeset 7e003fb64d41 (bug 1120715)
Backed out changeset ef66b64e9f8a (bug 1120715)

MozReview-Commit-ID: AI47IhtGWea
2016-03-09 15:57:43 -08:00
Valentin Gosu 7cff2da47e Bug 1234575 - Empty fragment is ignored in URI of location header r=mcmanus
MozReview-Commit-ID: 9qhZfwgANRY
2016-03-10 00:41:17 +01:00
Ehsan Akhgari 456b0a7460 Bug 1120715 - Part 2: Don't use OPEN_TRUNCATE when reopening a fake synthesized cache entry; r=mayhemer,jdm
This shows up when intercepting the reload cache type channels, since
the cache storage will reopen the cache entry that has been used to fill
up the synthesized response otherwise because of the LOAD_BYPASS_CACHE
flag.
2016-03-09 16:43:11 -05:00
Ehsan Akhgari fded90051d Bug 1120715 - Part 1: Add Necko APIs to preserve the Request cache mode on the channel; r=mayhemer 2016-03-09 16:42:53 -05:00
Wes Kocher 32b01c6513 Backed out changeset 65051cc8fc06 (bug 1254752) for browser_dbg_addon-sources.js failures
MozReview-Commit-ID: 8Lg5gJHY6J5

--HG--
extra : rebase_source : def380fa7ce90838e42ad1a63ca1f9f365a868ba
2016-03-09 10:56:28 -08:00
Wes Kocher 817d8829fc Backed out changeset 7cbab9ec76d5 (bug 1254689) for browser_dbg_addon-sources.js failures
MozReview-Commit-ID: 3zPliH7mmPj

--HG--
extra : rebase_source : 90a6c96c2106ec23043160ed93041cd7e15b1640
2016-03-09 10:56:23 -08:00
Christoph Kerschbaumer 007c074be0 Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal (r=sicking)
MozReview-Commit-ID: LKK3MGMODNI
2016-03-09 09:01:45 -08:00
Christoph Kerschbaumer f0fbe292c5 Bug 1254752 - Remove deprecated functions from nsIIOService (r=mcmanus)
MozReview-Commit-ID: 7ZV7ddKTCK5
2016-03-09 08:58:45 -08:00
Michal Novotny 2e9a36c765 Bug 1227136 - crash in mozilla::net::WebSocketChannel::StartWebsocketData, r=bagder, r=baku 2016-03-09 17:02:28 +01:00
Michal Novotny a226a7c588 Bug 1251130 - null out CacheFileIOManager::gInstance in CacheFileIOManager::ShutdownInternal() to prevent doing shutdown procedure multiple times, r=honzab 2016-03-09 16:50:16 +01:00
Jan Horak ab13daefb2 Bug 1248564 - "Default authentication credentials (NTLM, Kerb) used in private mode". r=mayhemer
--HG--
extra : rebase_source : 4a51b046a473f2e4b6122f4348dd839ca1db8ddd
2016-03-08 08:49:00 +01:00
Daniel Stenberg b98729c515 Bug 1112499 - Set up shutdown pipe before new thread starts. r=keeler
--HG--
extra : rebase_source : 4673d89ef96a0ba7dca6784b2aa9f686f4c60883
2016-02-26 14:29:00 -05:00
Nathan Froyd 777c075f0e Bug 1253010 - part 3 - create all nsIDateTimeFormat instances directly; r=smontagu 2015-12-05 11:03:27 -05:00
Jonathan Watt 7000ea35bd Bug 1253094, part 6 - Stop using DebugOnly for class/struct members in netwerk/. r=mayhemer
MozReview-Commit-ID: Ab9bM9WI2uD
2016-02-26 15:52:07 +00:00
Nils Ohlmeier [:drno] 01210346dd Bug 1217677: increase UDP socket receive buffer for <= Win7. r=jesup,mcmanus
MozReview-Commit-ID: A3yCZZ3Pwcu

--HG--
extra : rebase_source : 67d200194ed72076fcb6064f16ec94334f8fb5e7
2016-03-01 21:46:50 -08:00
Francois Marier 5306fd5619 Bug 1164518 - Better logging of completions. r=gcp
MozReview-Commit-ID: JqhDC9GzB8l

--HG--
extra : rebase_source : c174046a80d128053adbcc9ca498a14c1f381ca0
2016-03-02 14:54:59 -08:00
Blake Kaplan 456e54eb3b Bug 1113196 - Pass a sane set of parameters to loadinfo for top-level loads in e10s. r=sicking 2016-03-04 08:54:07 -08:00
Valentin Gosu 9ee45bbb21 Bug 1253379 - Cache timings not send to HttpChannelChild r=mayhemer
MozReview-Commit-ID: D7IWrI25mIB

--HG--
extra : rebase_source : 323b385c910356472bb805c6a16b4a57f3e107c5
2016-03-04 12:14:00 +01:00
Valentin Gosu 1863d8b9cd Bug 652186 - Implement URL Standard's backslash replacement r=mcmanus
* * *
[mq]: test

MozReview-Commit-ID: JAZ36DstjFs

--HG--
extra : rebase_source : ccce437c84a15319fa05db4c14c5d784b66f6638
2016-03-03 15:50:16 +01:00
Patrick McManus 743611280b Bug 1253358 - Assert no flags on several h2 frame types r=hurley 2016-03-03 16:35:38 -05:00
Patrick McManus bf8f0696ad Bug 1253358 - no flags on priority frames r=hurley 2016-03-03 13:33:04 -05:00
Patrick McManus 267eda0f68 Bug 1253358 - minor h2 push fixes r=hurley 2016-03-03 11:48:30 -05:00
Carsten "Tomcat" Book eb98199ac0 Backed out changeset ac4148f22b2d (bug 1186072) for referrer test failures
--HG--
extra : rebase_source : 124130bb041418eb97862a131ae6365df5cfbdc6
2016-03-03 09:23:59 +01:00
Franziskus Kiefer 55e0623947 Bug 1186072 - add trailing slash to origin referer header when policy is set, r=sworkman
MozReview-Commit-ID: 3PYuODmqpbL

--HG--
extra : transplant_source : %E5P%B1%1F%82%08%07%2A%1C%26%AF%C5%C8%29%B1y%97O%877
2016-02-24 10:51:54 +01:00
Nils Ohlmeier [:drno] 953cd8dd97 Bug 1252755: increase maximum UDP packet size to 9216 bytes for jumbo frames. r=jesup
MozReview-Commit-ID: 9aNARxTIdyr

--HG--
extra : rebase_source : 55ebde8cd317058169e93f68d982a1c5fc8abb9e
2016-03-01 22:13:14 -08:00
Nicholas Hurley 0b3b2a68db Bug 1246761 - Properly handle non-terminal 0-length DATA frames. r=mcmanus
--HG--
extra : rebase_source : 756e42ecea9646b5b0e2770060090437b06b9f9d
2016-03-01 16:28:39 -08:00
J. Ryan Stinnett 764b9f1ffa Bug 1238160 - Set frame type on TabContext. r=billm,mayhemer
This change renames TabContext::IsBrowserElement to IsIsolatedMozBrowserElement.
Other methods that pass these values around also have name changes.

Adds TabContext::IsMozBrowserElement which is set by the frame loader for all
browser frames.  This is in contrast to its previous implementation, which has
since been renamed IsIsolatedMozBrowserElement, since it checks isolated state
in OriginAttributes.

TabContext methods related to browser elements (and their callers) are updated
to use IsIsolatedMozBrowserElement when check isolation / origins and
IsMozBrowserElement when checking frame types.

MozReview-Commit-ID: DDMZTkSn5yd
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett 5bede71f0d Bug 1238160 - Rename nsILoadContext::GetIsInBrowserElement. r=smaug,mayhemer
This change renames nsILoadContext::GetIsInBrowserElement to
GetIsInIsolatedMozBrowserElement.  Other methods that pass these values around
also have name changes.

Tokens such as "isInBrowserElement" have previously been serialized into cache
keys, used as DB column names, stored in app registries, etc.  No changes are
made to any serialization formats.  Only runtime method and variable names are
updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: CUttXANQjSv
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett 2a55d065b7 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Ehsan Akhgari 8a0731fdde Bug 1251875 - Part 1: Remove the dom.serviceWorkers.interception.enabled pref; r=bkelly 2016-03-01 09:16:38 -05:00
Ehsan Akhgari baf9a67550 Bug 1251873 - Store the trimmed referrer URL on HTTP channel if a trimming referrer policy is in effect; r=mcmanus
Failure to do this will result in the consumers of
nsIHttpChannel::GetReferrer() observing the wrong referrer.  The test in this
patch shows the scenarios which would fail under such conditions.
2016-03-01 09:15:25 -05:00
David Rajchenbach-Teller 077332385a Bug 1252386 - Removed debugging printf,r=me
MozReview-Commit-ID: 131XBlD5YOQ

--HG--
extra : rebase_source : 9d3453845ade7e36ede08d09a6d4d5566924a7a7
2016-03-01 08:38:27 +01:00
Ms2ger 07caffd689 Bug 1252094 - Export necko-config.h from moz.build; r=ted 2016-03-01 09:17:29 +01:00
Wes Kocher e2f9524db9 Backed out changeset fc5cc380ddb3 (bug 1251873) for wpt cross-origin.swap-origin-redirect.http.html failures
MozReview-Commit-ID: Anr0ilrYczq
2016-02-29 13:34:55 -08:00
Ehsan Akhgari befc43a124 Bug 1251873 - Store the trimmed referrer URL on HTTP channel if a trimming referrer policy is in effect; r=mcmanus
Failure to do this will result in the consumers of
nsIHttpChannel::GetReferrer() observing the wrong referrer.  The test in this
patch shows the scenarios which would fail under such conditions.
2016-02-29 14:51:16 -05:00
Eric Rahm 217f7e1cbf Bug 1251493 - Remove remaining references to MOZILLA_XPCOMRT_API from netwerk. r=mcmanus 2016-02-29 11:16:30 -08:00
Wes Kocher 4712647d7d Backed out 2 changesets (bug 1243586) for dt5 bustage in netmonitor tests
Backed out changeset 06a4d2d48fb2 (bug 1243586)
Backed out changeset 846e31fe5eb2 (bug 1243586)

MozReview-Commit-ID: 69kiDIULtm2
2016-02-29 10:39:04 -08:00
Christoph Kerschbaumer a863521d73 Bug 1243586 - Implement Upgrade-Insecure-Requests HTTP Request Header Field (r=rbarnes) 2016-02-29 08:44:39 -08:00
Dragana Damjanovic dd.mozilla@gmail.com d4dfbeb3b6 Bug 1251595 - Check if mNetAddr is set before sending ipv4/6 telemetry. r=mcmanus 2016-02-26 08:00:00 -05:00
Joel Maher e31f4f8868 Bug 1251629 - remove unused reference to PREDICTOR_TESTS in netwerk/base/moz.build. r=nwgh
MozReview-Commit-ID: DMfX8ZCzbT

--HG--
extra : rebase_source : 198e78d68c9af6fbc0e13e101735a433a1de1f16
2016-02-26 08:28:08 -08:00
Tim Taubert 896a7362d7 Bug 1247860 - Enable ChaCha20/Poly1305 cipher suites r=emk,keeler 2016-02-26 12:37:19 +01:00
Paul Bignier 1d1fd489f5 Bug 1245106 - necko compilation warnings r=mcmanus
--HG--
extra : rebase_source : 6f4adf253af73a58d3ff5561e33e34eed94e456b
2016-02-26 11:29:28 -05:00
Dragana Damjanovic 5031bdb80e Bug 580313 - New resource hints for link. r=smaug
--HG--
extra : rebase_source : 5ce4ef05217f6d513052f83a7e18b00d1596417a
2016-02-26 02:41:00 +01:00
Bogdan Postelnicu 3de845aa19 Bug 1251253 - prevent null pointer dereference of |aContext| in CacheStorageService::DoomStorageEntries. r=mayhemer
MozReview-Commit-ID: BmXXg4eW25n

--HG--
extra : rebase_source : 35ca2824ebdd618fef7b6de4858de8214571f466
2016-02-25 20:41:52 +02:00
Bogdan Postelnicu b700af6edd Bug 1234540 - verify the validity of hashEntry, if it's null return with NS_ERROR_FAILURE. r=michal 2016-02-26 10:30:12 +02:00
David Rajchenbach-Teller 48f2be74e2 Bug 1249590 - Bullet-proofing AsyncShutdown wrt exceptions;r=froydnj
While investigating bug 1248489, we discovered that some code paths in
AsyncShutdown could possibly be sensitive to exceptions being thrown
in unexpected places. This patch attempts to make AsyncShutdown more
robust to such exceptions.

MozReview-Commit-ID: 5ImL9YNVgQr

--HG--
extra : rebase_source : 823ee41406f7b341750e0339dfe3d5dbaa6d0cc9
2016-02-19 12:51:04 +01:00
Brian Smith 0005663935 Bug 571126: Remove NECKO_SEPARATE_STACKS support, r=jduell 2016-02-25 15:56:44 -08:00
Nicholas Nethercote 9d2a708f22 Bug 1247835 (part 1) - Use binary search instead of a hash table in nsEffectiveTLDService. r=jduell.
This saves 128 KiB of memory per process. It requires putting the eTLD entries
in sorted order.

--HG--
extra : rebase_source : 96678fcd91089a5151760dcced77e459bcbd4821
2016-02-25 13:31:01 +11:00
Andrea Marchesini b1768e7ec3 Bug 1245184 - Update mochitests, r=me 2016-02-25 16:41:13 +01:00
Andrea Marchesini 8cd3c16e81 Bug 1245184 - nsICookieManager.removeNative for TestCookie cppunittest, r=smaug 2016-02-25 16:41:13 +01:00
Andrea Marchesini ed31fee8d4 Bug 1245184 - nsICookieManager.remove should use the OriginAttributes, r=sicking 2016-02-25 16:41:13 +01:00
Nathan Froyd f1a24ff6a0 Bug 1247393 - use arrays of UniquePtr in ChannelEventQueue; r=mcmanus 2016-01-20 16:56:04 -05:00
Honza Bambas f6e228e9d3 Bug 1247644 - Don't do any I/O on doomed and unused HTTP cache entries, r=michal 2016-02-12 14:45:00 +01:00
Bogdan Postelnicu 855925309f Bug 1250115 - initialized pollInterval with 0 in order to prevent garbage value if Poll(..) doesn't get called. r=dragana
MozReview-Commit-ID: HoMv3sBg74W

--HG--
extra : rebase_source : c12a2a3342ed74909125cf18ebb54726fdeac35a
2016-02-24 13:47:18 +02:00
Carsten "Tomcat" Book fc53b9744d Backed out changeset 3955642fc8a9 (bug 1250115) for bustage 2016-02-24 12:17:39 +01:00
Bogdan Postelnicu 6948abc600 Bug 1250115 - initialized pollInterval with 0 in order to prevent garbage value if Poll(..) doesn't get called. r=dragana
MozReview-Commit-ID: HoMv3sBg74W

--HG--
extra : rebase_source : 718c383cfd6f000a78f0f3d850911aea32fbb13e
2016-02-24 11:59:07 +02:00
Honza Bambas 68a7636bf1 Bug 1050613 - Make sure force-valid for HTTP cache entries is removed when entries are removed, r=michal 2016-02-19 11:56:00 +01:00
Dylan Roeh 30e72a8b98 Bug 1148544 - Update tests to work with new way of handling user agent overrides. r=jchen 2016-02-22 15:57:18 -06:00
Dylan Roeh 93886420a6 Bug 1148544 - Figure out UA override once per LoadGroup and cache it, rather than once per channel. r=nwgh 2016-02-22 15:57:18 -06:00
Patrick McManus 3355f2b1ed Bug 739029 - null check a thread allocation in notifyaddrlistener r=bagder 2016-02-19 15:21:28 -05:00
Patrick McManus 529544b457 Bug 831450 - No Range Requests against weak Etag r=mayhemer 2016-02-19 16:09:16 -05:00
Patrick McManus 4033d4ec3c Bug 698882 - backout threadevent changes due to crashes with McAfee Firefox Hook r=backout 2016-02-21 17:41:21 -05:00
Patrick McManus bb76653375 Bug 1249432 - less h2 parallel conns r=hurley 2016-02-18 17:30:46 -05:00
Patrick McManus 57205a2a42 Bug 1249379 - H2 Push WindowUpdate not written to network r=hurley 2016-02-18 15:00:46 -05:00
Carsten "Tomcat" Book f2a98554ec Backed out changeset 27f3968ae8b2 (bug 1245184) 2016-02-19 15:55:23 +01:00
Andrea Marchesini 0a72c5e9e3 Bug 1245184 - CookieManager should remove cookies only if they match the userContextId, r=sicking 2016-02-19 14:49:50 +01:00
Honza Bambas d9866a3576 Bug 1247998 - Let nsHttpChannel::AsyncOpen* throw after nsHttpHandler has been shutdown, r=mcmanus 2016-02-18 08:54:00 +01:00
Randell Jesup d4303cccdf Bug 1240760: Update DataChannel::Close() r=mcmanus
MozReview-Commit-ID: 7nN9h3M3O8w
2016-02-19 01:08:07 -05:00
Honza Bambas fd14c17712 Bug 1247432 - Don't do any unnecessary I/O in cache2 after shutdown. r=michal 2016-02-12 09:36:00 -05:00
Patrick McManus 0acb222f9a Bug 1248203 - streamline h2 stream flow control buffer r=hurley 2016-02-13 12:10:02 -05:00
Patrick McManus ab744ac5a1 Bug 698882 - mozilla::net::PollableEvent r=dragana r=mayhemer 2016-02-11 15:00:22 -05:00
Michal Novotny 83b2b79f9d Bug 1248958 - CacheIndex mRWBuf ownership too fragile, read-after-free, r=honzab 2016-02-18 11:43:20 +01:00
Honza Bambas 581cd94d0a Bug 1248003 - Purge from HTTP cache memory pool only in reasonable intervals, r=michal 2016-02-15 11:45:00 +01:00
Kershaw Chang d5f84ee56f Bug 1239955 - Let DNSService rely on IOService::Offline, r=bagder 2016-02-17 22:29:00 +01:00
Honza Bambas d5d114572a Bug 587177 - Update all comments before SetOriginalURI to reflect reality, r=mcmanus
--HG--
extra : rebase_source : adbb70cbdc4a1f58af02f19bdba4f5a6eb06e9f0
2016-02-17 10:46:00 +01:00
Daniel Holbert cad2de7926 Bug 1247733 part 4: Add xpcshell test for nsIStandardURL setDefaultPort() API. r=valentin 2016-02-17 19:24:42 -08:00
Daniel Holbert e064e82632 Bug 1247733 part 2: Give nsIStandardURL an API to set its default port, and use it when upgrading HTTP connections to HTTPS. r=valentin 2016-02-17 19:24:36 -08:00
Daniel Holbert ba4e93c003 Bug 1247733 part 1: Create a helper function for nsStandardURL's code to add/remove/replace a port in the URL string. r=valentin 2016-02-17 19:24:34 -08:00
Daniel Holbert aabf7f299c Bug 1248452: Rewrite NS_IsHSTSUpgradeRedirect to use HttpBaseChannel::GetSecureUpgradedURI. r=jduell 2016-02-17 19:03:41 -08:00
Christoph Kerschbaumer dcdf6d76c6 Bug 1246220: Update test_bug337744 (r=mcmanus) 2016-02-12 17:18:29 -08:00
Matt Wobensmith 26f0256436 Bug 1246220 - Remove SEC_NORMAL from netwerk/test (r=ckerschb,mcmanus) 2016-02-16 16:10:14 -08:00
Michal Novotny 5546f7149d Bug 1248389 - Cache index causing CPU loops, r=honzab 2016-02-17 11:47:47 +01:00
radu stoica 913ed1d7ab Bug 1248558 - "[Static Analysis][Unintentional integer overflow][CacheFile.cpp::PreloadChunk, CacheFile.cpp::GetChunkLocked]". r=michal
--HG--
extra : rebase_source : a13923fa1d2618f7a00363b17e3a8f9bf090e89f
2016-02-16 04:29:00 +01:00
J.C. Jones 70bc936cba Bug 1231681 - "Implement window.u2f interface". r=baku, r=dkeeler 2016-02-09 16:43:00 +01:00
Shih-Chiang Chien 2624c1bfd1 Bug 1231416 - fix Mulet UA string generation rule. r=fabrice.
MozReview-Commit-ID: 69fIxw0FO9l

--HG--
extra : rebase_source : c3720d20001096b1775cdade418de27983720c40
2016-02-16 18:54:12 +08:00
Wes Kocher 6d91654914 Backed out changeset 9d5fa6d7558a (bug 1247432) for being a possible cause of the spike in ASAN test_browserElement_oop_getWebManifest.html failures
--HG--
extra : commitid : 1NKaYZHHXip
extra : rebase_source : 4f280016d0e7c767eca959d428a6978397514840
2016-02-16 16:40:43 -08:00
Patrick McManus 54be97b2ea Bug 1247205 - dont loop on http2 softerror r=dragana 2016-02-13 20:54:24 -05:00
Andrea Marchesini fa67ed1ccd Bug 1245866 - A better buffer size check in nsIDNService::IDNA2008ToUnicode, r=jfkthame 2016-02-16 17:53:44 +00:00
ISHIKAWA, Chiaki be2b50a7f8 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Honza Bambas b081be5e55 Bug 1247432 - Don't do any unnecessary I/O in cache2 after shutdown, r=michal 2016-02-12 09:36:00 +01:00
Michal Novotny 1833733f5d Bug 1247806 - Fix HSTS redirect check in WebSocketChannel, r=mcmanus 2016-02-16 01:19:57 +01:00
Dragana Damjanovic dd.mozilla@gmail.com 483a342274 Bug 1242755 - Move nsHttpConnectionMgr->Shutdown back to nsHttpHandler. r=mcmanus
--HG--
extra : rebase_source : 762aa4b8f1e03c7422cd9416dfb724ac8926820d
2016-02-04 04:14:00 +01:00
Patrick McManus 532454b02a Bug 1240025 - incorrect close state on pushed stream r=hurley 2016-02-10 14:54:32 -05:00
Aidin Gharibnavaz 686438c658 Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley 2016-02-10 08:23:00 +01:00
Carsten "Tomcat" Book 855c877f61 Merge mozilla-central to mozilla-inbound 2016-02-10 14:29:05 +01:00
Carsten "Tomcat" Book b8f6140f54 merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
Valentin Gosu 9980689593 Bug 1042347 - %2e entered in URL bar not normalized leading to denormalized request r=mcmanus 2016-02-10 13:13:23 +01:00
Valentin Gosu ed608a9278 Bug 464591 - Add test to make sure percent encoded host name can't bypass IDN normalization r=mcmanus 2016-02-10 13:13:10 +01:00
Honza Bambas 403865b110 Bug 1231512 - Allow nsIHttpChannel.redirectTo() work also on an open channel, r=jduell
--HG--
rename : netwerk/test/unit/test_redirect_from_script.js => netwerk/test/unit/test_redirect_from_script_after-open_passing.js
2016-02-05 07:45:00 +01:00
Myk Melez a6aff185d2 Bug 1238576 - disable mozApps API on desktop/Android; r=ehsan,ochameau,bz,mcmanus,jmaher,marco 2016-02-08 11:24:22 -08:00
Nicholas Nethercote 0f6f6e8526 Bug 1246013 (part 2) - Change "explicit/xpcom/effective-TLD-service" path to the more sensible "explicit/network/effective-TLD-service". r=jduell.
--HG--
extra : rebase_source : 8e846b38f38c6701c9a41eb38b0acbcb763182d2
2016-02-05 11:31:28 +11:00
Nicholas Nethercote 6e433114a5 Bug 1246013 (part 1) - Store a copy of the ETLDEntry directly in DomainEntry instead of a pointer to it. r=jduell.
This reduces the size of nsEffectiveTLDService from 256 KiB to 128 KiB on
64-bit platforms.

--HG--
extra : rebase_source : b0a52634a1c8d045d0471af38dc79552a1bf2365
2016-02-05 11:17:35 +11:00
Wes Kocher 807175f2a6 Backed out 2 changesets (bug 1148544) for failures in test_user_agent_overrides.html
Backed out changeset 5073d841f77d (bug 1148544)
Backed out changeset 64a2c41c6f20 (bug 1148544)

--HG--
extra : commitid : 3oP1hrXASC1
2016-02-09 16:58:54 -08:00
Dylan Roeh 07fb790f37 Bug 1148544 - Update tests to work with new way of handling user agent overrides. r=jchen 2016-02-09 16:51:43 -06:00
Dylan Roeh 1bcde8e01f Bug 1148544 - Figure out UA override once per LoadGroup and cache it, rather than once per channel. r=nwgh 2016-02-09 16:51:34 -06:00
Patrick McManus 981e160b2f Bug 544986 - 64KB rwin for windows xp r=dragana 2016-02-04 17:41:28 -05:00
Daniel Stenberg e9020d4387 Bug 1246850 - check the NotifyIpInterfaceChange() return code, r=mcmanus 2016-02-09 01:31:00 +01:00
Dragana Damjanovic dd.mozilla@gmail.com fc699d578a Bug 1242464 - Call shutdown() before closesocket() and change linger option on windows. r=mcmanus 2016-02-04 04:42:00 +01:00
Patrick McManus cbb7790bab Bug 1246778 - dont loop in nshttpconnection during shutdown r=dragana
--HG--
extra : rebase_source : e3a787fbb6a188d45530ab77f914cfeb4bdd9777
2016-02-08 17:21:43 -05:00
Sebastian Hengst 3de13c67e0 Backed out changeset 28188ac5d84a (bug 1242755) for XPCshell failures on Linux x64. r=backout 2016-02-08 13:17:43 +01:00
Frédéric Wang a4aeb26856 Bug 1242904 - Update Brotli to latest upstream revision ; now at 33aa40220b96cf95ad2b9ba61dc8d7fd2f964f2c. r=mcmanus 2016-02-08 12:01:21 +01:00
Carsten "Tomcat" Book 5b358688b7 Backed out changeset c18e29c1b369 (bug 1164581) for cpp unit tests test failures
--HG--
extra : rebase_source : fb6fd434c8e3f4b5fa53ea645a54c07cab207894
2016-02-08 11:17:38 +01:00
Dragana Damjanovic dd.mozilla@gmail.com 8939aa6688 Bug 1242755 - Move nsHttpConnectionMgr->Shutdown back to nsHttpHandler. r=mcmanus 2016-02-04 04:14:00 +01:00
Shih-Chiang Chien 075eec3d76 Bug 1241368 - provide JS implemented MDNS service as a fallback. r=nwgh,nalexander.
--HG--
rename : mobile/android/modules/MulticastDNS.jsm => netwerk/dns/mdns/libmdns/MulticastDNSAndroid.jsm
extra : rebase_source : 4b5418819c590c8a373813843605df7f1748ecb8
2014-05-16 15:01:27 -04:00
Aidin Gharibnavaz 69cf7e035f Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
--HG--
extra : rebase_source : 3c6bba6613a14e48239d302bdd0f7fe2e322265d
2016-02-07 10:56:00 +01:00
Sándor Gecsey d1016bbf13 Bug 241698 - Fixed init and use of nsDirIndex::mLastModified (-1LL) + built in nullptr checks where they were missing. r=dragana
Also unified the opening brackets in method bodies because they differed.

--HG--
extra : source : 4eab8351973ca4693421edf97d0083180f0e8d37
2016-02-03 10:16:00 -05:00
Patrick McManus 71474d4ad5 Bug 1246263 - fix unified build pollution r=valentin 2016-02-06 09:11:39 -05:00
Wes Kocher fdd69585a6 Backed out changeset 4eab8351973c (bug 241698) for being a possible cause of build bustage CLOSED TREE
--HG--
extra : commitid : 5hyfmcWFlAl
2016-02-05 15:07:16 -08:00
Wes Kocher 8320c4f055 Backed out changeset 448af29079c9 (bug 1231512) for being a possible cause of build bustage CLOSED TREE
--HG--
extra : commitid : 5eX9SsyDT40
2016-02-05 15:07:06 -08:00
Honza Bambas 77a7813385 Bug 1231512 - Allow nsIHttpChannel.redirectTo() work also on an open channel. r=jduell
--HG--
rename : netwerk/test/unit/test_redirect_from_script.js => netwerk/test/unit/test_redirect_from_script_after-open_passing.js
2016-02-05 07:45:00 -05:00
Sándor Gecsey d6f50c7233 Bug 241698 - Fixed init and use of nsDirIndex::mLastModified (-1LL) + built in nullptr checks where they were missing. r=dragana
Also unified the opening brackets in method bodies because they differed.
2016-02-03 10:16:00 -05:00
Nicholas Hurley f375006202 Bug 1244505 - Ensure we allow spaces in cookie names and values. r=mcmanus
--HG--
extra : commitid : 6KkxhfCwUWz
extra : rebase_source : b9fdd10e45a1623d84471b573be5f3ef292c8153
2016-02-04 10:14:30 -08:00
Patrick McManus c57196d7b9 Bug 1241906 - test for suspended spdy3.1 channel r=hurley
--HG--
extra : rebase_source : bcbeed89580d82472d751a6cc86108eb7f7d943b
2016-02-05 11:17:24 -05:00
Patrick McManus 677082b660 Bug 1241906 - Spdy deadlock on suspended channel r=hurley
--HG--
extra : rebase_source : 5c61ce077ba3b6ff5e68b379ac0efda304424e1b
2016-01-29 11:47:58 -05:00
Valentin Gosu 947cd3dfe3 Bug 241788 - Add missing run_next_test() to xpcshell-test a=testonly 2016-02-05 16:49:49 +01:00
Valentin Gosu 82a16a09cb Bug 241788 - net_FilterURIString should filter \r\n\t from the entire URL r=honzab
* net_ExtractURLScheme now uses mozilla::Tokenizer
* net_FilterURIString also filters characters in the scheme now
* removed startPos and endPos parameters for net_FilterURIString and introduced net_IsAbsoluteURL
2016-02-05 14:45:08 +01:00
Valentin Gosu 2516368fc9 Bug 377052 - nsBaseURLParser::ParseURL doesn't handle spaces embedded in the scheme properly r=mcmanus 2016-02-01 14:07:16 +01:00
Ben Kelly 0c15e9bdfd Bug 1243453 P1 Make nsCORSListenerProxy call UpdateChannel() for internal redirects. r=sicking 2016-02-04 07:28:21 -08:00
sayre@gmail.com b898aadf82 Bug 407537 - Dont normalize a nonexistant file r=biesi 2016-02-03 13:47:20 -05:00
Andrew Sutherland 2ed9444a3c Bug 345580 - Problem decoding quoted-printable question mark in subject r=biesi
--HG--
extra : rebase_source : 37f27948211ee70c5f4a133eefee6c275ebc3fc8
2016-01-28 14:25:46 -05:00
Patrick McManus e148eb356e bug 277813 - autogenerated expires needs max r=mayhemer
--HG--
extra : rebase_source : 1f772fae7ed927310e1e40877d96754158da0898
2016-01-26 15:54:25 -05:00
Christoph Kerschbaumer 2f5879179c Bug 1195173 - Convert ExtensionProtocolHandler to use channel->Open2() (r=maglione) 2016-02-02 20:35:15 -08:00
Blake Kaplan 6dbe3327a3 Bug 1242472 - Properly propagate mTopWindowURI through redirects. r=francois/ckerschb 2016-02-02 13:44:11 -08:00
Nicholas Hurley 3fc65d4a88 Bug 1241896 - Fix netaddr deserialization for AF_UNSPEC and AF_LOCAL. r=mcmanus
--HG--
extra : commitid : IZc6Z0EDgy3
extra : rebase_source : db0ca5a480b3d9f7eda44b4a39b2c1f0d2a11b06
2016-02-01 10:03:24 -08:00
Nicholas Hurley 07a85c1de1 Bug 1244505 - Allow spaces in cookie names. r=mcmanus
--HG--
extra : commitid : JRYohkoM9zL
extra : rebase_source : 8be51c60e2153d4332a617d40d5ba6923bb24a26
extra : histedit_source : 2a2b22cce13db92c4db24763c412d837fe3af37a
2016-02-01 09:46:24 -08:00
Ben Kelly 2f4a4aa980 Bug 1244122 P1 Always support SW intercept even when http cache is disabled. r=mayhemer 2016-02-02 10:03:20 -08:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda 5bf2bbbbee Back out 2 changesets (bug 1244122) for a 50% failure rate in (at least) 10.6 e10s browser_force_refresh.js
Backed out changeset d383f170be3f (bug 1244122)
Backed out changeset b1eacad41db4 (bug 1244122)
2016-02-01 19:53:55 -08:00
Mark Goodwin 68617816d0 Bug 1241455 Send TLS Error Reports for subresources r=past, Gijs, mcmanus
This patch makes use of the security reporter component (which hasn't landed yet
 - see blockers) to allow automatic TLS error reports to be sent directly from
nsHttpChannel.cpp rather than sending them from browser.js. This allows failed
connections for subresources to be reported.

Some of the report sending from browser.js was retained to allow reports to be
sent at the time a user enables reporting. This has been modified to also make
use of the component.

Since the patient is on the table, I've also taken the opportunity to
remove the retry and status bits from aboutCertError.xhtml and
aboutNetError.xhtml - which removes a bunch of code and simplifies things a bit.

The mochitests have been modified to cope with the fact that the UI does not
update with report sending / report failures - instead, success and failure are
determined by examining the response seen from the server from within the test.
2016-02-01 11:18:50 +00:00
Ben Kelly 273bea9bb6 Bug 1244122 P1 Always support SW intercept even when http cache is disabled. r=mayhemer 2016-02-01 12:29:40 -08:00
Honza Bambas 093d2c50de Bug 1211941 - Let nsICacheStorage.openTruncate impl return an HTTP cache entry write handle, r=michal 2016-01-12 07:31:00 +01:00
Andrea Bartolucci 7155453855 Bug 137852 - Add a new working HTTP authentication identity to the begining of the session cache list. r=honzab 2016-01-21 11:22:00 +01:00
Nicholas Nethercote 2de1cd4d7a Bug 1187137 (part 13) - Replace nsBaseHashtable::Enumerate() calls in netwerk/protocol/ with iterators. r=valentin.
--HG--
extra : rebase_source : 67a9afc30e75e7676a935e95057af28ed2623354
2016-01-29 16:02:26 +11:00
Nicholas Nethercote f852272c8b Bug 1187137 (part 12) - Replace nsBaseHashtable::Enumerate() calls in netwerk/protocol/ with iterators. r=valentin.
--HG--
extra : rebase_source : 5adeeac7c622891a303c79b7d9814283a64972b0
2016-01-29 15:58:07 +11:00
Nicholas Nethercote 43b9335159 Bug 1187137 (part 11) - Replace nsBaseHashtable::Enumerate() calls in netwerk/protocol/ with iterators. r=valentin.
--HG--
extra : rebase_source : 25e5fbab48ff133fbc191876b687d713dc8669c9
2016-01-29 15:57:49 +11:00
Nicholas Nethercote 6422b3c748 Bug 1187137 (part 10) - Replace nsBaseHashtable::Enumerate() calls in netwerk/protocol/ with iterators. r=valentin.
--HG--
extra : rebase_source : acee355399453c04286196a79190cd754c94ec91
2016-01-29 15:20:55 +11:00
Nicholas Nethercote 053d6c9295 Bug 1187137 (part 9) - Replace nsBaseHashtable::Enumerate() calls in netwerk/protocol/ with iterators. r=valentin.
--HG--
extra : rebase_source : 77a50ddc4d984b19f23d03d884418d0ea46fb859
2016-01-29 15:17:28 +11:00
Nicholas Nethercote e8413873d8 Bug 1187137 (part 8) - Replace nsBaseHashtable::Enumerate() calls in netwerk/protocol/ with iterators. r=valentin.
--HG--
extra : rebase_source : 1c7255ee6768c7e43bc7174f887bfed8e2751cfb
2016-01-29 15:11:36 +11:00