Kagami Sascha Rosylight
3cb66846d5
Bug 1880096 - Use PermissionSetParameter for parseSetParameter IDL r=webidl,edgar
...
Differential Revision: https://phabricator.services.mozilla.com/D201738
2024-02-15 12:57:49 +00:00
Kagami Sascha Rosylight
466dba5633
Bug 1876754 - Add Permissions::ParseSetParameters for webdriver r=webdriver-reviewers,webidl,smaug,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D200941
2024-02-12 16:08:03 +00:00
Kagami Sascha Rosylight
7a765ce3b2
Bug 1876322 - Part 3: Use Init instead of having Create for each PermissionStatus r=smaug
...
The current Create pattern looks like an effort to not have uninited PermissionStatus, but I'm planning to reuse DryCreatePermissionStatus for WebDriver purpose which doesn't need the observer and the query parts, so this works better for that.
Differential Revision: https://phabricator.services.mozilla.com/D199549
2024-01-25 15:26:43 +00:00
Kagami Sascha Rosylight
0f3e34f96f
Bug 1876322 - Part 2: Add step comments r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D199548
2024-01-25 15:26:43 +00:00
Kagami Sascha Rosylight
a79745fff2
Bug 1876322 - Part 1: Make MidiPermissionDescriptor::sysex default to false r=webidl,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D199547
2024-01-25 15:26:43 +00:00
Vincent Hilla
f0dc3526ed
Bug 1589554 - Part 3: Screen Wake Lock permission integration. r=webidl,dom-core,smaug,pbz,edgar
...
Depends on D189509
Differential Revision: https://phabricator.services.mozilla.com/D189510
2023-12-05 23:58:06 +00:00
Cosmin Sabou
0917a1636c
Backed out 7 changesets (bug 1589554) for causing non-unified bustages on WakeLockJS.cpp.
...
Backed out changeset a0db8be67659 (bug 1589554)
Backed out changeset 76a3c248813f (bug 1589554)
Backed out changeset f1500173aa53 (bug 1589554)
Backed out changeset e02e11c3d977 (bug 1589554)
Backed out changeset 202c4f5c642b (bug 1589554)
Backed out changeset 82e03a404c2f (bug 1589554)
Backed out changeset b55991835aec (bug 1589554)
2023-12-05 19:12:31 +02:00
Vincent Hilla
956cdde134
Bug 1589554 - Part 3: Screen Wake Lock permission integration. r=webidl,dom-core,smaug,pbz,edgar
...
Depends on D189509
Differential Revision: https://phabricator.services.mozilla.com/D189510
2023-12-05 15:37:06 +00:00
Benjamin VanderSloot
094d813e4c
Bug 1858494 - Return permission action rather than boolean when fetching the storage access permission from the parent process - r=timhuang,anti-tracking-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D190722
2023-10-12 16:58:22 +00:00
Tom Marble
faa34b0552
Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D189845
2023-10-03 19:35:22 +00:00
Gregory Pappas
dd0ad61e60
Bug 1697151 - Remove permissions.delegation.enabled pref r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D185342
2023-08-11 15:15:54 +00:00
Peter Van der Beken
3f4ffadbe1
Bug 1846277 - Untangle nsGlobalWindow*.h includes. r=dom-core,media-playback-reviewers,sessionstore-reviewers,padenot,farre
...
Differential Revision: https://phabricator.services.mozilla.com/D184978
2023-08-02 20:41:49 +00:00
Benjamin VanderSloot
bd24eefece
Bug 1733556 - Perform Permissions Policy check in navigator.permissions.query for "storage-access" - r=anti-tracking-reviewers,pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D182374
2023-07-19 14:51:13 +00:00
Benjamin VanderSloot
035109eef7
Bug 1805860 - Add "storage-access" permission to dom::Permissions - r=anti-tracking-reviewers,webidl,saschanaz,pbz,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D182246
2023-07-19 14:51:13 +00:00
Benjamin VanderSloot
1ac439a64e
Bug 1805860 - Extend dom::PermissionStatus to support storage-access permission - r=anti-tracking-reviewers,pbz
...
This means:
- Making creation function calls async
- Making GetPrincipal more specific
- Making PermissionState mState protected instead of private and virtualizing UpdateState so children can have custom update logic
Differential Revision: https://phabricator.services.mozilla.com/D182245
2023-07-19 14:51:12 +00:00
Benjamin VanderSloot
0129b6667c
Bug 1805860 - Notify PermissionObserver when doubly keyed permissions are updated - r=anti-tracking-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D182243
2023-07-19 14:51:11 +00:00
Benjamin VanderSloot
19ec221a97
Bug 1805860 - Remove navigator.permissions.revoke dead code - r=anti-tracking-reviewers,ipc-reviewers,webidl,saschanaz,mccr8,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D182242
2023-07-19 14:51:11 +00:00
Stanca Serban
9e82c693d0
Backed out 8 changesets (bug 1805860, bug 1733556) for causing bp-nu bustages in StorageAccessAPIHelper.cpp.
...
Backed out changeset fa21a55ce837 (bug 1733556)
Backed out changeset 6c09379cdb5a (bug 1733556)
Backed out changeset d8c19265b981 (bug 1733556)
Backed out changeset d48d415fca83 (bug 1805860)
Backed out changeset 3acd0ba1dba6 (bug 1805860)
Backed out changeset d2a6174bbb14 (bug 1805860)
Backed out changeset 48558ba49efe (bug 1805860)
Backed out changeset c8693b9449d3 (bug 1805860)
2023-07-18 23:39:08 +03:00
Benjamin VanderSloot
39df0b9d01
Bug 1733556 - Perform Permissions Policy check in navigator.permissions.query for "storage-access" - r=anti-tracking-reviewers,pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D182374
2023-07-18 19:14:31 +00:00
Benjamin VanderSloot
316b05c4b2
Bug 1805860 - Add "storage-access" permission to dom::Permissions - r=anti-tracking-reviewers,webidl,saschanaz,pbz,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D182246
2023-07-18 19:14:31 +00:00
Benjamin VanderSloot
565a2b60ba
Bug 1805860 - Extend dom::PermissionStatus to support storage-access permission - r=anti-tracking-reviewers,pbz
...
This means:
- Making creation function calls async
- Making GetPrincipal more specific
- Making PermissionState mState protected instead of private and virtualizing UpdateState so children can have custom update logic
Differential Revision: https://phabricator.services.mozilla.com/D182245
2023-07-18 19:14:31 +00:00
Benjamin VanderSloot
7b4d1e4af1
Bug 1805860 - Notify PermissionObserver when doubly keyed permissions are updated - r=anti-tracking-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D182243
2023-07-18 19:14:30 +00:00
Benjamin VanderSloot
0530069978
Bug 1805860 - Remove navigator.permissions.revoke dead code - r=anti-tracking-reviewers,ipc-reviewers,webidl,saschanaz,mccr8,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D182242
2023-07-18 19:14:30 +00:00
William Durand
5f3f11820e
Bug 1437171 - Add Web MIDI support in `navigator.permissions.query()`. r=webidl,smaug,pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D164036
2022-12-15 10:24:17 +00:00
Iulian Moraru
747186542b
Backed out changeset 51b2a95943c0 (bug 1437171) for causing wpt failures on all-permissions.html related to query "midi" permission.
2022-12-15 06:10:01 +02:00
William Durand
3da94170fc
Bug 1437171 - Add Web MIDI support in `navigator.permissions.query()`. r=webidl,smaug,pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D164036
2022-12-14 22:20:37 +00:00
Olli Pettay
93acdfad59
Bug 1777574, automate CC zone handling, r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D155084
2022-09-07 11:22:51 +00:00
Mark Banner
783a2f2187
Bug 1788037 - Turn on ESLint rule for prefer-boolean-length-check for dom. r=asuth,karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D155965
2022-09-02 11:05:17 +00:00
Christian Holler
146a80ecff
Bug 1783844 - Remove IPC::Principal type remains from codebase. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D154091
2022-08-10 13:39:11 +00:00
Mark Banner
7428be4a86
Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D152736
2022-08-03 11:16:20 +00:00
Kagami Sascha Rosylight
eb5642168c
Bug 1768189 - Part 24: Apply modernize-concat-nested-namespaces to dom/performance/PerformanceNavigation.h ... r=andi
...
Depends on D145757
Differential Revision: https://phabricator.services.mozilla.com/D145758
2022-05-09 20:41:12 +00:00
Marcos Cáceres
d28010da8a
Bug 1718598 - Handle not fully active documents when querying Permissions API r=johannh
...
Spec change https://github.com/w3c/permissions/pull/249
Differential Revision: https://phabricator.services.mozilla.com/D118932
2022-02-21 05:11:57 +00:00
Cosmin Sabou
47b8cb41b2
Backed out changeset f5bd4427bd30 (bug 1718598) for causing mochitest failures on test_permissions_api.html. CLOSED TREE
2022-02-21 06:58:11 +02:00
Marcos Cáceres
343c34cb37
Bug 1718598 - Handle not fully active documents when querying Permissions API r=johannh
...
Spec change https://github.com/w3c/permissions/pull/249
Differential Revision: https://phabricator.services.mozilla.com/D118932
2022-02-21 04:18:31 +00:00
Gabriele Svelto
e2286f8bbf
Bug 1745950
- Remove the string-based KeepAliveIfHasListenersFor() implementation and convert all callers to use the atoms-based one instead r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D133748
2021-12-14 16:54:50 +00:00
Marcos Cáceres
dab2507237
Bug 1718021 - Add name attribute to PermissionStatus r=johannh,peterv
...
Spec change https://github.com/w3c/permissions/pull/248
Differential Revision: https://phabricator.services.mozilla.com/D118692
2021-08-11 22:34:41 +00:00
Alexis Beingessner
8fea71cdd5
Bug 1686616 - make PermissionManager use Components instead of Services. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D105528
2021-02-18 13:26:31 +00:00
Kartik Gautam
7ae6aea145
Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D100484
2021-01-07 08:53:08 +00:00
Cosmin Sabou
2978aa00a3
Backed out changeset dbed1cdf588f (bug 1684173) for mochitest plain and devtools failures. a=backout DONTBUILD
2020-12-28 00:43:51 +02:00
Kartik Gautam
775cdec032
Bug 1684173 - Add newline character at end of files when missing r=sylvestre
...
Depends on D100443
Differential Revision: https://phabricator.services.mozilla.com/D100484
2020-12-27 11:43:41 +00:00
Simon Giesecke
971b645fe3
Bug 1660470 - Add missing include directives/forward declarations. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Sylvestre Ledru
fde06f6d21
Bug 1674637 - Use nested namespaces in dom/ r=sg,andi
...
Also add some missing namespace qualifications
Done with:
./mach static-analysis check --checks="-*,modernize-concat-nested-namespaces" --fix dom/
./mach clang-format -p $(hg status dom/|grep ^M|awk '{print $2}')
Differential Revision: https://phabricator.services.mozilla.com/D95456
2020-11-04 17:04:01 +00:00
Butkovits Atila
964cca3198
Backed out changeset c0adbf7522dc (bug 1674637) for bustage on GMPParent.cpp. CLOSED TREE
2020-11-04 10:54:36 +02:00
Sylvestre Ledru
5f29324f60
Bug 1674637 - Use nested namespaces in dom/ r=sg,andi
...
Also add some missing namespace qualifications
Done with:
./mach static-analysis check --checks="-*,modernize-concat-nested-namespaces" --fix dom/
./mach clang-format -p $(hg status dom/|grep ^M|awk '{print $2}')
Differential Revision: https://phabricator.services.mozilla.com/D95456
2020-11-04 08:29:00 +00:00
Andi-Bogdan Postelnicu
b710a4fe2a
Bug 1626555 - Add `dom/permission` to the list of non-unified-build-compatible directories. r=sg
...
Depends on D95167
Differential Revision: https://phabricator.services.mozilla.com/D95168
2020-10-29 16:21:52 +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
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