Dão Gottwald
2b648df481
Bug 1835890 - Make sidebar switcher panel a normal menupopup. r=Itiel,extension-reviewers,mconley,rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D179877
2023-06-15 14:14:43 +00:00
Marco Castelluccio
e242e5b9dd
Bug 898315 - Update all callers of FileUtils.getDir to remove usage of the shouldCreate parameter. r=Gijs,extension-reviewers,application-update-reviewers,nalexander,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D180603
2023-06-15 08:10:45 +00:00
Noemi Erli
7ca9d6cc02
Backed out changeset 63ccd00a399a (bug 898315) for causing failures in test_no_window_update_restart.py CLOSED TREE
2023-06-15 03:21:27 +03:00
Marco Castelluccio
747c4ff841
Bug 898315 - Update all callers of FileUtils.getDir to remove usage of the shouldCreate parameter. r=Gijs,extension-reviewers,application-update-reviewers,nalexander,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D180603
2023-06-14 20:55:52 +00:00
Marc Seibert
493096de39
Bug 1833091 - Replacing all set refs of UrlbarInput 'inputField.value'.r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D180228
2023-06-14 12:45:55 +00:00
William Durand
7d98f15a74
Bug 1836448 - Part 2: show attention "dot" on the extensions button for quarantined domains. r=zombie,fluent-reviewers,flod
...
Depends on D179780
Differential Revision: https://phabricator.services.mozilla.com/D180091
2023-06-09 14:58:03 +00:00
William Durand
fbd55117bc
Bug 1836448 - Part 1: show attention "dot" when an extension is quarantined from a domain. r=rpl,zombie,fluent-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D179780
2023-06-09 14:58:02 +00:00
William Durand
2799d3e5ca
Bug 1836771 - Add aria attributes to the message-bar notification used in the extensions panel. r=ayeddi
...
Differential Revision: https://phabricator.services.mozilla.com/D179957
2023-06-08 20:39:51 +00:00
Narcis Beleuzu
8f2b59f94b
Backed out 2 changesets (bug 1836448) for bc failure on browser_preferences_usage.js
...
Backed out changeset 1c53eee1c466 (bug 1836448)
Backed out changeset a86d5a3f177d (bug 1836448)
2023-06-08 21:22:20 +03:00
William Durand
8308622bca
Bug 1836448 - Part 2: show attention "dot" on the extensions button for quarantined domains. r=zombie,fluent-reviewers,flod
...
Depends on D179780
Differential Revision: https://phabricator.services.mozilla.com/D180091
2023-06-08 15:37:19 +00:00
Malte Juergens
f422a29e77
Bug 1835983: Update browser/components/extensions/test/browser/browser_ext_webRequest_error_after_stopped_or_closed.js to work with https-first enabled r=freddyb,extension-reviewers,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D179938
2023-06-08 12:58:30 +00:00
William Durand
86def29cf9
Bug 1836448 - Part 1: show attention "dot" when an extension is quarantined from a domain. r=rpl,zombie,fluent-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D179780
2023-06-08 10:50:31 +00:00
Natalia Csoregi
64cf294e7c
Backed out changeset e44f4d43b823 (bug 1833091) for causing permafailures on browser_topsites_annotation.js. CLOSED TREE
2023-06-08 03:17:53 +03:00
Marc Seibert
288359ceb2
Bug 1833091 - Replacing all get refs of UrlbarInput 'inputField.value' with '.value'.r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D180085
2023-06-07 14:59:13 +00:00
ganna
6ae89f2f46
Bug 1814414 - Replace constructed xul label with moz-support-link in ExtensionControlledPopup.jsm r=extension-reviewers,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D179835
2023-06-07 14:27:39 +00:00
Mark Banner
40de601f11
Bug 1834176 - Convert consumers of NetUtil.jsm to import the ES module directly. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-06-07 08:42:36 +00:00
Narcis Beleuzu
ec23d338d8
Backed out changeset 862bd1ab18fd (bug 1833091) for bc failure on browser_ext_webNavigation_urlbar_transitions.js . CLOSED TREE
2023-06-06 19:05:07 +03:00
Alexandre Poirot
1af6128178
Bug 1822782 - [devtools] Use location.source.id instead of location.sourceId. r=devtools-reviewers,bomsy,extension-reviewers,rpl
...
Now location objects are slightly different between SourceMapLoader and Debugger frontend.
SourceMapLoader doesn't make any use of the source objects, so I only pass `sourceId`.
This will reduce the amount of data transferred between the main thread and source-map worker.
But this requires mapping location objects in and out of the source map worker.
We were already mapping location objects returned by the worker in order to lookup
for the related source object.
Also make SourceMapLoader return null when the location doesn't map,
so that it is easier to identify when it doesn't map and prevent having to do:
`originalLocation.sourceId == location.sourceId`.
Differential Revision: https://phabricator.services.mozilla.com/D178397
2023-06-06 14:42:38 +00:00
Marc Seibert
7d202de3f8
Bug 1833091 - Replacing all get refs of UrlbarInput 'inputField.value' with '.value'.r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D180085
2023-06-06 13:46:55 +00:00
Narcis Beleuzu
af051f5347
Backed out 3 changesets (bug 1822782, bug 1822783) for dt failure on browser_dbg-old-breakpoint.js . CLOSED TREE
...
Backed out changeset d65af714b0fd (bug 1822783)
Backed out changeset c76cbc9a0c4a (bug 1822782)
Backed out changeset 684217cdfebd (bug 1822782)
2023-06-06 15:10:18 +03:00
Rob Wu
2cf8688545
Bug 1836673 - Document AppTestDelegate and AppUiTestDelegate r=geckoview-reviewers,extension-reviewers,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D179891
2023-06-06 11:23:41 +00:00
Alexandre Poirot
3e3c13d254
Bug 1822782 - [devtools] Use location.source.id instead of location.sourceId. r=devtools-reviewers,bomsy,extension-reviewers,rpl
...
Now location objects are slightly different between SourceMapLoader and Debugger frontend.
SourceMapLoader doesn't make any use of the source objects, so I only pass `sourceId`.
This will reduce the amount of data transferred between the main thread and source-map worker.
But this requires mapping location objects in and out of the source map worker.
We were already mapping location objects returned by the worker in order to lookup
for the related source object.
Also make SourceMapLoader return null when the location doesn't map,
so that it is easier to identify when it doesn't map and prevent having to do:
`originalLocation.sourceId == location.sourceId`.
Differential Revision: https://phabricator.services.mozilla.com/D178397
2023-06-06 09:48:37 +00:00
Marco Bonardo
ac9c47ede2
Bug 1826946 - Delay frecency calculation for history batch inserts. r=daisuke
...
When inserting multiple URIs in history, it makes sense to delay expensive
frecency calculations to a later time. We only set recalc_frecency and the
PlacesFrecencyRecalculator will take care of it.
We keep immediately calculating frecency only when a single url is inserted,
that is the case when the user is normally browsing the Web.
Differential Revision: https://phabricator.services.mozilla.com/D179263
2023-06-05 16:13:57 +00:00
William Durand
cb3f21567f
Bug 1836383 - Re-enable test_originControls_with_submenus on macOS. r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D179774
2023-06-05 14:08:27 +00:00
Rob Wu
f0c7c874d6
Bug 1830814 - Migrate remaining extension jsm files to ESM r=geckoview-reviewers,Standard8,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D179890
2023-06-05 10:23:40 +00:00
Rob Wu
bad812f243
Bug 1836482 - Replace AddonManager.jsm imports with AddonManager.sys.mjs r=Standard8,webcompat-reviewers,twisniewski
...
This patch was generated as follows:
Run:
`./mach esmify --imports . --prefix=toolkit/mozapps/extensions/AddonManager`
In the output there are linter/prettifier errors due to unused
XPCOMUtils or separate importESModule calls. These have been fixed
manually and verified with `./mach lint --outgoing`.
The `esmify` script also inserts many unwanted newlines around imports
that are broken on two lines due to length. Due to the number of these,
I fixed them programatically.
1. Create patch from the changes so far.
2. From the patch, delete all lines that consist of "+" (i.e. added blank line).
3. Reset the working dir and apply the revised patch.
4. Verify that the diff between step 1 and 3 looks reasonable.
5. Verify that this patch as a whole looks reasonable.
Commands:
```
git diff > rename.diff
:%g/^+$/d
git commit -va -m WIP-rename
git revert HEAD
git apply --recount rename.diff
git diff HEAD^ # and verify that the removed lines are ok.
git commit -va # one last review to verify correctness of whole patch.
git rebase -i HEAD~3 # drop the WIP + reverted commit, pick only the last.
```
`git apply` has the `--recount` option to force it to ignore mismatches
in line counts, which happens because we deleted added lines (^+$)
without fixing up the line counts in the file headers.
Differential Revision: https://phabricator.services.mozilla.com/D179874
2023-06-04 13:44:45 +00:00
Mark Banner
232facd440
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
Tomislav Jovanovic
3bbb8e263b
Bug 1836279 - Disable test_originControls_with_submenus on OSX temporarily, r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D179700
2023-06-01 14:19:08 +00:00
William Durand
fd07ed0190
Bug 1836224 - A click on the "learn more" link in the panel should close it. r=zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D179649
2023-06-01 11:27:43 +00:00
William Durand
846ce75f99
Bug 1833438 - Implement user notification for quarantined domains. r=zombie,rpl,fluent-reviewers,flod
...
Depends on D179388
Differential Revision: https://phabricator.services.mozilla.com/D179386
2023-05-31 20:42:37 +00:00
Tomislav Jovanovic
0820e892b6
Bug 1835155 - Update Origin Controls state and message for quarantined extensions r=willdurand,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D179388
2023-05-31 20:42:36 +00:00
Saira Abdulla
d8dc989e1b
Bug 1824612 - Convert consumers of toolkit/components/extensions to ES modules. r=robwu,webcompat-reviewers,geckoview-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,sgalich,valentin,nalexander,mconley,m_kato
...
Depends on D175553
Differential Revision: https://phabricator.services.mozilla.com/D176005
2023-05-31 15:27:03 +00:00
Iulian Moraru
05e26cad32
Backed out 2 changesets (bug 1824612) for causing dt failures on browser_dbg-features-source-tree.js. CLOSED TREE
...
Backed out changeset c3f38adc818e (bug 1824612)
Backed out changeset 58ba8bb3398a (bug 1824612)
2023-05-31 17:28:16 +03:00
Saira Abdulla
cac3d1f236
Bug 1824612 - Convert consumers of toolkit/components/extensions to ES modules. r=robwu,webcompat-reviewers,geckoview-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,sgalich,valentin,nalexander,mconley,m_kato
...
Depends on D175553
Differential Revision: https://phabricator.services.mozilla.com/D176005
2023-05-31 10:21:37 +00:00
Sam Foster
ffc79712f2
Bug 1819675 - rename SessionStore.getClosedTabCount and getClosedTabData to getClosedTabCountForWindow and getClosedTabDataForWindow. r=dao,fxview-reviewers,kcochrane
...
- As closed tabs will change to mean closed tabs from all windows, rename these functions to make
changes in later patches clearer when we mean closed tabs from this window specifically, or closed
tabs for all private/non-private windows
Differential Revision: https://phabricator.services.mozilla.com/D177849
2023-05-30 18:54:12 +00:00
Cosmin Sabou
b0bd982cc5
Bug 1800712 - Disable browser_unified_extensions_context_menu.js for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D179338
2023-05-29 11:45:39 +00:00
Marco Bonardo
ddbafa4329
Bug 1834989 - Clean up UrlbarTestUtils use. r=adw
...
Differential Revision: https://phabricator.services.mozilla.com/D179056
2023-05-26 14:56:55 +00:00
Mark Banner
81c86b200c
Bug 1834204 - Update more consumers to import ES modules directly. r=kpatenio,geckoview-reviewers,whimboo,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D178590
2023-05-26 11:36:33 +00:00
Katherine Patenio
99d830d71b
Bug 1830418 - Convert browser/components/customizableui/CustomizableUI.jsm to ESM r=Standard8,devtools-reviewers,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D177423
2023-05-24 15:52:34 +00:00
Natalia Csoregi
1b67d0b941
Backed out 3 changesets (bug 1834222, bug 1834176) for causing RemoteProcessMonitor failures. CLOSED TREE
...
Backed out changeset 346d3a1568dd (bug 1834222)
Backed out changeset ea1d8b634bfc (bug 1834176)
Backed out changeset 74d1880272d3 (bug 1834176)
2023-05-24 04:29:45 +03:00
Mark Banner
d1fc869252
Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 19:09:29 +00:00
Noemi Erli
1f146f097e
Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE
...
Backed out changeset 57876d77a652 (bug 1834176)
Backed out changeset ae2f0837b528 (bug 1834176)
2023-05-23 12:14:37 +03:00
Mark Banner
08ff6c0ad9
Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 08:13:08 +00:00
Gregory Pappas
2c5da4f3d1
Bug 1801531 - Implement 'browser.commands.onChanged' r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D162482
2023-05-20 16:17:45 +00:00
Mark Banner
0666077666
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
91fde42f7b
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
Johannes J. Schmidt
0679b59e81
Bug 1824112 - switch to addLoginAsync in tests r=credential-management-reviewers,sync-reviewers,sgalich,markh
...
Differential Revision: https://phabricator.services.mozilla.com/D175704
2023-05-10 13:52:10 +00:00
Sandor Molnar
84627283e9
Backed out 16 changesets (bug 1824112) for causing mochitest failures in toolkit/components/passwordmgr/test/mochitest/test_autocomplete_tab_between_fields.html CLOSED TREE
...
Backed out changeset 6830c9a5d1ce (bug 1824112)
Backed out changeset ebfc28fdb638 (bug 1824112)
Backed out changeset ae112f47fdf1 (bug 1824112)
Backed out changeset 7295fad178a2 (bug 1824112)
Backed out changeset 3074e99ee5a0 (bug 1824112)
Backed out changeset a821ff170e11 (bug 1824112)
Backed out changeset 7bfa8564a6b5 (bug 1824112)
Backed out changeset ce59496fc86f (bug 1824112)
Backed out changeset e3f3d730e9fa (bug 1824112)
Backed out changeset b2f3bcc9bf07 (bug 1824112)
Backed out changeset 03447a1935df (bug 1824112)
Backed out changeset fc82a197b868 (bug 1824112)
Backed out changeset 406121a380d9 (bug 1824112)
Backed out changeset 196bb8eb2cc0 (bug 1824112)
Backed out changeset 0948d06a3c2c (bug 1824112)
Backed out changeset bc994ffb1614 (bug 1824112)
2023-05-10 12:07:00 +03:00
Johannes J. Schmidt
364acf3f03
Bug 1824112 - switch to addLoginAsync in tests r=credential-management-reviewers,sync-reviewers,sgalich,markh
...
Differential Revision: https://phabricator.services.mozilla.com/D175704
2023-05-10 07:47:25 +00:00
Daisuke Akatsuka
4e52c765a7
Bug 1829161: Make the tab loading non-web-controlled page in _blank target as 1-based. r=extension-reviewers,farre,rpl,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D176238
2023-05-09 20:46:13 +00:00