Commit Graph

16062 Commits

Author SHA1 Message Date
Tooru Fujisawa
1adba8c1fc Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Daniel Stenberg
144d65c4d6 bug 1446749 - make resolver keep TRR status when cherry-picking adddresses r=mcmanus
... as they otherwise appear in the about:networking list as "false"
while having been resolved by TRR.

MozReview-Commit-ID: 9g9fUExvyjS

--HG--
extra : rebase_source : 3098b7c3f7d01e55f5a8c031fc6a73e53f7edb05
2018-03-18 15:39:56 +01:00
Daniel Stenberg
75ba9a2870 bug 1446352 TRR: make "only mode" not wait for CP confirmation r=mcmanus
... to avoid a catch-22 as CP needs name resolve to work.

MozReview-Commit-ID: DC1CjlUy4cJ

--HG--
extra : rebase_source : 3bc0f146071f04757d44b76f352e48b2abb4dad0
2018-03-17 19:56:12 +01:00
Valentin Gosu
af5eeff2e3 Bug 1442239 - Make URI deserialization (nsISerializable.read) happen via nsIURIMutator only r=mayhemer
* Deserialization now only happens via a mutator
* The CID for URI implementations actually returns the nsIURIMutator for each class
* The QueryInterface of mutators implementing nsISerializable will now act as a finalizer if passed the IID of an interface implemented by the URI it holds

MozReview-Commit-ID: H5MUJOEkpia

--HG--
extra : rebase_source : 01c8d16f7d31977eda6ca061e7889cedbf6940c2
2018-03-19 20:22:32 +01:00
Honza Bambas
55a95407a1 Bug 1395760 - In offline mode, fail HTTP load when a cache entry is partial, r=michal 2018-03-02 13:42:00 +02:00
Gurzau Raul
3057041352 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-16 19:58:27 +02:00
Sylvestre Ledru
fa45a3c670 Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
MozReview-Commit-ID: JwHh4bzxuTR

--HG--
extra : rebase_source : 5f5e37517aa80c2e7b5933962178d761074886e7
2018-03-16 14:29:15 +01:00
Andreea Pavel
e5950c0d39 Backed out 2 changesets (bug 1442239) for xpcshell failures at widget/tests/unit/test_taskbar_jumplistitems.js on a CLOSED TREE
Backed out changeset 513cd669aca1 (bug 1442239)
Backed out changeset aef4c73f736f (bug 1442239)
2018-03-19 21:19:26 +02:00
Valentin Gosu
f0c7a1ae13 Bug 1442239 - Make URI deserialization (nsISerializable.read) happen via nsIURIMutator only r=mayhemer
* Deserialization now only happens via a mutator
* The CID for URI implementations actually returns the nsIURIMutator for each class
* The QueryInterface of mutators implementing nsISerializable will now act as a finalizer if passed the IID of an interface implemented by the URI it holds

MozReview-Commit-ID: H5MUJOEkpia

--HG--
extra : rebase_source : 8ebb459445cab23288a6c4c86e4e00c6ee611e34
2018-03-08 13:35:10 +01:00
L. David Baron
ed8327b354 Bug 1446079 - Remove test_predictor.js setting of new-cache preferences that are no longer needed. r=hurley
These are the only occurrences of "browser.cache.use_new_backend" in the tree.

MozReview-Commit-ID: IOSw0uUD5FW

--HG--
extra : rebase_source : c6c7e6abfdf2c3ff23c1f18e36110781f6b5580b
2018-03-16 08:45:08 -07:00
Ryan VanderMeulen
5383105dd9 Bug 1086964 - Remove uses of no_pgo that are no longer needed. r=dmajor 2018-03-14 18:18:32 -04:00
David Keeler
394c8f01a3 bug 1444532 - fix a leak in SHA256 in nsHttpConnectionInfo.cpp r=mayhemer
The original code (from bug 1200802) declared an XPCOM object as a static bare
pointer, which for future reference is probably never the right thing to do. It
might have worked if it was cleared before shutdown but it never was.

MozReview-Commit-ID: EMe7wgzm6zv

--HG--
extra : rebase_source : 572ce6822e297692bab3311a65e1143785b913c4
2018-03-09 14:16:57 -08:00
Jonathan Kingston
10ebc30d5d Bug 1440701 - Adding in telemetry for upgrading display content. r=ckerschb,valentin
MozReview-Commit-ID: 7oEIith4Ehv

--HG--
extra : rebase_source : 454d56277aa5dc08bf8cfd7cd9c1e24d31014838
2018-03-04 14:33:33 +00:00
Coroiu Cristina
0f6841e0d2 Backed out 2 changesets (bug 1443080) for spidermonkey build bustage at build/src/js/src/jit/BaselineCacheIRCompiler.cpp
Backed out changeset 7d509bb8a35d (bug 1443080)
Backed out changeset 53bdcd5937cd (bug 1443080)

--HG--
extra : rebase_source : 59b5350d2959c0b065aedd34bfe8337216c0ea4b
2018-03-14 11:13:21 +02:00
Sylvestre Ledru
c07eb73986 Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
MozReview-Commit-ID: JwHh4bzxuTR

--HG--
extra : rebase_source : 17c91bfd7241e3e522b1413b6e544df74f5361a0
2018-03-05 13:43:54 +01:00
Tom Ritter
9c3d32ebab Bug 1444490 Declare classses (and one method) in network/ final to reduce virtual function calls r=nwgh
MozReview-Commit-ID: 4oaazbPhpbc

--HG--
extra : rebase_source : 7c01066363605c64fc76332686b2c4d9c2af6518
2018-03-09 08:37:18 -06:00
Andreea Pavel
8fa0b32c84 Merge mozilla-inbound to mozilla-cenral. a=merge 2018-03-13 19:01:32 +02:00
Narcis Beleuzu
298d1d55b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-13 12:36:54 +02:00
Daniel Stenberg
c999b36f90 bug 1441131 - TRR: proxy storage removal to the mainthread r=valentin
MozReview-Commit-ID: K4Ar0RbSRzS

