Peter Van der Beken
b52a207bb0
Bug 1522052 - remove nsIDOMChromeWindow. r=dom-core,webdriver-reviewers,devtools-reviewers,whimboo,mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D34310
2023-06-23 14:21:05 +00:00
William Durand
c8e1ee2af1
Bug 1839830 - Integrate AMBrowserExtensionsImport with the migration wizard UI. r=mconley,mixedpuppy
...
Depends on D181465
Differential Revision: https://phabricator.services.mozilla.com/D181747
2023-06-23 12:25:55 +00:00
William Durand
e5c860d78a
Bug 1838465 - Show an appmenu notification when the user has imported add-ons to install. r=rpl,flod
...
Depends on D181398
Differential Revision: https://phabricator.services.mozilla.com/D181465
2023-06-22 15:34:14 +00:00
Gregory Pappas
4b964d39ba
Bug 1814905 - Implement action.getUserSettings r=robwu,geckoview-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D169102
2023-06-22 15:22:19 +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
Gregory Pappas
fb28cc97e2
Bug 1809094 - Implement tab.autoDiscardable property r=robwu,geckoview-reviewers,extension-reviewers,Gijs,owlish,tabbrowser-reviewers,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D166440
2023-06-21 07:50:17 +00:00
Cosmin Sabou
87bdf668d4
Backed out changeset f3fe6cc42791 (bug 1809094) for bc failures on browser_ext_tabs_autoDiscardable.js.
2023-06-21 03:24:56 +03:00
Gregory Pappas
0289eeada1
Bug 1809094 - Implement tab.autoDiscardable property r=robwu,geckoview-reviewers,extension-reviewers,Gijs,owlish,tabbrowser-reviewers,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D166440
2023-06-20 23:59:08 +00:00
Sandor Molnar
9549861449
Backed out changeset 0ee2d1b2ec37 (bug 1809094) for causing android bustages. CLOSED TREE
2023-06-21 02:20:26 +03:00
Gregory Pappas
86acbd80ac
Bug 1809094 - Implement tab.autoDiscardable property r=robwu,geckoview-reviewers,extension-reviewers,Gijs,owlish,tabbrowser-reviewers,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D166440
2023-06-20 23:06:37 +00:00
Katherine Patenio
130ce23c4c
Bug 1834831 - update imports of browser/modules JSMs r=webdriver-reviewers,perftest-reviewers,zeid,extension-reviewers,settings-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sessionstore-reviewers,tabbrowser-reviewers,whimboo,mhowell,sgalich,robwu,sparky,Standard8,mconley,dao,sclements
...
Differential Revision: https://phabricator.services.mozilla.com/D179169
2023-06-19 18:44:48 +00:00
Cristian Tuns
110cfccc1f
Backed out 2 changesets (bug 1834831) for causing node failures with checkBundles CLOSED TREE
...
Backed out changeset 58b351a155c8 (bug 1834831)
Backed out changeset 1acbb5231d14 (bug 1834831)
2023-06-19 13:22:35 -04:00
Katherine Patenio
a73f6ec769
Bug 1834831 - update imports of browser/modules JSMs r=webdriver-reviewers,perftest-reviewers,zeid,extension-reviewers,settings-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sessionstore-reviewers,tabbrowser-reviewers,whimboo,mhowell,sgalich,robwu,sparky,Standard8,mconley,dao,sclements
...
Differential Revision: https://phabricator.services.mozilla.com/D179169
2023-06-19 16:46:18 +00:00
Dão Gottwald
e34bc91336
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
21a2f56033
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
37e0c3eb20
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
c85e65e2e0
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
Itiel
cf26dda371
Bug 1830679 - Convert element.setAttribute(data-l10n-{id,args}) uses in the codebase to document.l10n.setAttributes(element, id, args) r=eemeli,Gijs,willdurand,extension-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,mconley,Standard8,jdescottes,kcochrane,tabbrowser-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D176791
2023-06-14 17:16:39 +00:00
Marc Seibert
e08a0dfa54
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
Iulian Moraru
1a03d0ff0d
Backed out changeset 76c5afdda762 (bug 1830679) for causing xpcshell failures on test_VariablesView_filtering-without-controller.js. CLOSED TREE
2023-06-12 22:03:43 +03:00
Itiel
d6ff8a9975
Bug 1830679 - Convert element.setAttribute(data-l10n-{id,args}) uses in the codebase to document.l10n.setAttributes(element, id, args) r=eemeli,Gijs,willdurand,extension-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,mconley,Standard8,jdescottes,kcochrane,tabbrowser-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D176791
2023-06-12 17:16:35 +00:00
Marco Castelluccio
e93e15e308
Bug 1837739 - Use Services.prefs instead of Preferences.sys.mjs in extensions code. r=extension-reviewers,robwu DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D180536
2023-06-10 23:37:42 +00:00
William Durand
e7f638e962
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
6ef2b3f396
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
02d1a57292
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
fd23017473
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
ae2b303e03
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
5fff911f3a
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
63f6e2e2fb
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
bf3b3a17de
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
b538b3cd6f
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
72e33df199
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
6725448902
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
ef090af3b4
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
6f69bd5fe3
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
88089567ed
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
d40c706f2c
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
30a181b7dd
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
69f7886926
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
8c61ec02a1
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
01b728ec4f
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
fef9c3bf5e
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
3c0c3a2676
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
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
Tomislav Jovanovic
2467a63e69
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
3faf6ac817
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
258046810b
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
0ce2ec655c
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
9691ab4a5f
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