steven100695
cf027c75e5
Bug 1790276 - Convert browser/actors/EncryptedMedia* JSM modules to ESMs. r=kpatenio,Gijs,credential-management-reviewers.
...
Differential Revision: https://phabricator.services.mozilla.com/D157087
2022-10-11 20:14:17 +00:00
Chengyu Sun
d4e767473d
Bug 1790224 - Convert browser/actors/ClickHandler* JSM modules to ESMs. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D158853
2022-10-11 14:12:33 +00:00
Eemeli Aro
dc1a3bfffa
Bug 1793572 - Convert WebRTCParent.jsm from .properties to Fluent. r=mconley,flod
...
The code is slightly cleaned up to not construct identifiers by concatenating strings, and to avoid using the requestTypes array when determining the prompt contents.
A few messages are moved to and from browser.ftl to group them better, though all of the "WebRTC Pop-up notifications" messages could also be moved from there to webrtcIndicator.ftl, which is now also included by browser.xhtml.
The message `webrtc-allow-share-audio-capture-unsafe-delegation` is added, as it appears to have been missed previously -- it's referred to in code, but the message itself was not defined.
Differential Revision: https://phabricator.services.mozilla.com/D158762
2022-10-08 07:35:29 +00:00
Eemeli Aro
45a8fe66c1
Bug 1734217
- Merge all about:neterror front-end handling under toolkit. r=mkmelin,smaug,nalexander,flod,Gijs
...
Following a suggestion from :mkmelin, this seems like an optimal solution: the overriding/duplication in m-c is removed, and all users get a more powerful default choice that they're still able to override with their own, should they so wish.
For clarity and to match other `about:` pages, the shared code is placed under `toolkit/content/`, and all content under `docshell/resources/` is removed.
Differential Revision: https://phabricator.services.mozilla.com/D156478
2022-10-07 18:40:27 +00:00
Eemeli Aro
ed0c600d94
Bug 1734217
- Migrate aboutNetError from DTD to Fluent. r=fluent-reviewers,prathiksha,flod
...
To support and enable the migration, quite a bit of refactoring is needed.
Many of the localised error messages are in fact fragments of HTML, including messages with nesting not supported by Fluent. In the FTL, these have each been split up into multiple messages using a custom migration transform (included directly in the script). This allows for localisers to work with the messages without HTML syntax, but does require the messages' structures to be maintained elsewhere. To that effect, the JS file represents messages as arrays of `[tagName, l10nId, l10nArgs]` tuples from which it builds the messages' elements. This fixex bug 1621895.
Though extensive, the refactoring done here is for the most part limited to what's required by the Fluent migration. For instance, not all issues raised in bug 1722896 are resolved here. Places where the structure was sufficiently messy to have introduced bugs or dead code have been cleaned up a bit, though.
This variant of netError that's used by the browser is not itself overridden by anyone else, which allows for it to be tackled first and independently of the docshell and mobile variants. As a part of its content is still passed in as a query parameter, it's possible that later refactors of the rest of the netError system will allow for further clean-up here.
Differential Revision: https://phabricator.services.mozilla.com/D155951
2022-10-07 18:40:27 +00:00
Butkovits Atila
14a0f2dd59
Backed out changeset 3b2e0534eca6 (bug 1790276) for causing lint failure. CLOSED TREE
2022-09-30 05:46:11 +03:00
steven100695
4e0db15c3f
Bug 1790276 - Convert browser/actors/EncryptedMedia* JSM modules to ESMs. r=Gijs.
...
Differential Revision: https://phabricator.services.mozilla.com/D157087
2022-09-30 02:14:16 +00:00
Mark Banner
8d1ebcb9d6
Bug 1792365 - Convert toolkit/modules consumers to use ES module imports directly. r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,extension-reviewers,preferences-reviewers,desktop-theme-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,robwu,Gijs,sgalich,bytesized,AlexandruIonescu,dao,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D158094
2022-09-29 06:52:34 +00:00
Mark Banner
c0b3131dd9
Bug 1634555 - Send event telemetry for search default engine changes. r=daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D157471
2022-09-28 09:40:36 +00:00
Mark Banner
a9ba6e830d
Bug 1792398 - Enable ESLint rule 'strict' on mjs files as the directive is not necessary for modules. r=arai,pip-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D158115
2022-09-26 21:47:50 +00:00
Marian-Vasile Laza
130adc5d9a
Backed out changeset 0679274d6ed5 (bug 1792398) for causing bc failures on browser_sendQuery.js. CLOSED TREE
2022-09-26 22:53:00 +03:00
Mark Banner
3e99025d45
Bug 1792398 - Enable ESLint rule 'strict' on mjs files as the directive is not necessary for modules. r=arai,pip-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D158115
2022-09-26 18:51:57 +00:00
Narcis Beleuzu
6c2d0d8cea
Backed out changeset 849faf753208 (bug 1792398) for bc failures on browser_sendQuery.js . CLOSED TREE
2022-09-26 20:44:40 +03:00
Mark Banner
05dcda5a7f
Bug 1792398 - Enable ESLint rule 'strict' on mjs files as the directive is not necessary for modules. r=arai,pip-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D158115
2022-09-26 16:51:10 +00:00
Brian
34064a8838
Bug 1788925 - Convert AboutReader from JSM to ESM. r=Gijs.
...
Differential Revision: https://phabricator.services.mozilla.com/D157034
2022-09-23 21:19:12 +00:00
Nolan Ishii
65b37979bb
Bug 1788932 - Convert browser/actors/BrowserTab* JSM modules to ESMs r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D157036
2022-09-21 18:56:08 +00:00
Brian
5b24c562b9
Bug 1790277 - Convert FromValidation JSM modules to ESMs. r=mconley.
...
Differential Revision: https://phabricator.services.mozilla.com/D157168
2022-09-20 20:17:36 +00:00
Alvin Lew
5aa757e868
Bug 1790280 - Convert browser/actors/PageInfoChild.jsm JSM module to ESM. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D157604
2022-09-20 14:48:28 +00:00
Nolan Ishii
d5981d0b88
Bug 1790225
Convert browser/actors/ContentSearch* JSM modules to ESMs r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D157043
2022-09-20 14:08:07 +00:00
Jonathan Sudiaman
c27b002b63
Bug 1790758 - Convert Region.jsm and IgnoreLists.jsm JSM modules to ESMs r=Standard8,preferences-reviewers,credential-management-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D157337
2022-09-20 12:21:45 +00:00
Dana Keeler
bdb75eecd3
Bug 1790451 - remove now-unnecessary QueryInterface(Ci.nsITransportSecurityInfo) calls r=jschanck,webdriver-reviewers,necko-reviewers,application-update-reviewers,nalexander,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D157166
2022-09-20 03:58:50 +00:00
Dana Keeler
935dfdff8d
Bug 1790152 - avoid serializing nsITransportSecurityInfo in the certificate error page r=Gijs
...
Only the bytes of the failed certificate chain are used, so that's all we need
to send across, rather than the entire nsITransportSecurityInfo.
Differential Revision: https://phabricator.services.mozilla.com/D157007
2022-09-14 21:49:53 +00:00
Alvin Lew
50b1cf9604
Bug 1788931 - Convert browser/actors/BrowserProcessChild.jsm JSM module to ESM. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D157058
2022-09-12 16:41:52 +00:00
achris16
8eb399bdd5
Bug 1788765 - Convert browser/actors/AboutNewTab* JSM modules to ESMs r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D157055
2022-09-12 16:29:09 +00:00
Butkovits Atila
5bfdbba6f3
Backed out changeset 2de7cd4077e4 (bug 1790276) as requested by Gijs. CLOSED TREE
2022-09-12 16:36:23 +03:00
steven100695
ba203fc6e9
Bug 1790276 - Convert browser/actors/EncryptedMedia* JSM modules to ESMs. r=Gijs.
...
Differential Revision: https://phabricator.services.mozilla.com/D157087
2022-09-12 10:31:55 +00:00
Brian
b34f9afb6d
Bug 1788776 - Convert screenshots component from JSM to ESM. r=niklas.
...
Differential Revision: https://phabricator.services.mozilla.com/D157038
2022-09-11 19:08:38 +00:00
Zach Harris
58d835dcb9
Bug 1788769 - Convert AboutPlugins from JSM to ESM. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D157032
2022-09-11 16:36:02 +00:00
achris16
3cc2343b5d
Bug 1788927 - Convert browser/actors/AboutTabCrashed* JSM modules to ESMs. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D157042
2022-09-10 21:58:40 +00:00
Norisz Fay
3e9cb459c7
Backed out changeset 4e5771f93acb (bug 1788769) for causing bc failures on browser_all_files_referenced.js CLOSED TREE
2022-09-10 22:19:01 +03:00
Zach Harris
1f3d16b53d
Bug 1788769 - Convert AboutPlugins from JSM to ESM. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D157032
2022-09-10 18:15:05 +00:00
Emilio Cobos Álvarez
269239207c
Bug 1709027 - Listen to popuphidden in FormValidationParent. r=Gijs
...
This ensures that by the time we null out this._panel, we can call openPopup
again properly, which the opening code relies on.
Differential Revision: https://phabricator.services.mozilla.com/D156427
2022-09-09 19:58:02 +00:00
Butkovits Atila
59d03e0b1d
Backed out 2 changesets (bug 1676492) for causing failures at test_navigation.py. CLOSED TREE
...
Backed out changeset 09fd88048f35 (bug 1676492)
Backed out changeset bc76e6966ec9 (bug 1676492)
2022-08-30 20:56:51 +03:00
Neil Deakin
444a492608
Bug 1676492, create a special blank tab page that will show the bookmarks toolbar when 'Only Show on New Tab' is used' even when the new tab page is disabled, r=Gijs,Mardak
...
Differential Revision: https://phabricator.services.mozilla.com/D154319
2022-08-30 14:02:01 +00:00
Mark Banner
fb7f9b8a58
Bug 1786899 - Remove unused uri argument to BrowserSearch.addEngine. r=jteow
...
Differential Revision: https://phabricator.services.mozilla.com/D155498
2022-08-26 07:55:44 +00:00
Paul Zuehlcke
3e16fc7823
Bug 1751481 - Enable felt privacy features by default and integrate with Nimbus. r=dao,preferences-reviewers,Gijs
...
Depends on D155013
Differential Revision: https://phabricator.services.mozilla.com/D155065
2022-08-25 11:17:39 +00:00
Hannah Peuckmann
98b9d1180b
Bug 1609578 - No temporary block permission for trustworthy sites. r=jib,pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D150723
2022-08-23 15:05:36 +00:00
Daisuke Akatsuka
89363bdad7
Bug 1784242: Make opening in new tab by middle click target for inheritance of sponsored session. r=daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D154486
2022-08-16 04:38:46 +00:00
Daisuke Akatsuka
9a83490432
Bug 1784369: Make opening in new window target for inheritance of sponsored sessions. r=daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D154483
2022-08-16 00:41:01 +00:00
Norisz Fay
b1df28edbf
Backed out 3 changesets (bug 1784369, bug 1784242) for causing node newtab failures CLOSED TREE
...
Backed out changeset f19a8a76a85b (bug 1784242)
Backed out changeset 0722fc4bb4fa (bug 1784242)
Backed out changeset 2d4131b0ca28 (bug 1784369)
2022-08-16 03:19:32 +03:00
Daisuke Akatsuka
b5a1b4881b
Bug 1784242: Make opening in new tab by middle click target for inheritance of sponsored session. r=daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D154486
2022-08-15 23:45:33 +00:00
Daisuke Akatsuka
05112fc891
Bug 1784369: Make opening in new window target for inheritance of sponsored sessions. r=daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D154483
2022-08-15 23:45:32 +00:00
Andrew McCreight
ce22b38b5f
Bug 1784397 - Remove Core:: Plug-ins from BUG_COMPONENT. r=handyman DONTBUILD
...
dom/ and dom/webidl/ : Default these files back to DOM: Core & HTML
PluginChild.jsm: Apparently this is only still used for GMP things.
browser/base/content/ : The remaining tests are mostly EME related, so I switched it over to that.
widget/tests/ : No plugin files remain, so I removed the rule.
Differential Revision: https://phabricator.services.mozilla.com/D154537
2022-08-12 22:39:41 +00:00
Greg Tatum
9e7bde31d8
Bug 1782578 - Build out the text recognition modal r=nordzilla,fluent-reviewers,Jamie,flod
...
This patch contains the bulk of the implementation of the modal. Most of
it is UI work and wiring together the various components. There is a bit
of complexity in the clustering algorithm, as I implemented the DBSCAN
algorithm to help cluster the text recognition results.
I filed Bug 1782586 to improve the DBSCAN algorithm, but currently it
works the same as the algorithm is described on Wikipedia.
Note that the tests are in the following patch in order to keep the line
count small for this patch.
Differential Revision: https://phabricator.services.mozilla.com/D153396
2022-08-10 19:38:45 +00:00
Norisz Fay
8bc30afa79
Backed out 6 changesets (bug 1782578, bug 1782579) for causing mochitest failures on browser_parsable_css.js CLOSED TREE
...
Backed out changeset bdb42cfe6213 (bug 1782579)
Backed out changeset 5f17ee4cc4df (bug 1782578)
Backed out changeset 4f969d46dd37 (bug 1782578)
Backed out changeset b4c51d1ffa99 (bug 1782578)
Backed out changeset 98d0d6bcd37b (bug 1782578)
Backed out changeset 8332d678079e (bug 1782578)
2022-08-10 20:19:31 +03:00
Greg Tatum
b218d4bcca
Bug 1782578 - Build out the text recognition modal r=nordzilla,fluent-reviewers,Jamie,flod
...
This patch contains the bulk of the implementation of the modal. Most of
it is UI work and wiring together the various components. There is a bit
of complexity in the clustering algorithm, as I implemented the DBSCAN
algorithm to help cluster the text recognition results.
I filed Bug 1782586 to improve the DBSCAN algorithm, but currently it
works the same as the algorithm is described on Wikipedia.
Note that the tests are in the following patch in order to keep the line
count small for this patch.
Differential Revision: https://phabricator.services.mozilla.com/D153396
2022-08-10 16:08:45 +00:00
Edgar Chen
4386da44be
Bug 1780348
- Exit fullscreen if DOMFullscreenChild is not able to continue the fullscreen transition; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D153807
2022-08-08 20:06:32 +00:00
Gijs Kruitbosch
5a8ff2c0b4
Bug 923514 - add plaintext paste (paste without formatting) item to page context menu for richtext / contenteditable inputs, r=bgrins,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D153457
2022-08-08 18:33:45 +00:00
Daisuke Akatsuka
fe1785170f
Bug 1776609: Record source and triggeringPlaceId for sponsored tile on newtab. r=mak,geckoview-reviewers,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D150729
2022-08-01 00:27:50 +00:00
Butkovits Atila
665e518c7f
Backed out 2 changesets (bug 1776609) for causing failures at browser_topsites_annotation.js. CLOSED TREE
...
Backed out changeset cac795fd16d2 (bug 1776609)
Backed out changeset 88ec1cca8540 (bug 1776609)
2022-08-01 00:52:35 +03:00
Daisuke Akatsuka
971ff4bfb6
Bug 1776609: Record source and triggeringPlaceId for sponsored tile on newtab. r=mak,geckoview-reviewers,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D150729
2022-07-31 20:26:30 +00:00
Butkovits Atila
900cbd85bd
Backed out 2 changesets (bug 1776609) for causing gtest failures. CLOSED TREE
...
Backed out changeset 7630fea97777 (bug 1776609)
Backed out changeset 426cbe0fac73 (bug 1776609)
2022-07-29 13:42:33 +03:00
Daisuke Akatsuka
7c02dae76f
Bug 1776609: Record source and triggeringPlaceId for sponsored tile on newtab. r=mak,geckoview-reviewers,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D150729
2022-07-29 09:24:28 +00:00
Mark Banner
8a275d4d92
Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-26 15:11:30 +00:00
smolnar
dc4f2d6a41
Backed out 5 changesets (bug 1780017, bug 1780347) for causing bc failures in browser/base/content/test/performance/browser_preferences_usage.js CLOSED TREE
...
Backed out changeset 86c3a9142535 (bug 1780347)
Backed out changeset 35abe35417a0 (bug 1780017)
Backed out changeset f448f044f028 (bug 1780017)
Backed out changeset a400cbe83084 (bug 1780017)
Backed out changeset 0a23c9e27f01 (bug 1780017)
2022-07-25 21:00:07 +03:00
Mark Banner
539b5dac0d
Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-25 12:46:48 +00:00
Mark Banner
4bfafd41fa
Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 22:34:21 +00:00
smolnar
102b779608
Backed out 8 changesets (bug 1779982, bug 1780017, bug 1780347) for causing doc generate failures. CLOSED TREE
...
Backed out changeset 3f22c0f99cf1 (bug 1780347)
Backed out changeset 6f20b7e4b21b (bug 1780017)
Backed out changeset ae6062c69aeb (bug 1780017)
Backed out changeset e668d7778d97 (bug 1780017)
Backed out changeset e158fc41594b (bug 1780017)
Backed out changeset d4c69c956271 (bug 1779982)
Backed out changeset 145212fd826d (bug 1779982)
Backed out changeset 54079aaa1857 (bug 1779982)
2022-07-20 22:43:53 +03:00
Mark Banner
fd37e0e9da
Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-20 15:50:42 +00:00
Mark Banner
23086da9b9
Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 15:50:40 +00:00
Iulian Moraru
1108246986
Backed out 7 changesets (bug 1779982, bug 1780017) for causing multiple failures. CLOSED TREE
...
Backed out changeset f33a58aa2f3f (bug 1780017)
Backed out changeset e21c85d61b91 (bug 1780017)
Backed out changeset 213ee5578e7c (bug 1780017)
Backed out changeset ea9b3bf42ea1 (bug 1780017)
Backed out changeset d2d8530f3c4d (bug 1779982)
Backed out changeset 088e5148c307 (bug 1779982)
Backed out changeset 267e08f3868a (bug 1779982)
2022-07-20 15:44:53 +03:00
Iulian Moraru
3c09fc13df
Backed out 3 changesets (bug 1780074, bug 1780347) for causing multiple failures. CLOSED TREE
...
Backed out changeset ee4c4d34816c (bug 1780347)
Backed out changeset a13d3939b98a (bug 1780074)
Backed out changeset 3bc739f7de43 (bug 1780074)
2022-07-20 14:57:48 +03:00
Mark Banner
3ad13294d8
Bug 1780074 - Migrate newtab consumers to use ESM imports directly. r=daleharvey,application-update-reviewers,nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D152114
2022-07-20 10:36:52 +00:00
Mark Banner
ac90e83952
Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-20 10:36:51 +00:00
Mark Banner
e84aaa1b85
Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 10:36:49 +00:00
Mark Banner
5a872b77c5
Bug 1779981 - Migrate search consumers to use ESM imports directly. r=mcheang,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D152001
2022-07-19 17:12:43 +00:00
Gijs Kruitbosch
92d44f3713
Bug 1737043 - add a suggestion for 'example.com' in the network error page for 'example', r=mak,eemeli,desktop-theme-reviewers,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D129156
2022-07-19 03:27:18 +00:00
Iulian Moraru
5e7070f988
Backed out changeset 89d291a9ee9b (bug 1737043) for causing xpcshell failures on test_URIFixup_check_host.js. CLOSED TREE
2022-07-17 20:47:23 +03:00
Gijs Kruitbosch
393bdf2f46
Bug 1737043 - add a suggestion for 'example.com' in the network error page for 'example', r=mak,eemeli,desktop-theme-reviewers,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D129156
2022-07-17 16:48:44 +00:00
Tooru Fujisawa
54623364da
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-12 04:21:34 +00:00
Andreea Pavel
7738a75fdd
Backed out 11 changesets (Bug 1777486) for failing bc at browser_startup.js on a CLOSED TREE
...
Backed out changeset b6c4c386f1a6 (Bug 1777486)
Backed out changeset 195cc2de8433 (Bug 1777486)
Backed out changeset 20c746fb1648 (Bug 1777486)
Backed out changeset d5fd8173d62d (Bug 1777486)
Backed out changeset 6d758fab5a3e (Bug 1777486)
Backed out changeset e938b601ba15 (Bug 1777486)
Backed out changeset 0c4ea0b9416b (Bug 1777486)
Backed out changeset 0559c53cc668 (Bug 1777486)
Backed out changeset eea573d3a9f9 (Bug 1777486)
Backed out changeset 9ce3a6496a49 (bug 1777486)
Backed out changeset b0867652fc48 (bug 1777486)
2022-07-11 22:24:40 +03:00
Tooru Fujisawa
8cd6ed7409
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-11 15:09:13 +00:00
Tooru Fujisawa
f3a8c52c53
Bug 1667455 - Part 4: Stop importing Services.jsm from JSM. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,pip-reviewers,twisniewski,devtools-reviewers,m_kato,jdescottes,ochameau,mconley,sfoster,AlexandruIonescu
...
Differential Revision: https://phabricator.services.mozilla.com/D150893
2022-07-11 12:41:50 +00:00
Barret Rennie
bef7b11ec0
Bug 1776471 - Stop using NimbusFeature.isEnabled for aboutwelcome r=thecount
...
Differential Revision: https://phabricator.services.mozilla.com/D150685
2022-07-09 16:19:46 +00:00
Calixte
981db3428b
Bug 1777695 - Add some entries in the context menu when editing a PDF r=mconley
...
It adds the entries Undo, Redo, Cut, Copy, Paste, Delete and Select all,
only when the pdf editing mode is enabled.
Differential Revision: https://phabricator.services.mozilla.com/D151122
2022-07-08 08:27:18 +00:00
Mike Conley
5a69613d97
Bug 1778204 - More reliably get at the outerWindowID of the root window in LightweightConsumerChild.jsm. r=sclements,dthayer
...
The other mechanism was working fine for sidebars, but falls over as soon as we
have a normal browser running in the parent process in the main content area.
This will also be helpful if / when we decide to support themes in about:preferences,
about:config, and other parent-process pages.
Differential Revision: https://phabricator.services.mozilla.com/D151059
2022-07-06 16:54:56 +00:00
Niklas Baumgardner
81b03359c6
Bug 1772181 - Screenshot overlay is now scrollable. r=sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D148071
2022-06-30 21:14:54 +00:00
Emilio Cobos Álvarez
bd09497378
Bug 1372276 - Remove HTML menuitem. r=smaug,mconley,agi
...
This removes HTMLMenuItemElement and all the code and tests preffed off
by dom.menuitem.enabled.
The HTML parser changes are the result of applying the previous patch.
Differential Revision: https://phabricator.services.mozilla.com/D149979
2022-06-22 22:31:42 +00:00
Tooru Fujisawa
4842565434
Bug 1608282 - Part 3: Remove Cu.importGlobalProperties from JSM. r=extension-reviewers,kmag
...
Depends on D149195
Differential Revision: https://phabricator.services.mozilla.com/D149196
2022-06-16 00:19:54 +00:00
Butkovits Atila
8218713aac
Backed out 4 changesets (bug 1608282) for causing hazard failures. CLOSED TREE
...
Backed out changeset 32aebc8be201 (bug 1608282)
Backed out changeset 37c970364269 (bug 1608282)
Backed out changeset ced8d82cc2d2 (bug 1608282)
Backed out changeset e26e480c7dd6 (bug 1608282)
2022-06-16 03:10:02 +03:00
Tooru Fujisawa
26d5bfebf1
Bug 1608282 - Part 3: Remove Cu.importGlobalProperties from JSM. r=extension-reviewers,kmag
...
Depends on D149195
Differential Revision: https://phabricator.services.mozilla.com/D149196
2022-06-15 20:34:35 +00:00
Tom Schuster
f2caf19094
Bug 1738694 - Pass around hasValidUserGestureActivation and fromExternal when opening links from the UI or command-line. r=Gijs,edgar
...
Differential Revision: https://phabricator.services.mozilla.com/D147515
2022-06-15 19:01:02 +00:00
Dan Mosedale
6799a67305
Bug 1748214 - Remove private browsing Nimbus feature, r=pdahiya,barret
...
Differential Revision: https://phabricator.services.mozilla.com/D146474
2022-06-15 16:03:17 +00:00
Sergey Galich
dcb4c6bf19
Bug 1773832 - Refactor LoginManagerChild: getFieldContext r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D149007
2022-06-14 16:15:09 +00:00
Tooru Fujisawa
9314e040b0
Bug 1772007 - Part 1: Use plain object for lazy getter in browser/actors/. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D148007
2022-06-06 18:59:44 +00:00
Tooru Fujisawa
4f96aa80b2
Bug 1772360 - Remove unnecessary call for XPCOMUtils.defineLazyGlobalGetters. r=florian,webdriver-reviewers,webcompat-reviewers,denschub,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D148168
2022-06-06 04:42:10 +00:00
Tooru Fujisawa
f7650958c8
Bug 1772313 - Part 7: Stop calling XPCOMUtils.defineLazyModuleGetters for Services. r=kmag,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D148160
2022-06-06 04:42:06 +00:00
Tooru Fujisawa
2dcfd09f81
Bug 1772313 - Part 5: Stop calling ChromeUtils.defineModuleGetter for Services. r=kmag,webcompat-reviewers,pip-reviewers,denschub,mhowell
...
Differential Revision: https://phabricator.services.mozilla.com/D148158
2022-06-06 04:42:06 +00:00
Molnar Sandor
77402a5caa
Backed out 15 changesets (bug 1772313, bug 1772351, bug 1772360) for causing xpc failures in telemetry/tests/unit/test_SocketScalars.js CLOSED TREE
...
Backed out changeset c8b0a2ed239e (bug 1772360)
Backed out changeset 1922adad6abe (bug 1772351)
Backed out changeset 6d3634cce489 (bug 1772351)
Backed out changeset f03968a9d053 (bug 1772351)
Backed out changeset e7a38ef90fe4 (bug 1772351)
Backed out changeset b389e7654771 (bug 1772313)
Backed out changeset 59a33598ff51 (bug 1772313)
Backed out changeset ab60885a8a93 (bug 1772313)
Backed out changeset aad8efac9d05 (bug 1772313)
Backed out changeset 4378e519a8e7 (bug 1772313)
Backed out changeset 302ac54741f8 (bug 1772313)
Backed out changeset 74c59f9fd51c (bug 1772313)
Backed out changeset 575fb877c56c (bug 1772313)
Backed out changeset 2eaa68f10b19 (bug 1772313)
Backed out changeset 4a8b3ba193dc (bug 1772313)
2022-06-06 07:04:25 +03:00
Tooru Fujisawa
c7229a1a17
Bug 1772360 - Remove unnecessary call for XPCOMUtils.defineLazyGlobalGetters. r=florian,webdriver-reviewers,webcompat-reviewers,denschub,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D148168
2022-06-06 02:49:14 +00:00
Tooru Fujisawa
fc45e50920
Bug 1772313 - Part 7: Stop calling XPCOMUtils.defineLazyModuleGetters for Services. r=kmag,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D148160
2022-06-06 02:49:10 +00:00
Tooru Fujisawa
da1905e641
Bug 1772313 - Part 5: Stop calling ChromeUtils.defineModuleGetter for Services. r=kmag,webcompat-reviewers,pip-reviewers,denschub,mhowell
...
Differential Revision: https://phabricator.services.mozilla.com/D148158
2022-06-06 02:49:10 +00:00
Greg Tatum
eb3e44ad22
Bug 1759504 - Prototype a menu button click demo for text recognition r=fluent-reviewers,emilio,nordzilla,flod
...
Co-Authored-By: Emilio Cobos Álvarez <emilio@crisal.io>
Co-Authored-By: Greg Tatum <tatum.creative@gmail.com>
Depends on D140874
Differential Revision: https://phabricator.services.mozilla.com/D140875
2022-06-03 16:01:32 +00:00
criss
6362d2b06a
Backed out 7 changesets (bug 1759504) for causing Android build bustages on NodeListBinding.cpp
...
Backed out changeset d1f1173aecfc (bug 1759504)
Backed out changeset a14a874c57b0 (bug 1759504)
Backed out changeset b9beaecf9708 (bug 1759504)
Backed out changeset dc1be2f0e0b6 (bug 1759504)
Backed out changeset a0b089fb747b (bug 1759504)
Backed out changeset b5f762f1f22e (bug 1759504)
Backed out changeset a21b8153ca2a (bug 1759504)
2022-06-02 19:52:05 +03:00
Greg Tatum
3bd6018cb4
Bug 1759504 - Prototype a menu button click demo for text recognition r=fluent-reviewers,emilio,nordzilla,flod
...
Co-Authored-By: Emilio Cobos Álvarez <emilio@crisal.io>
Co-Authored-By: Greg Tatum <tatum.creative@gmail.com>
Depends on D140874
Differential Revision: https://phabricator.services.mozilla.com/D140875
2022-06-02 14:31:41 +00:00
Tooru Fujisawa
7119718780
Bug 1771463 - Do not export lazy getter "fxAccounts" from services/fxaccounts/FxAccounts.jsm. r=markh,preferences-reviewers,Mardak
...
Instead of exporting lazy getter, export a function that returns the FxAccount
singleton, lazily creating on the first call, and define the lazy getter on the
consumer side that calls the function.
Differential Revision: https://phabricator.services.mozilla.com/D147634
2022-05-31 14:09:10 +00:00
Cosmin Sabou
290da6c4fc
Backed out changeset 697ab99d1c61 (bug 1771463) for causing node newtab failures. CLOSED TREE
2022-05-31 07:16:41 +03:00
Tooru Fujisawa
cb429a0be1
Bug 1771463 - Do not export lazy getter "fxAccounts" from services/fxaccounts/FxAccounts.jsm. r=markh,preferences-reviewers
...
Instead of exporting lazy getter, export a function that returns the FxAccount
singleton, lazily creating on the first call, and define the lazy getter on the
consumer side that calls the function.
Differential Revision: https://phabricator.services.mozilla.com/D147634
2022-05-31 03:12:22 +00:00
Tooru Fujisawa
441904c318
Bug 1771460 - Part 2: Remove redundant global variable that conflicts with lazy getter. r=Standard8,webdriver-reviewers
...
Depends on D147592
Differential Revision: https://phabricator.services.mozilla.com/D147593
2022-05-30 20:50:21 +00:00
Punam Dahiya
58f2a36893
Bug 1765907 - PBM experiment message should override default promo message r=mviar
...
Differential Revision: https://phabricator.services.mozilla.com/D144871
2022-05-12 18:24:06 +00:00
mcheang
389af0e975
Bug 1673868 - Fix inconsistent Telemetry reporting on SERP for DuckDuckGo with ads. r=Standard8
...
DuckDuckGo SERP ads were inconsistently recorded. When the ad was loaded onto
the page after 1000ms, the ad was not recorded by Telemetry. Network delays can
cause the ad to be loaded later. To fix this, we detect two events,
DOMContentloaded and load event. If the ad is not counted on DOMContentloaded
we count the ad on load event when the whole page is loaded.
Differential Revision: https://phabricator.services.mozilla.com/D145424
2022-05-11 00:12:51 +00:00
Cristian Tuns
6c334e2b06
Backed out changeset eb12cdc5d1e8 (bug 1765907) for causing mochitest failures on browser_privatebrowsing_focus_promo.js CLOSED TREE
2022-05-10 14:38:02 -04:00
Punam Dahiya
815ffe3c32
Bug 1765907 - PBM experiment message should override default promo message r=mviar
...
Differential Revision: https://phabricator.services.mozilla.com/D144871
2022-05-10 17:12:05 +00:00
Cristian Tuns
8cfd67eb97
Backed out changeset 297265ab08f0 (bug 1765907) for causing mochitest failures on browser_privatebrowsing_protocolhandler.js CLOSED TREE
2022-05-06 22:14:21 -04:00
Punam Dahiya
357a53b495
Bug 1765907 - PBM experiment message should override default promo message r=mviar
...
Differential Revision: https://phabricator.services.mozilla.com/D144871
2022-05-07 00:38:09 +00:00
Niklas Baumgardner
9ada5c2e06
Bug 1741740 - Add draggable selection ui for screenshots component. r=sfoster,fluent-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D138494
2022-05-06 15:45:52 +00:00
Meg Viar
f5f23cdb0a
Bug 1766592 - [Experiment] The "Focus Promo" experiment message is wrongly displayed on the fist opened tab after it was dismissed r=pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D145015
2022-05-04 13:35:28 +00:00
Edgar Chen
177354af27
Bug 1756388; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D144193
2022-05-03 19:11:30 +00:00
Norisz Fay
8f626f6989
Backed out changeset 41bd981c3622 (bug 1651728) for causing bc failures on browser_readerMode_download.js CLOSED TREE
2022-04-22 01:33:29 +03:00
chadb
668bdfbf42
Bug 1651728 Remove reader mode toolbar from saved document. r=niklas,mtigley
...
Differential Revision: https://phabricator.services.mozilla.com/D138562
2022-04-21 17:57:51 +00:00
Gabriele Svelto
95e13b1839
Bug 1702509 - Add an annotation describing how a crash report was submitted r=KrisWright
...
Differential Revision: https://phabricator.services.mozilla.com/D143184
2022-04-21 12:43:11 +00:00
criss
e8d6d26858
Backed out changeset 5382bd66d8f7 (bug 1702509) for causing failures on browser_UnsubmittedCrashHandler.js . CLOSED TREE
2022-04-20 14:18:20 +03:00
Gabriele Svelto
08af3280d9
Bug 1702509 - Add an annotation describing how a crash report was submitted r=KrisWright
...
Differential Revision: https://phabricator.services.mozilla.com/D143184
2022-04-20 08:08:28 +00:00
Norisz Fay
d91a54a76c
Backed out changeset 0aae935c87e2 (bug 1651728) for causing Bug 1764182 CLOSED TREE
2022-04-12 11:32:26 +03:00
Tyler Kabaker
0736faf568
Bug 1134363 - Have Reader Mode use the same tab title as the normal browser view. r=niklas,mtigley
...
Differential Revision: https://phabricator.services.mozilla.com/D142281
2022-04-11 20:24:25 +00:00
chadb
0cd8a95d56
Bug 1651728 Remove reader mode toolbar from saved document. r=niklas,mtigley
...
Differential Revision: https://phabricator.services.mozilla.com/D138562
2022-04-11 19:06:45 +00:00
Kagami Sascha Rosylight
1409f37ca3
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-04-06 11:57:57 +00:00
Meg Viar
d8fd9d99de
Bug 1762242 - Conditionally show Private Browsing page Focus promo r=dmose
...
Differential Revision: https://phabricator.services.mozilla.com/D142551
2022-04-01 12:36:30 +00:00
Gijs Kruitbosch
9a914288ae
Bug 1759593 - prevent multiple actions also for modified-clicks on links, to prevent nested links causing multiple tabs to open, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D142467
2022-03-30 20:17:27 +00:00
criss
4eec7e25a3
Backed out 3 changesets (bug 1703953) for causing multiple failures. CLOSED TREE
...
Backed out changeset 871a1fac289e (bug 1703953)
Backed out changeset 8151244bda18 (bug 1703953)
Backed out changeset eaf6d4c353be (bug 1703953)
2022-03-29 17:01:58 +03:00
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
Edgar Chen
7ba0e26c7f
Bug 1556370
- Part 2: Implement reportValidity() of ElementInternals; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D130287
2021-12-09 18:06:04 +00:00
Edgar Chen
be408c368a
Bug 1742714 - Get rid of nsIFormSubmitObserver; r=geckoview-reviewers,agi,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D132091
2021-12-06 12:23:08 +00:00
Nihanth Subramanya
b53d383be3
Bug 1743148 - Call ensureCaptivePortalTab() directly from NetErrorParent instead of firing an obs notification. r=lyavor,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D132254
2021-12-04 01:49:43 +00:00
Butkovits Atila
13de1c3770
Backed out changeset dbd90d486efd (bug 1743148) for causing failures at browser_captivePortal_certErrorUI.js. CLOSED TREE
2021-12-04 01:07:26 +02:00
Nihanth Subramanya
77a737b1a4
Bug 1743148 - Call ensureCaptivePortalTab() directly from NetErrorParent instead of firing an obs notification. r=lyavor,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D132254
2021-12-03 21:52:41 +00:00
criss
67b2c3928c
Backed out changeset f03fa07c78df (bug 1743148) for causing failures on browser_captivePortal_certErrorUI.js. CLOSED TREE
2021-12-03 22:15:36 +02:00
Nihanth Subramanya
c80b5b3dfc
Bug 1743148 - Call ensureCaptivePortalTab() directly from NetErrorParent instead of firing an obs notification. r=lyavor,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D132254
2021-12-03 19:16:48 +00:00
Gijs Kruitbosch
f7af2c33b1
Bug 1742801 - do not consume the user gesture from ClickHandlerChild if ClickHandlerParent will ignore the click anyway, r=edgar
...
This commit does a couple of things:
- move whereToOpenLink and getRootEvent implementations into BrowserUtils,
so they can be used from the child process.
- forward callers in utilityOverlay.js to the BrowserUtils ones
(bug 1742889 will get rid of the forwarding and update all the callers;
we might be able to get this and bug 1739929 into beta if risk is low
enough, and touching a bunch of extra files really doesn't help with
that)
- move the lazy-load of BrowserUtils from browser.js to utilityOverlay.js
This is safe because everywhere that loads browser.js also loads
utilityOverlay.js. It's needed because there are some places that use
utilityOverlay.js but not browser.js, and so now they need access to
BrowserUtils.jsm.
- use whereToOpenLink to determine if we should avoid consuming the transient
user gesture activation in the child click handling code.
- add an automated test based on the testcase in the bug.
When working on this, I initially put the check using whereToOpenLink in
the toplevel of the function, and then when I ran places test to check that
I hadn't broken any places consumers of whereToOpenLink or getRootEvent,
realized that I had broken `browser_markPageAsFollowedLink.js`, because it
relies on "normal" (ie no modifier key, left button) link clicks making it
to ClickHandlerParent.jsm . I filed bug 1742894 about this. I've not tried
to fix that here, instead I've tried to ensure that paths through this
function are as untouched as possible while still fixing bug 1739929 and
bug 1742801.
Differential Revision: https://phabricator.services.mozilla.com/D132102
2021-11-25 22:49:00 +00:00
Emilio Cobos Álvarez
2dca36cb25
Bug 502258 - Add a Show Password button to <input type=password> controls. r=Gijs
...
It's controlled by the pref:
layout.forms.input-type-show-password-button.enabled
Differential Revision: https://phabricator.services.mozilla.com/D130407
2021-11-25 20:12:05 +00:00
Gijs Kruitbosch
f21d1c79e5
Bug 1739929 - allow untrusted click/auxclick events to open one link per transient user gesture, r=edgar
...
Differential Revision: https://phabricator.services.mozilla.com/D131868
2021-11-23 11:55:28 +00:00
Sam Foster
861b4bbc43
Bug 1736429 - Set up jswindowactors for screenshots and pass dimensions and scroll offsets from the child. r=mconley,sfoster
...
* Add jswindowactors for the Screenshots component, to facilitate communication between the UI (lives in the parent) and the content document.
* Fetch content document dimensions/offsets with e.g: `ScreenshotsUtils.fetchContentBounds(gBrowser.selectedBrowser)`.
Differential Revision: https://phabricator.services.mozilla.com/D129326
2021-11-19 15:25:19 +00:00
Gabriel Luong
c7a4bab1b6
Bug 1732219 - Add API for fetching the preview image. r=geckoview-reviewers,agi,mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D128815
2021-10-22 06:04:04 +00:00
Narcis Beleuzu
d9da4a1ac6
Backed out changeset bd57366e61d8 (bug 1732219) for bc failures on browser_bad_meta_tags.js. CLOSED TREE
2021-10-22 00:46:39 +03:00
Gabriel Luong
4f70f62317
Bug 1732219 - Add API for fetching the preview image. r=geckoview-reviewers,agi,mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D128815
2021-10-21 18:48:49 +00:00
Gijs Kruitbosch
73383ab243
Bug 1366818, r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D122785
2021-10-13 08:57:35 +00:00
Edgar Chen
e972aacfe6
Bug 1730750 - Exit fullscreen when the inner window is no longer active; r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D127528
2021-10-08 13:03:09 +00:00
Jan-Ivar Bruaroey
a39f42b2b7
Bug 1723703 - let permission interfere with device selection once again, unless inherent constraints are present. r=pbz,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D123534
2021-09-30 20:15:35 +00:00
Gavin Lazar Suntop
2f6a4680e7
Bug 1726385 - CTA + Recs variant r=thecount
...
Differential Revision: https://phabricator.services.mozilla.com/D123679
2021-09-28 18:12:17 +00:00
Cosmin Sabou
be9ce24188
Backed out changeset 057837ff9cbc (bug 1726385) for bc failures on browser_all_files_referenced.js.
2021-09-23 20:22:01 +03:00
Gavin Lazar Suntop
98d9f44d85
Bug 1726385 - CTA + Recs variant r=thecount
...
Differential Revision: https://phabricator.services.mozilla.com/D123679
2021-09-23 16:20:34 +00:00
Dão Gottwald
a1585362ad
Bug 1719203 - Let "Copy Image Link" use the original URL before redirects. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D125849
2021-09-22 16:54:53 +00:00
Gijs Kruitbosch
73d64dd98b
Bug 1726621 - ensure form validation popup always hides on tabswitches, navigations, etc., r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D124268
2021-09-22 10:12:24 +00:00
Butkovits Atila
d5be1941f3
Backed out changeset 724917f8288f (bug 1726621) for causing failures at browser_doorhanger_remembering.js. CLOSED TREE
2021-09-21 01:37:49 +03:00
Gijs Kruitbosch
55ef0cdf8b
Bug 1726621 - ensure form validation popup always hides on tabswitches, navigations, etc., r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D124268
2021-09-20 19:46:23 +00:00
Neil Deakin
a62618baa7
Bug 1690390, change appendNotification to take a smaller number of arguments: the string type value, a dictionary containing the notification details, and the button list, r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D107755
2021-09-17 09:04:59 +00:00
Narcis Beleuzu
72152613c6
Backed out 3 changesets (bug 1690390) for mochitest failures on test_notificationbox.xhtml . CLOSED TREE
...
Backed out changeset e6404b7424cd (bug 1690390)
Backed out changeset a161177099af (bug 1690390)
Backed out changeset cc7e02d3d418 (bug 1690390)
2021-09-16 23:41:21 +03:00
Neil Deakin
82501df9f7
Bug 1690390, change appendNotification to take a smaller number of arguments: the string type value, a dictionary containing the notification details, and the button list, r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D107755
2021-09-16 19:11:17 +00:00
Punam Dahiya
92710b365d
Bug 1729766 - Update about:privatebrowsing with VPN promo r=Mardak,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D125206
2021-09-16 15:25:47 +00:00
Emilio Cobos Álvarez
459a0551b8
Bug 1730625 - Walk the flat tree to search for links. r=smaug
...
Also make some other context-menu code a lot more straight-forward, and
remove some enabledness checks now that shadow dom can't be disabled.
Differential Revision: https://phabricator.services.mozilla.com/D125487
2021-09-14 10:26:46 +00:00
André Bargull
57f47703d6
Bug 1639515 - Part 3: Port mozIntl.getDisplayNames users to mozIntl.DisplayNames. r=platform-i18n-reviewers,gregtatum
...
Update callers to the previous `mozIntl.getDisplayNames` function to use
`mozIntl.DisplayNames`.
Differential Revision: https://phabricator.services.mozilla.com/D76115
2021-09-14 09:20:32 +00:00