--HG--
extra : rebase_source : 6cefcc668f6004a59c09b065f2152250dbc83879
2018-03-12 15:57:13 +01:00
Daniel Stenberg
cc208144a3 bug 1445183 store TRR duration when the response is used r=valentin
Previously it would store the time even for early AAAA responses that
weren't used until the A response came in, thus getting the timing
wrong.

MozReview-Commit-ID: KctUjMjH5FR

--HG--
extra : rebase_source : fafd7ad25cd1b7a43d4b4a5653600cad830b471d
2018-03-13 10:37:50 +01:00
Daniel Stenberg
de5b0bf154 bug 1444887 TRR: get captive portal state in init r=valentin
To prevent it from sitting waiting for an event that was sent before the
TRRService started.

MozReview-Commit-ID: 9F0IlWGdA9O

--HG--
extra : rebase_source : 6a70210a4e538d8a1b240684a0b3ed5fed38e6ad
2018-03-12 14:48:49 +01:00
Noemi Erli
ac0a30f58c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-13 01:16:04 +02:00
Daniel Stenberg
51e2dbf071 bug 1444858 - TRR: respect network.dns.disableIPv6 r=valentin
MozReview-Commit-ID: 18STac9ASIB

--HG--
extra : rebase_source : e3e8956feee2ec9e4dfe438e1b6c20dc0c478ab9
2018-03-12 13:19:22 +01:00
Honza Bambas
ea33c31195 Bug 1444160 - Fix calculation of network socket timeout logic. r=valentin, mayhemer 2018-03-12 07:00:00 +02:00
Patrick McManus
aebf4bd069 Bug 1444453 - require version >= 10.13.4 for tfo on mac r=bagder
MozReview-Commit-ID: 6jYWQtcxRuA

--HG--
extra : rebase_source : 522fc28a04b951063c1c199f8017836c4f5f9e6a
2018-03-09 12:26:06 -05:00
Daniel Stenberg
f0caae2f7c bug 1441391 - TRR: restart failed NS confirms in TRR-only mode r=valentin
MozReview-Commit-ID: FHw3Zx07iFG

--HG--
extra : rebase_source : 55a09920127aa54e542ed736b92ca6fda63f889c
2018-03-09 09:05:48 +01:00
Dorel Luca
150521bb4b Backed out changeset 798a47cd74d5 (bug 1441391) for build bustages. CLOSED TREE 2018-03-09 14:49:02 +02:00
Daniel Stenberg
fd2336dfd3 bug 1441391 - TRR: restart failed NS confirms in TRR-only mode r=valentin
MozReview-Commit-ID: FHw3Zx07iFG

--HG--
extra : rebase_source : baa674f1a488c6ee5383a4f72c66bb595285db60
2018-03-09 09:05:48 +01:00
Brindusan Cristian
eb51abf4fb Merge inbound to mozilla-central. a=merge 2018-03-08 20:00:36 +02:00
Nathan Froyd
d260382328 Bug 1443900 - don't allocate nsCStrings when doing integer parsing; r=michal
There's no need to allocate a completely new nsCString when all we want
to do is parse a character string into an integer.  We can allocate a
dependent string instead, which will avoid some memory churn.
2018-03-08 09:43:00 -05:00
Eric Rahm
cc1509e530 Bug 1442756 - Switch nsHttpAuthCache::mDB to nsClassHashtable. r=mayhemer
--HG--
extra : rebase_source : 398e2105ea78c26f14419179fb0387c771384858
2018-03-02 15:04:25 -08:00
Daniel Stenberg
20d398643b bug 1441256 - bypass cache when retrying connection without TRR r=mcmanus,valentin
Otherwise it will just load back the same (problematic) addresses from the
cache again the second time. This introduces a new resolver bit
(REFRESH_CACHE) that also invalidates the existing cache entry while doing the
new resolve.

MozReview-Commit-ID: 5Bc2KiAGYYA

--HG--
extra : rebase_source : ae368c88a5db27f0980b9928439d27588bc84815
2018-03-06 14:50:21 +01:00
Honza Bambas
ecd9c51e6f Bug 1440567 - Add non-null checks around assignment of warning report to preflight HTTP channel in nsCORSListenerProxy::StartCORSPreflight. r=dveditz 2018-03-07 08:03:00 -05:00
Nathan Froyd
72e140cbf6 Bug 1443316 - part 3 - make cache entry request checking more readable; r=ckerschb
What we're really doing in CacheEntry::CheckRequest is checking:

a) Whether the method is contained in our allowed methods; and
b) Whether all of the headers are contained in our allowed headers.

nsTArray lets us check directly for containing elements, so let's use
that facility rather than rolling our own.
2018-03-07 13:39:54 -05:00
Nathan Froyd
4e5f97268e Bug 1443316 - part 2 - don't repeatedly construct comparators when checking cache entries; r=ckerschb
nsCaseInsensitiveCStringComparator ought to be cheap to construct, but
the object actually has a vtable to install and whatnot.  So it's
beneficial to pull the construction of it outside of the headers loop.
2018-03-07 13:39:54 -05:00
Nathan Froyd
4e03eee08a Bug 1443316 - part 1 - micro-optimize purging expired preflight cache entries; r=ckerschb
The entries in mMethods and mHeaders aren't sorted in any special way,
so we can remove expired entries using UnorderedRemoveElementAt, which
is faster than RemoveElementAt.
2018-03-07 13:39:54 -05:00
Nathan Froyd
19a0b532bc Bug 1443613 - don't allocate temporary strings for DNSRequestChild; r=mayhemer
DNSRequestChild's constructor takes `const nsCString&` parameters.  If
you have a `const nsACString&` argument to pass in to the constructor,
you're forced to construct a temporary nsCString object to satisfy the
prototype.  But the temporary string will just get copied inside the
constructor and you'll have to destroy the temporary string object you
created.

