Luca Greco
dcc3c52b77
Bug 1771328 - Persist WebExtensions menus across sessions for extensions with a non-persistent background context. r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D207311
2024-05-23 09:21:45 +00:00
Mark Banner
0bd2cccf87
Bug 1897770 - Improve .sjs file environment definitions in ESLint. r=frontend-codestyle-reviewers,extension-reviewers,Gijs
...
This stops sjs files from picking up the test environments/configurations which means they get just the sjs environment
which is what we want.
Differential Revision: https://phabricator.services.mozilla.com/D210928
2024-05-20 13:49:44 +00:00
Emilio Cobos Álvarez
1050f3eb24
Bug 1895870 - Fix browser_ext_browserAction_keyclick.js
...
focus() is sync so there's no need to await stuff.
The delayed one needs to remain focusable for the focus fix-up not to
kick in.
MANUAL PUSH: Trivial test change CLOSED TREE
2024-05-14 11:55:12 +02:00
Emilio Cobos Álvarez
0a1d2b49ff
Bug 1895870 - Simplify refresh driver observer set-up. r=smaug
...
There's no call to AddRefreshObserver(FlushType::Layout), so we don't
need to track layout flushes. The only reason we need
mLayoutFlushObservers is so that reflows triggered from the style flush
get processed. But at that point, we can just flush layout directly.
There's no really good distinction between style flushes and layout
flushes with container queries anyways, so this makes the code simpler
to reason about.
Differential Revision: https://phabricator.services.mozilla.com/D209924
2024-05-14 08:12:03 +00:00
Mark Banner
bb7cb93cc2
Bug 1836804 - Remove support for {moz:locale} parameter replacements in search URLs. r=search-reviewers,daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D209972
2024-05-13 22:10:30 +00:00
Tomislav Jovanovic
f2bc5d688a
Bug 1889402 - Grant origin permissions during install for mv3 r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D208426
2024-05-03 16:05:15 +00:00
Sarah Clements
fb5818e268
Bug 1892965 - Rename SidebarUI and SidebarLauncher r=sidebar-reviewers,places-reviewers,nsharpley
...
Differential Revision: https://phabricator.services.mozilla.com/D208901
2024-05-03 15:20:15 +00:00
Christoph Kerschbaumer
cea9c08d23
Bug 1888117: Update tests within browser/components/ to work with https-first enabled, r=rpl,mak
...
Differential Revision: https://phabricator.services.mozilla.com/D205836
2024-05-03 11:20:52 +00:00
Norisz Fay
a2156ad63a
Backed out changeset 75c44ff76360 (bug 1892965) for causing multiple failures
2024-05-01 22:58:27 +03:00
Sarah Clements
5209eded5e
Bug 1892965 - Rename SidebarUI and SidebarLauncher r=sidebar-reviewers,places-reviewers,nsharpley
...
Differential Revision: https://phabricator.services.mozilla.com/D208901
2024-05-01 12:19:41 +00:00
Luca Greco
a603b213e3
Bug 1875480 - runtime.getContexts API method. r=robwu,extension-reviewers,geckoview-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D207865
2024-04-30 17:26:18 +00:00
William Durand
39c0de3757
Bug 1893116 - Remove built-in abuse report UI. r=rpl,geckoview-reviewers,desktop-theme-reviewers,emilio,amejiamarmol
...
This patch removes both the backend and UI code related to the built-in
abuse reporting feature. I kept the ability to disable abuse reporting
with the `extensions.abuseReport.enabled` pref. Other prefs related to
the old abuse reporting feature have been removed.
Some tests have been deleted because they aren't relevant anymore.
On the web API side, both the property and method have been removed
since only AMO consumes these APIs and AMO already supports the absence
of these APIs. That is also why GeckoView has been slightly updated.
We do not collect Telemetry with the new AMO (abuse report) form so
all the Telemetry bits have been removed as well.
Differential Revision: https://phabricator.services.mozilla.com/D208457
2024-04-29 13:56:26 +00:00
Jonathan Sudiaman
e7a1b33bb3
Bug 1885883 - Create an extensions API in SidebarUI r=sclements,extension-reviewers,desktop-theme-reviewers,sidebar-reviewers,robwu,dao,mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D206527
2024-04-26 09:36:29 +00:00
Hiroyuki Ikezoe
5ed1ecb283
Bug 1775568 - Await contentTransformsReceived() to ensure the iframe has been positioned. r=layout-reviewers,extension-reviewers,tnikkel,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D208085
2024-04-22 21:47:42 +00:00
Rob Wu
d3a8ef9d57
Bug 1847216 - Ensure that tab.isArticle is true before toggleReaderMode r=willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D207707
2024-04-17 16:24:33 +00:00
Rob Wu
a8ab849a6f
Bug 1891954 - Fix intermittent failure in browser_ext_menus_targetElement.js r=willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D207703
2024-04-17 16:24:30 +00:00
William Durand
a3e269ecdd
Bug 1797811 - Fallback to _execute_browser_action on MV3. r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D207454
2024-04-17 12:21:17 +00:00
William Durand
82a3893343
Bug 1787379 - Add origin to runtime.MessageSender. r=robwu,zombie,geckoview-reviewers
...
Note that we intentionally return "null" for null principals *and* file
scheme, which is - at the time of writing - different than Chromium.
Differential Revision: https://phabricator.services.mozilla.com/D206989
2024-04-10 21:48:40 +00:00
Gijs Kruitbosch
e6dd680afd
Bug 1887717 - remove prompts.windowPromptSubDialog pref, r=mtigley,extension-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D206685
2024-04-09 18:28:44 +00:00
William Durand
596cecbf3d
Bug 1843866 - Add tab parameter to commands.onCommand. r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D206880
2024-04-08 13:45:06 +00:00
Joel Maher
a1c9f109b8
Bug 1889412 - skip 25+ minute manifests on asan/tsan. r=aryx,extension-reviewers,settings-reviewers,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D206512
2024-04-03 17:46:29 +00:00
Yi Xiong Wong
3df27d805a
Bug 1880914 - Move BrowserOpenTab. r=Gijs,webdriver-reviewers,perftest-reviewers,extension-reviewers,sessionstore-reviewers,tabbrowser-reviewers,home-newtab-reviewers,thecount,whimboo,dao,afinder,omc-reviewers,aminomancer
...
Differential Revision: https://phabricator.services.mozilla.com/D205529
2024-04-03 10:32:27 +00:00
Irene Ni
ea6c87d4f9
Bug 1876432 - Added support for custom themes as its own menu in Reader View. r=reader-mode-reviewers,fluent-reviewers,desktop-theme-reviewers,hjones,accessibility-frontend-reviewers,bolsson,devtools-reviewers,sfoster,cmkm,jules,ayeddi
...
Differential Revision: https://phabricator.services.mozilla.com/D204519
2024-04-02 00:08:46 +00:00
Yi Xiong Wong
9457049851
Bug 1880914 - Move BrowserHome. r=Gijs,extension-reviewers,sessionstore-reviewers,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D205528
2024-03-28 17:05:02 +00:00
Luca Greco
d8453fa6cc
Bug 1881820 - Tweak browser_ext_sidebarAction to cover the fix with a regression test. r=willdurand
...
Depends on D205440
Differential Revision: https://phabricator.services.mozilla.com/D205753
2024-03-27 13:18:34 +00:00
Anna Yeddi
a9b2a6e034
Bug 1886925 - Add an exception from a11y_checks for a click on a non-interactive content in Webextensions. r=rpl
...
We intentionally turn off this a11y check, because the following click is purposefully targeting a non-interactive content of the page to move cursor to the center of the entire browser UI to avoid issues with other focus/hover checks. We do this to avoid intermittent test failure.
Differential Revision: https://phabricator.services.mozilla.com/D205407
2024-03-22 21:02:51 +00:00
Mark Banner
ffb4b2b3fc
Bug 1885723 - Fix more jsm references in browser/. r=Gijs,credential-management-reviewers,omc-reviewers,aminomancer,mtigley
...
Differential Revision: https://phabricator.services.mozilla.com/D204843
2024-03-19 22:08:29 +00:00
Emilio Cobos Álvarez
1c20c25eda
Bug 232598 - Return null for unset attributes in XUL. r=smaug,devtools-reviewers,omc-reviewers,zombie,nchevobbe,settings-reviewers,application-update-reviewers,credential-management-reviewers,mossop,aminomancer,bytesized,issammani,sessionstore-reviewers,dao
...
I just got bit by this in bug 1873833, let's just fix it. There isn't
all that much stuff depending on it anymore.
Differential Revision: https://phabricator.services.mozilla.com/D204496
2024-03-18 09:15:07 +00:00
Mark Banner
d534b7b6ee
Bug 1885041 - Expand disallowing JSM based imports via ESLint to everything except for devtools. r=arai,omc-reviewers,aminomancer,zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D204441
2024-03-13 17:38:28 +00:00
Mark Banner
f65518c3c0
Bug 1882577 - Make nsISearchEngine.getIconURL an async function. r=search-reviewers,extension-reviewers,settings-reviewers,robwu,mcheang,mak
...
Differential Revision: https://phabricator.services.mozilla.com/D203026
2024-03-13 14:51:06 +00:00
mcheang
e86c953b7b
Bug 1870685 - Ensure mochi browser chrome tests pass with search-config-v2 enabled. r=Standard8
...
Depends on D202637
Differential Revision: https://phabricator.services.mozilla.com/D204133
2024-03-11 17:07:13 +00:00
mcheang
3ccb2b1975
Bug 1870685 - Ensure tests outside of search pass with the new search configuration enabled. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D202637
2024-03-11 17:07:12 +00:00
Dave Townsend
8ca92a1c30
Bug 1864896: Autofix unused function arguments (webextensions). r=extension-reviewers,zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D202999
2024-03-05 14:21:14 +00:00
Luca Greco
27c3c699df
Bug 1881055 - Remove use of PromptParent.openContentPrompt for handling prompts originated from extensions options page embedded in about:addons. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D202237
2024-03-05 10:51:22 +00:00
Joel Maher
3125839a90
Bug 1881925 - standardize on more manifest conditions. r=aryx,credential-management-reviewers,devtools-reviewers,dom-storage-reviewers,omc-reviewers,nchevobbe,janv,issammani
...
Differential Revision: https://phabricator.services.mozilla.com/D202663
2024-03-05 02:14:17 +00:00
Sandor Molnar
844d642130
Backed out 2 changesets (bug 1881055) for causing bc failures @ toolkit/mozapps/extensions/test/browser/browser_html_options_ui.js CLOSED TREE
...
Backed out changeset 34d8664ec96a (bug 1881055)
Backed out changeset bdd79dc5ecab (bug 1881055)
2024-03-04 18:15:32 +02:00
Luca Greco
b8bb74b055
Bug 1881055 - Remove use of PromptParent.openContentPrompt for handling prompts originated from extensions options page embedded in about:addons. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D202237
2024-03-04 15:03:35 +00:00
Cristian Tuns
7a00471ac3
Backed out changeset 4099afcff2be (bug 1881925) for causing gecko decision task failures in browser.toml CLOSED TREE
2024-02-29 16:49:46 -05:00
Joel Maher
e325923409
Bug 1881925 - standardize on more manifest conditions. r=aryx,credential-management-reviewers,devtools-reviewers,dom-storage-reviewers,omc-reviewers,nchevobbe,janv,issammani
...
Differential Revision: https://phabricator.services.mozilla.com/D202663
2024-02-29 21:25:17 +00:00
Gregory Pappas
9bd4fc9c87
Bug 1878401 - part 7 - Pass BrowsingContext to nsIFilePicker::Init in tests r=extension-reviewers,settings-reviewers,credential-management-reviewers,anti-tracking-reviewers,devtools-reviewers,sgalich,pbz,nchevobbe,zombie,migration-reviewers,mconley
...
Depends on D200551
Differential Revision: https://phabricator.services.mozilla.com/D200552
2024-02-28 21:29:39 +00:00
Sandor Molnar
c853f2f3e9
Backed out 8 changesets (bug 1878401, bug 1879041) for causing build bustages on widget/nsBaseFilePicker.cpp CLOSED TREE
...
Backed out changeset 2e2b8df3bdd6 (bug 1879041)
Backed out changeset 6d6952f9df2c (bug 1878401)
Backed out changeset 30b5bb590d3e (bug 1878401)
Backed out changeset 9a4b830334b9 (bug 1878401)
Backed out changeset 3c3d67f1fcb7 (bug 1878401)
Backed out changeset c83ba4026822 (bug 1878401)
Backed out changeset 6bcb670ce475 (bug 1878401)
Backed out changeset f263b196df96 (bug 1878401)
2024-02-28 17:56:48 +02:00
Gregory Pappas
55e30a8b92
Bug 1878401 - part 7 - Pass BrowsingContext to nsIFilePicker::Init in tests r=extension-reviewers,settings-reviewers,credential-management-reviewers,anti-tracking-reviewers,devtools-reviewers,sgalich,pbz,nchevobbe,zombie,migration-reviewers,mconley
...
Depends on D200551
Differential Revision: https://phabricator.services.mozilla.com/D200552
2024-02-28 15:07:46 +00:00
mcheang
e5231f8e93
Bug 1870684 - Ensure test that are using custom engine configs and manifest data from data directory are passing for search-config-v2. r=Standard8,extension-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D201938
2024-02-23 01:38:28 +00:00
Emilio Cobos Álvarez
5a714b595c
Bug 1875100 - Propagate top level activeness automatically to top descendants. r=nika,tabbrowser-reviewers,mconley,extension-reviewers,robwu,geckoview-reviewers,owlish,kaya
...
For that, opt in tabbrowser and the shopping sidebar to manual
activeness management.
Differential Revision: https://phabricator.services.mozilla.com/D198942
2024-02-07 10:58:15 +00:00
Cristian Tuns
77579088f3
Backed out changeset ecd780688279 (bug 1875100) for causing mochitest failures in test_suspend_media_by_inactive_docshell.html
2024-02-07 01:25:21 -05:00
Emilio Cobos Álvarez
a6a14d3ed6
Bug 1875100 - Propagate top level activeness automatically to top descendants. r=nika,tabbrowser-reviewers,mconley,extension-reviewers,robwu,geckoview-reviewers,owlish
...
For that, opt in tabbrowser and the shopping sidebar to manual
activeness management.
Differential Revision: https://phabricator.services.mozilla.com/D198942
2024-02-06 21:47:37 +00:00
Karandeep
c394e93376
Bug 1855958 - Remove the experimental urlbar API (first patch). r=mak,extension-reviewers,desktop-theme-reviewers,robwu
...
ext-urlbar.js is unused but will be removed in a separate
patch to avoid test failures in condprof tests. Condprof tests may use
an outdated profile directory that still references ext-urlbar.js in
startupcache files, which triggers a test-only test failure in
mozilla::net::CheckForBrokenChromeURL.
Differential Revision: https://phabricator.services.mozilla.com/D199769
2024-02-05 17:04:37 +00:00
Dave Vandyke
bea6e1365e
Bug 1861445 - Add the runtime.onPerformanceWarning WebExtension event r=zombie,robwu
...
When an extension's content script is very slow and causes a webpage
to hang noticeably, a warning banner is displayed to the user. It
would be useful to also notify the extension developer when that
happens, so that they can address the issue.
Let's add a new event runtime.onPerformanceWarning that can be
dispatched when the browser needs to warn an extension of runtime
performance issues. For now, let's just dispatch that event when the
slow extension warning banner is displayed to the user.
See also https://github.com/w3c/webextensions/issues/456
Differential Revision: https://phabricator.services.mozilla.com/D194708
2024-01-29 10:32:09 +00:00
Joel Maher
3662d84cd4
Bug 1873732 - remove outdated manifest conditions and use consistent conditions. r=aryx,necko-reviewers,jgilbert,settings-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,dom-storage-reviewers,sgalich,kershaw,nchevobbe,janv,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D198082
2024-01-25 00:27:05 +00:00
Stanca Serban
71d0d5cf96
Backed out changeset 54462970f797 (bug 1873732) for causing web platform tests failures.
2024-01-24 21:08:19 +02:00