Commit Graph

7257 Commits

Author SHA1 Message Date
Patrick McManus
d3292d62a6 Bug 1253582 - h2 coalescing impacts wss:// r=michal, a=ritu 2016-03-15 11:54:12 -04:00
Andrea Marchesini
9b1f2ed1b6 Bug 1254730 - patch 2 - Better comments and a better management of lifetime of ChannelEvents, r=michal, a=ritu 2016-03-14 18:46:22 +01:00
Andrea Marchesini
4a304f9f0d Bug 1254730 - ChannelEventQueue must be thread-safe, r=michal, a=ritu 2016-03-14 17:10:26 +01:00
Jan de Mooij
40e492b522 Bug 1212328 - Clean up some JSErrorReport-related code. r=Waldo,bz, a=ritu 2016-03-11 15:19:06 +01:00
Blake Kaplan
300f5b9f94 Bug 1254856 - Use a better window for 3rd-party checks. r=sicking, r=billm, a=sledru 2016-03-11 23:28:00 -05:00
Nils Ohlmeier [:drno]
bd54c7807f Bug 1217677: increase UDP socket receive buffer for <= Win7. r=jesup,mcmanus
MozReview-Commit-ID: A3yCZZ3Pwcu
2016-03-01 21:46:50 -08:00
Francois Marier
db54d940f9 Bug 1164518 - Better logging of completions. r=gcp
MozReview-Commit-ID: JqhDC9GzB8l
2016-03-02 14:54:59 -08:00
Blake Kaplan
0d84e9ac64 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
85a763366b Bug 1253379 - Cache timings not send to HttpChannelChild r=mayhemer
MozReview-Commit-ID: D7IWrI25mIB
2016-03-04 12:14:00 +01:00
Valentin Gosu
c61cee62a5 Bug 652186 - Implement URL Standard's backslash replacement r=mcmanus
* * *
[mq]: test

MozReview-Commit-ID: JAZ36DstjFs
2016-03-03 15:50:16 +01:00
Patrick McManus
78b4ea3408 Bug 1253358 - Assert no flags on several h2 frame types r=hurley 2016-03-03 16:35:38 -05:00
Patrick McManus
b78ee9f61d Bug 1253358 - no flags on priority frames r=hurley 2016-03-03 13:33:04 -05:00
Patrick McManus
88c9df9cd6 Bug 1253358 - minor h2 push fixes r=hurley 2016-03-03 11:48:30 -05:00
Carsten "Tomcat" Book
9e3db32a77 Backed out changeset ac4148f22b2d (bug 1186072) for referrer test failures 2016-03-03 09:23:59 +01:00
Franziskus Kiefer
994f6cf0c7 Bug 1186072 - add trailing slash to origin referer header when policy is set, r=sworkman
MozReview-Commit-ID: 3PYuODmqpbL
2016-02-24 10:51:54 +01:00
Nils Ohlmeier [:drno]
6e84cfd6aa Bug 1252755: increase maximum UDP packet size to 9216 bytes for jumbo frames. r=jesup
MozReview-Commit-ID: 9aNARxTIdyr
2016-03-01 22:13:14 -08:00
Nicholas Hurley
87f6a2c993 Bug 1246761 - Properly handle non-terminal 0-length DATA frames. r=mcmanus 2016-03-01 16:28:39 -08:00
J. Ryan Stinnett
3872b5e0b0 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
eb232136f4 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
0af8bf06b1 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
a67a5febad Bug 1251875 - Part 1: Remove the dom.serviceWorkers.interception.enabled pref; r=bkelly 2016-03-01 09:16:38 -05:00
Ehsan Akhgari
17f7689c91 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
f358d9bf52 Bug 1252386 - Removed debugging printf,r=me
MozReview-Commit-ID: 131XBlD5YOQ
2016-03-01 08:38:27 +01:00
Ms2ger
15514f21e7 Bug 1252094 - Export necko-config.h from moz.build; r=ted 2016-03-01 09:17:29 +01:00
Wes Kocher
3ab9c0079f 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
7c3f2b7a03 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
dbb515a027 Bug 1251493 - Remove remaining references to MOZILLA_XPCOMRT_API from netwerk. r=mcmanus 2016-02-29 11:16:30 -08:00
Wes Kocher
bf8815d755 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
77d603857c 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
e4b62863c4 Bug 1251595 - Check if mNetAddr is set before sending ipv4/6 telemetry. r=mcmanus 2016-02-26 08:00:00 -05:00
Joel Maher
1f1f66ccfc Bug 1251629 - remove unused reference to PREDICTOR_TESTS in netwerk/base/moz.build. r=nwgh
MozReview-Commit-ID: DMfX8ZCzbT
2016-02-26 08:28:08 -08:00
Tim Taubert
230478a40e Bug 1247860 - Enable ChaCha20/Poly1305 cipher suites r=emk,keeler 2016-02-26 12:37:19 +01:00
Paul Bignier
fd084c453b Bug 1245106 - necko compilation warnings r=mcmanus 2016-02-26 11:29:28 -05:00
Dragana Damjanovic
155721f0d8 Bug 580313 - New resource hints for link. r=smaug 2016-02-26 02:41:00 +01:00
Bogdan Postelnicu
d78dea2f30 Bug 1251253 - prevent null pointer dereference of |aContext| in CacheStorageService::DoomStorageEntries. r=mayhemer
MozReview-Commit-ID: BmXXg4eW25n
2016-02-25 20:41:52 +02:00
Bogdan Postelnicu
7637865f1c 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
07161a924f 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
2016-02-19 12:51:04 +01:00
Brian Smith
1fb3c958e4 Bug 571126: Remove NECKO_SEPARATE_STACKS support, r=jduell 2016-02-25 15:56:44 -08:00
Nicholas Nethercote
bc81aab021 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.
2016-02-25 13:31:01 +11:00
Andrea Marchesini
c6537709fd Bug 1245184 - Update mochitests, r=me 2016-02-25 16:41:13 +01:00
Andrea Marchesini
3e32d12d98 Bug 1245184 - nsICookieManager.removeNative for TestCookie cppunittest, r=smaug 2016-02-25 16:41:13 +01:00
Andrea Marchesini
e33525b174 Bug 1245184 - nsICookieManager.remove should use the OriginAttributes, r=sicking 2016-02-25 16:41:13 +01:00
Nathan Froyd
f4e4ca445e Bug 1247393 - use arrays of UniquePtr in ChannelEventQueue; r=mcmanus 2016-01-20 16:56:04 -05:00
Honza Bambas
1c6a5ba1fc 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
c2a2694b10 Bug 1250115 - initialized pollInterval with 0 in order to prevent garbage value if Poll(..) doesn't get called. r=dragana
MozReview-Commit-ID: HoMv3sBg74W
2016-02-24 13:47:18 +02:00
Carsten "Tomcat" Book
54d02ff7b5 Backed out changeset 3955642fc8a9 (bug 1250115) for bustage 2016-02-24 12:17:39 +01:00
Bogdan Postelnicu
720e9a3be2 Bug 1250115 - initialized pollInterval with 0 in order to prevent garbage value if Poll(..) doesn't get called. r=dragana
MozReview-Commit-ID: HoMv3sBg74W
2016-02-24 11:59:07 +02:00
Honza Bambas
472456931c 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
5045bcd749 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
e80a2cd5d5 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