Commit Graph

14592 Commits

Author SHA1 Message Date
Sebastian Hengst
d8e719c8a3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CEadD9RweN4
2017-05-27 10:00:59 +02:00
Arthur Edelstein
2895153229 Bug 1367564 - Use pref name 'referer.hideOnionSource' everywhere. r=mcmanus
Correcting my mistake in
https://bugzilla.mozilla.org/show_bug.cgi?id=1305144
2017-05-24 14:12:00 -04:00
Junior Hsu
cfb7c13b7c Bug 1367353 - Correct the spelling to NETWORK_RACE_CACHE_BANDWIDTH*. r=michal, data-r=bsmedberg 2017-05-24 19:46:00 -04:00
Thomas Nguyen
262347b745 Bug 1351146 - P2 - Update test case and usage of nsIRedirectHistoryEntry interface. r=dragana
MozReview-Commit-ID: s61VV5CLx8
2017-05-25 19:42:00 +02:00
Thomas Nguyen
4fcb94e968 Bug 1351146 - P1 - Add more information to redirect chains. r=dragana
In order to provide more details context of how client arrived at the unsafe
page, particularly in redirect case, we may have to add more information to
redirect chains including:
- referrer (if any)
- remote address.
- URL

We may want to use an idl interface instead of nsIPrincipal to store these
information

MozReview-Commit-ID: 3Uh4r06w60C
2017-05-25 19:42:00 +02:00
Honza Bambas
b852ed009a Backout of 7f28c1084c47 (bug 1319111) for security checks breakage, r=me 2017-05-25 18:16:02 +02:00
Mike Hommey
80d716afe1 Bug 1367583 - Add a unit test for links in resource:// listings. r=mossop
--HG--
extra : rebase_source : d18a21ae51cd135f798477489e902ea7431f1f1f
2017-05-25 10:54:01 +09:00
Ryan VanderMeulen
c5b2958154 Merge inbound to m-c. a=merge 2017-05-24 20:45:23 -04:00
Ehsan Akhgari
87f01dcea3 Bug 1363311 - Honor Set-Cookie headers in multipart/mixed response boundary headers in e10s mode; r=jdm 2017-05-24 17:32:32 -04:00
Honza Bambas
5f3173e90f Bug 1365306 - Remove net::ThrottlingService, don't suspend/resume download channels on page load. r=hurley 2017-05-18 14:09:00 -04:00
Mike Hommey
a425c2082f Bug 1366180 - Fix title and parent links in resource:// listings. r=valentin
For a long time, opening a resource:// url that leads to a file list has
used a title of the form "Index of jar:file://..." where the
jar:file://... url is the actual location the resource:// url has been
resolved to in the omni.ja.

That same url is used to derive a link to the parent directory. Because
of security context restrictions, the resource://... page can't open a
link to jar:file://... .

So we use the original resource:// url to derive the parent directory
link, and while here, also fix the title.

--HG--
extra : rebase_source : f12ff784c1671f15b83ff082eb7418fcb71f1e10
2017-05-24 11:27:22 +09:00
Dragana Damjanovic
4d67546b87 Bug 1364371 - Introduce mHalfOpenFastOpenBackups and make TFO handling clearer. r=mcmanus 2017-05-24 14:03:40 +02:00
Dragana Damjanovic
d88e097afa Bug 1364189 - Make sure not to retry socketTransaction if nsHttpConnectionMgr cancels it. r=mcmanus 2017-05-24 11:19:40 +02:00
Jonathan Kew
d74c8673ea Bug 1364283 - Treat Aspirational scripts the same as Restricted, in anticipation of UAX#31 update. r=valentin 2017-05-23 23:33:46 +01:00
Felipe Gomes
123ab8fe26 Bug 1337043 - Don't bother classifying about: URLs. r=tnguyen,francois
MozReview-Commit-ID: 8oxZwJRRIkv
2017-05-23 15:59:25 -04:00
Bill McCloskey
226f6b9185 Bug 1366869 - Make DISPATCH_NORMAL be the default flags argument for nsIEventTarget::Dispatch (r=froydnj)
MozReview-Commit-ID: 5DVcIaMHH95
2017-05-23 12:05:43 -07:00
Honza Bambas
2dfe5d94b8 Bug 1319111 - Expose 'result principal URI' on LoadInfo as a source for NS_GetFinalChannelURI (removes some use of LOAD_REPLACE flag). r=bz 2017-05-23 08:09:00 -04:00
Ryan VanderMeulen
22d214ae4b Merge autoland to m-c. a=merge 2017-05-23 10:32:42 -04:00
Shih-Chiang Chien
b192c9800e Bug 1364812 - ensure OnStartRequest is called after nsHttpChannel::CallOnStartRequest. r=dragana.
1. Use ScopeExit to ensure mListener->OnStartRequest() is invoked before exit CallOnStartRequest.
2. Add assertion to ensure OnStartRequest called before OnStopRequest.

