Commit Graph

279 Commits

Author SHA1 Message Date
abhishekmadan30
9605ca52bd Bug 1895334 - Grey out Copy without Site Tracking option when nothing can be stripped. r=pbz,urlbar-reviewers,anti-tracking-reviewers,dao
Co-authored-by: Manuel Bucher <manuel@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D215815
2024-09-23 22:11:50 +00:00
Stanca Serban
b68fb2c2d4 Backed out changeset b6cff72ae340 (bug 1915523) for causing mochitests failures in browser_save_image.js. CLOSED TREE 2024-09-06 00:29:41 +03:00
Jacob Wood
ecd696644a Bug 1915523 - Fix callback function for saving canvas as image r=niklas
Differential Revision: https://phabricator.services.mozilla.com/D220507
2024-09-05 18:48:18 +00:00
abhishekmadan30
df46815f9f Bug 1908651 - Updated Nested Strip on Share checks to ensure if an error occurs, no necessary parameter is removed.r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D217320
2024-07-23 20:18:47 +00:00
Joel Maher
d70349f2c5 Bug 1903845 - Add 'os_integration' tags to test manifests for faster image verification. r=aryx,jgilbert,settings-reviewers,media-playback-reviewers,sessionstore-reviewers,places-reviewers,omc-reviewers,migration-reviewers,padenot,dao,aminomancer,Standard8,mconley
Differential Revision: https://phabricator.services.mozilla.com/D214969
2024-07-09 13:01:55 +00:00
Malte Juergens
07a539427c Bug 1835983 - Fix remaining tests failing with HTTPS-First r=freddyb,extension-reviewers,anti-tracking-reviewers,android-reviewers,geckoview-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D213017
2024-06-21 17:21:42 +00:00
Stanca Serban
ed9240a088 Backed out 2 changesets (bug 1719271, bug 1835983) for causing mochitests failures in browser_crossGroupOpener.js. CLOSED TREE
Backed out changeset 2f1047347853 (bug 1719271)
Backed out changeset d79d15d3ad7c (bug 1835983)
2024-06-18 07:30:55 +03:00
Malte Juergens
3bdf08206b Bug 1835983 - Fix remaining tests failing with HTTPS-First r=freddyb,extension-reviewers,anti-tracking-reviewers,android-reviewers,geckoview-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D213017
2024-06-17 20:18:56 +00:00
Stanca Serban
5e7bbfb373 Backed out 2 changesets (bug 1835983, bug 1719271) for causing mochitests failures. CLOSED TREE
Backed out changeset 23d719860ea7 (bug 1719271)
Backed out changeset 10010b949e52 (bug 1835983)
2024-06-13 04:06:16 +03:00
Malte Juergens
073deaeb03 Bug 1835983 - Fix remaining tests failing with HTTPS-First r=freddyb,extension-reviewers,anti-tracking-reviewers,android-reviewers,geckoview-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D213017
2024-06-12 22:08:11 +00:00
Erik Nordin
10c37afaee Bug 1901351 - Do not offer Translate Link Text for URLs r=translations-reviewers,ohall
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.

Differential Revision: https://phabricator.services.mozilla.com/D212980
2024-06-11 14:14:59 +00:00
Kelly Cochrane
a45a9953b8 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
310bd3f288 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
fb4e2e9f85 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
f847f34296 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
0ca618d0ee 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
af64dc7f02 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
8207c2ad7d 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
dba6371944 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
36601e4357 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
6c63f64b29 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
897c3e2bf2 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
e6f4355ff3 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
bd0ad69aec 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
89ffefa292 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
9291957602 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
f60752de7e 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
9fc9e94268 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
ab57b0fdc1 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
54b9488c49 Bug 232598 - Fix some mochitests I missed.
MANUAL PUSH: Trivial orange fix CLOSED TREE
2024-03-18 20:29:10 +01: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
Erik Nordin
5bb63471e3 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
59cb061cf5 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
62a502bbec 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
25e13f1704 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
f636085f1f 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
147d02b576 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
8262afb8c6 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
8561f7ec9a 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
89e9a36583 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
609c093ca6 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
ad50861ef9 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
6874dffc71 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
5d8dd001ad 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
c5fb3dbb49 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
9864559021 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
9782e9a3d2 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
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