Mark Banner
0b2d2afdea
Bug 1837176
- Convert imports of httpd.js to consume the ES module directly. r=necko-reviewers,webcompat-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,robwu,issammani,bytesized,pbz,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D181159
2023-07-12 13:38:34 +00:00
Kershaw Chang
705e17a537
Bug 1838829 - Skip failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,dimi,valentin,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D181251
2023-06-28 13:21:00 +00:00
Nika Layzell
1fdee2314c
Bug 1839920 - Rename Get{ASCII,UTF}Origin to GetWebExposedOriginSerialization, r=smaug,necko-reviewers,anti-tracking-reviewers,bvandersloot,jesup
...
This should make uses of the type more clearly indicating where the
origin came from, and should help avoid potential confusion between this
origin and nsIPrincipal::origin in new code.
This new name is long, but explicit. The string returned from this
function corresponds to the "serialization of an origin" from the WHATWG
html spec:
https://html.spec.whatwg.org/multipage/browsers.html#ascii-serialisation-of-an-origin
Differential Revision: https://phabricator.services.mozilla.com/D181794
2023-06-27 19:59:15 +00:00
Norisz Fay
07a91b8c6a
Backed out 2 changesets (bug 1838829) for causing perma mochitest failure with dom/websocket/tests being skipped CLOSED TREE
...
Backed out changeset 19a5d4f1850a (bug 1838829)
Backed out changeset 97cd8a256954 (bug 1838829)
2023-06-27 02:52:52 +03:00
Kershaw Chang
75c68b6864
Bug 1838829 - Skip failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,dimi,valentin,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D181251
2023-06-26 14:22:14 +00:00
Norisz Fay
e86f1fa0e9
Backed out 5 changesets (bug 1838829) for causing mochitest failures CLOSED TREE
...
Backed out changeset 693d34c8447d (bug 1838829)
Backed out changeset 903d9ff4afaa (bug 1838829)
Backed out changeset 5e51feff7467 (bug 1838829)
Backed out changeset e125be49d2a6 (bug 1838829)
Backed out changeset 1a8cf3c83dc4 (bug 1838829)
2023-06-22 03:37:07 +03:00
Kershaw Chang
2cdb6b3a96
Bug 1838829 - Skip failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,dimi,valentin,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D181251
2023-06-21 19:43:33 +00:00
Mark Banner
5d59c7aecd
Bug 1824613 - Convert consumers of toolkit/mozapps/extensions/ to import ES modules directly. r=extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,sync-reviewers,sgalich,bytesized,robwu,skhamis
...
Depends on D179819
Differential Revision: https://phabricator.services.mozilla.com/D179820
2023-06-02 20:00:35 +00:00
Eemeli Aro
9b69167750
Bug 1793557 - Migrate add-on notification strings to Fluent. r=extension-reviewers,flod,robwu
...
The l10n migration shows a diff for `addon-downloading-and-verifying`,
`addon-confirm-install-message`, and `addon-confirm-install-unsigned-message`
due to the en-US source having `1` rather than `one` variants.
For `addon-confirm-install-some-unsigned-message`,
the en-US source has a single-variant plural selector for localization to new languages.
In addition to moving strings from `browser.properties` to the new `addonNotifications.ftl`,
there's some shuffling of strings to & from `browser.ftl` as well.
The intent is to collect the more rarely used strings out of files loaded during startup,
especially as many of the notification strings need to be formatted in a sync context.
For the most part, string keys are left roughly the same as they were in .properties.
With some guidance, some rationalisation might make sense as a part of this for the
rather wide selection of prefixes in this set:
- `addon-`
- `site-permission-install-`
- `webext-`
- `xpinstall-`
The `addon-install-started` and `addon-install-failed` notifications appear to need sync l10n formatting,
as using async format calls before their `PopupNotifications.show()` leads to test failures in
`toolkit/mozapps/extensions/test/xpinstall/browser_doorhanger_installs.js`.
Differential Revision: https://phabricator.services.mozilla.com/D178235
2023-05-23 12:00:01 +00:00
Eemeli Aro
411a529019
Bug 1793557 - Convert Extension.jsm strings to Fluent. r=mkmelin,geckoview-reviewers,robwu,flod,owlish
...
This changes the arguments of `ExtensionData.formatPermissionStrings()`.
The second `bundle` arg is dropped, and a `localization` option is added.
Call sites in m-c are updated, but this will also need a matching update for Thunderbird.
A few Thunderbird test cases will also need to be updated,
as they currently point to a non-existing localization file paths
"messenger/addons.ftl" and "messenger/addonPermissions.ftl".
As discussed at the addon workweek,
the Fluent l10n keys for extension permissions match the pattern:
webext-perms-description-{name}
where `{name}` is the permission's sanitized name.
A fluent-lint exception is added for the capitalization of these generated names.
To allow for message updates and subsequent l10n identifier updates,
a `PERMISSION_L10N_ID_OVERRIDES` map is provided.
Because Fluent localization keys are not enumerable
and attempting to format a missing key is an error,
the `PERMISSIONS_WITH_MESSAGE` set must be kept in sync with message updates.
Differential Revision: https://phabricator.services.mozilla.com/D158663
2023-05-23 12:00:01 +00:00
Mark Banner
130a655906
Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
...
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
8219a5c503
Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Bobby Holley
980aef9cc8
Bug 1808431 — Reword second WebMIDI prompt. r=rpl,flod,desktop-theme-reviewers,sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D174814
2023-04-06 17:07:14 +00:00
Bobby Holley
bf3806720a
Bug 1808431 — Reword first WebMIDI prompt. r=rpl,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D174813
2023-04-06 17:07:14 +00:00
Kershaw Chang
5e58575e28
Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D171842
2023-03-21 09:09:58 +00:00
William Durand
266814d72f
Bug 1821288 - Remove "addon-install-complete" event. r=rpl
...
This is not used anymore.
Differential Revision: https://phabricator.services.mozilla.com/D172102
2023-03-15 17:37:42 +00:00
Marian-Vasile Laza
ee72efd1e9
Backed out 5 changesets (bug 1809843) for causing Cargo related build bustages. CLOSED TREE
...
Backed out changeset 5c494680f448 (bug 1809843)
Backed out changeset 02742b38edab (bug 1809843)
Backed out changeset 2b9b32ca8294 (bug 1809843)
Backed out changeset 56631cb02ae6 (bug 1809843)
Backed out changeset 37e35a60a71f (bug 1809843)
2023-03-13 13:53:26 +02:00
Kershaw Chang
a60df34ad0
Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D171842
2023-03-13 11:12:33 +00:00
Joel Maher
a62ef05cdb
Bug 1816191
- Skip tests in order to keep win7 running @ azure. r=gbrown,necko-reviewers,settings-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,nalexander,sgalich,alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D169523
2023-02-14 23:44:12 +00:00
Gabriele Svelto
ca827af9eb
Bug 1811442 - Automatically reject requests for MIDI access when no implementation is present r=bholley
...
Differential Revision: https://phabricator.services.mozilla.com/D167452
2023-01-23 13:41:47 +00:00
William Durand
f911a1db2e
Bug 1805806 - Nullify the onchange listeners before the end of the test to avoid intermittent failures. r=rpl,bholley
...
Differential Revision: https://phabricator.services.mozilla.com/D167272
2023-01-19 17:18:26 +00:00
Bobby Holley
65d690a335
Bug 1807763 - Set the randomized midi denial delay to 0 in automation. r=gsvelto
...
Differential Revision: https://phabricator.services.mozilla.com/D165581
2023-01-09 17:08:48 +00:00
Bobby Holley
5ebdbedf21
Bug 1806495
- Hoist the MIDI service onto a dedicated background task queue. r=nika,gsvelto
...
Differential Revision: https://phabricator.services.mozilla.com/D165441
2023-01-09 17:07:35 +00:00
Bobby Holley
f061978369
Bug 1806495
- Stand up a background task queue for the MIDI service. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D165440
2023-01-09 17:07:34 +00:00
Bobby Holley
86d41b87a0
Bug 1806495
- Make PMIDIPort a top-level protocol. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D165439
2023-01-09 17:07:34 +00:00
Bobby Holley
aaaf9a1c47
Bug 1806495
- Make PMIDIManager a top-level protocol. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D165438
2023-01-09 17:07:33 +00:00
Bobby Holley
d506fc3130
Bug 1806495
- Make PMIDIPort refcounted. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D165437
2023-01-09 17:07:33 +00:00
Bobby Holley
30a62f613b
Bug 1806495
- Use a helper class to null out the weak reference in MIDIPortChild. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D165436
2023-01-09 17:07:33 +00:00
Bobby Holley
0274439955
Bug 1806495
- Make PMIDIManager refcounted. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D165435
2023-01-09 17:07:32 +00:00
Bobby Holley
4fcd96f8d0
Bug 1807854
- Use real telemetry values when testing add-on telemetry. r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D165633
2022-12-29 19:01:45 +00:00
Bobby Holley
2f7dfd5497
Bug 1807852 - Don't omit the "extra" field for suspicious site telemetry. r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D165632
2022-12-28 20:07:25 +00:00
Bobby Holley
a003f4e458
Bug 1806056 — Enable users to report suspicious site permission add-on prompts. r=rpl,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D164876
2022-12-28 00:25:07 +00:00
Mike Hommey
4f24e132f8
Bug 1804359 - Update uuid to 1.x. r=emilio,janerik,webdriver-reviewers,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D164008
2022-12-22 09:11:10 +00:00
Nicolas Chevobbe
a36d0e0f4c
Bug 1802140 - Close addon post-install doorhanger in browser_midi_permission_gated.js. r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D162848
2022-12-15 16:21:23 +00:00
Sandor Molnar
c8085bc124
Backed out 4 changesets (bug 1805427) for causing xpc failures in toolkit/components/extensions/test/xpcshell/test_ext_scripting_persistAcrossSessions.js CLOSED TREE
...
Backed out changeset 9231b82f6a8b (bug 1805427)
Backed out changeset 9308ede8e265 (bug 1805427)
Backed out changeset b1c44a7274c5 (bug 1805427)
Backed out changeset 39a8c4bff42f (bug 1805427)
2022-12-15 18:43:29 +02:00
Chris H-C
37e15535e6
Bug 1805427 - Update Glean to 52.0.0, uuid to 1.0 r=glandium,janerik,webdriver-reviewers,supply-chain-reviewers
...
Depends on D164603
Differential Revision: https://phabricator.services.mozilla.com/D164604
2022-12-15 14:04:54 +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
Bobby Holley
fb573066c8
Bug 1805582 — Add message to console when silently denying MIDI access due to no detected devices. r=gsvelto
...
Our test infrastructure runs with midi.testing enabled, which generates
virtual devices. This is mostly what we want, but it does prevent us
from testing the "no devices detected" path in automation. I've tested
it locally.
Differential Revision: https://phabricator.services.mozilla.com/D164722
2022-12-14 22:04:33 +00:00
Bobby Holley
60846d8883
Bug 1805735 — When user clicks "Never Allow" for WebMIDI access, promise rejection should include randomized delay. r=gsvelto
...
Differential Revision: https://phabricator.services.mozilla.com/D164721
2022-12-14 22:04:33 +00:00
Sylvestre Ledru
04363d3827
Bug 1802689 - Add missing licenses info in Cargo.toml r=mhoye,necko-reviewers,kershaw,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D163157
2022-12-13 09:14:44 +00:00
Mike Hommey
03ce56dee2
Bug 1804570 - Update alsa crate to 0.7. r=gsvelto,supply-chain-reviewers
...
We also artificially update nix to 0.25 in preparation for bug 1793784.
Differential Revision: https://phabricator.services.mozilla.com/D164165
2022-12-13 00:24:03 +00:00
Nicolas Chevobbe
2a26b6068f
Bug 1801199 - Record install telemetry event for SitePermsAddons. r=rpl.
...
This is done by calling `AddonManagerPrivate.callInstallListeners` when we handle
`SitePermsAddonInstall`'s specific listeners.
We take this as an opportunity to remove support for the `onDownloadEnded` event
as it didn't do anything and isn't something we want to record for SitePermsAddon.
We also set `SitePermsAddonInstall#installId` which is used in `AMTelemetry`.
Assertions on registered telemetry events are added in browser_midi_permission_gated.js,
and a test case is added to ensure cancelling the event from the second popup works
as expected, since it wasn't checked before.
Differential Revision: https://phabricator.services.mozilla.com/D162412
2022-11-21 16:10:38 +00:00
Bobby Holley
f76ebbd777
Bug 1800576 — Site permission consent flow should describe the nature of the add-on in the first panel. r=rpl,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D162069
2022-11-15 19:15:28 +00:00
Bobby Holley
cb6b95c527
Bug 1799793 — Link to separate SUMO article for site permission add-ons. r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D161649
2022-11-09 21:28:30 +00:00
Bobby Holley
b838a68586
Bug 1799529
- Tweak consent flow for site permission addons. r=rpl,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D161520
2022-11-08 17:00:08 +00:00
nchevobbe
7ecb07e081
Bug 1790313 - Tweak localized messages for SitePermsAddon install flow. r=rpl.
...
This patch adds a specific path for getting the localized text for the addon
install prompt for SitePermissionsAddon.
As the message that we want isn't very generic, each gated permission will have
its own localized addon prompt message.
Differential Revision: https://phabricator.services.mozilla.com/D160452
2022-11-04 19:21:33 +00:00
Iulian Moraru
ff81813adf
Backed out 2 changesets (bug 1790313) for causing xpcshell failures on test_sitePermsAddonProvider.js. CLOSED TREE
...
Backed out changeset 6ddfdcdfe372 (bug 1790313)
Backed out changeset 0d95f36cb7d7 (bug 1790313)
2022-11-04 20:11:16 +02:00
nchevobbe
93d10b6337
Bug 1790313 - Tweak localized messages for SitePermsAddon install flow. r=rpl.
...
This patch adds a specific path for getting the localized text for the addon
install prompt for SitePermissionsAddon.
As the message that we want isn't very generic, each gated permission will have
its own localized addon prompt message.
Differential Revision: https://phabricator.services.mozilla.com/D160452
2022-11-04 17:08:35 +00:00