Mihai Alexandru Michis
d06ca5f7d1
Backed out changeset e4b67fc1f101 (bug 1677483) for causing multiple mochitest plain failures.
...
CLOSED TREE
2020-11-17 19:29:26 +02:00
Peter Van der Beken
75190a1035
Bug 1677483 - Reenable some tests that are now succeeding with Fission. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D97267
2020-11-17 10:25:51 +00:00
Jan Varga
4a6e04dc62
Bug 1676411 - Fix usage calculation for file:// (and potentially other) URIs; r=asuth,dom-workers-and-storage-reviewers
...
This patch improves the required consistency between GetStorageOriginKey and
GetLocalStorageQuotaKey.
Differential Revision: https://phabricator.services.mozilla.com/D96583
2020-11-13 19:51:08 +00:00
Simon Giesecke
f355f05fec
Bug 1673682 - Accept functors rather than a virtual function override in URLParams::Parse. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D96428
2020-11-13 08:12:12 +00:00
Simon Giesecke
6206951895
Bug 1673682 - Move URLParams to nsURLHelper.h. r=valentin,necko-reviewers
...
Move ReadStructuredClone/WriteStructuredClone to URLSearchParams.
Adapt all uses of URLParams.
Differential Revision: https://phabricator.services.mozilla.com/D96416
2020-11-13 08:11:32 +00:00
Ricky Stewart
02a7b4ebdf
Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Tim Huang
18853bea78
Bug 1670617 - Part 2: Make the CORS preflight cache partitioned by the originAttributes. r=ckerschb,necko-reviewers
...
We want to partition the CORS preflight cache by the network state
partitioning. So, we have done two things in the patch. First, we make
the CORS preflight cache to be aware of the OriginAttributes. Second, we
use the originAttributes of the network state partitioning in the CORS
preflight cache. As the result, the CORS preflight cache will be
partitioned by the originAttributes.partitionKey as well as other
originAttributes fields if present.
Differential Revision: https://phabricator.services.mozilla.com/D93683
2020-10-26 13:39:12 +00:00
Bogdan Tara
da1098d4aa
Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
...
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart
c0cea3b0fa
Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca
1ff59cb7a3
Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE
2020-10-22 03:51:06 +03:00
Ricky Stewart
50762dacab
Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Marco Bonardo
1019bbf009
Bug 1626016 - Remove createFixupURI and move postData inside URIFixupInfo. r=Gijs,geckoview-reviewers,preferences-reviewers,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D93189
2020-10-13 10:20:16 +00:00
Olli Pettay
8a508eaa66
Bug 1668357 - Disable tests which fail when fission and session-history-in-parent are enabled, r=peterv,marionette-reviewers,whimboo
...
In many cases with wpt, most of the tests in the file pass, but it is rather time consuming to annotate
.ini files case by case.
Differential Revision: https://phabricator.services.mozilla.com/D91977
2020-10-01 10:23:47 +00:00
Emilio Cobos Álvarez
d0c1406073
Bug 1667438 - Simplify OriginAttributes::operator==. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D91458
2020-09-25 19:24:29 +00:00
Simon Giesecke
de7bab0f06
Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82325
2020-09-23 15:17:15 +00:00
Andrea Marchesini
60b6161a74
Bug 1635828 - Isolate HSTS per first-party when privacy.partition.network_state is set to true - part 3 - partition key, r=xeonchen
...
Differential Revision: https://phabricator.services.mozilla.com/D83316
2020-09-20 20:51:12 +00:00
Narcis Beleuzu
4a31045523
Backed out 4 changesets (bug 1635828) for causing Bug 1666083
...
Backed out changeset 1f93614c3fde (bug 1635828)
Backed out changeset 04a8f6581dde (bug 1635828)
Backed out changeset 1bfeca8427e6 (bug 1635828)
Backed out changeset 8ec4db600c1f (bug 1635828)
2020-09-20 20:00:45 +03:00
Andrea Marchesini
487589caae
Bug 1635828 - Isolate HSTS per first-party when privacy.partition.network_state is set to true - part 3 - partition key, r=xeonchen
...
Differential Revision: https://phabricator.services.mozilla.com/D83316
2020-09-16 14:33:31 +00:00
Christoph Kerschbaumer
c18ba9eea8
Bug 1145314: Increase expected assertion range to 9 for test_bug995943.xhtml on Linux. r=aryx
...
Differential Revision: https://phabricator.services.mozilla.com/D82145
2020-09-15 07:30:26 +00:00
Christoph Kerschbaumer
ed4fe6b936
Bug 1145314: Lock down CheckLoadURIFlags by dropping the check that lets any URI_IS_UI_RESOURCE URL link to any other URL with that flag. r=bholley
...
Differential Revision: https://phabricator.services.mozilla.com/D80601
2020-09-15 07:30:26 +00:00
Chris Peterson
118723ea09
Bug 1664100 - Replace MOZ_MUST_USE with [[nodiscard]] in caps. r=ckerschb
...
The MOZ_MUST_USE macro is defined as clang's and gcc's nonstandard __attribute__((warn_unused_result)). Now that we compile as C++17 by default (bug 1560664), we can replace MOZ_MUST_USE with C++17's standard [[nodiscard]] attribute.
The [[nodiscard]] attribute must precede a function declaration's declaration specifiers (like static, extern, inline, or virtual). The __attribute__((warn_unused_result)) attribute does not have this order restriction.
Differential Revision: https://phabricator.services.mozilla.com/D89697
2020-09-10 14:36:15 +00:00
Christoph Kerschbaumer
c6241df6d4
Bug 1661672: Remove use of security.view-source.reachable-from-inner-protocol r=Gijs,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D89163
2020-09-07 13:51:44 +00:00
Sebastian Streich
7defa66497
Bug 1655945 - Remove principal.uri in RemotePageAccessManager.jsm r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D82917
2020-08-25 13:58:49 +00:00
Sebastian Streich
f1c274e657
Bug 1660822 - Add isLocalIpAdress to nsIPrincipal r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D82919
2020-08-24 16:28:26 +00:00
Simon Giesecke
cfd7d0ea9c
Bug 1659923 - Avoid unnecessary copies around Base64Encode. r=xpcom-reviewers,necko-reviewers,froydnj,valentin
...
This also adds some more variants of Base64Encode and Base64EncodeAppend.
Differential Revision: https://phabricator.services.mozilla.com/D87559
2020-08-19 17:45:16 +00:00
Kris Maglione
3af8c4138c
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-08-17 20:20:50 +00:00
Butkovits Atila
a24ad1c55b
Backed out changeset 6d39aab86966 (bug 1633710) for failure at test_disabled_hosts.js. CLOSED TREE
2020-08-05 22:19:30 +03:00
Sebastian Streich
a7595921ed
Bug 1633710 - Move display-(spec/prepath/host) to nsIPrincipal r=geckoview-reviewers,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D82913
2020-08-05 16:52:12 +00:00
Sebastian Streich
bf58055b03
Bug 1633710 - Move uri.spec calls to nsIPrincipal r=necko-reviewers,geckoview-reviewers,preferences-reviewers,ckerschb,ntim,snorp,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D82911
2020-08-04 11:10:41 +00:00
Mihai Alexandru Michis
e7f08a598b
Backed out 3 changesets (bug 1635828) for causing bc failures in browser_tab_detach_restore.js
...
CLOSED TREE
Backed out changeset 30c58380f352 (bug 1635828)
Backed out changeset d232cb3c4779 (bug 1635828)
Backed out changeset 7c47f9b403ae (bug 1635828)
2020-08-04 13:35:45 +03:00
Andrea Marchesini
df3643be96
Bug 1635828 - Isolate HSTS per first-party when privacy.partition.network_state is set to true - part 3 - partition key, r=xeonchen
...
Differential Revision: https://phabricator.services.mozilla.com/D83316
2020-08-04 09:45:53 +00:00
Noemi Erli
5cebe61c77
Backed out changeset 4ed7b13fb7a5 (bug 1633710) for causing failures in browser_amosigned_url.js CLOSED TREE
2020-07-29 22:34:42 +03:00
Sebastian Streich
ea482d8e73
Bug 1633710 - Move uri.spec calls to nsIPrincipal r=necko-reviewers,geckoview-reviewers,preferences-reviewers,ckerschb,ntim,snorp,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D82911
2020-07-29 17:33:10 +00:00
Jon Coppeard
f47569e9d9
Bug 1654523 - Insist that iteration callbacks don't GC r=sfink,mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D84500
2020-07-23 02:31:57 +00:00
Jonathan Almeida [:jonalmeida]
e9a6ea525b
Bug 1607092 - Add new quote from Book of Mozilla for GeckoView r=geckoview-reviewers,Pike,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D80575
2020-07-07 02:22:07 +00:00
Dorel Luca
990d081d9f
Backed out 2 changesets (bug 1651519) for WPT failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
...
Backed out changeset 7b973a0e7be9 (bug 1651519)
Backed out changeset 55e9184c5617 (bug 1651519)
2020-07-22 02:47:34 +03:00
Kris Maglione
e7d942c77f
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-07-21 19:02:27 +00:00
Dorel Luca
d91c6dc40b
Backed out 2 changesets (bug 1651519) for wpt failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
...
Backed out changeset 52317abc5c68 (bug 1651519)
Backed out changeset 45448dca59a4 (bug 1651519)
2020-07-21 21:55:57 +03:00
Kris Maglione
9c2c147159
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-07-21 16:59:28 +00:00
Frederik Braun
a7153982e8
Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D83490
2020-07-15 11:20:45 +00:00
Razvan Maries
ecb7c85432
Backed out 3 changesets (bug 1635828) for perma failures on test_sts_privatebrowsing_perwindowpb.html and browser_tab_detach_restore.js. CLOSED TREE
...
Backed out changeset c0822aa74d29 (bug 1635828)
Backed out changeset 6dacf81142c4 (bug 1635828)
Backed out changeset 075697c4a0d4 (bug 1635828)
2020-07-14 17:01:25 +03:00
Andrea Marchesini
11e679024e
Bug 1635828 - Isolate HSTS per first-party when privacy.partition.network_state is set to true - part 3 - partition key, r=xeonchen
...
Differential Revision: https://phabricator.services.mozilla.com/D83316
2020-07-14 12:17:29 +00:00
tkhan
75ea54bf01
Bug 1650919 - Adding manifest annotations for xorigin test harness. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D82763
2020-07-13 20:34:46 +00:00
Bogdan Tara
6faddf7d8f
Backed out changeset 1a0f002865d3 (bug 1650919) for test_deprecated.html failures CLOSED TREE
2020-07-13 19:22:21 +03:00
tkhan
e50031dfc7
Bug 1650919 - Adding manifest annotations for xorigin test harness. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D82763
2020-07-13 13:01:43 +00:00
James Willcox
ea767e5869
Bug 1626335 - Don't treat any URI as third party for system principal r=baku,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D78151
2020-07-09 09:23:52 +00:00
Nika Layzell
22a65a237e
Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82104
2020-07-08 20:15:59 +00:00
Mihai Alexandru Michis
1ba2a3f6f6
Backed out 3 changesets (bug 1650163) for causing bustages in nsContentSecurityManager.cpp
...
CLOSED TREE
Backed out changeset 51d7c644a1e6 (bug 1650163)
Backed out changeset 3d2b6908447a (bug 1650163)
Backed out changeset 79141707d47b (bug 1650163)
2020-07-08 21:18:44 +03:00
Nika Layzell
c850a94434
Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82104
2020-07-08 14:54:48 +00:00
Narcis Beleuzu
8359f16846
Backed out 7 changesets (bug 1650163, bug 1649477) for bustages on JSActor.cpp . CLOSED TREE
...
Backed out changeset 4a21afb65254 (bug 1650163)
Backed out changeset c41753a56f5a (bug 1650163)
Backed out changeset 5fb444c35764 (bug 1650163)
Backed out changeset 830aa93d2b0c (bug 1649477)
Backed out changeset eca6e9dce450 (bug 1649477)
Backed out changeset 5b217aa88289 (bug 1649477)
Backed out changeset 8959d02b840f (bug 1649477)
2020-07-08 04:09:27 +03:00
Nika Layzell
df351180c3
Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D82104
2020-07-06 20:30:58 +00:00
Sebastian Hengst
7847e18297
Backed out 3 changesets (bug 1145314) on request from ckerschb for regressions (e.g. bug 1650951)
...
Backed out changeset 664cc562ddf3 (bug 1145314)
Backed out changeset 9640a9d093c7 (bug 1145314)
Backed out changeset 5492ac0e42f7 (bug 1145314)
2020-07-07 09:32:27 +02:00
Christoph Kerschbaumer
47af2fe80f
Bug 1145314: Increase expected assertion range to 9 for test_bug995943.xhtml on Linux. r=aryx
...
Differential Revision: https://phabricator.services.mozilla.com/D82145
2020-07-03 08:12:22 +00:00
Christoph Kerschbaumer
356a1baeae
Bug 1145314: Lock down CheckLoadURIFlags by dropping the check that lets any URI_IS_UI_RESOURCE URL link to any other URL with that flag. r=bholley
...
Differential Revision: https://phabricator.services.mozilla.com/D80601
2020-07-03 08:11:59 +00:00
Narcis Beleuzu
9d8472510e
Backed out 2 changesets (bug 1145314) for mochitest failures on test_bug995943.xhtml . CLOSED TREE
...
Backed out changeset 0500cb344e6f (bug 1145314)
Backed out changeset f524ffe669ca (bug 1145314)
2020-07-02 20:50:46 +03:00
Christoph Kerschbaumer
ffe49199bb
Bug 1145314: Lock down CheckLoadURIFlags by dropping the check that lets any URI_IS_UI_RESOURCE URL link to any other URL with that flag. r=bholley
...
Differential Revision: https://phabricator.services.mozilla.com/D80601
2020-07-02 09:41:11 +00:00
Csoregi Natalia
355f38ec2f
Backed out 2 changesets (bug 1145314) for node debugger failure. CLOSED TREE
...
Backed out changeset 550f9596f16b (bug 1145314)
Backed out changeset 93dbc3fe146a (bug 1145314)
2020-07-02 12:37:06 +03:00
Christoph Kerschbaumer
378ee2cb3c
Bug 1145314: Lock down CheckLoadURIFlags by dropping the check that lets any URI_IS_UI_RESOURCE URL link to any other URL with that flag. r=bholley
...
Differential Revision: https://phabricator.services.mozilla.com/D80601
2020-07-02 08:17:17 +00:00
Simon Giesecke
9364b353d4
Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80631
2020-07-01 08:42:31 +00:00
Simon Giesecke
e3c223da3e
Bug 1648010 - Fix uses of NS_LITERAL_STRING with C string literals. r=geckoview-reviewers,agi,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80861
2020-07-01 08:34:12 +00:00
Simon Giesecke
cd8b8939b9
Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Sebastian Streich
147fdbb684
Bug 1633710 - principal.URI in Sanitizer.jsm r=ckerschb,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D75801
2020-06-30 16:25:45 +00:00
Kris Maglione
6aa06b33a7
Bug 1645510: Part 2 - Avoid using the unprivileged junk scope where possible. r=bholley
...
Differential Revision: https://phabricator.services.mozilla.com/D79720
2020-06-27 03:06:28 +00:00
Christoph Kerschbaumer
05f19f4cc6
Bug 1648093: Rename hasFlags variables to something more descriptive within nsScriptSecurityManager. r=bholley
...
Differential Revision: https://phabricator.services.mozilla.com/D80886
2020-06-24 16:57:18 +00:00
Andrea Marchesini
7aebde2331
Bug 1641905
- ThirdPartyUtil::IsThirdPartyWindow for fission - webExtension, r=robwu,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D80035
2020-06-23 11:52:57 +00:00
Gijs Kruitbosch
222e2d1158
Bug 1644863 - fix trailing whitespace in cross-tree tests, r=emilio,marionette-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D79202
2020-06-17 22:45:31 +00:00
Csoregi Natalia
ca91b4a954
Backed out 2 changesets (bug 1626335) for xpcshell failures on test_cookies_thirdparty.js. CLOSED TREE
...
Backed out changeset 55c739a27793 (bug 1626335)
Backed out changeset e5f6c67f7f88 (bug 1626335)
2020-06-10 01:16:00 +03:00
James Willcox
59f798035c
Bug 1626335 - Don't treat any URI as third party for system principal r=baku,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D78151
2020-06-09 08:46:02 +00:00
Sylvestre Ledru
03a5604053
Bug 1643347 - set hasFlag default value to avoid a -Wuninitialized-const-reference warning in ContentPrincipal.cpp r=dmajor
...
Differential Revision: https://phabricator.services.mozilla.com/D78289
2020-06-04 14:46:32 +00:00
Liang-Heng Chen
dcf8304908
Bug 1640135 - P3: implement new setter; r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D77916
2020-06-04 10:51:13 +00:00
Liang-Heng Chen
fd2c048140
Bug 1640135 - P2: add new setter; r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D77915
2020-06-04 10:51:06 +00:00
Liang-Heng Chen
edb1e5a899
Bug 1640135 - P1: add new attribute for dFPI; r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D77914
2020-06-04 10:51:04 +00:00
Andrea Marchesini
22d905d24e
Bug 1639833
- IntrisincStoragePrincipal should always be partitioned - part 2 - Expose PartitionedPrincipal, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D76915
2020-06-03 06:09:52 +00:00
Andrea Marchesini
7ff3759ac3
Bug 1638358 - Cookie Schemeful Same-Site - part 5 - schemeful comparison, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D75629
2020-06-02 13:50:12 +00:00
Csoregi Natalia
e960b9f449
Backed out 7 changesets (bug 1640405, bug 1638358) for failures on browser_webconsole_network_messages_status_code.js. CLOSED TREE
...
Backed out changeset ef5f7479ddf8 (bug 1640405)
Backed out changeset 286e0c83eb30 (bug 1638358)
Backed out changeset 89e396b2896e (bug 1638358)
Backed out changeset 33ad5fa05209 (bug 1638358)
Backed out changeset d213264c1379 (bug 1638358)
Backed out changeset 6bc05236afb4 (bug 1638358)
Backed out changeset 87e9d0ed3982 (bug 1638358)
2020-06-02 15:16:42 +03:00
Csoregi Natalia
2d5cafc841
Backed out 5 changesets (bug 1639833
) for failures on browser_blockingIndexedDbInWorkers.js. CLOSED TREE
...
Backed out changeset 6b4f76d65540 (bug 1639833
)
Backed out changeset c77acba1aacb (bug 1639833
)
Backed out changeset 30c97666919e (bug 1639833
)
Backed out changeset d769b313441a (bug 1639833
)
Backed out changeset ed41b41d1b03 (bug 1639833
)
2020-06-02 15:02:31 +03:00
Andrea Marchesini
2eaedfe5f4
Bug 1638358 - Cookie Schemeful Same-Site - part 5 - schemeful comparison, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D75629
2020-06-02 09:15:24 +00:00
Andrea Marchesini
e31c7313ca
Bug 1639833
- IntrisincStoragePrincipal should always be partitioned - part 2 - Expose PartitionedPrincipal, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D76915
2020-06-02 08:28:05 +00:00
Razvan Maries
79fe28f0d6
Backed out 6 changesets (bug 1638358) for perma failures on browser_webconsole_navigate_to_parse_error.js. CLOSED TREE
...
Backed out changeset beb85cf281d5 (bug 1638358)
Backed out changeset 39f2e21623aa (bug 1638358)
Backed out changeset 2c873c72bf1f (bug 1638358)
Backed out changeset e91292c7c719 (bug 1638358)
Backed out changeset 0219ef931cd9 (bug 1638358)
Backed out changeset 4ac06f3992f4 (bug 1638358)
2020-06-02 00:24:46 +03:00
Andrea Marchesini
97f0db059a
Bug 1638358 - Cookie Schemeful Same-Site - part 5 - schemeful comparison, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D75629
2020-06-01 16:49:03 +00:00
Noemi Erli
e40be0aa72
Backed out 6 changesets (bug 1638358) for causing failures in test_Chrome_cookies.js CLOSED TREE
...
Backed out changeset 4e8fbe01aa38 (bug 1638358)
Backed out changeset 532731e94bb2 (bug 1638358)
Backed out changeset fad2ba760157 (bug 1638358)
Backed out changeset 932a3fdbd07c (bug 1638358)
Backed out changeset 05a62901a3f5 (bug 1638358)
Backed out changeset cddeada5c4a6 (bug 1638358)
2020-06-01 19:45:46 +03:00
Noemi Erli
f08b043cf6
Backed out 5 changesets (bug 1639833
) for causing sessionstorage related failures CLOSED TREE
...
Backed out changeset b36af8d9db34 (bug 1639833
)
Backed out changeset 712c11904dbe (bug 1639833
)
Backed out changeset 14f1e4783582 (bug 1639833
)
Backed out changeset b7f14c4cfe5d (bug 1639833
)
Backed out changeset b4b25034dd83 (bug 1639833
)
2020-06-01 19:31:50 +03:00
Andrea Marchesini
8c0df411d1
Bug 1639833
- IntrisincStoragePrincipal should always be partitioned - part 2 - Expose PartitionedPrincipal, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D76915
2020-06-01 11:57:46 +00:00
Andrea Marchesini
bcda89c3fb
Bug 1638358 - Cookie Schemeful Same-Site - part 5 - schemeful comparison, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D75629
2020-06-01 11:43:28 +00:00
Dorel Luca
9574e25c80
Backed out 6 changesets (bug 1638358) for XPCShell failures in netwerk/cookie/test/unit/test_schemeMap.js. CLOSED TREE
...
Backed out changeset 745eab35e851 (bug 1638358)
Backed out changeset a45df1876e37 (bug 1638358)
Backed out changeset 1a85cc92d2fb (bug 1638358)
Backed out changeset 2156294cb158 (bug 1638358)
Backed out changeset 31101054c52c (bug 1638358)
Backed out changeset d284b50551ab (bug 1638358)
2020-06-01 14:38:22 +03:00
Andrea Marchesini
e2b687e0ce
Bug 1638358 - Cookie Schemeful Same-Site - part 5 - schemeful comparison, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D75629
2020-06-01 10:29:34 +00:00
Masatoshi Kimura
b9a2ffc214
Bug 1482279 - Stop using Cu.forcePermissiveCOWs() in SpecialPowers. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D74641
2020-05-31 03:41:03 +00:00
Emilio Cobos Álvarez
8883f72d00
Bug 1641936 - Add a generic principal hash key. r=bholley
...
Differential Revision: https://phabricator.services.mozilla.com/D77501
2020-05-29 22:18:01 +00:00
Liang-Heng Chen
87e713f0c9
Bug 1637516 - part 3: update tests; r=timhuang,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D75550
2020-05-28 08:55:04 +00:00
Liang-Heng Chen
3a1dec80b2
Bug 1637516 - part 2: make first-party domain support site; r=baku,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D75549
2020-05-28 08:54:31 +00:00
Liang-Heng Chen
0fc88a67c1
Bug 1637516 - part 1: refine functions for further update; r=timhuang,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D75548
2020-05-28 08:53:13 +00:00
Emilio Cobos Álvarez
54fd961a29
Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin
...
There's no use case for stateful comparators, so they can be just plain
function pointers.
This is used in some hot places like CSS selector matching.
Differential Revision: https://phabricator.services.mozilla.com/D77084
2020-05-27 18:11:12 +00:00
Sebastian Streich
47570a169b
Bug 1633710 - Move js uri.AsciiHost to principal r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D73239
2020-05-26 11:58:06 +00:00
Mihai Alexandru Michis
37ef8a125d
Backed out changeset a845717e4d10 (bug 1482279) for causing multiple failures.
...
CLOSED TREE
2020-05-23 02:22:20 +03:00
Masatoshi Kimura
0701e89b7e
Bug 1482279 - Stop using Cu.forcePermissiveCOWs() in SpecialPowers. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D74641
2020-05-22 21:46:25 +00:00
Sebastian Streich
159ab546db
Bug 1625845 - Remove GetUri in Navigator.cpp r=ckerschb,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D68749
2020-05-19 14:51:40 +00:00
Dimi Lee
6a62a08c2a
Bug 1637194 - P3. StoragePrincipalHelper uses firstPartyDomain in CookieJarSetting r=timhuang,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D75278
2020-05-19 09:47:32 +00:00
Sebastian Streich
b70610980a
Bug 1633710 - Move js uri.hostPort to principal r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D73240
2020-05-18 13:50:14 +00:00
Sebastian Streich
1ec5974790
Bug 1636148 - "BandAid" - Cast Remaining Callers To BasePrincipal r=ckerschb,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D74248
2020-05-14 19:42:57 +00:00
Andrea Marchesini
af077809cd
Bug 1635490 - Implement ExpandedPrincipal::IsThirdPartyURI() to consider any sub principal's URI, r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D74163
2020-05-13 16:50:19 +00:00
ssengupta
cf852bbfb9
Bug 1635399 - Function PrincipalInfoToPrincipal now returns Result<nsCOMPtr<nsIPrincipal>, nsresult> r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D73868
2020-05-12 19:02:05 +00:00
Sebastian Hengst
8d6dfb7be7
Backed out changeset ea15e5bb899e (bug 1625845) for causing bug 1634056
. a=backout
2020-05-12 18:48:22 +02:00
Dorel Luca
c269f23ce0
Backed out 2 changesets (bug 1636148) for Build bustage on android in gecko/widget/android/nsWindow.cpp. CLOSED TREE
...
Backed out changeset fca4a9808bd9 (bug 1636148)
Backed out changeset 6fda7ca2484d (bug 1636148)
2020-05-12 17:01:59 +03:00
Sebastian Streich
8dc87b9987
Bug 1636148 - "BandAid" - Cast Remaining Callers To BasePrincipal r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D74248
2020-05-12 12:50:21 +00:00
Stefan Hindli
9d278a82c2
Backed out changeset 8a194fc3bf96 (bug 1634411) for causing perma bc2 failure in browser/components/originattributes/test/browser/browser_postMessage.js CLOSED TREE
2020-04-30 19:08:34 +03:00
Andrea Marchesini
51cf3a80ab
Bug 1634411 - Relax principal checks in PostMessageEvent, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D73268
2020-04-30 14:22:25 +00:00
Sebastian Streich
f5bf1cde94
Bug 1625845 - Remove GetUri in Navigator.cpp r=ckerschb,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D68749
2020-04-28 14:52:09 +00:00
Sebastian Streich
6513f176fe
Bug 1630372 - remove geturi in nsNetUtil.cpp r=ckerschb,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D71091
2020-04-27 10:54:47 +00:00
Sebastian Streich
ea62971514
Bug 1623417 - Refactor nsPermission.cpp r=ckerschb
...
***
Differential Revision: https://phabricator.services.mozilla.com/D67371
2020-04-23 13:11:56 +00:00
Andreea Pavel
b3dd6514f9
Backed out changeset 1911a552da5c (bug 1630372) for breaking bc at /browser_bug1453818_samesite_cookie.js on a CLOSED TREE
2020-04-22 22:10:05 +03:00
Sebastian Streich
f5124517c8
Bug 1630372 - remove geturi in nsNetUtil.cpp r=ckerschb,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D71091
2020-04-22 15:21:54 +00:00
Noemi Erli
b611a44386
Backed out changeset a2bff0eef797 (bug 1623417) for causing xpcshell failures in test_permmanager_matchesuri.js CLOSED TREE
2020-04-20 20:09:23 +03:00
Sebastian Streich
bb11628699
Bug 1623417 - Refactor nsPermission.cpp r=ckerschb
...
***
Differential Revision: https://phabricator.services.mozilla.com/D67371
2020-04-20 15:59:44 +00:00
Andrea Marchesini
5e2698efa8
Bug 1630865 - Implement nsICookieService::getCookieStringForPrincipal() - part 1 - nsIPrincipal methods, r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D71275
2020-04-20 10:01:54 +00:00
Sebastian Streich
3c19d7435a
Bug 1623334 - Refactor nsDocShell Geturi usage r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D67325
2020-04-20 09:43:22 +00:00
Sebastian Streich
c0401ba16f
Bug 1620402 - Refactor nsPermissionManager.cpp r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D65606
2020-04-20 09:53:40 +00:00
Christoph Kerschbaumer
b9d1facf55
Bug 1353429: Test Principal URI escaping.r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D66997
2020-04-16 10:58:38 +00:00
Marco Bonardo
fb0662edda
Bug 1628906 - First search in a tab from location bar could trigger an "Invalid URL" error page. r=Gijs,nika,mattwoodrow
...
Before 1496578, URIFixup::keywordToURI used to do a synchronous IPC call to be
able to access search engines from the content process. Consumers of URIFixup
didn't care. Bug 1496578 moved the IPC messaging to the callers, in particular
nsDocShell, but assumed nsDocShellLoadState wasn't loading from content.
It looks like in some cases it does, so this adds another sync IPC call for
GetFixupURIInfo.
The total numer of sync IPCs should not change from before Bug 1496578, URIFIxup
was just doing it internally, while now it happens at the call point.
Note the long term plan would be for these docshell objects callers to just
handle URIs, while the UI code should do fixup.
Bug 1375244 tracks the removal of these sync IPC messages.
Differential Revision: https://phabricator.services.mozilla.com/D70607
--HG--
extra : moz-landing-system : lando
2020-04-15 22:39:38 +00:00
Sebastian Streich
6ca53143cb
Bug 1620624 - Refactor nsUrlClassifier r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D65758
--HG--
extra : moz-landing-system : lando
2020-04-14 21:48:38 +00:00
Cosmin Sabou
a02a553ad4
Backed out changeset 8523af037d8f (bug 1629763) for causing assertion failures on WorkerPrivate.cpp. CLOSED TREE
2020-04-14 16:03:09 +03:00
Andrea Marchesini
2be753c938
Bug 1629763 - ContentPrincipal::GetBaseDomain returns a void-string for resource: URIs, r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D70804
--HG--
extra : moz-landing-system : lando
2020-04-14 08:47:48 +00:00
Michal Novotny
2a483b2bc4
Bug 1622409 - Put FTP code behind a pref r=marionette-reviewers,valentin,whimboo,mixedpuppy
...
Disables FTP protocol handler on nightly. FTP scheme is handled by external protocol handler if it isn't explicitly disabled with preference network.protocol-handler.external.ftp = false.
Differential Revision: https://phabricator.services.mozilla.com/D68974
--HG--
extra : moz-landing-system : lando
2020-04-07 19:49:26 +00:00
Mike Conley
a98dabe6ec
Bug 1184701 - Make the moz-page-thumb protocol work in the privileged about content process. r=haik,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D68281
--HG--
extra : moz-landing-system : lando
2020-04-06 17:46:52 +00:00
Oana Pop Rus
36c2983278
Backed out 2 changesets (bug 1184701) for node(newtab) and xpc failures in test_thumbnails_interfaces.js. on a CLOSED TREE
...
Backed out changeset 241a6d4f2f23 (bug 1184701)
Backed out changeset f753bddc4131 (bug 1184701)
2020-04-06 19:24:00 +03:00
Mike Conley
0e019bbef5
Bug 1184701 - Make the moz-page-thumb protocol work in the privileged about content process. r=haik,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D68281
--HG--
extra : moz-landing-system : lando
2020-03-31 22:40:11 +00:00
sonakshi
a6f08454e0
Bug 1622619 - Replace URIParams with nsIURI in PContent.ipdl r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D67729
--HG--
extra : moz-landing-system : lando
2020-03-31 18:47:30 +00:00
Razvan Maries
40412d7928
Backed out changeset 2515c5b5a0d2 (bug 1622619) for build bustages. CLOSED TREE
2020-03-31 17:18:38 +03:00
sonakshi
fc4a38cd03
Bug 1622619 - Replace URIParams with nsIURI in PContent.ipdl r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D67729
--HG--
extra : moz-landing-system : lando
2020-03-31 13:38:55 +00:00
Dorel Luca
c1b65ae5b8
Backed out changeset 1ed0cfd336dd (bug 1353429) for conflict with backed out (Bug 1620624). CLOSED TREE
2020-03-30 20:14:17 +03:00
Sebastian Hengst
2e7a5a707a
Backed out changeset b82effbcaabc (Bug 1620624) for likely causing performance regression Bug 1625071.
...
--HG--
extra : rebase_source : 86bf97f4430a9afa5dd0c513785134029fedf4ae
2020-03-30 17:45:39 +02:00
Cosmin Sabou
2db886518c
Backed out changeset 848221b2e156 (bug 1620402) for causing several test failures.
...
CLOSED TREE
2020-03-30 11:35:20 +03:00
Sebastian Streich
e23cc2cd7f
Bug 1620402 - Refactor nsPermissionManager.cpp r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D65606
--HG--
extra : moz-landing-system : lando
2020-03-30 07:34:37 +00:00
Sebastian Streich
5577df21f9
Bug 1615297 - Move Localstorage Keygen into Principal r=ckerschb,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D62757
--HG--
extra : moz-landing-system : lando
2020-03-29 15:31:24 +00:00
Sebastian Streich
f7280c333b
Bug 1622042 - Refactor NsContentUtils:Allowsl10n r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D66633
--HG--
extra : moz-landing-system : lando
2020-03-26 13:18:40 +00:00
Sebastian Streich
283d6ba1ab
Bug 1600051 - Remove geturi Call in ReferrerInfo.cpp r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D68028
--HG--
extra : moz-landing-system : lando
2020-03-25 14:38:42 +00:00
Christoph Kerschbaumer
3e884ce321
Bug 1188538: Ensure every protocol handler sets a valid security flag. r=bholley,mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D67496
--HG--
extra : moz-landing-system : lando
2020-03-20 08:25:18 +00:00
Stefan Hindli
91f4c18048
Backed out 4 changesets (bug 1622042) for causing AddonInstallException: Could not install add-on: c:\users\task_1584560140\appdata\local\temp\tmpbg9_h7.zip: ERROR_FILE_ACCESS: There was an error accessing the filesystem. CLOSED TREE
...
Backed out changeset 929043330599 (bug 1622042)
Backed out changeset b08cdd075e20 (bug 1622042)
Backed out changeset ca87f1c6b90b (bug 1622042)
Backed out changeset 27dbbb7cd590 (bug 1622042)
2020-03-18 22:49:23 +02:00
Sebastian Streich
56a7a311d1
Bug 1622042 - Refactor NsContentUtils:Allowsl10n r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D66633
--HG--
extra : moz-landing-system : lando
2020-03-18 16:00:40 +00:00
Cosmin Sabou
029804e3f7
Backed out 4 changesets (bug 1622042) for causing build bustages on nsContentUtils.cpp. CLOSED TREE
...
Backed out changeset dc7af5abb8de (bug 1622042)
Backed out changeset 16e3b4a1fefc (bug 1622042)
Backed out changeset f60b16588dad (bug 1622042)
Backed out changeset 4193aea26e28 (bug 1622042)
--HG--
extra : amend_source : 2f2befe5703f683ccaac6d634fc4a262db9fff86
2020-03-17 20:38:35 +02:00
Sebastian Streich
63b92a302c
Bug 1622042 - Refactor NsContentUtils:Allowsl10n r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D66633
--HG--
extra : moz-landing-system : lando
2020-03-17 17:11:42 +00:00
Christoph Kerschbaumer
2244f338fc
Bug 1353429: Test Principal URI escaping.r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D66997
--HG--
extra : moz-landing-system : lando
2020-03-17 14:05:22 +00:00
Brindusan Cristian
426b685bf7
Backed out changeset 21aedccf1abb (bug 1353429) for ESlint failure. CLOSED TREE
2020-03-17 14:10:52 +02:00
Christoph Kerschbaumer
f03e90da15
Bug 1353429: Test Principal URI escaping.r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D66997
--HG--
extra : moz-landing-system : lando
2020-03-17 07:12:08 +00:00
Marco Bonardo
2dc20c6432
Bug 1621328 - Move CreateExposableURI into nsIOService. r=Gijs,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D66269
--HG--
extra : moz-landing-system : lando
2020-03-13 12:44:36 +00:00
Christoph Kerschbaumer
8e374dc349
Bug 1141959: Test nsIPrincipal.origin treats IPv6 host correctly.r=tjr
...
Differential Revision: https://phabricator.services.mozilla.com/D66056
--HG--
extra : moz-landing-system : lando
2020-03-13 16:00:39 +00:00
Sebastian Streich
c7989b585d
Bug 1621310
- Remove geturi in ContentPrincipal.cpp r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D66250
--HG--
extra : moz-landing-system : lando
2020-03-12 19:47:56 +00:00
Christoph Kerschbaumer
131117226a
Bug 1621667: Remove unnecessary semicolon in BasePrincipal. r=sstreich
...
Differential Revision: https://phabricator.services.mozilla.com/D66415
--HG--
extra : moz-landing-system : lando
2020-03-11 15:52:18 +00:00
Daniel Varga
8edab673d8
Backed out changeset d15b968aa6d1 (bug 1615297) for causing build bustage
...
CLOSED TREE
--HG--
extra : rebase_source : 4e525e82fb7f194d9b7eac0020932ed09ac005b7
2020-03-11 05:41:51 +02:00
Sebastian Streich
1f23aca56c
Bug 1615297 - Move Localstorage Keygen into Principal r=ckerschb,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D62757
--HG--
extra : moz-landing-system : lando
2020-03-10 18:10:08 +00:00
Sebastian Streich
fbb2bf6422
Bug 1620624 - Refactor nsUrlClassifier r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D65758
--HG--
extra : moz-landing-system : lando
2020-03-10 13:13:02 +00:00