MozReview-Commit-ID: FgONlk5HPNz

--HG--
extra : rebase_source : ffe386bc8bea6defb216ecf149a29deacdb3737a
2017-05-22 16:26:22 +08:00
Wes Kocher
9a8d52f7af Merge m-c to autoland, a=merge
MozReview-Commit-ID: AVwPRGa5re9
2017-05-22 16:38:46 -07:00
Daniel Stenberg
d35145eac8 Bug 1359639 - Ensure a final -1 in mFormat[]. r=valentin 2017-05-22 09:44:19 -04:00
Sebastian Hengst
1344976217 Backed out changeset 4f0f6745c23d (bug 1158387) for failing extensions/cookie/test/unit/test_cookies_async_failure.js on Windows 7 VM opt. r=backout 2017-05-22 22:03:32 +02:00
JW Wang
1f5623c523 Bug 1365513 - Remove the call to AbstractThread::GetCurrent() in nsPermissionManager.cpp. r=mystor
See bug 1365483 for the rationale.

MozReview-Commit-ID: 4sWodnP5MYZ

--HG--
extra : rebase_source : 6a32073e50695ac8f4a540c83f9d2b5542b53585
extra : intermediate-source : 5d7189453d82844d55e3d90c79792b2edd7bdd0d
extra : source : 8b029c32f3512c9d8e92582312459a501594a6e8
2017-05-18 14:14:27 +08:00
Phil Ringnalda
35dc6b4906 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 78jnwmm4rib
2017-05-21 13:01:06 -07:00
Will Wang
6523b5834f Bug 1356605 - Part 1: Add an enumerator for getting session cookies only. r=valentin 2017-05-10 09:50:17 +08:00
Ryan VanderMeulen
9f0c23d7c6 Merge m-c to inbound. a=merge 2017-05-19 12:25:23 -04:00
Dragana Damjanovic dd.mozilla@gmail.com
2dd3b9d1b3 Bug 1352273 - Restart the TFO failure counter if a captive portal is detected.r=mcmanus 2017-05-19 13:16:08 +02:00
Edouard Oger
d198d9c234 Bug 1365273 - Remove about:sync-tabs. r=markh
MozReview-Commit-ID: HFsc4xf8N3a

--HG--
extra : rebase_source : 0af5802196622a3c44b162a4de7e2ceadfde666d
2017-05-17 11:39:22 -04:00
Sebastian Hengst
cb81b8de15 Backed out changeset b8d0fdf79562 (bug 1365273) for build bustage: Unused pattern 'sync/**' in browser/base/content/moz.build and unreferenced files detected by browser_all_files_referenced.js. r=backout 2017-05-18 19:09:55 +02:00
Edouard Oger
ca11d95460 Bug 1365273 - Remove about:sync-tabs. r=markh
MozReview-Commit-ID: HFsc4xf8N3a

--HG--
extra : rebase_source : 841763ceb5a2ce3630e2f0f3625f7d3d20569135
2017-05-17 11:39:22 -04:00
Michael Kaply
33f3641255 Bug 1359538 - Add API to retrieve engines by extension ID. r=florian
MozReview-Commit-ID: 2Qz6B1u8Or

