Erik Nordin
3c51004d26
Bug 1901351 - Do not offer Translate Link Text for URLs a=RyanVM
...
This patch ensures that the Translate Link Text
option is not offered in the context menu when
right clicking hyperlinked text that would result
in only a URL being translated.
Original Revision: https://phabricator.services.mozilla.com/D212980
Differential Revision: https://phabricator.services.mozilla.com/D213885
2024-06-18 01:05:54 +00:00
Kelly Cochrane
5565f5485a
Bug 1730169 - Show 'Take Screenshot' context menu item for images and videos r=niklas
...
Differential Revision: https://phabricator.services.mozilla.com/D209090
2024-05-07 18:56:41 +00:00
Abhishek Madan
303b93ff53
Bug 1884535 - Added error catching for Strip on Share.r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D209292
2024-05-06 19:11:26 +00:00
Erik Nordin
aa240a1f0b
Bug 1892931 - Fix browser_contextmenu.js test when SelectTranslations is disabled r=translations-reviewers,gregtatum
...
Fixes the browser_contextmenu.js test to not expect the
SelectTranslations context menu item is the pref is disabled.
Differential Revision: https://phabricator.services.mozilla.com/D208368
2024-04-23 17:10:29 +00:00
Erik Nordin
e9baf13267
Bug 1890299 - Enable Select Translations for Nightly and Early Beta r=translations-reviewers,gregtatum
...
Enables Select Translations for EARLY_BETA_OR_EARLIER
to get early feedback on the implemented functionality.
Depends on D207823
Differential Revision: https://phabricator.services.mozilla.com/D206907
2024-04-22 22:37:20 +00:00
Sean Feng
cfb9d8af76
Bug 1891724 - Update some tests for ShadowDOM selection r=smaug
...
Some tests need to have the pref enabled to make it pass.
The .ini file is added for isPointInRange-shadowdom.tentative.html
to make sure it has the right expectation for release_or_beta.
Differential Revision: https://phabricator.services.mozilla.com/D207740
2024-04-18 13:06:38 +00:00
Sean Feng
92ef542dba
Bug 1881097 - Ensure nsContentUtils::IsPointInSelection works for point in selection that crosses the boundary r=smaug
...
Ths patch introduces a new class called `CrossShadowBoundaryRange` to
make cross shadow boundary range related stuff can be isolated into a
single class.
It also tweaks a few functions along the call stack, the goal here
is to make sure nsContentUtils::IsPointInSelection can detect points
in ShadowDOM selection.
There's an additional change to `SelectionUtils.sys.mjs` to make sure
the correct context menu items are displayed when the current selection
crosses the boundary.
Differential Revision: https://phabricator.services.mozilla.com/D204080
2024-04-15 13:09:08 +00:00
abhishekmadan30
21e17c4dc5
Bug 1888734 - Added null check to nested strip on share function. r=pbz,anti-tracking-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D206559
2024-04-09 17:10:53 +00:00
Paul Adenot
623a4bb9e6
Bug 1860492 - Stop using theora in browser/base/content/test. r=Gijs
...
The OGG Theora files have been replaced with functionally equivalent WebM
containing VP9.
Differential Revision: https://phabricator.services.mozilla.com/D204641
2024-04-04 15:02:34 +00:00
Narcis Beleuzu
e3df66c4e8
Backed out 14 changesets (bug 1860492) for mda failure on test_closing_connections
...
Backed out changeset 9b8435c1c982 (bug 1860492)
Backed out changeset 08603e5ea8a0 (bug 1860492)
Backed out changeset 93086bc64d37 (bug 1860492)
Backed out changeset f8cbb9933469 (bug 1860492)
Backed out changeset f5e2a92235f1 (bug 1860492)
Backed out changeset 0038d6d54690 (bug 1860492)
Backed out changeset 24a1fb93d4a8 (bug 1860492)
Backed out changeset c2c11ee3f79f (bug 1860492)
Backed out changeset 9983c1ddee85 (bug 1860492)
Backed out changeset b9286e049dea (bug 1860492)
Backed out changeset d1d98783c88d (bug 1860492)
Backed out changeset 22dd17861e80 (bug 1860492)
Backed out changeset 7d823668fba7 (bug 1860492)
Backed out changeset 024863677345 (bug 1860492)
2024-04-04 01:43:26 +03:00
Paul Adenot
4560a98b40
Bug 1860492 - Stop using theora in browser/base/content/test. r=Gijs
...
The OGG Theora files have been replaced with functionally equivalent WebM
containing VP9.
Differential Revision: https://phabricator.services.mozilla.com/D204641
2024-04-03 11:11:42 +00:00
abhishekmadan30
d29f950d96
Bug 1877419 - Part 2: Added tests for nested stripping for Strip on Share. r=pbz
...
Depends on D202943
Differential Revision: https://phabricator.services.mozilla.com/D203082
2024-03-28 18:02:17 +00:00
Iulian Moraru
93ed708a97
Backed out 3 changesets (bug 1877419, bug 1884941) for causing non unified build bustages on URLQueryStringStripper.cpp. CLOSED TREE
...
Backed out changeset 53db0be27620 (bug 1877419)
Backed out changeset b7fab4b145f7 (bug 1877419)
Backed out changeset 78436da20d95 (bug 1884941)
2024-03-26 19:37:45 +02:00
abhishekmadan30
33019f3009
Bug 1877419 - Part 2: Added tests for nested stripping for Strip on Share. r=pbz
...
Depends on D202943
Differential Revision: https://phabricator.services.mozilla.com/D203082
2024-03-26 14:42:08 +00:00
Noemi Erli
18b56b463a
Backed out 3 changesets (bug 1884941, bug 1877419) for causing bustage in URLQueryStringStripper.cpp CLOSED TREE
...
Backed out changeset 32c74a4cd05b (bug 1877419)
Backed out changeset c2ca2f596c09 (bug 1877419)
Backed out changeset 45931e6db21e (bug 1884941)
2024-03-25 21:50:27 +02:00
abhishekmadan30
7328712b83
Bug 1877419 - Part 2: Added tests for nested stripping for Strip on Share. r=pbz
...
Depends on D202943
Differential Revision: https://phabricator.services.mozilla.com/D203082
2024-03-25 18:30:39 +00:00
Stanca Serban
3274be9ff2
Backed out 13 changesets (bug 1860492) for causing multiple failures.
...
Backed out changeset 1b6bef229ce4 (bug 1860492)
Backed out changeset 22a3235fe2dc (bug 1860492)
Backed out changeset a5b2e4d12e44 (bug 1860492)
Backed out changeset cbcb811ca382 (bug 1860492)
Backed out changeset d6a999866f19 (bug 1860492)
Backed out changeset 40cee82fa090 (bug 1860492)
Backed out changeset eeec1917ab49 (bug 1860492)
Backed out changeset cf1230802d5c (bug 1860492)
Backed out changeset b34aacf0e966 (bug 1860492)
Backed out changeset 45d137c795f1 (bug 1860492)
Backed out changeset fb667be5932d (bug 1860492)
Backed out changeset a6d22d73c8a5 (bug 1860492)
Backed out changeset c8b6c53698f5 (bug 1860492)
2024-03-22 18:18:12 +02:00
Paul Adenot
7e08a48591
Bug 1860492 - Stop using theora in browser/base/content/test. r=Gijs
...
The OGG Theora files have been replaced with functionally equivalent WebM
containing VP9.
Differential Revision: https://phabricator.services.mozilla.com/D204641
2024-03-22 14:16:33 +00:00
Dave Townsend
95ccf713ef
Bug 1864896: Autofix unused function arguments (browser/base/content). r=Gijs,application-update-reviewers,tabbrowser-reviewers,places-reviewers,bytesized,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D202949
2024-03-19 14:59:20 +00:00
Emilio Cobos Álvarez
515d998061
Bug 232598 - Fix some mochitests I missed.
...
MANUAL PUSH: Trivial orange fix CLOSED TREE
2024-03-18 20:29:10 +01:00
Gregory Pappas
1dfbfcfd07
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
3951121cc6
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
8a677e7f39
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
Erik Nordin
2a01092c90
Bug 1875090 - Rename BrowserTestUtils.is_visible() to isVisible() r=Gijs,settings-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,translations-reviewers,sgalich,bytesized,sfoster
...
Renames all instances of the snake_case identifier to
camelCase to match more closely to idiomatic JavaScript
and to existing conventions throughout the code base.
Differential Revision: https://phabricator.services.mozilla.com/D198826
2024-01-19 02:15:33 +00:00
Abhishek Madan
f424e10c33
Bug 1864931 - Added check to see if a webpage is internal for strip on share. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D195035
2023-12-07 20:16:05 +00:00
Abhishek Madan
9f662c42dc
Bug 1859831 - Add StripOnShare to context menu tests. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D191339
2023-10-19 15:05:05 +00:00
Abhishek Madan
00ba04969c
Bug 1842581 - Added tests to ensure functionality of clean copy and modified StripOnShare.json. r=pbz,anti-tracking-reviewers
...
Depends on D188626
Differential Revision: https://phabricator.services.mozilla.com/D189167
2023-10-19 15:05:05 +00:00
Norisz Fay
22f134f82e
Backed out 2 changesets (bug 1853998, bug 1842581) for causing bc failures on browser_contextmenu.js
...
Backed out changeset ecb00efc209a (bug 1842581)
Backed out changeset 9c4eed63d7c0 (bug 1853998)
2023-10-17 19:02:06 +03:00
Abhishek Madan
9c99595b3a
Bug 1842581 - Added tests to ensure functionality of clean copy and modified StripOnShare.json. r=pbz,anti-tracking-reviewers
...
Depends on D188626
Differential Revision: https://phabricator.services.mozilla.com/D189167
2023-10-17 14:16:07 +00:00
Masatoshi Kimura
bcd7d268c4
Bug 1856104 - Remove useless version checks from JavaScript code. r=Gijs,webcompat-reviewers,settings-reviewers,search-reviewers,Standard8,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D189696
2023-10-02 19:00:07 +00:00
Noemi Erli
26e0b0be0a
Backed out 3 changesets (bug 1856187, bug 1856100, bug 1856104) for causing newtab failures
...
Backed out changeset db28784a1734 (bug 1856187)
Backed out changeset bd11e14dca63 (bug 1856104)
Backed out changeset 2741311b6055 (bug 1856100)
2023-10-02 21:16:25 +03:00
Masatoshi Kimura
7ad48d61dd
Bug 1856104 - Remove useless version checks from JavaScript code. r=Gijs,webcompat-reviewers,settings-reviewers,search-reviewers,Standard8,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D189696
2023-10-02 17:36:27 +00:00
Gregory Pappas
62a62f0934
Bug 1851211 - Remove privacy.partition.bloburl_per_agent_cluster pref r=amadan,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D187291
2023-09-26 20:59:01 +00:00
Tom Marble
d596ebea8e
Bug 1853243 - convert .ini manifests to .toml: batch 5 browser/**/browser.ini r=jmaher,mossop,webcompat-reviewers,twisniewski,search-reviewers,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D188427
2023-09-21 22:47:07 +00:00
Marco Bonardo
70fdad6676
Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
...
This should make a bit clearer that it is only starting the load, not waiting
for its completion.
Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-15 09:16:34 +00:00
Sandor Molnar
950a3c620d
Backed out 3 changesets (bug 1852963) for causing remote failures on remote/shared/messagehandler/test/browser/browser_session_data.js CLOSED TREE
...
Backed out changeset 98de7bc404c3 (bug 1852963)
Backed out changeset edf1527c9a99 (bug 1852963)
Backed out changeset 34357750f69c (bug 1852963)
2023-09-14 20:29:06 +03:00
Marco Bonardo
61f8ecc425
Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
...
This should make a bit clearer that it is only starting the load, not waiting
for its completion.
Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-14 16:33:13 +00:00
mcheang
50ce5c5c74
Bug 1648188 - Fix SearchService init failures so that the address bar can be used to search history and bookmarks. r=Standard8,mak
...
This patch refactors the SearchService private initialized variables and how
the SearchService stores its initialization status. These changes capture whether
the SearchService has succeeded, failed or hasn't finished initialization yet.
There are also changes made to UrlbarSearchUtils on handling when SearchService
has failed to initialize or when it hasn't finished initializing yet and we wait.
In the case where the SearchService has failed on initialization, We allow
the code to continue so that it can reach UrlbarProviderPlaces. Once we
are able to reach UrlbarProviderPlaces, we can make database calls for the user's
history and bookmarks. This allows the user to interact with the addressbar and
search their history and bookmarks even if SearchService has failed to initialize.
Differential Revision: https://phabricator.services.mozilla.com/D176936
2023-05-30 18:34:51 +00:00
mcheang
64962b7456
Bug 1648188 - Make _initialize variable private in SearchService. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D177555
2023-05-30 18:34:51 +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
Hannah Peuckmann
b342236311
Bug 1823337 - Tests for in-content clean copy. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D174719
2023-05-11 14:14:41 +00:00
Sergey Galich
470a8fec63
Bug 1825115 - Add "Use Relay email mask" to the context menu on <input type=email> r=groovecoder,credential-management-reviewers,flod,issammani
...
Differential Revision: https://phabricator.services.mozilla.com/D174361
2023-04-21 03:27:58 +00:00
CanadaHonk
91709586ba
Bug 1801379 - Migrate Sinon.jsm to an ES module r=extension-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,fxview-reviewers,devtools-reviewers,Standard8,nchevobbe,sclements,dimi,mconley,bytesized,robwu
...
Migrated `testing/modules/Sinon.sys.mjs` to an ES module.
`testing` should now be 100% ESM 🎉
Differential Revision: https://phabricator.services.mozilla.com/D173643
2023-03-29 07:34:10 +00:00
Mark Banner
9bbd275235
Bug 1820593 - Convert AsyncSpellCheckTestHelper to an ES module. r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D171748
2023-03-07 09:40:39 +00:00
Gijs Kruitbosch
3e5d710873
Bug 1817443 - move url loading method implementations from utilityOverlay.js into their own helper module, r=mossop
...
openLinkIn would really benefit from being split up a bit, and adding more
globals to the browser window is icky. Also, the story for opening new tabs if
you're not inside a window is a nightmare right now. Moving this code
to a module is a first step to making that story nicer.
I kept wrappers for all the functions I'm moving, and added the `window` as the
first argument. In the future we can update these functions to support being
called without a `window` ref. The one exception is getTopWin, where I updated
the callers in this patch.
I had to tweak the parameter detection of the different arguments supported by
openUILinkIn because forwarding calls means arguments.length is always larger
than 3... but then also removed it in the next commit.
Differential Revision: https://phabricator.services.mozilla.com/D170210
2023-02-23 17:02:43 +00:00
Cristina Horotan
45de4f594f
Backed out 5 changesets (bug 1817443) for newtab failure CLOSED TREE
...
Backed out changeset ba33c510d008 (bug 1817443)
Backed out changeset 07e3bccaeb6d (bug 1817443)
Backed out changeset 2b39dee42948 (bug 1817443)
Backed out changeset a74a52e93af4 (bug 1817443)
Backed out changeset 827855beb033 (bug 1817443)
2023-02-23 17:30:23 +02:00
Gijs Kruitbosch
1c327d22dd
Bug 1817443 - move url loading method implementations from utilityOverlay.js into their own helper module, r=mossop
...
openLinkIn would really benefit from being split up a bit, and adding more
globals to the browser window is icky. Also, the story for opening new tabs if
you're not inside a window is a nightmare right now. Moving this code
to a module is a first step to making that story nicer.
I kept wrappers for all the functions I'm moving, and added the `window` as the
first argument. In the future we can update these functions to support being
called without a `window` ref. The one exception is getTopWin, where I updated
the callers in this patch.
I had to tweak the parameter detection of the different arguments supported by
openUILinkIn because forwarding calls means arguments.length is always larger
than 3... but then also removed it in the next commit.
Differential Revision: https://phabricator.services.mozilla.com/D170210
2023-02-23 14:49:27 +00:00
Mike Conley
af19723a7c
Bug 1817320 - Put mochitest manifest files under browser/base/content/test into alphabetical order. r=kcochrane
...
Differential Revision: https://phabricator.services.mozilla.com/D170244
2023-02-17 21:44:52 +00:00
Mike Conley
3ff36430b9
Bug 1814202 - Make browser_contextmenu_badiframe.js more reliable. r=NeilDeakin
...
The test had a race condition in it where contextmenu events had a chance of
not targeting the right document if a subframe hadn't loaded and presented
in time. This patch uses BrowserTestUtils.browserLoaded and requestAnimationFrame
to help ensure that the subframes have both loaded and presented.
Differential Revision: https://phabricator.services.mozilla.com/D168802
2023-02-03 21:36:35 +00:00