Commit Graph

767 Commits

Author SHA1 Message Date
Kagami Sascha Rosylight
c8f12f94dc Bug 1703953 - Part 2: Apply mozilla/use-isInstance rules for .jsm files r=webdriver-reviewers,pip-reviewers,mhowell,Gijs,whimboo
This replaces all `instanceof` uses for DOM interfaces, since the operator in priviliged context works same as .isInstance().

Differential Revision: https://phabricator.services.mozilla.com/D141785
2022-03-29 13:11:00 +00:00
Gijs Kruitbosch
ac8527d331 Bug 1692655, r=nika,mtigley,smaug
Differential Revision: https://phabricator.services.mozilla.com/D141359
2022-03-24 14:35:35 +00:00
gliu20
511747128f Bug 875614 - Add context menu entry for tel: links. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D141289
2022-03-24 11:32:30 +00:00
Noemi Erli
3828360e2f Backed out changeset 49df084db953 (bug 1651728) for causing lint failures CLOSED TREE 2022-03-22 18:49:26 +02:00
chadb
ed1cf1e469 Bug 1651728 Remove reader mode toolbar from saved document. r=niklas,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D138562
2022-03-22 16:18:45 +00:00
Butkovits Atila
20accef347 Backed out changeset 37f58bd49a56 (bug 1692655) for causing linting failure. CLOSED TREE 2022-03-21 18:15:22 +02:00
Gijs Kruitbosch
4c466ba8ad Bug 1692655, r=nika,mtigley,smaug
Differential Revision: https://phabricator.services.mozilla.com/D141359
2022-03-21 14:12:21 +00:00
Mark Banner
2d563feacc Bug 1758476 - Remove some unnecessary uses of the target object argument to ChromeUtils.import. r=mossop,webdriver-reviewers,perftest-reviewers,robwu,whimboo,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D140518
2022-03-17 22:13:08 +00:00
Punam Dahiya
a76c013839 Bug 1754832 - Update PBM to support opening spotlight tab modal r=Mardak,mviar,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D140565
2022-03-17 06:41:47 +00:00
Cristian Tuns
e8374bd569 Backed out changeset 528295e7cb0c (bug 1758476) for causing tabswitch failures CLOSED TREE 2022-03-14 12:27:48 -04:00
Mark Banner
0ce30e3008 Bug 1758476 - Remove some unnecessary uses of the target object argument to ChromeUtils.import. r=mossop,webdriver-reviewers,perftest-reviewers,robwu,whimboo,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D140518
2022-03-14 10:19:40 +00:00
Emilio Cobos Álvarez
ab63e715e1 Bug 1753836 - Fix context menus to deal with Event.screen* returning page CSS coordinates. r=Gijs
If the page is zoomed, its devicePixelRatio will differ from the browser
chrome's. Account for this by converting to device pixels before starting to
scroll.

Depends on D138036

Differential Revision: https://phabricator.services.mozilla.com/D138037
2022-02-16 12:18:11 +00:00
smolnar
33c038ec0d Backed out 6 changesets (bug 1753836) for causing mochitest failures in test_event_screenXY_with_zoom. CLOSED TREE
Backed out changeset a572cbc0fac2 (bug 1753836)
Backed out changeset 371a495ff728 (bug 1753836)
Backed out changeset 774af76be463 (bug 1753836)
Backed out changeset faa8a8f2d40f (bug 1753836)
Backed out changeset 9209832ecffe (bug 1753836)
Backed out changeset db443ce0406d (bug 1753836)
2022-02-16 01:47:51 +02:00
Emilio Cobos Álvarez
9b5b35c3f1 Bug 1753836 - Fix context menus to deal with Event.screen* returning page CSS coordinates. r=Gijs
If the page is zoomed, its devicePixelRatio will differ from the browser
chrome's. Account for this by converting to device pixels before starting to
scroll.

Depends on D138036