--HG--
extra : rebase_source : c1a1ee3a02a417a8e504571316da2c7d63e4090b
2017-04-26 10:58:08 -05:00
Junior Hsu
fc682d8752 Bug 1158387 - Remove "PRAGMA synchronous = OFF" to avoid corruption in cookie service. r=mak
--HG--
extra : rebase_source : 4eba651f66cb3e67c63961531e80423a252e954d
2017-05-21 18:48:00 -04:00
Carsten "Tomcat" Book
e5197b271a Merge mozilla-central to autoland 2017-05-18 15:00:43 +02:00
Shih-Chiang Chien
56a6fc77dc Bug 1365566 - use PR_GetSystemInfo to get OS version on Firefox desktop. r=dragana.
MozReview-Commit-ID: J5qlptRVzQe

--HG--
extra : rebase_source : 0a674ee1227d1f0c61adeac4e5f9e007991a4d7f
2017-05-12 12:03:14 +08:00
Junior Hsu
3b926e298f Bug 1354405 - Add new telemetry probe for bandwidth cost for rcwn, r=michal, valentin, data-r=bsmedberg 2017-05-02 10:08:06 +08:00
Iris Hsiao
77020e4e53 merge mozilla-inbound to mozilla-central a=merge 2017-05-18 12:05:45 +08:00
Wes Kocher
f79e5f62ee Merge m-c to autoland, a=merge UPGRADE_NSS_RELEASE
MozReview-Commit-ID: BKdEYXMvOS8
2017-05-17 15:08:03 -07:00
Catalin Badea
1f3ef0f4d6 Bug 1359610 - Add telemetry for fetch interception. r=chutten data-r=bsmedberg 2017-05-17 15:42:53 +01:00
Nils Ohlmeier [:drno]
5b3ddc580c Bug 1365081: really use prPolicy as the pocily input value. r=jesup
MozReview-Commit-ID: Ec6BrdYtT6G

--HG--
extra : rebase_source : 7f7a00dd94e3b06a978b0ddd106c37c9adf09550
2017-05-15 17:58:41 -07:00
Bill McCloskey
44b0534627 Bug 1363877 - Label PredictorLearnRunnable with SystemGroup (r=hurley)
MozReview-Commit-ID: XPGp0226kb
2017-05-17 11:47:40 -07:00
Junior Hsu
427608c4e0 Bug 1354407 - Add new telemetry probe for saved time when we rcwn. r=michal, data-r=bsmedberg 2017-05-02 10:08:06 +08:00
Carsten "Tomcat" Book
e83697008e merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Christoph Kerschbaumer
e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Nathan Froyd
c1d1748428 Bug 1359490 - add an event loop spinning abstraction function; r=gerald
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Wes Kocher
54a256d920 Merge m-c to autoland a=merge
MozReview-Commit-ID: L0rsjIzeVij

--HG--
extra : rebase_source : 8b581702a4534fb9394f8d3f4e85f65d6f4ff293
2017-05-15 17:02:08 -07:00
Shih-Chiang Chien
a9b339e353 Bug 1354455 - avoid CompleteResume while FlushQueue is ran on other thread. r=mayhemer
If HttpChannelChild::Cancel is triggered off main thread while flushing channel event queue,
CompleteResume might be executed while the flush is about to be finished. In this case, queue resumption
will not be able to trigger the second queue flush because the previous one is not finished yet.
Therefore, the HttpChannelChild::Cancel will be sitted in the queue without executing.

MozReview-Commit-ID: GxnkiDUmEnw

--HG--
extra : rebase_source : d04268a04ab24c38bf6fa436526a04f77cd64805
2017-05-08 19:16:06 +08:00
Sebastian Hengst
484d2b7f51 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Jduo3F6TzgF
2017-05-14 18:04:29 +02:00
Wes Kocher
b0d1320ad8 Backed out 2 changesets (bug 1363421) for assertions in test_enterjit_osr.js on Windows xpcshell tests a=backout
Backed out changeset 722236d77865 (bug 1363421)
Backed out changeset 8a9e10fae26c (bug 1363421)

MozReview-Commit-ID: 93rH7BqbgHP
2017-05-13 00:32:36 -07:00
Honza Bambas
d6d727a69e backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-13 13:55:11 +02:00
Wes Kocher
0a1e1fe23b Backed out changeset 95ff98f1c2e5 (bug 1319111) for talos failures a=backout
MozReview-Commit-ID: Gs09moFm5rQ
2017-05-12 18:24:42 -07:00