Honza Bambas
ee6363e0d7
Bug 1556479 - Fix log in nsHttpConnectionMgr::OnMsgNewTransaction to be trackable in logan, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D33530
--HG--
extra : moz-landing-system : lando
2019-06-11 17:37:11 +00:00
Boris Zbarsky
d5a8a4a595
Bug 1557793 part 3. Change the signatures of various nsContentUtils localization methods to play nicer with the new stringbundle API. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D34201
--HG--
extra : moz-landing-system : lando
2019-06-08 21:26:12 +00:00
Boris Zbarsky
9de72a3ac6
Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D34196
--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Kershaw Chang
84202aaa22
Bug 1545523 - Set mRaceCacheWithNetwork to true if mCacheOpenFunc is assigned r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D33070
--HG--
extra : moz-landing-system : lando
2019-06-10 13:37:04 +00:00
Gijs Kruitbosch
9d7947d8a1
Bug 1556559 - make about:license non-web-linkable again, r=valentin
...
This ensures that links in about:license to about:rights and about:buildconfig actually work.
Differential Revision: https://phabricator.services.mozilla.com/D34136
--HG--
extra : moz-landing-system : lando
2019-06-07 12:11:34 +00:00
Valentin Gosu
05f11128da
Bug 1554680 - Use WindowGlobalParent::IsInitialDocument instead of WindowGlobalParent::DocumentPrincipal to figure out if the page is the initial about:blank r=nika
...
For a popup, the principal will be that of the opener, so we can't use that to
determine if the window is about:blank.
Differential Revision: https://phabricator.services.mozilla.com/D33249
--HG--
extra : moz-landing-system : lando
2019-06-04 22:08:20 +00:00
Valentin Gosu
48a10d1cfd
Bug 1555359 - Treat the ExtensionProtocolHandler as threadsafe r=mayhemer
...
Since the RESOLVE_JAR_URI flag is not used for moz-extension, ResolveJARURI
would never get called in ExtensionProtocolHandler, so it's OK to consider
it threadsafe.
Differential Revision: https://phabricator.services.mozilla.com/D33253
--HG--
extra : moz-landing-system : lando
2019-06-06 20:15:11 +00:00
Nika Layzell
03a2f40528
Bug 1553272 - Eliminate the unnecessary ProtocolState object, r=froydnj
...
The vast majority of the virtual methods which were used on ProtocolState were
actually methods which only had meaningful implementations on the toplevel
protocol. This patch adds a new field to IProtocol holding a direct pointer to
the protocol's `IToplevelProtocol`, and the methods formerly implemented with
ProtocolState now directly call the corresponding method on IToplevelProtocol.
IToplevelProtocol then shadows these methods with the toplevel protocol
implementation, meaning that the right code is run in the right places.
In addition, some state was maintained for protocols inside of the separate
ProtocolState allocation, and this patch moves that state back into the actor
itself.
Differential Revision: https://phabricator.services.mozilla.com/D32044
--HG--
extra : moz-landing-system : lando
2019-06-06 14:57:34 +00:00
Michal Novotny
8e84b11096
Bug 1556987 - Invalid assertion in nsHttpChannel::OnPush, r=dragana
...
NS_HTTP_ONPUSH_LISTENER capability is set in nsHttpChannel::SetupTransaction when notification callbacks implement nsIHttpPushListener, but nsHttpChannel::OnPush event is initiated on socket thread in Http2PushedStream::TryOnPush and the channel can be closed and listeners released before nsHttpChannel::OnPush is called on the main thread.
Differential Revision: https://phabricator.services.mozilla.com/D33776
--HG--
extra : moz-landing-system : lando
2019-06-06 06:35:50 +00:00
Valentin Gosu
2c2ccd2797
Bug 1533877 - Frame navigations should check their parent's Cross-Origin policy r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D32972
--HG--
extra : moz-landing-system : lando
2019-06-04 12:24:56 +00:00
Andrea Marchesini
b4b9392f9d
Bug 1554847 - Improve cross-origin checks in canvas API - propagate allRedirectsSameOrigin to HttpChannelChild actor, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D32793
--HG--
extra : moz-landing-system : lando
2019-06-04 06:33:11 +00:00
Coroiu Cristina
73edc6621b
Backed out 4 changesets (bug 1554847) for wpt failures at /service-workers/service-worker/fetch-canvas-tainting-video-cache.https.html
...
Backed out changeset 17e36d139ac2 (bug 1554847)
Backed out changeset 101bd1c2d688 (bug 1554847)
Backed out changeset 3ff9a221f3e5 (bug 1554847)
Backed out changeset 946e4d9420dd (bug 1554847)
2019-06-04 03:24:42 +03:00
shindli
18d693fe12
Backed out 5 changesets (bug 1533877) for causing wpt permafailure in /html/cross-origin/anonymous.tentative.html CLOSED TREE
...
Backed out changeset 1804d3178cd4 (bug 1533877)
Backed out changeset b5a3e938f421 (bug 1533877)
Backed out changeset 08efb10cceb2 (bug 1533877)
Backed out changeset c4b8d755873b (bug 1533877)
Backed out changeset e53056e11429 (bug 1533877)
2019-06-03 22:06:38 +03:00
Valentin Gosu
e1092f8add
Bug 1533877 - Frame navigations should check their parent's Cross-Origin policy r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D32972
--HG--
extra : moz-landing-system : lando
2019-06-03 14:57:13 +00:00
Andrea Marchesini
21cf95c1c2
Bug 1554847 - Improve cross-origin checks in canvas API - propagate allRedirectsSameOrigin to HttpChannelChild actor, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D32793
--HG--
extra : moz-landing-system : lando
2019-06-03 09:55:08 +00:00
arthur.iakab
36d75a7e56
Merge mozilla-central to mozilla-inbound
2019-06-01 01:30:47 +03:00
Kartikaya Gupta
0d8a0d2546
Bug 1555966
- Back out cset ecceef291b89 (bug 1551601) for regressions. rs=valentin
2019-05-31 16:07:18 -04:00
Honza Bambas
c35df87597
Bug 1545421 - New nsresult error codes for 407, 502 and 504 http response codes returned by proxies + test, r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D32817
--HG--
extra : moz-landing-system : lando
2019-05-31 17:29:53 +00:00
Ehsan Akhgari
58702e4a1d
Bug 1555715 - Remove WebSocketChannelParent::mIPCOpen; r=valentin
...
It is no longer necesssary for individual actors to do this book-keeping
manually.
Differential Revision: https://phabricator.services.mozilla.com/D33159
--HG--
extra : moz-landing-system : lando
2019-05-31 12:08:02 +00:00
Honza Bambas
d47b46c009
Bug 1553927 - Do not do immediate captive portal check on certificate/ssl errors when connecting a plain URL to prevent loops, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D33032
--HG--
extra : moz-landing-system : lando
2019-05-29 16:13:46 +00:00
Christian Holler
d67b031492
Bug 1528950 - Implement HTTP fuzzing target for Necko. r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D32755
--HG--
extra : moz-landing-system : lando
2019-05-31 09:34:00 +00:00
Andrea Marchesini
aa84d3c812
Bug 1436674 - nsICookieService.idl should use ACString XPIDL type in place of the string type, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32662
--HG--
extra : moz-landing-system : lando
2019-05-31 09:36:44 +00:00
Thomas Nguyen
cd48bd6695
Bug 1554289 - Add non-null checks around assignment referrerInfo to preflight HTTP channel r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D32976
--HG--
extra : moz-landing-system : lando
2019-05-31 09:39:51 +00:00
Kris Maglione
ffe2477ea3
Bug 1555439: Store enterprise policy about: whitelist in static array. r=mkaply
...
Differential Revision: https://phabricator.services.mozilla.com/D33058
--HG--
extra : rebase_source : 68ee1c16d2008a3766faad2b661788ee0a381db1
2019-05-29 11:21:06 -07:00
Gijs Kruitbosch
e561d233e9
Bug 1552993 - r=valentin,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D32066
--HG--
extra : moz-landing-system : lando
2019-05-27 09:14:33 +00:00
Tom Ritter
b8705a8481
Bug 1539595 - Rename Priveleged Content Process to PrivlegedAbout Content Process r=mconley,flod
...
We do this because we will be introducing more privileged content processes
and we want to be able to distinguish them.
Differential Revision: https://phabricator.services.mozilla.com/D30274
--HG--
rename : browser/base/content/test/tabs/browser_new_tab_in_privileged_process_pref.js => browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js
extra : moz-landing-system : lando
2019-05-29 11:31:31 +00:00
Ehsan Akhgari
6c4174f1f6
Bug 1554713 - Remove HttpChannelChild::mIPCOpen; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D32717
--HG--
extra : moz-landing-system : lando
2019-05-28 17:06:01 +00:00
Sebastian Hengst
fba75a919c
Backed out 4 changesets (bug 1539595) for build bustage in nsAboutRedirector.cpp. CLOSED TREE
...
Backed out changeset 2b0bb889b087 (bug 1539595)
Backed out changeset 95f0b82ec253 (bug 1539595)
Backed out changeset 6310e6dabceb (bug 1539595)
Backed out changeset ba3e353c6957 (bug 1539595)
--HG--
rename : browser/base/content/test/tabs/browser_e10s_about_page_triggeringprincipal.js => browser/base/content/test/general/browser_e10s_about_page_triggeringprincipal.js
rename : browser/base/content/test/tabs/browser_e10s_about_process.js => browser/base/content/test/general/browser_e10s_about_process.js
rename : browser/base/content/test/tabs/browser_e10s_chrome_process.js => browser/base/content/test/general/browser_e10s_chrome_process.js
rename : browser/base/content/test/tabs/browser_e10s_javascript.js => browser/base/content/test/general/browser_e10s_javascript.js
rename : browser/base/content/test/tabs/browser_e10s_switchbrowser.js => browser/base/content/test/general/browser_e10s_switchbrowser.js
rename : browser/base/content/test/tabs/file_about_child.html => browser/base/content/test/general/file_about_child.html
rename : browser/base/content/test/tabs/file_about_parent.html => browser/base/content/test/general/file_about_parent.html
rename : browser/base/content/test/tabs/test_process_flags_chrome.html => browser/base/content/test/general/test_process_flags_chrome.html
rename : browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js => browser/base/content/test/tabs/browser_new_tab_in_privileged_process_pref.js
2019-05-28 19:49:17 +02:00
Tom Ritter
03b41fa512
Bug 1539595 - Rename Priveleged Content Process to PrivlegedAbout Content Process r=mconley,flod
...
We do this because we will be introducing more privileged content processes
and we want to be able to distinguish them.
Differential Revision: https://phabricator.services.mozilla.com/D30274
--HG--
rename : browser/base/content/test/tabs/browser_new_tab_in_privileged_process_pref.js => browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js
extra : moz-landing-system : lando
2019-05-28 14:19:11 +00:00
Valentin Gosu
124a1062f6
Bug 1536744 - Rename NS_NewURIOnAnyThread to NS_NewURI. r=baku
...
The only protocol that can't be created off the main thread at the moment is
moz-extension, and that can be handled at a later time.
Differential Revision: https://phabricator.services.mozilla.com/D30713
--HG--
extra : moz-landing-system : lando
2019-05-28 14:17:04 +00:00
Valentin Gosu
393c44437c
Bug 1536744 - Add nsGIOProtocolHandler::GetSingleton(). Make sure nsIOService::GetProtocolHandler only returns it when it's supported. r=baku
...
Before, we'd try to create a URI using the GIO protocol handler, and if that
succeeded, we'd return the protocol handler.
Now we can't return it if NS_NewURI succeeds, because NS_NewURI doesn't check
the protocol handler anymore. So instead we just instantiate the handler,
check if the scheme is supported, and if so return it.
Differential Revision: https://phabricator.services.mozilla.com/D30706
--HG--
extra : moz-landing-system : lando
2019-05-28 13:50:20 +00:00
Valentin Gosu
b8bdfab7c9
Bug 1536744 - Remove nsIProtocolHandler.newURI r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30703
--HG--
extra : moz-landing-system : lando
2019-05-28 13:49:27 +00:00
Valentin Gosu
875ad56974
Bug 1536744 - Add "about" protocol to NS_NewURIOnAnyThread r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30701
--HG--
extra : moz-landing-system : lando
2019-05-28 13:49:17 +00:00
Valentin Gosu
1c26cb2cac
Bug 1536744 - Make resource protocol handler thread safe r=baku
...
This is achieved by adding a RWLock to SubstitutingProtocolHandler
Differential Revision: https://phabricator.services.mozilla.com/D30699
--HG--
extra : moz-landing-system : lando
2019-05-28 13:49:05 +00:00
Valentin Gosu
43021cd88a
Bug 1536744 - Add "resource" and "moz-extension" to NS_NewURIOnAnyThread. r=baku
...
* Add main thread assertions for "resource" and "moz-extension" protocols
* Use ::GetSingleton() for resource and moz-extension protocol handlers
Differential Revision: https://phabricator.services.mozilla.com/D30698
--HG--
extra : moz-landing-system : lando
2019-05-28 13:48:56 +00:00
Valentin Gosu
8ce8ef49f6
Bug 1536744 - Add {nsAboutProtocolHandler,nsViewSourceHandler,SubstitutingProtocolHandler}::CreateNewURI() static methods r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30697
--HG--
extra : moz-landing-system : lando
2019-05-28 13:48:49 +00:00
Valentin Gosu
804b1c0cb2
Bug 1536744 - NS_NewURIOnAnyThread should construct nsStandardURLs for smb and sftp URLs r=baku
...
These URL types need both specific applications to be installed on Linux, and for the pref to list them as supported.
We do these checks in nsGIOProtocolHandler::NewChannel instead of performing them when creating the URLs.
Differential Revision: https://phabricator.services.mozilla.com/D30695
--HG--
extra : moz-landing-system : lando
2019-05-28 13:47:18 +00:00
Valentin Gosu
10a3eb98ad
Bug 1536744 - Make SubstitutingProtocolHandler::NewURI only call ResolveJARURI if the host is android r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30694
--HG--
extra : moz-landing-system : lando
2019-05-28 13:46:55 +00:00
Valentin Gosu
552486a275
Bug 1536744 - Add nsAboutProtocolHandler::CreateNewURI() r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30693
--HG--
extra : moz-landing-system : lando
2019-05-28 13:46:35 +00:00
Valentin Gosu
ef2b6cf771
Bug 1536744 - Add nsResProtocolHandler::GetSingleton() r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30692
--HG--
extra : moz-landing-system : lando
2019-05-28 13:46:17 +00:00
Valentin Gosu
33c3bf5390
Bug 1551601 - Do process switch _before_ processing cached redirect r=mayhemer
...
This patch splits ReadFromCache in two - by adding ContinueReadFromCache.
ContinueReadFromCache is called asycly when a cross-process-redirect is
complete.
Sometimes, the channel will be cancelled before the cross-process-redirect
is complete, such as in:
testing/firefox-ui/tests/functional/safebrowsing/test_notification.py
In that case we must make sure to call HandleAsyncAbort if the listener's
onStart/StopRequest callbacks haven't been called.
Differential Revision: https://phabricator.services.mozilla.com/D31226
--HG--
extra : moz-landing-system : lando
2019-05-28 09:37:06 +00:00
Kershaw Chang
5d000eeb62
Bug 1544619 - Ignore response body if method is HEAD or CONNECT r=mayhemer
...
According to the spec, we should ignore the response body for the HEAD and CONNECT requests.
Differential Revision: https://phabricator.services.mozilla.com/D28678
--HG--
extra : moz-landing-system : lando
2019-05-27 09:08:50 +00:00
Sylvestre Ledru
d57d4905f1
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D30883
--HG--
extra : moz-landing-system : lando
2019-05-25 17:46:15 +00:00
Julien Wajsberg
b63e2a6156
Bug 1543040 - Report timings for redirects in the child as well r=mayhemer
...
Depends on D31486
Differential Revision: https://phabricator.services.mozilla.com/D31484
--HG--
extra : moz-landing-system : lando
2019-05-22 12:38:32 +00:00
Julien Wajsberg
6073a0fd93
Bug 1543040 - Report transaction timings in the redirect marker r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D31486
--HG--
extra : moz-landing-system : lando
2019-05-22 12:38:25 +00:00
Ehsan Akhgari
70dba3be94
Bug 1547813 - Part 8: Introduce a CookieSettings API to query whether cookies from third-party trackers must be rejected and use it in Gecko; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30117
--HG--
extra : moz-landing-system : lando
2019-05-25 01:25:43 +00:00
arthur.iakab
af8e458c5f
Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE
2019-05-24 14:26:01 +03:00
Sylvestre Ledru
c82ea97226
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D30883
--HG--
extra : moz-landing-system : lando
2019-05-24 09:59:17 +00:00
Sylvestre Ledru
993c03acb1
Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D31769
--HG--
extra : moz-landing-system : lando
2019-05-22 22:37:14 +00:00
Bogdan Tara
fa8d90211a
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2019-05-23 07:44:57 +03:00
Valentin Gosu
b4b25d6861
Bug 1529911 - Ensure that mOnStartRequestCalled/mOnStopRequestCalled is set just before calling the listener to avoid reentrancy issues r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D20499
--HG--
extra : moz-landing-system : lando
2019-05-22 13:48:59 +00:00
Valentin Gosu
33c73bd3eb
Bug 1529911 - Add more tests for cancelling the channel r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D20500
--HG--
extra : moz-landing-system : lando
2019-05-22 13:58:55 +00:00
Valentin Gosu
9f3b339e68
Bug 1529911 - Make the httpcancel unit test run in e10s r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D20501
--HG--
extra : moz-landing-system : lando
2019-05-22 13:48:31 +00:00
Nika Layzell
30555bd898
Bug 1540731 - Part 3: Stop releasing actors within ActorDestroy, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D29606
--HG--
extra : moz-landing-system : lando
2019-05-21 17:04:23 +00:00
Liang-Heng Chen
d77a6249b5
Bug 1552431
- handle first/third party correctly; r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D31590
--HG--
extra : moz-landing-system : lando
2019-05-21 14:41:58 +00:00
Daniel Varga
9054636e2c
Backed out 2 changesets (bug 1487113) for mochitest failure at dom/base/test/test_script_loader_js_cache.html.
...
Backed out changeset dce59b615568 (bug 1487113)
Backed out changeset e6f579752678 (bug 1487113)
2019-05-20 21:04:40 +03:00
Shane Caraveo
636c68369c
Bug 1552248 support ftp channel in proxy api r=mayhemer,kmag
...
ChannelWrapper is used throughout webext APIs and it requires a channel to support weakref.
FTPChannel did not, thus ftp requests did not go through proxy.onRequest.
Differential Revision: https://phabricator.services.mozilla.com/D31540
--HG--
extra : moz-landing-system : lando
2019-05-20 15:05:26 +00:00
Andrea Marchesini
32fb7a2445
Bug 1487113 - nsICacheInfoChannel.alternativeDataInputStream as attribute, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D31791
--HG--
extra : moz-landing-system : lando
2019-05-20 15:22:47 +00:00
Andrea Marchesini
aa9560f5f0
Bug 1487113 - nsICacheInfoChannel.originalInputStream as attribute, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D31790
--HG--
extra : moz-landing-system : lando
2019-05-20 15:18:25 +00:00
Ryan Hunt
f037851489
Bug 1525720, part 5 - Redirect nsIHttpChannel using content process ID instead of nsIRemoteTab. r=valentin
...
This code currently works for remote subframes assuming that nsIRemoteTab is implemented
by BrowserParent, but will break when nsIRemoteTab is only for a top-level BrowserParent.
What this code really wants is a content process ID to retarget the channel to. This
commit switches the interfaces to pass this around instead of nsIRemoteTab.
Differential Revision: https://phabricator.services.mozilla.com/D31435
--HG--
extra : source : 757b4f595cc4b18ae35483d23edff4896d15d4b1
2019-05-15 12:33:42 -05:00
Gurzau Raul
57f573a6ff
Backed out 18 changesets (bug 1525720) for mass failures on Windows platform e.g ProcessPriorityManager.cpp on a CLOSED TREE.
...
Backed out changeset 1f2e86c2d691 (bug 1525720)
Backed out changeset 9b79caa460a0 (bug 1525720)
Backed out changeset e65cb2d4c5a5 (bug 1525720)
Backed out changeset 99f971a02d87 (bug 1525720)
Backed out changeset d25963c72ff7 (bug 1525720)
Backed out changeset 810b73719871 (bug 1525720)
Backed out changeset ee10a8254481 (bug 1525720)
Backed out changeset 1bcf9f586c55 (bug 1525720)
Backed out changeset d3b2ac8d5ca4 (bug 1525720)
Backed out changeset 697774dd8984 (bug 1525720)
Backed out changeset eadeacbe4483 (bug 1525720)
Backed out changeset 32eeee79d628 (bug 1525720)
Backed out changeset 07678a2fa9e7 (bug 1525720)
Backed out changeset 757b4f595cc4 (bug 1525720)
Backed out changeset b255e0a84e12 (bug 1525720)
Backed out changeset 9a255864f75d (bug 1525720)
Backed out changeset 5f1c1b609ec1 (bug 1525720)
Backed out changeset 00d83f1d02e0 (bug 1525720)
2019-05-23 01:57:16 +03:00
Ryan Hunt
3621e207d9
Bug 1525720, part 5 - Redirect nsIHttpChannel using content process ID instead of nsIRemoteTab. r=valentin
...
This code currently works for remote subframes assuming that nsIRemoteTab is implemented
by BrowserParent, but will break when nsIRemoteTab is only for a top-level BrowserParent.
What this code really wants is a content process ID to retarget the channel to. This
commit switches the interfaces to pass this around instead of nsIRemoteTab.
Differential Revision: https://phabricator.services.mozilla.com/D31435
--HG--
extra : rebase_source : be3303c2d38d704a6a1817fa45fd76700fae6287
extra : histedit_source : c7bf1e496f4328acc9ee70fcccdff98ea2cce5df
2019-05-15 12:33:42 -05:00
Liang-Heng Chen
846a1486fa
Bug 1550756 - make system principal fall into new traffic category; r=dragana
...
- add 2 category: system principals for normal/private browsing
- P3Basic* and P3Content* are labeled incorrectly
- add many assertions to check categories
Differential Revision: https://phabricator.services.mozilla.com/D30660
--HG--
extra : moz-landing-system : lando
2019-05-16 13:24:18 +00:00
Honza Bambas
4534b7e9ee
Bug 1548804 - Remove origin suffix isolation for proxy credentials when setting authentication cache entry, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D30911
--HG--
extra : moz-landing-system : lando
2019-05-14 13:40:30 +00:00
Honza Bambas
7e08712a6a
Bug 1550498, r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D30510
--HG--
extra : moz-landing-system : lando
2019-05-09 17:42:17 +00:00
Honza Bambas
ad027c9594
Bug 1548822, r=kershaw,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D30364
--HG--
extra : moz-landing-system : lando
2019-05-09 16:39:59 +00:00
Honza Bambas
f739775f6f
Bug 1540759
, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D30382
--HG--
extra : moz-landing-system : lando
2019-05-08 21:07:05 +00:00
Valentin Gosu
74914bc5a5
Bug 1548994 - Release nsCompleteUpgradeData.mUpgradeListener on the main thread as it is not always threadsafe r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D30022
--HG--
extra : moz-landing-system : lando
2019-05-13 22:49:02 +00:00
Andrew McCreight
2841945140
Bug 1550860 - Mark implicit builtinclass interfaces explicitly. r=nika
...
If an XPIDL interface has a method or attribute that is [notxpcom],
then it is implicitly treated as [builtinclass], even if it is not
marked as such. For clarity, this patch goes through and marks every
place that relies on this behavior (aside from some test code).
Differential Revision: https://phabricator.services.mozilla.com/D30714
--HG--
extra : moz-landing-system : lando
2019-05-13 19:51:49 +00:00
Valentin Gosu
ab2249cd48
Bug 1547882 - Don't unescape %2e and %2f in the query or hash or moz-extension URLs. r=kershaw
...
Since the SubstitutingProtocolHandler is also extended by nsResProtocolHandler, this change would also apply to resource:// URLs.
Differential Revision: https://phabricator.services.mozilla.com/D30344
--HG--
extra : moz-landing-system : lando
2019-05-10 13:56:05 +00:00
Noemi Erli
6430d23336
Backed out 12 changesets (bug 1547813) for failures in browser_partitionedIndexedDB.js CLOSED TREE
...
Backed out changeset 98989127264b (bug 1547813)
Backed out changeset f9d790139a26 (bug 1547813)
Backed out changeset a29f58cef022 (bug 1547813)
Backed out changeset c1288949de1c (bug 1547813)
Backed out changeset 8cad4fd197b1 (bug 1547813)
Backed out changeset 807ce59e7e6e (bug 1547813)
Backed out changeset 06943593738c (bug 1547813)
Backed out changeset 4ced8d49ddc3 (bug 1547813)
Backed out changeset 77a040f527e9 (bug 1547813)
Backed out changeset b4651cfaff30 (bug 1547813)
Backed out changeset 279c140a4d71 (bug 1547813)
Backed out changeset 0e0241f3d366 (bug 1547813)
2019-05-09 20:04:16 +03:00
Ehsan Akhgari
c7cb5521d1
Bug 1547813 - Part 8: Introduce a CookieSettings API to query whether cookies from third-party trackers must be rejected and use it in Gecko; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30117
--HG--
extra : moz-landing-system : lando
2019-05-08 20:22:18 +00:00
Dragana Damjanovic
28355093cb
Bug 1531344 - Be strict about incorrect chunked encoding. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D28811
--HG--
extra : moz-landing-system : lando
2019-05-08 19:29:16 +00:00
Bogdan Tara
be70e99ad1
Backed out changeset 723587a2ae49 (bug 1531344) for netwerk/test/unit/test_* failures CLOSED TREE
2019-05-08 00:04:32 +03:00
Dragana Damjanovic
463cf81c74
Bug 1531344 - Be strict about incorrect chunked encoding. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D28811
--HG--
extra : moz-landing-system : lando
2019-05-07 17:57:33 +00:00
Valentin Gosu
987a27b272
Bug 1525640 - Add nsIHttpChannelInternal.isResolvedByTRR r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26884
--HG--
extra : moz-landing-system : lando
2019-05-06 16:38:16 +00:00
Valentin Gosu
b20ae58567
Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26883
--HG--
extra : moz-landing-system : lando
2019-05-06 16:37:01 +00:00
Valentin Gosu
975c55c679
Bug 1525640 - Pass TRR status from sockettransport to channel r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26882
--HG--
extra : moz-landing-system : lando
2019-05-06 16:47:14 +00:00
Honza Bambas
994f162385
Bug 1549368 - Let proxyAuthorizationHeader and connectionIsolationKey in proxy.onRequest apply only to HTTPS proxies, no test, r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D30066
--HG--
extra : moz-landing-system : lando
2019-05-06 16:28:25 +00:00
Honza Bambas
2555fb9646
Bug 1545420 - Allow extensions to set Proxy-Authorization and connection isolation key through proxy.onRequest, r=dragana,mixedpuppy+mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D29825
--HG--
extra : moz-landing-system : lando
2019-05-06 07:22:18 +00:00
Andrea Marchesini
360fec5787
Bug 1542170 - Expose http channel Id to WebSocketEvent listeners, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D28865
--HG--
extra : moz-landing-system : lando
2019-05-03 17:25:44 +00:00
Andrea Marchesini
fc1e01dc0b
Bug 1542170 - Introduce nsIWebSocketChannel.httpChannelId, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D28864
--HG--
extra : moz-landing-system : lando
2019-05-03 17:25:24 +00:00
Andrea Marchesini
000c5d8a75
Bug 1320404 - Remove appId from origin attributes - part 4 - necko, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D29356
--HG--
extra : moz-landing-system : lando
2019-05-03 17:14:23 +00:00
Liang-Heng Chen
9aff84c4b1
Bug 1546906 - use strict fingerprint category for telemetry; r=dragana,tanvi
...
Differential Revision: https://phabricator.services.mozilla.com/D28801
--HG--
extra : moz-landing-system : lando
2019-05-03 10:05:30 +00:00
Bogdan Tara
386d23bfe7
Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures
...
Backed out changeset 7c2f4e64d38e (bug 1320404)
Backed out changeset a7e7c0251179 (bug 1320404)
Backed out changeset dd741b25a244 (bug 1320404)
Backed out changeset de9073c57d20 (bug 1320404)
2019-05-03 06:12:25 +03:00
Andrea Marchesini
3621968eed
Bug 1320404 - Remove appId from origin attributes - part 4 - necko, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D29356
--HG--
extra : moz-landing-system : lando
2019-05-02 17:25:05 +00:00
Bogdan Tara
8244fce3c8
Backed out 3 changesets (bug 1525640) for frequent wpt failures CLOSED TREE
...
Backed out changeset d9a454afe9bf (bug 1525640)
Backed out changeset 19aa991328cb (bug 1525640)
Backed out changeset 4294abed890f (bug 1525640)
2019-05-03 00:16:20 +03:00
Perry Jiang
cf811f1da6
Bug 1535699 - Propagate redirect mode across cross-process redirects. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D29719
--HG--
extra : moz-landing-system : lando
2019-05-02 20:46:34 +00:00
Valentin Gosu
50b2b648b6
Bug 1525640 - Add nsIHttpChannelInternal.isResolvedByTRR r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26884
--HG--
extra : moz-landing-system : lando
2019-05-02 12:53:45 +00:00
Valentin Gosu
f96dbbf019
Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26883
--HG--
extra : moz-landing-system : lando
2019-05-02 12:53:38 +00:00
Valentin Gosu
e649e93aa1
Bug 1525640 - Pass TRR status from sockettransport to channel r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26882
--HG--
extra : moz-landing-system : lando
2019-05-02 12:53:36 +00:00
Thomas Nguyen
23e61a2595
Bug 1532318 - part 1: use ReferrerInfo class in nsIHttpChannel instead of referrer and referrer policy r=valentin,ckerschb,michal
...
Differential Revision: https://phabricator.services.mozilla.com/D22783
--HG--
extra : moz-landing-system : lando
2019-05-02 12:34:52 +00:00
Cosmin Sabou
a884fb99d8
Backed out 4 changesets (bug 1320404) for xperf failures on permissions.sqlite-journal.
...
Backed out changeset fbacf18b6532 (bug 1320404)
Backed out changeset fed7c475d75c (bug 1320404)
Backed out changeset 557b586f774a (bug 1320404)
Backed out changeset 5a20b5f43280 (bug 1320404)
2019-05-02 04:51:18 +03:00
Andrea Marchesini
7a0fabb9f6
Bug 1320404 - Remove appId from origin attributes - part 4 - necko, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D29356
--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:19 +00:00
Andrea Marchesini
79d0eaf58e
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - privacy.donottrackheader.enabled, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29514
--HG--
extra : moz-landing-system : lando
2019-05-01 21:09:44 +00:00
Sylvestre Ledru
e226046cb8
Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
...
# ignore-this-changeset
Depends on D28954
Differential Revision: https://phabricator.services.mozilla.com/D28956
--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Geoff Lankow
db8a35c1de
Bug 1482809 - Move non-browser-specific parts of browser/components/enterprisepolicies to toolkit r=mkaply,Felipe
...
Differential Revision: https://phabricator.services.mozilla.com/D28309
--HG--
rename : browser/components/enterprisepolicies/EnterprisePolicies.js => toolkit/components/enterprisepolicies/EnterprisePolicies.js
rename : browser/components/enterprisepolicies/EnterprisePolicies.manifest => toolkit/components/enterprisepolicies/EnterprisePolicies.manifest
rename : browser/components/enterprisepolicies/EnterprisePoliciesContent.js => toolkit/components/enterprisepolicies/EnterprisePoliciesContent.js
rename : browser/components/enterprisepolicies/WindowsGPOParser.jsm => toolkit/components/enterprisepolicies/WindowsGPOParser.jsm
rename : browser/components/enterprisepolicies/macOSPoliciesParser.jsm => toolkit/components/enterprisepolicies/macOSPoliciesParser.jsm
rename : browser/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm => toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js
rename : browser/components/enterprisepolicies/tests/browser/config_broken_json.json => toolkit/components/enterprisepolicies/tests/browser/config_broken_json.json
extra : moz-landing-system : lando
2019-04-30 16:01:06 +00:00
Gurzau Raul
f1e0f0ddf1
Backed out changeset 28b3bd8e5018 (bug 1482809) for using the wrong author.
...
--HG--
rename : toolkit/components/enterprisepolicies/EnterprisePolicies.js => browser/components/enterprisepolicies/EnterprisePolicies.js
rename : toolkit/components/enterprisepolicies/EnterprisePolicies.manifest => browser/components/enterprisepolicies/EnterprisePolicies.manifest
rename : toolkit/components/enterprisepolicies/EnterprisePoliciesContent.js => browser/components/enterprisepolicies/EnterprisePoliciesContent.js
rename : toolkit/components/enterprisepolicies/WindowsGPOParser.jsm => browser/components/enterprisepolicies/WindowsGPOParser.jsm
rename : toolkit/components/enterprisepolicies/macOSPoliciesParser.jsm => browser/components/enterprisepolicies/macOSPoliciesParser.jsm
rename : toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm => browser/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js => browser/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js => browser/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js => browser/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js => browser/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js
rename : toolkit/components/enterprisepolicies/tests/browser/config_broken_json.json => browser/components/enterprisepolicies/tests/browser/config_broken_json.json
2019-04-30 18:54:43 +03:00
Magnus Melin
a032a45a18
Bug 1482809 - Move non-browser-specific parts of browser/components/enterprisepolicies to toolkit r=mkaply,Felipe
...
Differential Revision: https://phabricator.services.mozilla.com/D28309
--HG--
rename : browser/components/enterprisepolicies/EnterprisePolicies.js => toolkit/components/enterprisepolicies/EnterprisePolicies.js
rename : browser/components/enterprisepolicies/EnterprisePolicies.manifest => toolkit/components/enterprisepolicies/EnterprisePolicies.manifest
rename : browser/components/enterprisepolicies/EnterprisePoliciesContent.js => toolkit/components/enterprisepolicies/EnterprisePoliciesContent.js
rename : browser/components/enterprisepolicies/WindowsGPOParser.jsm => toolkit/components/enterprisepolicies/WindowsGPOParser.jsm
rename : browser/components/enterprisepolicies/macOSPoliciesParser.jsm => toolkit/components/enterprisepolicies/macOSPoliciesParser.jsm
rename : browser/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm => toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js
rename : browser/components/enterprisepolicies/tests/browser/config_broken_json.json => toolkit/components/enterprisepolicies/tests/browser/config_broken_json.json
extra : moz-landing-system : lando
2019-04-30 15:38:22 +00:00
Sebastian Hengst
3dd01e8232
Backed out 4 changesets (bug 1501108) for causing very frequent leaks in macOS debug wpt tests. a=backout
...
Backed out changeset 23a77e063257 (bug 1501108)
Backed out changeset 335cec0aacd8 (bug 1501108)
Backed out changeset 99ba286125d1 (bug 1501108)
Backed out changeset 8f2d511ad49f (bug 1501108)
--HG--
extra : rebase_source : 01925c24ac47b37135fcfebab8ae7e9876d5b90e
2019-04-29 17:39:42 +02:00
dlee
2baaee894b
Bug 1545033 - P2. Add SetMatchedTrackingInfo in nsIClassifiedChannel. r=baku
...
This patch adds |setMatchedTrackingInfo| to channel to report matches that
are found in tracking annotation tables.
We have done something similar in nsIClassifiedChannel::setMatchedInfo to
report phishing protection matches.
Differential Revision: https://phabricator.services.mozilla.com/D28790
--HG--
extra : moz-landing-system : lando
2019-04-26 13:03:50 +00:00
Ehsan Akhgari
2422b99643
Bug 1535697 - Part 7: Pass the isolated flag to the nsHttpConnectionInfo constructor when cloning the object; r=michal
...
Building the hashkey for these objects will soon depend on the isolated flag,
therefore we need to ensure that it is available when cloning the objects
inside the constructor. This patch refactors the clone method to avoid using
SetIsolated().
Differential Revision: https://phabricator.services.mozilla.com/D28377
--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:41 +00:00
Ehsan Akhgari
b1bd6e9654
Bug 1535697 - Part 6: Use separate network connections for isolated third-party trackers; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28376
--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:41 +00:00
Ehsan Akhgari
45d4036c98
Bug 1535697 - Part 5: Pass the top window origin to nsHttpConnectionInfo objects when constructing them; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28375
--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:40 +00:00
Ehsan Akhgari
969addfef3
Bug 1535697 - Part 4: Refactor the code for computing the origin of the top window for a channel and remember its result on the channel object; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28374
--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:39 +00:00
Ehsan Akhgari
dc946ab989
Bug 1535697 - Part 3: Only consider third-party tracking resources as isolated channels; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28373
--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:39 +00:00
Ehsan Akhgari
3fcf2c3bae
Bug 1535697 - Part 2: Represent whether the channel is isolated by anti-tracking as a separate axis on the connection info hash key; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28372
--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:37 +00:00
Ehsan Akhgari
7fb3204d5c
Bug 1535697 - Part 1: Avoid calling AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor() more than once per channel; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28371
--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:32 +00:00
Cosmin Sabou
9ce8571e7a
Merge mozilla-central to autoland.
2019-04-29 12:57:24 +03:00
Gurzau Raul
2c2d5c8e3d
Backed out 7 changesets (bug 1535697) for causing Bug 1547596. a=backout
...
Backed out changeset 037390836504 (bug 1535697)
Backed out changeset ebad998aae7a (bug 1535697)
Backed out changeset 969945148b3d (bug 1535697)
Backed out changeset 5cbdeb635a3e (bug 1535697)
Backed out changeset c316d49df8c4 (bug 1535697)
Backed out changeset 4a5475f6aa49 (bug 1535697)
Backed out changeset 9191d987a9e1 (bug 1535697)
2019-04-29 01:05:24 +03:00
Andrea Marchesini
071573bc71
Bug 1541339 - WebSocket channel should use the correct CookieSettings in workers, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D28949
--HG--
extra : moz-landing-system : lando
2019-04-26 22:51:42 +00:00
Kershaw Chang
351a470dad
Bug 1544526 - Copy the callback instead of moving r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D27894
--HG--
extra : moz-landing-system : lando
2019-04-26 18:33:28 +00:00
Ehsan Akhgari
f3548957c4
Bug 1535697 - Part 7: Pass the isolated flag to the nsHttpConnectionInfo constructor when cloning the object; r=michal
...
Building the hashkey for these objects will soon depend on the isolated flag,
therefore we need to ensure that it is available when cloning the objects
inside the constructor. This patch refactors the clone method to avoid using
SetIsolated().
Differential Revision: https://phabricator.services.mozilla.com/D28377
--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:41 +00:00
Ehsan Akhgari
8d5e253237
Bug 1535697 - Part 6: Use separate network connections for isolated third-party trackers; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28376
--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:39 +00:00
Ehsan Akhgari
1d483abfeb
Bug 1535697 - Part 5: Pass the top window origin to nsHttpConnectionInfo objects when constructing them; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28375
--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:37 +00:00
Ehsan Akhgari
fef6fe14e0
Bug 1535697 - Part 4: Refactor the code for computing the origin of the top window for a channel and remember its result on the channel object; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28374
--HG--
extra : moz-landing-system : lando
2019-04-27 07:47:52 +00:00
Ehsan Akhgari
a709cc3a40
Bug 1535697 - Part 3: Only consider third-party tracking resources as isolated channels; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28373
--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:32 +00:00
Ehsan Akhgari
f2113beb89
Bug 1535697 - Part 2: Represent whether the channel is isolated by anti-tracking as a separate axis on the connection info hash key; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28372
--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:30 +00:00
Ehsan Akhgari
c64e2314b0
Bug 1535697 - Part 1: Avoid calling AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor() more than once per channel; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28371
--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:23 +00:00
Dana Keeler
c90cfeaf74
bug 1441989 - remove ContentVerifier r=baku,mayhemer
...
ContentVerifier has been dead code since bug 1355166 (which, incidentally, means
it has no tests). Its presence is preventing improvements to
ContentSignatureVerifier (see e.g. bug 1534600), so this patch removes it.
As a result, the nsILoadInfo attributes verifySignedContent and enforceSRI are
also unused, so this patch removes those as well.
Differential Revision: https://phabricator.services.mozilla.com/D28885
--HG--
extra : moz-landing-system : lando
2019-04-26 22:21:36 +00:00
Cosmin Sabou
6041076346
Backed out changeset daeba572395d (bug 1541339) for xpcshell failures on test_dns_proxy_bypass.
2019-04-26 21:26:21 +03:00
Andrea Marchesini
1e2d43b310
Bug 1541339 - WebSocket channel should use the correct CookieSettings in workers, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D28949
--HG--
extra : moz-landing-system : lando
2019-04-26 17:44:59 +00:00
Liang-Heng Chen
984a2d5906
Bug 1546796 - Fix swapped traffic category descriptions; r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D28792
--HG--
extra : moz-landing-system : lando
2019-04-26 15:01:58 +00:00
Liang-Heng Chen
a6b1274871
Bug 1546903 - change traffic telemetry unit from byte to KB; r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D28797
--HG--
extra : moz-landing-system : lando
2019-04-26 09:39:31 +00:00
Liang-Heng Chen
bed04f7f7b
Bug 1546884
- fix third-party channel checks; r=dragana
...
`mThirdPartyClassificationFlags` can only check for third-party tracking channel, it should be checked by calling `IsThirdPartyWindowOrChannel`.
Differential Revision: https://phabricator.services.mozilla.com/D28788
--HG--
extra : moz-landing-system : lando
2019-04-26 09:29:07 +00:00
Honza Bambas
5f945421d4
Bug 1493599 - Expose reason of security blocking on nsILoadInfo and add new http observer notification for failed asyncOpens, r=Honza,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D23150
--HG--
extra : moz-landing-system : lando
2019-04-26 10:59:41 +00:00
Sebastian Streich
a2d3e618af
Bug 1546913 - Remove GetLoadInfo callsites r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D27647
--HG--
extra : moz-landing-system : lando
2019-04-25 12:16:35 +00:00
Michal Novotny
1efe8b8b26
Bug 1506534 - Collect telemetry to measure how much penalty we will experience with first-party cache isolation, r=mayhemer, data-r=chutten
...
Whenever a cache entry is accessed during a document load, eTLD+1 of the top level document is added to the entry's metadata. Number of accessing sites is also stored in cache index. So we know how many copies of each entry would we have if we did a first party isolation without data deduplication. The telemetry is sent every time we write 2GB to the cache and then the data is reset. Telemetry report ID is an identifier of the telemetry cycle and it's used to invalidate eTLD+1 hashes in all cache entries.
Differential Revision: https://phabricator.services.mozilla.com/D26425
--HG--
extra : moz-landing-system : lando
2019-04-25 12:21:17 +00:00
Brindusan Cristian
f92b05e5f0
Merge inbound to mozilla-central. a=merge
...
--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
2019-04-25 00:54:01 +03:00
Honza Bambas
f26d4b5095
Bug 1536511 - Cache-control: stale-while-revalidate response header implementation, r=kershaw,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D28494
--HG--
extra : moz-landing-system : lando
2019-04-24 16:40:59 +00:00
Eden Chuang
9bffd42acf
Bug 1539208 - Propagate the result of mListener in InterceptedHttpChannel::OnStartRequest and ::OnStopRequest r=perry,ttung,kershaw
...
1. Propagate the mListener's result in InterceptedHttpChannel::OnStartRequest()
and ::OnStopRequest().
2. remove unnecessary assertion in FetchDriver::OnStartRequest().
Differential Revision: https://phabricator.services.mozilla.com/D28477
--HG--
extra : moz-landing-system : lando
2019-04-24 08:49:36 +00:00
Andrew McCreight
710a932577
Bug 1545843 - Mark some HTTP XPIDL classes as builtinclass. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D28295
--HG--
extra : moz-landing-system : lando
2019-04-23 16:05:29 +00:00
Oana Pop Rus
3c634d9c72
Merge autoland to mozilla-central. a=merge
2019-04-23 00:45:58 +03:00
Sylvestre Ledru
a1dce6440a
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D28329
--HG--
extra : moz-landing-system : lando
2019-04-22 16:35:03 +00:00
Narcis Beleuzu
b985ba7468
Backed out changeset 728aa342ad35 (bug 1536511) for causing crashes on Bug 1545023. a=backout
2019-04-22 14:57:20 +03:00
Ryan Hunt
d6509bb237
Bug 1534395 - Rename TabChild to BrowserChild. r=nika
...
This commit renames TabChild to BrowserChild.
Differential Revision: https://phabricator.services.mozilla.com/D28135
--HG--
rename : dom/base/InProcessTabChildMessageManager.cpp => dom/base/InProcessBrowserChildMessageManager.cpp
rename : dom/base/InProcessTabChildMessageManager.h => dom/base/InProcessBrowserChildMessageManager.h
rename : dom/ipc/TabChild.cpp => dom/ipc/BrowserChild.cpp
rename : dom/ipc/TabChild.h => dom/ipc/BrowserChild.h
extra : rebase_source : e7fcfb845a971a2760e73d517e24da18ce2551b5
extra : histedit_source : d1991334ccb107fe56e478865f22fd97b041a317
2019-04-09 17:39:01 -05:00
Ryan Hunt
e9e7d608be
Bug 1534395 - Rename nsITabChild to nsIBrowserChild. r=nika,mconley
...
Similarly to nsITabParent, TabChild is exposed to frontend code via nsITabChild. It's not clear what the future of this interface will be, but for now we can just rename it to nsIBrowserChild.
Differential Revision: https://phabricator.services.mozilla.com/D28134
--HG--
rename : dom/interfaces/base/nsITabChild.idl => dom/interfaces/base/nsIBrowserChild.idl
extra : rebase_source : a6c42a661e35b19e46c60f6f6a6f3dab64c0a1bc
extra : histedit_source : 1eb475bd840bf37a3f86294685c9b3c250684e79
2019-04-09 18:15:02 -05:00
Ryan Hunt
0eeced87be
Bug 1534395 - Rename TabParent to BrowserParent. r=nika
...
This commit renames TabParent to BrowserParent.
Differential Revision: https://phabricator.services.mozilla.com/D28133
--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
rename : dom/ipc/TabParent.h => dom/ipc/BrowserParent.h
extra : rebase_source : d2706b9f42177d8de16068b7b1d088a44b8720a4
extra : histedit_source : a617ddac45c58050ef799116a67d2d983f2a8f6d%2C1d1dabd8761a32d548a6fbf1027be960698f6a5e
2019-04-09 16:38:15 -05:00
Ryan Hunt
3675f2449b
Bug 1534395 - Rename nsITabParent to nsIRemoteTab. r=nika,mconley
...
nsITabParent is exposed to frontend code and is generally used as a representation of a remote tab. We could just rename the interface to nsIBrowserParent and worry about it later, but I think it's better to rename the interface to nsIRemoteTab so that we can later work on splitting the interface away from the PBrowser protocol.
Note: Some frontend code refers to a TabParentId. This commit renames this to RemoteTabId. We need to figure out the purpose of TabId with fission.
Differential Revision: https://phabricator.services.mozilla.com/D28132
--HG--
rename : dom/interfaces/base/nsITabParent.idl => dom/interfaces/base/nsIRemoteTab.idl
extra : rebase_source : 9d8a1790a7bb10195ad063644d1a93d63b2afb72
2019-04-09 15:59:37 -05:00
Cosmin Sabou
ee0e94e991
Merge mozilla-central to mozilla-inbound.
2019-04-19 19:36:21 +03:00
arthur.iakab
57c7c5a365
Merge mozilla-central to mozilla-inbound
2019-04-19 12:49:24 +03:00
Dragana Damjanovic
a27692b748
Bug 1543005 - Collect telemetry on traffic transferred through a captive portal. r=valentin
...
Adding telemetry for the amount of traffic transfer over the captive portal. Also moving some telemetry for trackers to the same place where our old telemetry is, so that they are all on the same place.
Differential Revision: https://phabricator.services.mozilla.com/D27375
--HG--
extra : moz-landing-system : lando
2019-04-19 09:26:48 +00:00
Michal Novotny
bd208195d9
Bug 1358038 - "Add "Race Cache With Network" status to netmonitor" r=Honza
...
--HG--
extra : histedit_source : 6fd61c4cdc5b6fc1e48463dea15614f845d0ae7a
2019-04-15 05:52:00 +03:00
Ehsan Akhgari
5a1d95baaa
Bug 1545251 - Remove the code added in bug 1462432 since it's all dead code; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D27972
--HG--
extra : moz-landing-system : lando
2019-04-18 06:01:55 +00:00
Ehsan Akhgari
ccfae51c32
Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D26996
--HG--
extra : moz-landing-system : lando
2019-04-18 01:00:22 +00:00
Csoregi Natalia
fc982ef00d
Backed out changeset d969c3ed6999 (bug 1543005) for assertion failures on netwerk/protocol/http/nsHttpHandler.cpp. CLOSED TREE
2019-04-17 22:07:07 +03:00
Dragana Damjanovic
591ecb1b1e
Bug 1543005 - Collect telemetry on traffic transferred through a captive portal. r=valentin
...
Adding telemetry for the amount of traffic transfer over the captive portal. Also moving some telemetry for trackers to the same place where our old telemetry is, so that they are all on the same place.
Differential Revision: https://phabricator.services.mozilla.com/D27375
--HG--
extra : moz-landing-system : lando
2019-04-13 19:30:35 +00:00
Eugen Sawin
2fd75d1a4e
Bug 1501108 - [1.3] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D19182
--HG--
extra : moz-landing-system : lando
2019-04-16 20:24:29 +00:00
Nika Layzell
007f2f7273
Bug 1542788 - Don't allow content to cancel process-changing channels, r=valentin
...
With the process switching approach taken by frame swaps, there is some
additional latency between nsDocShell teardown and when the channel is
connected into the new process. This leads to the nsDocShell canceling the
channel before the redirect is complete. This change should fix that.
Differential Revision: https://phabricator.services.mozilla.com/D26557
--HG--
extra : moz-landing-system : lando
2019-04-17 00:53:07 +00:00
Ehsan Akhgari
941a844392
Bug 1544131 - Part 1: Ensure that the referrer policy provided by JS/DOM will override the default referrer policy applied to third-party trackers; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D27393
--HG--
extra : moz-landing-system : lando
2019-04-15 13:05:10 +00:00
Honza Bambas
f3e4a0c5fa
Bug 1536511 - Cache-control: stale-while-revalidate response header implementation,
...
Differential Revision: https://phabricator.services.mozilla.com/D27661
--HG--
extra : moz-landing-system : lando
2019-04-16 11:44:50 +00:00
Cosmin Sabou
18065e80c7
Backed out 4 changesets (bug 1501108) for browser chrome failures on browser_principalSerialization_version1.js. CLOSED TREE
...
Backed out changeset da28ce3af312 (bug 1501108)
Backed out changeset 1936dde5f34c (bug 1501108)
Backed out changeset de36c9fb8c65 (bug 1501108)
Backed out changeset cad2b29b79d2 (bug 1501108)
2019-04-16 01:10:26 +03:00
Eugen Sawin
2437dae249
Bug 1501108 - [1.2] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D19182
--HG--
extra : moz-landing-system : lando
2019-04-15 20:58:30 +00:00
Coroiu Cristina
d4f3370b50
Merge mozilla-central to autoland a=merge
2019-04-13 15:19:54 +03:00
Coroiu Cristina
8442bbf9c9
Backed out 3 changesets (bug 1525640) for causing leaks a=backout
...
Backed out changeset efdd32c00dc6 (bug 1525640)
Backed out changeset e71641f0465b (bug 1525640)
Backed out changeset e3539a40afdf (bug 1525640)
2019-04-13 14:57:11 +03:00
Masayuki Nakano
fdbbccd877
Bug 1542664 - Make TabChild use mozilla::PresShell directly rather than via nsIPresShell r=nika
...
This patch makes `TabChild` use `mozilla::PresShell` directly.
Then, renames `TabChild::GetPresShell()` and `TabChild::GetDocument()` to
`TabChild::GetTopLevelPresShell()` and `TabChild::GetTopLevelDocument()` to
make what they do clearer (e.g., see the change in `PresShell.cpp`).
Differential Revision: https://phabricator.services.mozilla.com/D26455
--HG--
extra : moz-landing-system : lando
2019-04-13 01:53:10 +00:00
Ehsan Akhgari
abbca7fd7d
Bug 1544004 - Rename nsIHttpChannelInternal::cancelByChannelClassifier() to cancelByURLClassifier(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D27314
--HG--
extra : moz-landing-system : lando
2019-04-12 15:44:02 +00:00
Valentin Gosu
7a2c41a7a5
Bug 1525640 - Add nsIHttpChannelInternal.isResolvedByTRR r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26884
--HG--
extra : moz-landing-system : lando
2019-04-12 13:57:45 +00:00
Valentin Gosu
e6696588e7
Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26883
--HG--
extra : moz-landing-system : lando
2019-04-12 13:54:29 +00:00
Valentin Gosu
f172b45edc
Bug 1525640 - Pass TRR status from sockettransport to channel r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26882
--HG--
extra : moz-landing-system : lando
2019-04-12 13:54:08 +00:00
Oana Pop Rus
76651301a1
Backed out changeset acb04833e713 (bug 1500533) for assertion failure in nsHttpChannel.cpp on a CLOSED TREE
2019-04-11 23:15:08 +03:00
Ehsan Akhgari
bf2a5e6e54
Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D26996
--HG--
extra : moz-landing-system : lando
2019-04-11 18:36:16 +00:00
Andrea Marchesini
cb6c3424f0
Bug 1543079 - Use Window and Channel IDs instead of pointers in ContentBlockingAllowListKey, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D26706
--HG--
extra : moz-landing-system : lando
2019-04-09 22:11:10 +00:00
Valentin Gosu
1a2cdd14be
Bug 1530303 - Remove nsIHttpChannelInternal.setTopWindowPrincipal r=nika
...
Since it wasn't reliable, we remove the topWindowPrincipal in favor of WindowGlobalParent->DocumentPrincipal()
Differential Revision: https://phabricator.services.mozilla.com/D24897
--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:51 +00:00
Valentin Gosu
9f66c3ee26
Bug 1530303 - Use CanonicalBrowsingContext->CurrentWindowGlobal->DocumentPrincipal to get the topLevelWindowPrincipal r=nika
...
The principal we got from the child process was always a null principal, which was wrong.
This approach seems to give you the actual principal of the current document.
Differential Revision: https://phabricator.services.mozilla.com/D24895
--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:33 +00:00
Valentin Gosu
06334e695a
Bug 1530303 - Put CrossOriginOpenerPolicy in BrowsingContext r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D23935
--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:13 +00:00
Liang-Heng Chen
3ad02f2b09
Bug 1541238 - add pref to delay 3rd-party tracker; r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D26266
--HG--
extra : moz-landing-system : lando
2019-04-05 16:30:08 +00:00
Sylvestre Ledru
03c8e8c2dd
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-05 21:41:42 +00:00
Sylvestre Ledru
b76e026986
Bug 1542237 - nsHTTP.cpp: Remove an unused allocation r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26308
--HG--
extra : moz-landing-system : lando
2019-04-05 19:25:28 +00:00
Csoregi Natalia
ba58e936bd
Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE
2019-04-05 09:48:19 +03:00
Sylvestre Ledru
d1c1878603
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Liang-Heng Chen
b56c857b8e
Bug 1533363 - Part 2: Add HTTP Traffic category Telemetry; r=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D25135
--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:39 +00:00
Liang-Heng Chen
87aef68061
Bug 1533363 - Part 1: Add HttpTrafficAnalyzer service; r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D24517
--HG--
extra : moz-landing-system : lando
2019-04-04 21:38:28 +00:00
Carolina Jimenez Gomez
8093499470
Bug 1512505 - Log a message in web console when a site is only supporting TLS 1.0 or 1.1. r=keeler
...
Differential Revision: https://phabricator.services.mozilla.com/D25660
--HG--
extra : moz-landing-system : lando
2019-04-04 23:37:20 +00:00
Narcis Beleuzu
24dbe577a5
Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE
2019-04-05 00:27:56 +03:00
Sylvestre Ledru
399dbd28fe
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Brindusan Cristian
6760a04b6a
Backed out 2 changesets (bug 1533363) for build bustages at HttpTrafficAnalyzer.cpp.
...
Backed out changeset 99636457aa95 (bug 1533363)
Backed out changeset c3488f465c29 (bug 1533363)
2019-04-04 21:13:58 +03:00
Liang-Heng Chen
d1e02bf1bf
Bug 1533363 - Part 2: Add HTTP Traffic category Telemetry; r=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D25135
--HG--
extra : moz-landing-system : lando
2019-04-04 17:31:33 +00:00
Liang-Heng Chen
187eba79a4
Bug 1533363 - Part 1: Add HttpTrafficAnalyzer service; r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D24517
--HG--
extra : moz-landing-system : lando
2019-04-04 17:29:36 +00:00
Andrea Marchesini
10b25d6759
Bug 1539637 - Make cryptomining and fingerprinting annotations use the "strict" list always, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D25266
--HG--
extra : moz-landing-system : lando
2019-04-04 05:31:44 +00:00
Junior Hsu
304908db26
Bug 1539766
- handle the cancel case for e10s bp r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D25315
--HG--
extra : moz-landing-system : lando
2019-04-03 20:35:02 +00:00
Honza Bambas
1296f23329
Bug 1538812 - Remove the dangerous default 'NS_ASSIGNMENT_DEPEND' of argument 'assignment' on NS_NewByteInputStream to let it be defined expicitly and thus visibly, r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D25462
--HG--
extra : moz-landing-system : lando
2019-04-03 11:39:41 +00:00
Ian Moody
21aefc6b0a
Bug 1539177 - netwerk/ automated ESLint no-throw-literal fixes. r=kershaw
...
Result of running:
$ mach eslint -funix netwerk/ | sed -Ee 's/:.+//' - | xargs sed -E \
-e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
-e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
-e 's/throw \(/throw new Error(/g' -i
Differential Revision: https://phabricator.services.mozilla.com/D25652
--HG--
extra : moz-landing-system : lando
2019-04-02 12:18:22 +00:00
Eden Chuang
72b79c6fbd
Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
...
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process
Differential Revision: https://phabricator.services.mozilla.com/D23330
--HG--
extra : moz-landing-system : lando
2019-04-01 22:42:34 +00:00
Khyati Agarwal
a5a46d7d06
bug 1524362 - 34,800 instances of "NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111" emitted from netwerk/protocol/res/SubstitutingProtocolHandler.cpp during linux64 debug testing r=valentin
...
Replaced "NS_ENSURE_SUCCESS" with 'if' condition
Differential Revision: https://phabricator.services.mozilla.com/D25528
--HG--
extra : moz-landing-system : lando
2019-04-01 21:06:28 +00:00
Dana Keeler
f8da648dbc
bug 1439002 - remove useless debug spew from nsSiteSecurityService r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D25489
--HG--
extra : moz-landing-system : lando
2019-04-01 17:07:20 +00:00
shindli
ce0b5e1927
Backed out 2 changesets (bug 1487113) for causing xpcshell failure in netwerk/test/unit_ipc/test_alt-data_cross_process_wrap.js CLOSED TREE
...
Backed out changeset 74ae5929e387 (bug 1487113)
Backed out changeset 0ee68b246224 (bug 1487113)
2019-04-01 13:42:38 +03:00
Andrea Marchesini
a040cdb236
Bug 1487113 - nsICacheInfoChannel.alternativeDataInputStream as attribute, r=valentin
...
Depends on D25518
Differential Revision: https://phabricator.services.mozilla.com/D25519
--HG--
extra : moz-landing-system : lando
2019-04-01 09:13:10 +00:00
Andrea Marchesini
99002c21c7
Bug 1487113 - nsICacheInfoChannel.originalInputStream as attribute, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D25518
--HG--
extra : moz-landing-system : lando
2019-04-01 05:44:45 +00:00
Sylvestre Ledru
ef0bfc3822
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D24168
--HG--
extra : moz-landing-system : lando
2019-03-31 15:12:55 +00:00
Kris Maglione
37ba9dcc45
Bug 1525762: Part 1l - Don't delay serving image resources until extensions are ready. r=aswan
...
Since we want themes to be loaded before the main browser window is loaded, we
really need their resources to be ready as soon as possible. We typically
delay serving moz-extension: requests until the extension is ready, since
extension page and CSS loads rely on the extension being fully initialized.
Image loads, though, are perfectly safe to load as early as we need, so this
patch whitelists them to bypass the delayed load logic.
--HG--
extra : rebase_source : 0f17a884e2981cc226e0004b40f1cfbb79d66c84
extra : histedit_source : 55d9f5ca67f135b1a62797b673bdb3a4ed8e3de5
2019-03-23 15:26:03 -07:00
Honza Bambas
7788764293
Bug 1538737 - Don't isolate proxy auth credential cache by origin attributes on all places, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D25422
--HG--
extra : moz-landing-system : lando
2019-03-29 19:40:34 +00:00
Kershaw Chang
c711763836
Bug 1539539 - Add main thread assertion and fix a clang warning r=mayhemer
...
The resultCallback at [1] should be always executed on main thread, so adding an assertion to enforce this.
This patch also fixes a warning at [2]. This is about moving a const captured variable.
[1] https://searchfox.org/mozilla-central/rev/3d469329a42644b41e66944d8da22d78d8c0f5ec/netwerk/protocol/http/nsHttpChannel.cpp#551-558
[2] https://searchfox.org/mozilla-central/rev/3d469329a42644b41e66944d8da22d78d8c0f5ec/netwerk/base/nsNetUtil.cpp#2808
Differential Revision: https://phabricator.services.mozilla.com/D25219
--HG--
extra : moz-landing-system : lando
2019-03-28 15:03:46 +00:00
Michal Novotny
98cbfe2ba6
Bug 1533369 - Add content type to cache index, r=mayhemer
...
This patch adds content-type to metadata in cache entry and it is then propagated down to the cache index.
Differential Revision: https://phabricator.services.mozilla.com/D23504
--HG--
extra : moz-landing-system : lando
2019-03-27 14:32:12 +00:00
Andrea Marchesini
b4a2e3cb6d
Bug 1536488 - Tracking-annotation should use strict list always, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D24053
--HG--
extra : moz-landing-system : lando
2019-03-27 13:51:27 +00:00
Kershaw Chang
2efb2d1bce
Bug 1539148 - Make sure http channel is release on main thread when calling NS_ShouldSecureUpgrade r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D25028
--HG--
extra : moz-landing-system : lando
2019-03-27 12:09:01 +00:00
Matthew Noorenberghe
edd6809d0c
Bug 1533925 - Allow about: pages to be forced into the extension process. r=kmag
...
Some extensions want to implement about: pages and we want those pages to be loaded in the extension process, not in the web content process, so that:
1) a compromised web process won't get access to the about: page content
2) the extension page can use all the APIs that extension pages normally get, instead of only content script APIs.
Post-Fission we will need to know which extension process to choose.
Differential Revision: https://phabricator.services.mozilla.com/D24989
--HG--
extra : moz-landing-system : lando
2019-03-27 04:07:15 +00:00
Cosmin Sabou
78fc71e3c3
Backed out changeset 7fa7d6e6dedc (bug 1442778) for devtools failures on browser_webconsole_check_stubs_console_api.js CLOSED TREE
2019-03-26 20:27:55 +02:00
Eden Chuang
5e4df764d9
Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
...
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process
Differential Revision: https://phabricator.services.mozilla.com/D23330
--HG--
extra : moz-landing-system : lando
2019-03-26 15:18:20 +00:00
Andrea Marchesini
a8466fb647
Bug 1487113 - nsHttpChannel should return the Content-Length even when alt-data is available if not delivered, r=valentin
...
Without this patch, content-length getter returns 0 if we have an available
alt-data because we don't distinguish between having and using it.
Differential Revision: https://phabricator.services.mozilla.com/D24875
--HG--
extra : moz-landing-system : lando
2019-03-26 12:00:42 +00:00