Valentin Gosu
cc2ad47710
Bug 1552886 - Modernize test_trr.js (part 2) r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D31801
--HG--
extra : moz-landing-system : lando
2019-05-29 21:40:11 +00:00
ffxbld
669d19df08
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D33154
--HG--
extra : moz-landing-system : lando
2019-05-30 13:07:37 +00: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
Csoregi Natalia
a51ae3670f
Backed out 5 changesets (bug 1551798) for failures on test_rawSameSite.js. CLOSED TREE
...
Backed out changeset 11ddc433b632 (bug 1551798)
Backed out changeset f2ac8efb023d (bug 1551798)
Backed out changeset 0f6e797b434f (bug 1551798)
Backed out changeset eae7f88660c8 (bug 1551798)
Backed out changeset 2ba747afb3d0 (bug 1551798)
2019-05-30 10:17:01 +03:00
Andrea Marchesini
ef73f6105f
Bug 1551798 - Add comments about the next removing patches, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D33037
--HG--
extra : moz-landing-system : lando
2019-05-29 16:34:27 +00:00
Andrea Marchesini
d513a67ed4
Bug 1551798 - Test for cookie migration 10, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32483
--HG--
extra : moz-landing-system : lando
2019-05-29 15:56:22 +00:00
Andrea Marchesini
84e139e50b
Bug 1551798 - Store sameSite value as received from the wire in the database - migration 10, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32482
--HG--
extra : moz-landing-system : lando
2019-05-29 16:34:33 +00:00
Andrea Marchesini
ae8ab513d8
Bug 1551798 - SameSite=lax by default and SameSite=none only if secure, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D31215
--HG--
extra : moz-landing-system : lando
2019-05-30 00:48:41 +00:00
Byron Campen [:bwc]
2d6cf50175
Bug 1551589
: readyState fixes r=ng
...
Depends on D31085
Differential Revision: https://phabricator.services.mozilla.com/D31123
--HG--
extra : moz-landing-system : lando
2019-05-29 21:27:18 +00:00
Andrea Marchesini
4c6ace6ac6
Bug 1551798 - Rename nsICookie2.SAMESITE_UNSET to nsICookie2.SAMESITE_NONE, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D31214
--HG--
extra : moz-landing-system : lando
2019-05-29 15:55:03 +00:00
arthur.iakab
944263f18a
Backed out 5 changesets (bug 1551798) for multiple build bustages on StaticPrefList.h CLOSED TREE
...
Backed out changeset c89daff34d97 (bug 1551798)
Backed out changeset bbc3f88b8c03 (bug 1551798)
Backed out changeset b87996b8a411 (bug 1551798)
Backed out changeset d88b0002d736 (bug 1551798)
Backed out changeset 0fe740c90e2b (bug 1551798)
2019-05-29 18:07:26 +03:00
Andrea Marchesini
08c8aa4d6d
Bug 1551798 - Test for cookie migration 10, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32483
--HG--
extra : moz-landing-system : lando
2019-05-27 01:46:11 +00:00
Andrea Marchesini
d5fdfc9e8c
Bug 1551798 - Store sameSite value as received from the wire in the database - migration 10, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32482
--HG--
extra : moz-landing-system : lando
2019-05-27 05:11:54 +00:00
Andrea Marchesini
7a79f55da4
Bug 1551798 - SameSite=lax by default and SameSite=none only if secure, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D31215
--HG--
extra : moz-landing-system : lando
2019-05-24 15:44:00 +00:00
Andrea Marchesini
e9bbb85ed1
Bug 1551798 - Rename nsICookie2.SAMESITE_UNSET to nsICookie2.SAMESITE_NONE, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D31214
--HG--
extra : moz-landing-system : lando
2019-05-24 15:18:49 +00:00
Honza Bambas
912f874cb7
Bug 1509827 - Document nsIClassOfService flags, r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D31067
--HG--
extra : moz-landing-system : lando
2019-05-29 14:02:26 +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
Noemi Erli
395fa026e1
Merge autoland to mozilla-central. a=merge
2019-05-29 12:47:04 +03:00
Jorg K
b4c9e9391c
Bug 1550945 - Part 2, M-C part: Hook into nsNetUtil::NS_NewURI(). r=valentin a=aryx,npotb DONTBUILD
2019-05-29 11:23:04 +02:00
Cosmin Sabou
482c1fdb41
Backed out 2 changesets (bug 1554527, bug 1553867) as requested by Sylvestre for causing huge perf regressions. a=backout
...
Backed out changeset 1e85291f97de (bug 1554527)
Backed out changeset daf113171d63 (bug 1553867)
2019-05-29 09:57:29 +03: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
fd0006a0bf
Bug 1536744 - Add ssh scheme to NS_NewURIOnAnyThread r=baku
...
This is needed to pass a web-platform-test. Since unknown protocols use
nsSimpleURI and nsSimpleURI::GetHost returns an error code, that will fail.
Instead, we instantiate an nsStandardURL for the ssh scheme.
Once we change nsSimpleURI to be backed by MozURL we can probably remove this.
Differential Revision: https://phabricator.services.mozilla.com/D30707
--HG--
extra : moz-landing-system : lando
2019-05-28 13:50:43 +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
e117171c5d
Bug 1536744 - Fix test by adding a proper implementation of nsSimpleURI::Resolve that uses MozURL r=baku
...
nsSimpleURI doesn't really have the concept of a relative URI.
Since unknown protocol schemes will ultimately fall back to using nsSimpleURI,
we need to make sure that resolving a URI with certain base still works as
before, when those URIs were nsStandardURLs, created by the protocol handlers.
To achieve this we check to see if the "relative path" has a scheme. If it
does, we just return it, to be parsed by NS_NewURI. Otherwise, we use
MozURL (based on rust-url) to figure out the correct relative URL we should
return. This by itself manages to fix several failing web-platform tests.
Differential Revision: https://phabricator.services.mozilla.com/D30705
--HG--
extra : moz-landing-system : lando
2019-05-28 13:50:00 +00:00
Valentin Gosu
37cf1a4629
Bug 1536744 - Add indexeddb and android schemes to NS_NewURIOnAnyThread r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30704
--HG--
extra : moz-landing-system : lando
2019-05-28 13:49:45 +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
016cf57214
Bug 1536744 - Add "moz-icon" to NS_NewURIOnAnyThread r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30702
--HG--
extra : moz-landing-system : lando
2019-05-28 13:49:19 +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
eb24233246
Bug 1536744 - Add "jar" to NS_NewURIOnAnyThread r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30700
--HG--
extra : moz-landing-system : lando
2019-05-28 13:49:07 +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
6226941606
Bug 1536744 - Make nsIOService.newURI call NS_NewURI, and NS_NewURI call NS_NewURIOnAnyThread r=baku
...
This way all of the nsIURI creation will go through NS_NewURIOnAnyThread.
NS_NewURIOnAnyThread will be renamed to NS_NewURI in the final patch.
Differential Revision: https://phabricator.services.mozilla.com/D30696
--HG--
extra : moz-landing-system : lando
2019-05-28 13:48:47 +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
ffxbld
dafef8c4a2
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D32686
--HG--
extra : moz-landing-system : lando
2019-05-28 20:34:21 +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
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
Honza Bambas
8e33c5a50b
Bug 1554953 - Fix test_captive_portal_service.js intermittent timeout at shutdown, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D32814
--HG--
extra : moz-landing-system : lando
2019-05-28 12:31:31 +00:00
Andrea Marchesini
4bbb03b93b
Bug 1554527 - Clone the principal for permission checks in CookieSettings only if needed, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32660
--HG--
extra : moz-landing-system : lando
2019-05-27 13:45:42 +00:00
Andrea Marchesini
67e56bf7fb
Bug 1191313 - Get rid of third-party-cookie-accepted and third-party-cookie-rejected notifications, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32665
--HG--
extra : moz-landing-system : lando
2019-05-27 13:27:47 +00:00
Andrea Marchesini
c355651b11
Bug 1416657
- Avoid calling IsThirdPartyChannel() with a nullptr channel in nsCookieService, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32672
--HG--
extra : moz-landing-system : lando
2019-05-27 13:25:12 +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