Differential Revision: https://phabricator.services.mozilla.com/D138037
2022-02-15 22:25:04 +00:00
Tyler Kabaker
361867b5bb Bug 1331981 - Fixed Refresh in Reader Mode for text/plain documents. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D137253
2022-02-14 17:36:03 +00:00
Meg Viar
dd4f534a63 Bug 1747149 - Consolidate logic for when to show VPN promo and add BrowserUtils test r=dmose,preferences-reviewers,prathiksha,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D134874
2022-02-14 14:21:04 +00:00
Niklas Baumgardner
002f2ad1b0 Bug 1749074 - Cancel screenshots on page unload. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D135522
2022-02-11 19:30:04 +00:00
Dan Mosedale
f319e6a711 Bug 1749775 - Add user telemetry for 98 VPN promo, r=andreio,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D135874
2022-02-11 16:31:06 +00:00
smolnar
290a28b6d5 Backed out changeset 260a3d2ed070 (bug 1747149) for causing android xpc failures in test_BrowserUtils. 2022-02-11 05:04:29 +02:00
Meg Viar
c62eb53c24 Bug 1747149 - Consolidate logic for when to show VPN promo and add BrowserUtils tests r=dmose,preferences-reviewers,prathiksha,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D134874
2022-02-11 02:06:56 +00:00
Csoregi Natalia
651ba0a6bd Backed out changeset d2074c570a2a (bug 1749074) for causing sanitizer failures during browser_screenshots_test_page_crash.js. CLOSED TREE 2022-02-10 18:02:52 +02:00
Niklas Baumgardner
03784441f8 Bug 1749074 - Cancel screenshots on page unload. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D135522
2022-02-10 15:23:44 +00:00
Marian-Vasile Laza
973f8d97b9 Backed out changeset 9c6f30f619d7 (bug 1747149) for causing xpcshell failures on test_BrowserUtils.js. CLOSED TREE 2022-02-09 02:08:44 +02:00
Meg Viar
c29d746338 Bug 1747149 - Consolidate logic for when to show VPN promo and add BrowserUtils tests r=dmose,preferences-reviewers,prathiksha,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D134874
2022-02-08 21:39:38 +00:00
Niklas Baumgardner
b1ea82417d Bug 1749585 - Add Telemetry probes for Picture-in-Picture toggle clicks. r=mhowell,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D135657
2022-02-08 19:39:41 +00:00
Gijs Kruitbosch
867dbaa85b Bug 1678965 - Part 2: set cross opener group for openLinkIn tabs opened as new tabs, r=dao
Depends on D100152

Differential Revision: https://phabricator.services.mozilla.com/D136176
2022-01-25 17:42:45 +00:00
Andrei Oprea
c1807eee8c Bug 1746598 - Route MS messages to PB newtab r=dmose,extension-reviewers,rpl
Differential Revision: https://phabricator.services.mozilla.com/D134157
2022-01-25 13:02:30 +00:00
Sandor Molnar
2387917375 Backed out changeset ea22083f5525 (bug 1746598) for causing bc failures in browser/components/extensions/test/browser/browser_ext_menus_incognito.js CLOSED TREE 2022-01-24 10:53:24 +02:00
Andrei Oprea
628af2aadb Bug 1746598 - Route MS messages to PB newtab r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D134157
2022-01-24 07:49:45 +00:00
Emilio Cobos Álvarez
8ce808ebbd Bug 1743047 - Use "reveal" rather than show terminology consistently for the reveal password button. r=Gijs,fluent-reviewers
The pseudo-class and nsContextMenu context attribute were using reveal,
the pseudo-element and webidl attribute were using "show".

Use reveal consistently and update the accesskey so that there aren't
conflicts with existing commands. Also enable the feature in
browser_contextmenu_input.js so that this change is tested.

Differential Revision: https://phabricator.services.mozilla.com/D136086
2022-01-17 14:18:51 +00:00
Niklas Baumgardner
60637708f9 Bug 1741736 - Add overlay to Screenshots component implementation. r=sfoster,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D132832
2022-01-14 18:06:11 +00:00
Sandor Molnar
eb2bc8daf7 Backed out changeset fb53fb5009a4 (bug 1741736) for causing browser-chrome failures in browser_parsable_css. CLOSED TREE 2022-01-14 17:32:52 +02:00
Niklas Baumgardner
bb01085481 Bug 1741736 - Add overlay to Screenshots component implementation. r=sfoster,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D132832
2022-01-14 14:36:49 +00:00
Iulian Moraru
655fb06e3c Backed out changeset 843d1e2cee98 (bug 1741736) for causing mochitest failures on browser_all_files_referenced.js. CLOSED TREE 2022-01-13 22:40:36 +02:00
Niklas Baumgardner
ce3333f502 Bug 1741736 - Add overlay to Screenshots component implementation. r=sfoster,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D132832
2022-01-13 19:04:55 +00:00
Gijs Kruitbosch
cbb0d57034 Bug 1745720 - use 'chromelinkclick' command event to avoid instantiating ClickHandlerChild except for link clicks, r=smaug,mconley
Instead of relying on untrusted click/auxclick events anywhere
instantiating the actor, and then having to look for links, after this
patch we'll only instantiate the actor for actual link clicks. This
patch moves to using a chrome-only command event (with type
`chromelinkclick`) dispatched from the link click post-visitor
to accomplish that.

In future we should probably move both this and the
middle-click-to-paste handling into DOM code (or, for the latter,
remove it) but this is a less invasive solution.

