Cameron McCormack
1b811cea21
Bug 1629754 - Silence some nsCacheService warnings. r=michal
...
This silences two warnings that I see in debug builds.
The first is from nsCacheProfilePrefObserver::ReadPrefs, where the
nsresult from the NS_APP_CACHE_PARENT_DIR directory getting will be
returned even if we successfully get the profile directory. (While
we're here, factor out some common functionality in this function.)
The second is from dealing with the result of
nsCacheService::CreateCustomOfflineDevice. Failing to create an offline
device is a normal condition, if the cache size is set to 0 or we have
explicitly disabled the offline cache. So don't warn in those cases.
Differential Revision: https://phabricator.services.mozilla.com/D70793
--HG--
extra : moz-landing-system : lando
2020-04-14 22:36:53 +00:00
Matt Woodrow
2734904e17
Bug 1622490 - Add nsIMultiPartChannelListener forwarding to nsStreamListenerWrapper. r=mayhemer
...
Depends on D70660
Differential Revision: https://phabricator.services.mozilla.com/D70661
--HG--
extra : moz-landing-system : lando
2020-04-14 15:46:07 +00:00
Matt Woodrow
fe8d230a3c
Bug 1622490 - Don't finish loading a multipart response in HttpChannelChild during OnStopRequest, since we should rely on OnAfterLastPart being called for this. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D70660
--HG--
extra : moz-landing-system : lando
2020-04-14 15:46:09 +00:00
Anny Gakhokidze
1fc287f151
Bug 1594529 - Create LoadInfo for subdocuments directly in parent process with DocumentChannel. r=mattwoodrow,nika
...
Currently, with Fission enabled we are not able to create a proper LoadInfo
object when doing a subdocument load because we do not have access to a loading
context if the load is happening inside of an OOP frame. To solve this problem,
we can create LoadInfo object from scratch in the parent process where we have
all of the required information.
Differential Revision: https://phabricator.services.mozilla.com/D68893
--HG--
extra : moz-landing-system : lando
2020-04-13 23:00:43 +00:00
Andrea Marchesini
cc9ceea0dc
Bug 1620334 - Update sameSite MDN URL, r=fscholz
...
Differential Revision: https://phabricator.services.mozilla.com/D70850
--HG--
extra : moz-landing-system : lando
2020-04-14 13:27:11 +00:00
Kershaw Chang
bf843aa911
Bug 1625151
- P1: Move DNS resolution to socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D68388
--HG--
extra : moz-landing-system : lando
2020-04-14 09:14:41 +00:00
Christoph Kerschbaumer
1201f87e94
Bug 1599131: Remove carve outs for downloads within x-frame-options when fission enabled. r=smaug,mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D65949
--HG--
extra : moz-landing-system : lando
2020-04-14 05:57:44 +00:00
ffxbld
29bbf326cf
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D70682
--HG--
extra : moz-landing-system : lando
2020-04-13 14:01:40 +00:00
Csoregi Natalia
ec3a77d6ee
Backed out 2 changesets (bug 1625151
) for crashes on nsAutoOwningThread. CLOSED TREE
...
Backed out changeset 465d2418e50c (bug 1625151
)
Backed out changeset 991c18b616e3 (bug 1625151
)
2020-04-13 14:56:20 +03:00
Kershaw Chang
2fc9815db5
Bug 1625151
- P1: Move DNS resolution to socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D68388
--HG--
extra : moz-landing-system : lando
2020-04-13 08:31:02 +00:00
Razvan Maries
7b34a6593b
Backed out changeset 001575dc6d78 (bug 1582318
) for breaking bug 1628661.
2020-04-13 00:05:27 +03:00
Valentin Gosu
d6d532ed31
Bug 1625563 - Add a delay to test_trr.js::test_resolve_not_confirmed to avoid Android intermittent r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D69825
--HG--
extra : moz-landing-system : lando
2020-04-10 19:41:16 +00:00
MahakBansal
4452860213
Bug 1614659 - CacheIndex::Shutdown() should not check if files exist before removing them.r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D70094
--HG--
extra : moz-landing-system : lando
2020-04-10 08:14:19 +00:00
Andrea Marchesini
9f0376cefe
Bug 1363541 - Modernize the PermissionManager - part 5 - headers, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D70041
--HG--
extra : moz-landing-system : lando
2020-04-11 13:42:30 +00:00
Andrea Marchesini
13481ea877
Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D70040
--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-11 13:42:12 +00:00
Andrea Marchesini
d0bfec4f79
Bug 1363541 - Modernize the PermissionManager - part 1 - nsPermission to mozilla::Permission, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D69963
--HG--
rename : extensions/permissions/nsPermission.cpp => extensions/permissions/Permission.cpp
rename : extensions/permissions/nsPermission.h => extensions/permissions/Permission.h
extra : moz-landing-system : lando
2020-04-10 08:36:37 +00:00
Shane Caraveo
43f7d20087
Bug 1530408 add api on channels to prevent using alt-data cache r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D68892
--HG--
extra : moz-landing-system : lando
2020-04-11 00:18:39 +00:00
Matt Woodrow
a4b08b8b7c
Bug 1628766 - Check ProcessId for 0 before trying to create an Endpoint using it. r=mixedpuppy
...
Depends on D70574
Differential Revision: https://phabricator.services.mozilla.com/D70575
--HG--
extra : moz-landing-system : lando
2020-04-10 23:08:36 +00:00
Matt Woodrow
7e557d489e
Bug 1625366 - Remove CSPViolation from DocumentChannel. r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D69912
--HG--
extra : moz-landing-system : lando
2020-04-10 22:16:43 +00:00
Matt Woodrow
26bafdbf43
Bug 1625366 - Don't specify a callback for CSP redirect checks form DocumentLoadListener, so that events are handled in the parent. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D69910
--HG--
extra : moz-landing-system : lando
2020-04-10 22:15:04 +00:00
Andrea Marchesini
9867dce537
Bug 1610373
- Introduce nsICookieManager::getCookieSince() - test, r=ewright a=reland CLOSED TREE
...
Differential Revision: https://phabricator.services.mozilla.com/D70056
--HG--
extra : source : 24b87cfe04ad9134bdc1f1ffc8b90e8f291b699d
extra : histedit_source : 47e8a93deb67db2f3e8c91f173f1a33114743d4a
2020-04-08 15:59:19 +00:00
Andrea Marchesini
c1ee01fb9d
Bug 1610373
- Introduce nsICookieManager::getCookieSince(), r=ewright a=reland CLOSED TREE
...
Differential Revision: https://phabricator.services.mozilla.com/D70055
--HG--
extra : source : a984dfddd43d4156745481aef60493b45280c3cc
extra : histedit_source : d63d3d21a4c439524d56148c1d321176360f2585
2020-04-08 15:59:29 +00:00
Dragana Damjanovic
8b331435f0
Bug 1628008 - Tokenizer cannot compare whitespace well. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D70255
--HG--
extra : moz-landing-system : lando
2020-04-10 19:03:58 +00:00
Csoregi Natalia
3ebf837989
Backed out 2 changesets (bug 1610373
) for causing bug 1629090. CLOSED TREE
...
Backed out changeset 24b87cfe04ad (bug 1610373
)
Backed out changeset a984dfddd43d (bug 1610373
)
--HG--
extra : rebase_source : 4118495b76de18b6a25e6b2e3902b16565921c5b
2020-04-10 21:21:50 +03:00
Csoregi Natalia
954b969608
Backed out 5 changesets (bug 1615588) for browser-chrome failures e.g. browser_beforeunload_duplicate_dialogs.js. CLOSED TREE
...
Backed out changeset 751cca7566a8 (bug 1615588)
Backed out changeset 474aca043834 (bug 1615588)
Backed out changeset 7839b95ef76c (bug 1615588)
Backed out changeset 32bb87f48b13 (bug 1615588)
Backed out changeset 264e642042b1 (bug 1615588)
--HG--
extra : rebase_source : 41ed149c97382bc1cf823abc56811b382cae0207
2020-04-10 21:19:15 +03:00
pbz
2f0f0d62d1
Bug 1615588 - Extended nsIPromptService to support tab modal prompts. r=johannh,MattN
...
This patch introduces a new tab modal system prompt type. It can be opened via the nsIPromptService
with a destination BrowsingContext. These tab system prompts overlap slightly with the upper
chrome UI to differentiate them from content prompts (previously called tab prompts).
- Extended nsIPromptService and nsIPrompt to accept 3 types of modal prompts:
- Window prompts
- Tab (system) prompts
- Content prompts (the old tab prompts)
- Removed prompt code from Prompter.jsm, always call PromptParent window actor instead
- Added PromptChild window actor to forward pagehide events to parent actor
- Created additional prompt methods in nsIPromptService to prompt by browsingContext and modalType
- Backwards compatibility is maintained, consumers can still open content prompts calling nsIPrompt with a content window
Differential Revision: https://phabricator.services.mozilla.com/D66446
--HG--
extra : moz-landing-system : lando
2020-04-10 16:47:00 +00:00
Dylan Roeh
9541273b5d
Bug 1619798 - Move GeckoView onLoadRequest calls to DocumentLoadListener.cpp r=snorp,mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D69594
--HG--
extra : moz-landing-system : lando
2020-04-10 16:38:48 +00:00
Lilian Braud
3eb002da3f
Bug 1624230 - Replace else if with if after continue. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D69263
--HG--
extra : moz-landing-system : lando
2020-04-10 12:43:07 +00:00
Christoph Kerschbaumer
4935907607
Bug 1627963: Remove requestContext from CSP shouldload and replace with fission friendly primitives. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D70173
--HG--
extra : moz-landing-system : lando
2020-04-10 10:56:57 +00:00
Razvan Maries
b74e338c98
Backed out 6 changesets (bug 1363541) for perma failures. CLOSED TREE
...
Backed out changeset a775f6e9eb41 (bug 1363541)
Backed out changeset 9212bfd89eca (bug 1363541)
Backed out changeset bf41b0c139f6 (bug 1363541)
Backed out changeset aa7c6668b249 (bug 1363541)
Backed out changeset 9f413a8a47bb (bug 1363541)
Backed out changeset 827a9a2866bd (bug 1363541)
--HG--
rename : extensions/permissions/Permission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/permissions/Permission.h => extensions/permissions/nsPermission.h
rename : extensions/permissions/PermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/permissions/PermissionManager.h => extensions/permissions/nsPermissionManager.h
2020-04-10 11:31:20 +03:00
Andrea Marchesini
4adbfbb4d0
Bug 1363541 - Modernize the PermissionManager - part 5 - headers, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D70041
--HG--
extra : moz-landing-system : lando
2020-04-09 22:08:03 +00:00
Andrea Marchesini
b523b552a4
Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D70040
--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-09 22:08:02 +00:00
Andrea Marchesini
2ab42cd711
Bug 1363541 - Modernize the PermissionManager - part 1 - nsPermission to mozilla::Permission, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D69963
--HG--
rename : extensions/permissions/nsPermission.cpp => extensions/permissions/Permission.cpp
rename : extensions/permissions/nsPermission.h => extensions/permissions/Permission.h
extra : moz-landing-system : lando
2020-04-09 22:08:02 +00:00
Dimi Lee
788c34f07f
Bug 1627897 - Add a SkipListService testcase to ensure features can get correct initial data. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D69955
--HG--
extra : moz-landing-system : lando
2020-04-09 21:28:43 +00:00
Mark Banner
7d3f1f3447
Bug 1626873 - Load xpcshell-test globals from the xpcshell head.js file rather than hard-code them. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D69612
--HG--
extra : moz-landing-system : lando
2020-04-09 19:20:34 +00:00
Coroiu Cristina
d37de5ed78
Backed out 6 changesets (bug 1363541) for browser-chrome failures at browser/base/content/test/performance/browser_startup_mainthreadio.js on a CLOSED TREE
...
Backed out changeset 947073be919f (bug 1363541)
Backed out changeset 1f397b686c11 (bug 1363541)
Backed out changeset d2ba944a47a3 (bug 1363541)
Backed out changeset 80d4d1f0c921 (bug 1363541)
Backed out changeset 9d6b9052f413 (bug 1363541)
Backed out changeset aeaa10789071 (bug 1363541)
--HG--
rename : extensions/permissions/Permission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/permissions/Permission.h => extensions/permissions/nsPermission.h
rename : extensions/permissions/PermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/permissions/PermissionManager.h => extensions/permissions/nsPermissionManager.h
2020-04-10 01:00:15 +03:00
Coroiu Cristina
8c618625fe
Backed out 2 changesets (bug 1625151
) for build bustage at netwerk/dns/ChildDNSService.cpp on a CLOSED TREE
...
Backed out changeset bb8ac156944b (bug 1625151
)
Backed out changeset ca74746771d7 (bug 1625151
)
2020-04-10 00:58:16 +03:00
Kershaw Chang
708d96d114
Bug 1625151
- P1: Move DNS resolution to socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D68388
--HG--
extra : moz-landing-system : lando
2020-04-09 16:00:26 +00:00
Andrea Marchesini
3e892fdba4
Bug 1363541 - Modernize the PermissionManager - part 5 - headers, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D70041
--HG--
extra : moz-landing-system : lando
2020-04-09 13:27:53 +00:00
Andrea Marchesini
8764c55c53
Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D70040
--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-09 13:27:35 +00:00
Andrea Marchesini
23b424cd70
Bug 1363541 - Modernize the PermissionManager - part 1 - nsPermission to mozilla::Permission, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D69963
--HG--
rename : extensions/permissions/nsPermission.cpp => extensions/permissions/Permission.cpp
rename : extensions/permissions/nsPermission.h => extensions/permissions/Permission.h
extra : moz-landing-system : lando
2020-04-09 14:07:34 +00:00
ffxbld
c53603da3d
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D70364
--HG--
extra : moz-landing-system : lando
2020-04-09 13:55:34 +00:00
Liang-Heng Chen
2b70a56ef5
Bug 1616585 - add heuristic for visited redirection; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D68988
--HG--
extra : moz-landing-system : lando
2020-04-09 12:42:59 +00:00
Sebastian Streich
f894e0a4c5
Bug 1626926 - Remove nsiprincipal-geturi in DocumentLoadListener.cpp r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D69365
--HG--
extra : moz-landing-system : lando
2020-04-09 10:05:55 +00:00
Honza Bambas
4f360112b6
Bug 1626809 - Sanitize HTTP disk cache storage context key to prevent leak of private data like URLs, r=njn
...
Differential Revision: https://phabricator.services.mozilla.com/D69625
--HG--
extra : moz-landing-system : lando
2020-04-09 12:38:09 +00:00
Bogdan Tara
33bc5f92db
Backed out changeset 55c37e8a6563 (bug 1627963) for test_csp_reports.js failures CLOSED TREE
2020-04-09 13:18:25 +03:00
Kershaw Chang
7829c32789
Bug 1627654 - Setup resumption callback when nsNSSSocketInfo is created r=keeler
...
Differential Revision: https://phabricator.services.mozilla.com/D69883
--HG--
extra : moz-landing-system : lando
2020-04-08 19:32:31 +00:00
Christoph Kerschbaumer
667d022b80
Bug 1627963: Remove requestContext from CSP shouldload and replace with fission friendly primitives. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D70173
--HG--
extra : moz-landing-system : lando
2020-04-09 07:47:52 +00:00
Matt Woodrow
e600940a82
Bug 1597159 - Defer creating DocumentLoadListener's stream filter until after we process switch. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D64698
--HG--
extra : moz-landing-system : lando
2020-04-09 07:03:49 +00:00
Matt Woodrow
393a68bda5
Bug 1597159 - Promisify CreateStreamFilter. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D64697
--HG--
extra : moz-landing-system : lando
2020-04-09 07:02:34 +00:00