Let's skip all this, and just have DNSRequestChild take `const
nsACString&` arguments instead, and avoid the temporary object.
2018-03-07 12:22:03 -05:00
Bogdan Tara
f93e407658 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-07 12:06:25 +02:00
Daniel Stenberg
80c6547919 bug 1443489 - TRR: require a pref set to allow early AAAA responses r=valentin
Early AAAA responses might cause issues on hosts without working native
IPv6 connectivity, of course especially notable in TRR-only mode.

MozReview-Commit-ID: 6ZqE6AKnucH

--HG--
extra : rebase_source : ff42cb8daf941a3fa1f7e783c76d823e879024c3
2018-03-06 16:07:29 +01:00
Honza Bambas
8aaa7351b0 Bug 1438935 - Serialize selected LoadInfo properties from HTTPChannelParent to HTTPChannelChild through OnStartRequest and Redirect1Begin, r=asuth
--HG--
extra : rebase_source : 6d93112fbd0bcd9562094a05c70cb02e0c3bb4b9
2018-03-06 08:07:00 +02:00
Cosmin Sabou
c17d867e25 Merge inbound to mozilla-central. a=merge
--HG--
rename : browser/base/content/tabbrowser.js => browser/modules/AsyncTabSwitcher.jsm
2018-03-06 06:27:48 +02:00
Cosmin Sabou
ed1b2a8736 Backed out 4 changesets (bug 1437167) for build bustages on nsUpdateDriver.cpp and WindowsMessageLoop.cpp on a CLOSED TREE.
Backed out changeset b98740e7c639 (bug 1437167)
Backed out changeset 4476e8f51fa6 (bug 1437167)
Backed out changeset c79dc40faa41 (bug 1437167)
Backed out changeset b608d2dcbb86 (bug 1437167)
2018-03-06 00:09:46 +02:00
Nika Layzell
7f7a76ec67 Bug 1440771 - Part 4: Use nsCOMPtr<nsIInputStream> directly in PNecko, r=baku
MozReview-Commit-ID: COnMiadbCjn
2018-03-05 16:00:06 -05:00
Nika Layzell
19803dc200 Bug 1440511 - Part 1: Correctly namespace nsHttpResponseHead in NeckoChannelParams.ipdlh, r=froydnj
MozReview-Commit-ID: DVkTwAmqmkc
2018-03-05 16:00:01 -05:00
Nika Layzell
262be91f75 Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj
MozReview-Commit-ID: BN18I8Q6c7S
2018-03-05 16:00:00 -05:00
Valentin Gosu
34872b6d20 Bug 1441688 - Remove nsIIPCSerializableURI.Deserialize r=mayhemer
MozReview-Commit-ID: 8gwX3vSKWNX

--HG--
extra : rebase_source : a2c21a7e66aa8be3c2e345ca64feea967b380491
2018-03-05 04:14:44 +01:00
Valentin Gosu
f102a081b2 Bug 1434163 - Make all nsIURI attributes readonly r=mayhemer
MozReview-Commit-ID: KtjO8VWjPF5

--HG--
extra : rebase_source : 061a6db73e36b3a0b3732d44379bbc10e8268f9a
2018-02-27 00:07:48 +01:00
Kirk Steuber
06cca893ea Bug 1442429 - Correct the documentation for nsIBrowserSearchService::addEngineWithDetails r=mkaply
MozReview-Commit-ID: EryCTRT5t5I

--HG--
extra : rebase_source : c771bebb9fe894390ea272ca4259a9847aeaaa8a
2018-03-01 14:13:51 -08:00
Andrea Marchesini
5784769019 Bug 1443079 - nsScriptError.isFromPrivateWindow must match the correct value also in e10s mode, r=smaug 2018-03-13 06:40:38 +01:00
Nicholas Nethercote
439e258873 Bug 1438433 - Make network.predictor.cleaned-up a non-VarCache pref. r=hurley.
mCleanedUp is a VarCache variable, which mirrors the canonical value of the
network.predictor.cleaned-up pref. When the canonical pref value is modified,
e.g. by SetBool(), then mCleanedUp is also updated.

But the updating relationship is one-way -- if mCleanedUp is modified, the
canonical value of the pref is not updated. Such an inconsistency is bad! For
example, Predictor.cpp will use mCleanedUp's value, but about:config will show
the canonical value.

(For this reason, VarCache prefs are meant to be read-only outside of libpref.
Bug 1436655 will enforce this.)

This patch changes mCleanedUp so it's not a VarCache variable, avoiding the
mirroring issue.

MozReview-Commit-ID: LIG02gMkRjF

--HG--
extra : rebase_source : 273b2372ce718b0f346695a0dc96a189cd3ba233
2018-03-13 13:06:30 +11:00
Nicholas Nethercote
f87fadb9cb Bug 1438433 - Remove the network.predictor.redirect-likely-confidence pref. r=hurley.
It's unused.

MozReview-Commit-ID: DmHwJ3oW3Vq

--HG--
extra : rebase_source : 89d49a7d680e07383de82c2b4cb3a74a13f09c1e
2018-03-07 15:50:14 +11:00
Nathan Froyd
edc7498b90 Bug 1444472 - fix incorrect clang warning in nsCORSListenerProxy; r=valentin
Older versions of clang complain about this code, with:

netwerk/protocol/http/nsCORSListenerProxy.cpp:230:5: error: default initialization of an object of const type 'const struct CheckHeaderToken' without a user-provided default constructor

Later versions of the standard were amended to make this not an error,
but clang still warns.  Pacify clang by making the object not const.
2018-03-12 16:46:33 -04:00
Ben Kelly
6a92d27239 Bug 1440775 Make fetch API force-cache and only-if-cached use VALIDATE_NEVER instead of LOAD_FROM_CACHE. r=mayhemer 2018-03-01 07:37:31 -08:00
Ben Kelly
251a6dfaf4 Bug 1440565 P1 Make sure to clear any existing cache related load flags when setting the default fetch() RequestCache value. r=asuth 2018-02-28 10:34:13 -08:00
Florian Quèze
f3ee8dd20b Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:35 +01:00
Florian Quèze
6df7549a3e Bug 1433175 - semi-automated indent fix, r=Mossop. 2018-02-28 18:51:34 +01:00
Florian Quèze
c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Sebastian Hengst
769222fadf merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/base/content/tabbrowser.xml => browser/base/content/tabbrowser.js
2018-02-28 12:54:12 +02:00
Andrea Marchesini
18cabbba7b Bug 1431646 - Adding a completed boolean to know if the operation is completed in NS_ReadInputStreamToBuffer(), r=smaug 2018-02-28 07:14:41 +01:00
Andrea Marchesini
4ce2708b72 Bug 1441502 - nsBufferedInputStream should not change the exposed interfaces, r=smaug 2018-02-28 07:14:41 +01:00
Nathan Froyd
b5d5605a54 Bug 1441584 - part 2 - declare some URI classes final; r=valentin 2018-02-27 20:13:57 -05:00
Nathan Froyd
c821ec9351 Bug 1441584 - part 1 - declare inner URI Mutator classes final; r=valentin
For documentation purposes and to assist the compiler.
2018-02-27 20:13:57 -05:00
Honza Bambas
281502cac6 Bug 1363284 - HTTP/2 anonymous/onymous session (connection) coalescing, r=mayhemer
--HG--
extra : rebase_source : 66192a32668de8a9cd99722d1e0860cce2f84030
2018-02-15 09:10:00 +02:00
Valentin Gosu
823bcbf677 Bug 1434766 - Make nsIFileURL attributes readonly r=mayhemer
MozReview-Commit-ID: AN5EzyuuKuJ

--HG--
extra : rebase_source : 20794ce1c867915b4cae71b7abb9dcdca27fd290
2018-02-26 05:24:09 +01:00
arthur.iakab
17cd218519 Backed out changeset 56336c4873fe (bug 1434766) for build bustages on a CLOSED TREE 2018-02-27 17:14:15 +02:00
Valentin Gosu
f77fba2c4c Bug 1434766 - Make nsIFileURL attributes readonly r=mayhemer
MozReview-Commit-ID: AN5EzyuuKuJ

--HG--
extra : rebase_source : 2d986fa39930469472f24a208d9b06650ddb78f4
2018-02-26 05:24:09 +01:00
Valentin Gosu
ed218f0a19 Bug 1433958 - Change code that sets nsIURI.scheme to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: GgyIkZSG2y3

--HG--
extra : rebase_source : 5398a29d8cb910c909ed88e1a6cbd9fd63e6b745
2018-02-26 20:43:47 +01:00
Valentin Gosu
2a78b51a84 Bug 1433958 - If setting the host succeeds, SetHostPort should not return an error code r=mayhemer
WebPlatformTests expect that when calling
url.host = "host:" // port missing
url.host = "host:65536" // port too big
url.host = "host:bla" // invalid port
that the hostname will be set, but the port will be left unchanged.
Since DOM APIs are the only consumers for SetHostPort it means we can change this behaviour to match the WPT expectations.
As such, SetHostPort will return NS_OK if setting the host succeded, and will ignore if setting the port failed.

MozReview-Commit-ID: LoMw8hCWlCv

--HG--
extra : rebase_source : db28b73d98060c2f66f899afe1a4ae26f4db85db
2018-02-26 20:43:47 +01:00
Valentin Gosu
27e9e0be9f Bug 1433958 - Change code that sets nsIURI.host to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: 7T5gCu8WOfa

--HG--
extra : rebase_source : 752c34e5f9dde2e16fc9243c11860b987acbcb93
2018-02-26 20:43:47 +01:00
Valentin Gosu
7f3b09b694 Bug 1433958 - Change code that sets nsIURI.port to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: 7Lu7JJvDUGF

--HG--
extra : rebase_source : 8d5a9bb1c4a5a525f7c5bc8d07c1e7029d2029a3
2018-02-26 20:43:46 +01:00
Valentin Gosu
ec9082b60a Bug 1433958 - Change code that sets nsIURI.query to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: JKW8IsaFY10

--HG--
extra : rebase_source : 45ffa07c34739adf4de681fec1370645b0f74985
2018-02-26 20:43:46 +01:00
Valentin Gosu
4c1c2d2005 Bug 1433958 - Change code that sets nsIURI.ref to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: 4caicZFBkcQ

--HG--
extra : rebase_source : fe32f156392a9e0ce69fa6030278eaca43a69482
2018-02-26 20:43:46 +01:00
Valentin Gosu
139db586dc Bug 1433958 - Don't fail when setting an empty password if the username is already empty r=mayhemer
We normally fail in nsStandardURL::SetPassword if the username is empty.
But if the password we are trying to set is also empty, we should't really fail.

MozReview-Commit-ID: FIDqkPrb1gp

--HG--
extra : rebase_source : 9080c44e91e27acd210f3ace3a234528513928c3
2018-02-26 20:43:46 +01:00
Valentin Gosu
55537212a8 Bug 1433958 - Change code that sets nsIURI.password to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: I8igxClMM5L

--HG--
extra : rebase_source : edca02a7b10ab2e9f5f5498a1164890b9aa75985
2018-02-26 20:43:46 +01:00
Valentin Gosu
8617010c5f Bug 1433958 - Change code that sets nsIURI.username to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: 7E63pAIOZCs

--HG--
extra : rebase_source : 54164efbc967146f4811552498aea5e5db1edfc2
2018-02-26 20:43:46 +01:00
Valentin Gosu
84b854ce2c Bug 1433958 - Change code that sets nsIURI.userPass to use nsIURIMutator r=mayhemer
* Code in XMLHttpRequestMainThread is converted to set the username and password individually. This is because when the parameters are empty, it ended up calling SetUserPass(":") which always returns an error.

MozReview-Commit-ID: 3cK5HeyzjFE

--HG--
extra : rebase_source : f34400c11245d88648b0ae9c196637628afa9517
2018-02-26 20:43:46 +01:00
Valentin Gosu
710c2e2fc9 Bug 1433958 - Change code that sets nsIURI.filePath to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: GYHpakKPEbe

--HG--
extra : rebase_source : 521966b446284fbe215dfc8518acafc5de9ded5c
2018-02-26 20:43:45 +01:00
Valentin Gosu
7bd0336d01 Bug 1433958 - Change code that sets nsIURI.pathQueryRef to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: HVyZ3E1XuLN

--HG--
extra : rebase_source : fd122b3122e0f3eb371d429bd86ad35d09dcfbf6
2018-02-26 20:43:45 +01:00
Valentin Gosu
a49f1ae73b Bug 1433958 - Make NS_MutateURI methods warn immediately after calling method that fails r=mayhemer
Calling NS_ENSURE_SUCCESS at the begining of the methods shows the error in the console, but what we really care about is where the error code comes from. So it is best to use if (NS_FAILED(mStatus) {} at the begining of the methods, and NS_ENSURE_SUCCESS right after calling the appropriate method on mMutator.

MozReview-Commit-ID: 5vVuHk3N4FU

--HG--
extra : rebase_source : f477f0f87b3303422a595f27d9b39ac25335d701
2018-02-26 20:43:45 +01:00
Valentin Gosu
76fe90c6ed Bug 1433958 - Change code that uses nsIURI.setHostAndPort() to use nsIURIMutator r=mayhemer
* Removes setHostAndPort from nsIURIMutator as it only has one use
* Instead, the consumer sets the port to -1 before calling setHostPort()

MozReview-Commit-ID: Jx9UMW440hq

--HG--
extra : rebase_source : cb60e76c905db6bb308ddfd8fa548cc13d3afe06
2018-02-26 20:43:45 +01:00
Valentin Gosu
b563071323 Bug 1433958 - Change code that uses nsIURI.hostPort to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: IuUurzUP5Rw

--HG--
extra : rebase_source : 5c1fd0938613247b6bb24ef11b57307f3bf24fae
2018-02-26 20:43:45 +01:00
Valentin Gosu
a60ce32b46 Bug 1439931 - nsIIOService.extractScheme/net_ExtractURLScheme should lowercase its output r=mayhemer
MozReview-Commit-ID: LZ2rqIdIoXQ

--HG--
extra : rebase_source : 3d9973f0001ddc2d98cad0ddddb646cedac489c7
2018-02-26 16:42:27 +01:00
Patrick McManus
4ece6279ba Bug 1439105 - Ban H2 Client Certs Post Handshake r=bagder,keeler
MozReview-Commit-ID: Dfx5bB5NOBp

--HG--
extra : rebase_source : ec0984aec6625950b139c06a4ae3da69f49afdf3
2018-02-17 08:10:13 -05:00
Sebastian Hengst
e6ed14057b merge mozilla-central to autoland on a CLOSED TREE
--HG--
extra : amend_source : d88824ea9bbe5e0298f0d64fd0e4cdedcbee342c
2018-02-24 03:07:44 +02:00
Florian Quèze
682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Daniel Stenberg
76003c2ab0 bug 1440563 - set the RD bit in DOH requests r=valentin
RFC 1035 section 4.1.1 documents this bit as:

RD - Recursion Desired - this bit may be set in a query and is copied
into the response.  If RD is set, it directs the name server to pursue
the query recursively.  Recursive query support is optional.

MozReview-Commit-ID: 8iHDgNtA1L1

--HG--
extra : rebase_source : a29010a2894fd00ebfbfb869f5938cf507345a2f
2018-03-05 08:47:52 +01:00
Ben Kelly
0d2b3d9277 Bug 1439879 Add some more SW preference checks to e10s http channel code. r=asuth 2018-02-23 11:15:25 -08:00
Ciure Andrei
852a0c8890 Merge inbound to mozilla-central. a=merge 2018-02-22 23:55:25 +02:00
Daniel Stenberg
14fc881f71 bug 1438947 - mutex nsHostRecord::mTrrA[AAA] accesses r=valentin
... and remove Cancel() from nsHostRecord::RemoveOrRefresh since we
don't need to cancel TRR resolves due to network changes.

MozReview-Commit-ID: Akuhpzgg4N5
2018-02-22 04:22:00 +02:00
Daniel Stenberg
9165893084 bug 1440234 - show TRR column in about:networking for DNS names r=baku,valentin
MozReview-Commit-ID: LtAHJj4BMqQ

--HG--
extra : rebase_source : 089544e53e652aa8d43f0927e6d140568f68e93f
2018-02-22 09:57:22 +01:00
Gurzau Raul
2a77281049 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-21 19:30:44 +02:00
Christoph Kerschbaumer
a6c1ffb498 Bug 1434357: Exempt Web Extensions from insecure redirects to data: URIs. r=kmag,mayhemer 2018-02-18 19:52:52 +01:00
Jonathan Kingston
8afc412494 Bug 1435733 - Upgrade mixed display content pref. r=baku,ckerschb,francois,mayhemer
MozReview-Commit-ID: ETIgVF3zhRu

--HG--
extra : rebase_source : e4c59f50584158f4b31527347b10424b56692fa1
2018-02-05 15:37:27 +00:00
Gurzau Raul
082f8e6d89 Merge inbound to mozilla-central. a=merge 2018-02-21 12:01:33 +02:00
Valentin Gosu
55a7a824c6 Bug 1435671 - Reduce binary size by making NS_MutateURI.Apply not be a templated method r=mayhemer
We instead add a templated method NS_MutatorMethod that returns a std::function<nsresult(nsIURIMutator*)> which Apply then calls with mMutator as an argument.
The function returned by NS_MutatorMethod performs a QueryInterface, then calls the passed method with arguments on the result.

MozReview-Commit-ID: Jjqp7gGLG1D

--HG--
extra : rebase_source : f2a17aee7bb66a7ba8652817d43b9aa7ec7ef710
2018-02-21 01:00:54 +01:00
Valentin Gosu
98e8686b20 Bug 1439538 - Convert nsHostResolver::m{High,Medium,Low,Eviction}Q to LinkedList<RefPtr<nsHostRecord>> r=bagder
MozReview-Commit-ID: CDMadOtmDHQ

--HG--
extra : rebase_source : aa366237886c7d07cb3d83a15c50a54c08606848
2018-02-20 17:41:50 +01:00
nbeleuzu@mozilla.com
01eef6aff1 Backed out changeset c9dcce0a1068 (bug 1435671) for build bustages on nsIURIMutator.h. CLOSED TREE 2018-02-21 00:06:46 +02:00
Valentin Gosu
f1850e9354 Bug 1435671 - Reduce binary size by making NS_MutateURI.Apply not be a templated method r=mayhemer
We instead add a templated method NS_MutatorMethod that returns a std::function<nsresult(nsIURIMutator*)> which Apply then calls with mMutator as an argument.
The function returned by NS_MutatorMethod performs a QueryInterface, then calls the passed method with arguments on the result.

MozReview-Commit-ID: Jjqp7gGLG1D

--HG--
extra : rebase_source : 592d13349a8c4627c7ce3146ec592f577b39f3cc
2018-02-20 22:39:40 +01:00
Josh Matthews
91522ab384 Bug 1437140 - Replace some uses of NS_DispatchToMainThread/NS_DispatchToCurrentThread with more specific event targets. r=mystor 2018-02-20 09:52:32 -05:00
Honza Bambas
df2fd1d44c Bug 1434609 - Add TFO_DISABLED as one of possible states after finishing TCP Fast Open (TFO) connection, r=valentin 2018-02-20 05:41:00 +02:00
Daniel Stenberg
27d3309d96 bug 1439067 - let TRR access TRRService through the null-checked global. r=valentin
... and also store allow-rfc1918 bool locally to remove later accesses
to TRRservice.

MozReview-Commit-ID: KkO4u2N9gfE

--HG--
extra : rebase_source : 2fdfecb127987cdbfdccd0e77f7b4bb65f6f5f5d
2018-02-19 22:54:14 +01:00
Daniel Stenberg
30ccb2d14c bug 1439302 - repair the *RESOLVEAGAIN logic in nsHostResolver::CompleteLookup r=valentin
When the native resolve needs to run again, the rec->mResolving counter
must not be decreased, as otherwise it triggers an assert when the next
resolve completes.

MozReview-Commit-ID: 3UQGkDSOmGi

--HG--
extra : rebase_source : 1caf047070a95b451acf0ddca6b5986f4e4d7c69
2018-02-19 23:33:40 +01:00
Valentin Gosu
6c4f65bdab Bug 1438332 - Change RCWN test to expect the to account for very fast code execution r=michal
The test would set a timer for 200ms then expect to be called back more than 200ms later (as in 201ms or more)
This change makes sure that we don't fail if the callback comes back exactly 200ms later.

MozReview-Commit-ID: 1OCyO3juAdZ

--HG--
extra : rebase_source : 5e123337f73e6b95f5f0afa7d63604d5558dfd94
2018-02-17 00:25:51 +01:00
Csoregi Natalia
c11e63682b Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-19 18:46:41 +02:00
Nathan Froyd
a51fed2b98 Bug 1439362 - make nsBase64Encoder slightly less malloc-happy; r=valentin
nsBase64Encoder::Finish currently works by calling PL_Base64Encode to
allocate a base64-encoded string, then Assign()'ing that to the result
string, another allocation.  mozilla::Base64Encode enables us to base64
encode directly into the result string with a single allocation, saving
an allocation.  (Base64Encode is also slightly more efficient, because
we don't have to do a strlen() on the string being Assign()'d.)  Let's
use Base64Encode instead.
2018-02-19 10:28:00 -05:00
Tom Schuster
db56d2ee65 Bug 1431095 - Change Content-Type-Options: nosniff allowed script MIME types to match the spec. r=ckerschb
--HG--
extra : rebase_source : e4047e619b88bbb025f3eab27e8e1a826a9429b7
2018-02-16 19:32:11 +01:00
Christoph Kerschbaumer
494f074b53 Bug 1432358: Allow certain top-level pages to be agnostic to CSP. r=smaug
--HG--
extra : source : 27527f95cccca4927d4fee56b0dab9af11c5733f
extra : intermediate-source : 2fa11c525da3d0c7ca58a593241c1902f2849528
2018-02-01 14:07:01 +01:00
Honza Bambas
83162dfc6a Bug 1433557 - Add a null-check for transaction when setting TCP Fast Open state on an associated connection, r=valentin 2018-02-16 07:48:00 +02:00
Chris Peterson
0129d900f3 Bug 1436263 - Part 2: Replace override final virtual function specifiers with just final. r=froydnj
MozReview-Commit-ID: 70gt5SUu4Dv

--HG--
extra : rebase_source : 71912c6bde22aaed01e70615a4ee794a36e70d0e
extra : source : 1c22d4c65d70b797ee3e963ec426c90e1f89b5e3
2018-02-05 22:50:00 -08:00
Chris Peterson
d09123f248 Bug 1436263 - Part 1: Replace final override virtual function specifiers with just final. r=froydnj
MozReview-Commit-ID: DE5HkIhsZ6D

--HG--
extra : rebase_source : 94831c1e13a840dd2ea0600f64bcf70c2bf938d9
extra : source : cf9283bf1b0bca3a6311c98e227329d451f80ecb
2018-02-05 22:46:57 -08:00
Daniel Stenberg
74167930bd bug 1438947 - avoid unnecessary timer cancels + clears r=valentin
To avoid race risk.

MozReview-Commit-ID: 2h8xkmgjPP7

--HG--
extra : rebase_source : 31e0fef119862343467049347b012cc6e3056f2c
2018-02-17 00:35:14 +01:00
Gurzau Raul
0fbbd0fd8e Merge inbound to mozilla-central. a=merge 2018-02-17 00:09:28 +02:00
Nathan Froyd
8cb82739a9 Bug 1438673 - avoid some refcounting when initializing URIs from mutators; r=valentin
We only eliminate one refcount, but less refcounting is less refcounting.
2018-02-16 10:31:43 -05:00
vinoth
2d87cc24f5 Bug 1399990 - Files added for New Categorical telemetry SCRIPT_BLOCK_INCORRECT_MIME_2 and same origin check done r=ckerschb,mayhemer
Summary: MozReview-Commit-ID: JKHxmIdtzIN

Reviewers: mayhemer, ckerschb

Reviewed By: mayhemer, ckerschb

Subscribers: ckerschb, mayhemer

Bug #: 1399990

Differential Revision: https://phabricator.services.mozilla.com/D569

--HG--
extra : rebase_source : 4f8e476b33ca0b862ca2d828d3e3d2a1eba5d725
extra : amend_source : 406cb5349e0c8e29af8a7d0cfbceedc580b2463e
2018-02-16 16:53:46 +02:00
Daniel Stenberg
c8bcf8f7e5 bug 1439340 - lock addr_info in nsHostRecord::RemoveOrRefresh r=valentin
MozReview-Commit-ID: 6h4Sk1NjAJT

--HG--
extra : rebase_source : a8d54768f7493d8e2e1f435fe5a1e5c6e245ffb7
2018-02-19 09:03:09 +01:00
Thomas Wisniewski
1e7a2879c3 Bug 792808 - Change netwerk/ to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=valentin
MozReview-Commit-ID: LHiYPIkG0i2

--HG--
extra : rebase_source : 25368b1edad92a6c4aa5ca4242427fd18b578db8
2017-09-19 11:36:43 -04:00
Nicholas Hurley
c8b7ecd0d4 Bug 1429973 part 3 - Remove hidden pref to allow plaintext server-timing. r=bagder
MozReview-Commit-ID: 2MfcvRXq7We

--HG--
extra : rebase_source : adf042cba94eecd6c56ba359a68b23d0867f1f8f
2018-02-15 10:30:44 -08:00
Nicholas Hurley
d69ca172be Bug 1429973 part 2 - Move server-timing tests into http/2. r=bagder
MozReview-Commit-ID: JuQUUAOnW4g

--HG--
extra : rebase_source : 83b5ae0580d2332956ad2930bcb76ad388fa1448
2018-02-15 10:11:37 -08:00
Nicholas Hurley
be1b7537f2 Bug 1429973 part 1 - plumb through trailers in h2 to support server-timing. r=bagder
MozReview-Commit-ID: JV1Ikb9cYCV

--HG--
extra : rebase_source : fa67fef606fc02355579dae42f8e66c4754d60a0
2018-02-01 15:14:23 -08:00
Kirk Steuber
04e4231688 Bug 1421707 - Implement a system for disabling about: pages via Policy r=bz,Felipe
Additionally adds the enterprise policy for disabling about:config.

MozReview-Commit-ID: 7bT8eV3tRnN

--HG--
extra : rebase_source : a54cc94ea9dbecdfd37a17c96e5048a5d20c6411
2018-02-06 10:00:56 -08:00
Margareta Eliza Balazs
bb7afb1c0b Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : dom/webidl/DataChannel.webidl => dom/webidl/RTCDataChannel.webidl
2018-02-15 22:41:28 +02:00
Valentin Gosu
f4c1136d9d Bug 1334465 - Set mIPCClosed to true before calling SendDeleteSelf in order to avoid race r=bagder
In the previous code, a race condition could cause us to call SendSetPriority() after calling SendDeleteSelf.

For example:
T1: SendDeleteSelf()
T2: if (!mIPCClosed) SendSetPriority()
T1: mIPCClosed = true

MozReview-Commit-ID: 3XOwCaphb2o

--HG--
extra : source : 4ebdab0e332892378558817e30d0138c95199ce5
2018-02-11 03:51:09 +01:00
Valentin Gosu
da17e84fb1 Bug 1334465 - Make HttpChannelParent::mIPCClosed atomic r=bagder
MozReview-Commit-ID: 6irCJMAjzjW

--HG--
extra : source : bd315ae86709c3459a3dbf0778022ff3b1908723
2018-02-09 13:20:04 +01:00
Daniel Stenberg
e5d3226694 bug 1434852 - introducing TRR (DOH); r=mcmanus,valentin
Provides an optional resolver mechanism for Firefox that allows running
together with or instead of the native resolver.

TRR offers resolving of host names using a dedicated DNS-over-HTTPS server
(HTTPS is required, HTTP/2 is preferable).

DNS-over-HTTPS (DOH) allows DNS resolves with enhanced privacy, secure
transfers and improved performance.

To keep the failure rate at a minimum, the TRR system manages a dynamic
persistent blacklist for host names that can't be resolved with DOH but works
with the native resolver. Blacklisted entries will not be retried over DOH for
a couple of days. "localhost" and names in the ".local" TLD will not be
resolved via DOH.

TRR is preffed OFF by default and you need to set a URI for an available DOH
server to be able to use it. Since the URI for DOH is set with a name itself,
it may have to use the native resolver for bootstrapping. (Optionally, the
user can set the IP address of the DOH server in a pref to avoid the required
initial native resolve.)

When TRR starts up, it will first verify that it works by checking a
"confirmation" domain name. This confirmation domain is a pref by default set
to "example.com". TRR will also by default await the captive-portal detection
to raise its green flag before getting activated.

All prefs for TRR are under the "network.trr" hierarchy.

The DNS-over-HTTPS spec: https://tools.ietf.org/html/draft-ietf-doh-dns-over-https-03

MozReview-Commit-ID: GuuU6vjTjlm

--HG--
extra : rebase_source : 53fcca757334090ac05fec540ef29d109d5ceed3
2018-02-01 10:20:49 +01:00
Gijs Kruitbosch
1d8cd72e69 Bug 1429379, r=aswan,bz
--HG--
extra : rebase_source : 534aa354afa7d23484a6b1d8aabef36c14784df7
2018-02-06 15:00:25 +00:00
Arthur Edelstein
70174dcbfb Bug 1344613 - Avoid possibility of null pointer crash in nsSOCKSIOLayer.cpp r=mayhemer 2018-02-09 19:10:00 +02:00
Boris Zbarsky
9bdcffc985 Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8
The change to RootAccessible.cpp fixes an obvious bug introduced in bug 741707.

The visibility changes in gfx/thebes are because NS_DECL_ISUPPORTS has a
trailing "public:" that those classes were relying on to have public
constructors.

MozReview-Commit-ID: IeB8KIJCGhU
2018-02-12 15:44:40 -05:00
Ciure Andrei
3f00808b55 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-13 00:14:29 +02:00
Ciure Andrei
72080bd73c Merge inbound to mozilla-central. a=merge 2018-02-13 00:08:37 +02:00
Nathan Froyd
0f56acaf26 Bug 1437604 - remove NS_INTERFACE_MAP_END_THREADSAFE; r=mystor
This macro is identical to NS_INTERFACE_MAP_END and encourages the
reader to think that there's something extra-special threadsafe about QI
implementations that use the macro, when in reality there's nothing of
the sort.
2018-02-12 14:36:46 -05:00
Tom Ritter
c4edd2fe5c Bug 1435296 Address xpcshell test failures from increasing timer precision r=baku
See the comment on "Address test failures caused by bumping timer precision to 2 ms"
for more details.

MozReview-Commit-ID: LrsucEPdZIo

--HG--
extra : rebase_source : 8147c034f7dc93f678eebc80b0afabf55729d804
2018-02-12 11:41:38 -06:00
Eric Rahm
1828d1aec0 Bug 1384638 - Remove another NS_ENSURE warning from ShouldEnableTracking. r=gcp
--HG--
extra : rebase_source : 2d97a2279e6f5927b884b21158e91d31216c5626
2018-02-09 16:32:41 -08:00
Eric Rahm
f2d02c278e Bug 1293375 - Annotate sql index warnings in nsDiskCacheDeviceSQL. r=mayhemer
This annotates two SQL statements that are responsible for a large amount of
warning spam due to "suboptimal indexes." Given we no longer wish to update
appcache code we can just disable the warning with a commment instead.

--HG--
extra : rebase_source : 519678e38f69cfa2aab75161a058bcdaf548fad0
2018-02-09 16:19:31 -08:00
Sebastian Hengst
a6cab8c4e8 Backed out 4 changesets (bug 1432358) for failing xpcshell's test_ext_contentscript_triggeringPrincipal.js
Backed out changeset ef7b8eef07c1 (bug 1432358)
Backed out changeset 2fa11c525da3 (bug 1432358)
Backed out changeset a67e95bd0ccf (bug 1432358)
Backed out changeset 91c948c94506 (bug 1432358)
2018-02-12 19:58:28 +02:00
Andrea Marchesini
012ea0dbf2 Bug 1437152 - NS_ReadInputStreamToString doesn't reallocate the string if the size is passed, r=me 2018-02-12 18:49:36 +01:00
Sebastian Hengst
27ccdab4ac Backed out 2 changesets (bug 1334465) for frequently failing marionette\test_refresh_firefox.py
Backed out changeset fc4ad53516e0 (bug 1334465)
Backed out changeset bd315ae86709 (bug 1334465)
2018-02-12 18:52:25 +02:00
Andrea Marchesini
fd3aec925b Bug 1437152 - NS_ReadInputStreamToString doesn't reallocate the string if the size is passed, r=froydnj 2018-02-12 17:40:17 +01:00
Valentin Gosu
e4bb1bbe71 Bug 1334465 - Set mIPCClosed to true before calling SendDeleteSelf in order to avoid race r=bagder
In the previous code, a race condition could cause us to call SendSetPriority() after calling SendDeleteSelf.

For example:
T1: SendDeleteSelf()
T2: if (!mIPCClosed) SendSetPriority()
T1: mIPCClosed = true

MozReview-Commit-ID: 3XOwCaphb2o

--HG--
extra : source : 4ebdab0e332892378558817e30d0138c95199ce5
2018-02-11 03:51:09 +01:00
Honza Bambas
cf147a770a Bug 1437058 - Add LOG for CacheEntryHandle::~CacheEntryHandle to track its lifetime correctly, r=michal 2018-02-09 07:19:00 +02:00
Sebastian Hengst
fad4d039ef merge mozilla-central to mozilla-inbound 2018-02-12 14:21:30 +02:00
arthur.iakab
650430f45c Backed out changeset 4ebdab0e3328 (bug 1334465) for frequently failing marionette\test_refresh_firefox.py a=backout 2018-02-12 12:00:40 +02:00
Valentin Gosu
b7deca6e95 Bug 1334465 - Set mIPCClosed to true before calling SendDeleteSelf in order to avoid race r=bagder
In the previous code, a race condition could cause us to call SendSetPriority() after calling SendDeleteSelf.

For example:
T1: SendDeleteSelf()
T2: if (!mIPCClosed) SendSetPriority()
T1: mIPCClosed = true

MozReview-Commit-ID: 3XOwCaphb2o

--HG--
extra : rebase_source : 609b9d111d97a8e4a60117dd79ecd741725ec611
2018-02-11 03:51:09 +01:00
Christoph Kerschbaumer
8c6aa97797 Bug 1432358: Allow certain top-level pages to be agnostic to CSP. r=smaug
--HG--
extra : source : 27527f95cccca4927d4fee56b0dab9af11c5733f
2018-02-01 14:07:01 +01:00
Bogdan Tara
5bbbbe17bc Merge inbound to mozilla-central. a=merge 2018-02-10 11:57:47 +02:00
Valentin Gosu
6782014750 Bug 1334465 - Make HttpChannelParent::mIPCClosed atomic r=bagder
MozReview-Commit-ID: 6irCJMAjzjW

--HG--
extra : rebase_source : 7b49738d4ca1d58f90d2563a6367743fd0e2663f
2018-02-09 13:20:04 +01:00
Georg Koppen
e2cc84ce65 Bug 1433507 - Forbid GIO supported protocols by default with --proxy-bypass-protection r=mayhemer
--HG--
extra : rebase_source : 3b6badbc1b56c09b74d5be3ddbf9ac157f4891c3
2018-02-06 15:07:00 +02:00
Kathy Brade
e072bef056 Bug 1432907 - Disable network tickler with proxy bypass protection r=mayhemer
--HG--
extra : rebase_source : 179446335cd78ad5dc7b5b821696a7245aeef4f1
2018-02-06 22:07:00 +02:00
Sebastian Hengst
2e7425adfb Backed out 3 changesets (bug 1432358) for failing xpcshell's test_ext_contentscript_triggeringPrincipal.js on Windows debug. CLOSED TREE
Backed out changeset 27527f95cccc (bug 1432358)
Backed out changeset 6840396ed6ec (bug 1432358)
Backed out changeset 60852dec9e04 (bug 1432358)

--HG--
extra : amend_source : 3308e1d9a98220fc71027f18e5c69105e8d75d20
2018-02-09 23:46:29 +02:00
Ben Kelly
4a261ee476 Bug 1437080 P3 Make SetFetchCacheMode() to clear other cache flags and assert the final value. r=valentin 2018-02-09 13:17:14 -08:00
Ben Kelly
f114de487f Bug 1437080 P2 Remove the HttpBaseChannel::mFetchCacheMode override to avoid possibility it can get out of sync with load flags. r=valentin 2018-02-09 13:17:14 -08:00