This also moves the middle-click-to-paste handling into its own
listener. It needs to listen to page events in general (not just
links) but is disabled everywhere by default, so registering an
actor for everyone doesn't seem like a good trade-off. To avoid
duplicating all the logic (we do need to avoid doing middle-click
navigation based on the clipboard when clicking on links!), as
well as keeping patch size down, the actual control flow goes
through the click handler actor still.

Differential Revision: https://phabricator.services.mozilla.com/D134011
2022-01-13 12:38:54 +00:00
Butkovits Atila
60d2addde1 Backed out changeset 26a792be5ec3 (bug 1745720) for causing failures complaining about Event.cpp. CLOSED TREE 2022-01-13 03:19:10 +02:00
Gijs Kruitbosch
6b4f4672d0 Bug 1745720 - use 'chromelinkclick' command event to avoid instantiating ClickHandlerChild except for link clicks, r=smaug,mconley
Instead of relying on untrusted click/auxclick events anywhere
instantiating the actor, and then having to look for links, after this
patch we'll only instantiate the actor for actual link clicks. This
patch moves to using a chrome-only command event (with type
`chromelinkclick`) dispatched from the link click post-visitor
to accomplish that.

In future we should probably move both this and the
middle-click-to-paste handling into DOM code (or, for the latter,
remove it) but this is a less invasive solution.

This also moves the middle-click-to-paste handling into its own
listener. It needs to listen to page events in general (not just
links) but is disabled everywhere by default, so registering an
actor for everyone doesn't seem like a good trade-off. To avoid
duplicating all the logic (we do need to avoid doing middle-click
navigation based on the clipboard when clicking on links!), as
well as keeping patch size down, the actual control flow goes
through the click handler actor still.

Differential Revision: https://phabricator.services.mozilla.com/D134011
2022-01-13 00:00:57 +00:00
Martin Thomson
222f4654e3 Bug 1745678 - Remove TLS 1.0/1.1 override UX, r=Gijs,mkaply,fluent-reviewers
I've erred on the side of removing code here.  I think that I got most of it,
but there was quite a bit of accrued code.

Thanks to Gijs for fluent fixups (and code cleanup).  This retains some notice
of the failed version.

Bug 1586846, Bug 1579285, Bug 1586846, and Bug 1617275 all added code here.

Differential Revision: https://phabricator.services.mozilla.com/D133591
2021-12-28 23:39:43 +00:00
Andreas Farre
3b49583af3 Bug 1745158 - Always leave reader mode from the parent actor. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D134425
2021-12-22 12:15:30 +00:00
Niklas Baumgardner
7d6b152571 Bug 1744331 - Take visible and full page work as expected now. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D132838
2021-12-20 14:57:51 +00:00
Edgar Chen
f9a4a6bd64 Bug 1739220 - Handle fullscreen state in a more reliable way; r=smaug,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131185
2021-12-17 09:15:10 +00:00
Peter Van der Beken
6cd3771ef1 Bug 1744397 - Simplify refresh code: remove aMetaRefresh argument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D132861
2021-12-16 22:27:07 +00:00
Marian-Vasile Laza
4f2f5f1c6f Backed out changeset 0b08092c5fb9 (bug 1744331) for causing bc failures on browser_screenshots_test_full_page.js. CLOSED TREE 2021-12-16 03:33:05 +02:00
Niklas Baumgardner
ae4c94f19c Bug 1744331 - Take visible and full page work as expected now. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D132838
2021-12-15 19:55:07 +00:00
Csoregi Natalia
3bea0a777e Backed out 2 changesets (bug 1739220) for causing multiple failures e.g.browser_media_control_non_eligible_media.js. CLOSED TREE
Backed out changeset 20bce7cd571c (bug 1739220)
Backed out changeset f69aa1b07b51 (bug 1739220)
2021-12-14 20:32:26 +02:00
Alexandru Michis
b4a7c3765a Bug 1739220 - Fix prettier failure in DOMFullscreenChild.jsm a=lint-fix
CLOSED TREE
2021-12-14 17:56:31 +02:00
Edgar Chen
0b9cb3fd37 Bug 1739220 - Handle fullscreen state in a more reliable way; r=smaug,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131185
2021-12-14 15:23:54 +00:00
Norisz Fay
333caceb64 Backed out 5 changesets (bug 1742865, bug 1744397) for causing wpt failures on attr-meta-http-equiv-refresh/parsing.html CLOSED TREE
Backed out changeset 7b01edc5a0e0 (bug 1744397)
Backed out changeset 41abd4b7d2c0 (bug 1744397)
Backed out changeset 634641e3a05a (bug 1744397)
Backed out changeset 6e7755177481 (bug 1744397)
Backed out changeset e9fc94b33da9 (bug 1742865)
2021-12-14 13:25:58 +02:00
Peter Van der Beken
6c947d1a00 Bug 1744397 - Simplify refresh code: remove aMetaRefresh argument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D132861
2021-12-14 10:13:59 +00:00