Gijs Kruitbosch
e36520f140
Bug 1818026 - move gPageStyleMenu to its own file, r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D170544
2023-02-24 09:07:46 +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
John Schanck
b4a997d06e
Bug 1817700 - WebAuthn prompt escAction should cancel transaction. r=keeler
...
Differential Revision: https://phabricator.services.mozilla.com/D170665
2023-02-23 05:57:33 +00:00
Mark Hammond
42a8237945
Bug 1359861 - allow reader-mode tabs to be shared. r=Gijs,skhamis
...
Differential Revision: https://phabricator.services.mozilla.com/D170186
2023-02-22 03:58:11 +00:00
Norisz Fay
a7ceb10f1f
Backed out changeset d82c03e04249 (bug 1359861) for causing xpcshell failure on test_BrowserUtils.js CLOSED TREE
2023-02-22 00:05:07 +02:00
Mark Hammond
f48ea32bf5
Bug 1359861 - allow reader-mode tabs to be shared. r=Gijs,skhamis
...
Differential Revision: https://phabricator.services.mozilla.com/D170186
2023-02-21 21:04:10 +00:00
DJ
e46a10cfaf
Bug 1817941 - fix incorrect service mode setting when enrolling in CBH experiment. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D170490
2023-02-21 17:19:15 +00:00
Mark Banner
7a655466af
Bug 1817183 - Update consumers of services/fxaccounts to import ES modules directly. r=markh,settings-reviewers,credential-management-reviewers,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D170062
2023-02-17 16:34:43 +00:00
Emilio Cobos Álvarez
e5a2ef9202
Bug 1817381 - Fix MousePosTracker in presence of OS text scale. r=Gijs
...
In the past screenX etc didn't return CSS pixels properly, but now they
do and have for a while. Also the full zoom value of browser.xhtml is
always one, so this is only broken if we have OS text scale.
Depends on D170195
Differential Revision: https://phabricator.services.mozilla.com/D170196
2023-02-17 15:38:54 +00:00
Cristian Tuns
b3bf09cc0d
Backed out 6 changesets (bug 1816934, bug 1817182, bug 1817179, bug 1817183) for causing dt failures in browser_jsterm_autocomplete_null.js CLOSED TREE
...
Backed out changeset 17d4c013ed92 (bug 1817183)
Backed out changeset cfed8d9c23f3 (bug 1817183)
Backed out changeset 62fe2f589efe (bug 1817182)
Backed out changeset 557bd773fb85 (bug 1817179)
Backed out changeset 7f8a7865868b (bug 1816934)
Backed out changeset d6c1d4c0d2a0 (bug 1816934)
2023-02-17 10:51:33 -05:00
Emilio Cobos Álvarez
7b8e46d7ec
Bug 1817053 - Remove translation-notification.js and co completely. r=mconley,fluent-reviewers,gregtatum,flod
...
I double-checked that the extension works with this patch.
Differential Revision: https://phabricator.services.mozilla.com/D169992
2023-02-17 09:22:47 +00:00
Mark Banner
0ba34b9422
Bug 1817183 - Update consumers of services/fxaccounts to import ES modules directly. r=markh,settings-reviewers,credential-management-reviewers,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D170062
2023-02-17 09:01:45 +00:00
Jared Hirsch
5f00062eb0
Bug 1816464 - Decouple pref state from Nimbus experiment state for cookie banner handling. r=barret,Mardak
...
Differential Revision: https://phabricator.services.mozilla.com/D169837
2023-02-16 19:44:45 +00:00
Gijs Kruitbosch
48f5aa84bb
Bug 1810141 - fix tabbrowser.js and browser.js loadURI to match new webnavigation interfaces, r=dao
...
This moves the somewhat out-of-place `_loadURI` method and its dependencies
into tabbrowser, and deals with receiving either a string or a URI.
Depends on D168391
Differential Revision: https://phabricator.services.mozilla.com/D168392
2023-02-13 23:50:39 +00:00
Gijs Kruitbosch
9d7452a247
Bug 1810141 - update consumers of CanonicalBrowsingContext.loadURI to use fixup or pass a URI object if they have it, r=mak,webdriver-reviewers,whimboo
...
Depends on D168389
Differential Revision: https://phabricator.services.mozilla.com/D168390
2023-02-13 23:50:38 +00:00
Cristina Horotan
5f4356e527
Backed out 9 changesets (bug 1810141) for several test failures on a CLOSED TREE
...
Backed out changeset 8781a0d1254d (bug 1810141)
Backed out changeset 131037295784 (bug 1810141)
Backed out changeset 3852fbe290f4 (bug 1810141)
Backed out changeset 118f131a524a (bug 1810141)
Backed out changeset ab5d76846e10 (bug 1810141)
Backed out changeset dce3aa683445 (bug 1810141)
Backed out changeset 4dc41d90dbb3 (bug 1810141)
Backed out changeset 50b57ba1a061 (bug 1810141)
Backed out changeset 569de94781e4 (bug 1810141)
2023-02-13 16:05:30 +02:00
Gijs Kruitbosch
c7c3c6ad29
Bug 1810141 - fix tabbrowser.js and browser.js loadURI to match new webnavigation interfaces, r=dao
...
This moves the somewhat out-of-place `_loadURI` method and its dependencies
into tabbrowser, and deals with receiving either a string or a URI.
Depends on D168391
Differential Revision: https://phabricator.services.mozilla.com/D168392
2023-02-13 12:55:23 +00:00
Gijs Kruitbosch
e460aa10f3
Bug 1810141 - update consumers of CanonicalBrowsingContext.loadURI to use fixup or pass a URI object if they have it, r=mak,webdriver-reviewers,whimboo
...
Depends on D168389
Differential Revision: https://phabricator.services.mozilla.com/D168390
2023-02-13 12:55:22 +00:00
Mark Banner
cdf8548a04
Bug 1814931 - Convert services/sync imports to direct ES imports. r=markh,settings-reviewers,credential-management-reviewers,mconley,dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D168837
2023-02-13 11:44:29 +00:00
Gijs Kruitbosch
8a1165469e
Bug 1815439 - remove superfluous extra global loadURI method from browser.js, r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D168398
2023-02-07 14:22:02 +00:00
Gregory Pappas
b4f9754abc
Bug 1804357 - Implement browser.search.query r=robwu,search-reviewers,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D164700
2023-02-02 21:47:27 +00:00
Neil Deakin
9c2e7458ba
Bug 1776879, replace text/unicode for clipboard and drag and drop and use text/plain directly, r=edgar,mak,stransky,geckoview-reviewers,extension-reviewers,zombie,m_kato
...
Most usage is a straight replacement but gtk needs extra changes as it transfers plain text in UTF8 natively and needs to be converted into UTF16, and Windows uses single-byte characters for RTF and CF_HTML formats so we preserve this.
Differential Revision: https://phabricator.services.mozilla.com/D158587
2023-02-01 23:30:55 +00:00
Hannah Peuckmann
cb19af7145
Bug 791594 - Gray out content behind cross origin auth requests. r=pbz,Gijs,mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D164440
2023-01-31 18:16:53 +00:00
Olivier Tilloy
6b81196ea8
Bug 1792816 - Always update the search engine placeholder name. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D165795
2023-01-24 22:51:21 +00:00
William Durand
a1f393ad66
Bug 1799009 - Remove gUnifiedExtensions.isEnabled. r=rpl,mconley
...
Depends on D166923
Differential Revision: https://phabricator.services.mozilla.com/D166934
2023-01-23 10:39:29 +00:00
Edgar Chen
e5fe0a40c0
Bug 1796548 - Introduce a generic method to check clipboard capabilities in nsIClipboard; r=geckoview-reviewers,nika,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D166475
2023-01-16 19:50:17 +00:00
Mark Banner
d691c51a0d
Bug 1808173 - Convert prompts imports to direct ES imports. r=Gijs,webdriver-reviewers,necko-reviewers,application-update-reviewers,credential-management-reviewers,valentin,whimboo,dimi,bytesized
...
Differential Revision: https://phabricator.services.mozilla.com/D165794
2023-01-16 13:32:20 +00:00
Mark Banner
f35ab1379d
Bug 1808173 - Convert SharedPromptUtils.jsm to an ES module and rename it PromptUtils.sys.mjs. r=Gijs,credential-management-reviewers,dimi
...
Using shared no longer makes sense, as the non-shared parts in Prompter have been renamed as 'Utils'.
Differential Revision: https://phabricator.services.mozilla.com/D165792
2023-01-16 13:32:19 +00:00
Gijs Kruitbosch
73a24ef2a3
Bug 1781160 - fix container context menu appearing twice as a context menu, r=sdk
...
Differential Revision: https://phabricator.services.mozilla.com/D153365
2023-01-06 17:16:47 +00:00
Jonathan Sudiaman
853cd3535f
Bug 1801869 - Update Bookmarks Library panel to use editBookmark.js r=mak
...
Ensure that we can safely load `editBookmark.js` as the `gEditItemOverlay` instance without breaking the library panel. As the library does not currently support OK/Cancel operation, this does not perform any "delayed apply" logic, we simply save on blur as usual.
The tricky part was getting bulk tagging to work. With the current design of the `BookmarkState` class, it only supports modifying a **single** bookmark, and it will break when trying to add a tag to multiple bookmarks at once. This is where we left off with the previous revision... I believe in this case, it makes sense to simply revert back to the logic we had in `instantEditBookmark.js` to perform the bulk tag operation.
https://treeherder.mozilla.org/jobs?repo=try&revision=a1f58a770b16edd519da6e0d55e2f3c529d8f8de
Differential Revision: https://phabricator.services.mozilla.com/D164250
2023-01-05 18:20:13 +00:00
Gijs Kruitbosch
3762db01b9
Bug 1475606 - remove loadOneTab and switch its callers over, r=dao,perftest-reviewers,sparky
...
Depends on D165774
Differential Revision: https://phabricator.services.mozilla.com/D165775
2023-01-03 22:24:44 +00:00
Mark Banner
3a07fcf436
Bug 1806503 - Automatically replace Cu.reportError with console.error (browser/actors, browser/base). r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D165068
2022-12-27 10:08:58 +00:00
Gijs Kruitbosch
c453d031f5
Bug 1738190 - allow opening inline SVG background images in a new tab, r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D165454
2022-12-23 17:23:44 +00:00
Mark Banner
8730eec697
Bug 1806359 - Convert telemetry imports to direct ES imports. r=necko-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,janerik,mconley,sgalich,bytesized,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D165002
2022-12-23 12:37:07 +00:00
Valentin Gosu
df13492ee4
Bug 1596845 - Make DNSServices available as Services.dns r=necko-reviewers,webdriver-reviewers,kershaw
...
Depends on D164347
Differential Revision: https://phabricator.services.mozilla.com/D164856
2022-12-23 09:26:17 +00:00
Marian-Vasile Laza
56b22ee0ba
Backed out 9 changesets (bug 1596845) for causing xpcshell failures on test_trr_enterprise_policy.js. CLOSED TREE
...
Backed out changeset 231acfc052bb (bug 1596845 )
Backed out changeset 7d02dad4d720 (bug 1596845 )
Backed out changeset b0449eec2671 (bug 1596845 )
Backed out changeset 5cd033c9ef7c (bug 1596845 )
Backed out changeset 98d583f1d19e (bug 1596845 )
Backed out changeset b78bc0049605 (bug 1596845 )
Backed out changeset 88919aaff89b (bug 1596845 )
Backed out changeset f4adb3e7b8e1 (bug 1596845 )
Backed out changeset b171f7ac0b40 (bug 1596845 )
2022-12-23 09:21:39 +02:00
Valentin Gosu
6ca2987fe1
Bug 1596845 - Make DNSServices available as Services.dns r=necko-reviewers,webdriver-reviewers,kershaw
...
Depends on D164347
Differential Revision: https://phabricator.services.mozilla.com/D164856
2022-12-23 01:20:03 +00:00
Sandor Molnar
56d5efdcae
Backed out 9 changesets (bug 1596845) for causing mochitest failures in browser/base/content/test/about/browser_aboutCertError_telemetry.js
...
Backed out changeset eb1e34c3041f (bug 1596845 )
Backed out changeset af6d41439c60 (bug 1596845 )
Backed out changeset f1447dd8df04 (bug 1596845 )
Backed out changeset a383f2bbcaae (bug 1596845 )
Backed out changeset 950c66dd6133 (bug 1596845 )
Backed out changeset ab300239fd69 (bug 1596845 )
Backed out changeset 8e1fe024b680 (bug 1596845 )
Backed out changeset 80e5048d1f35 (bug 1596845 )
Backed out changeset b14a4910d73b (bug 1596845 )
2022-12-23 00:56:35 +02:00
Valentin Gosu
ff04cde9bd
Bug 1596845 - Make DNSServices available as Services.dns r=necko-reviewers,webdriver-reviewers,kershaw
...
Depends on D164347
Differential Revision: https://phabricator.services.mozilla.com/D164856
2022-12-22 21:16:07 +00:00
Danny Colin
980244d030
Bug 1796797 - Convert toolkit/components/contextualidentity JSM modules to ESMs r=baku,webdriver-reviewers,extension-reviewers,settings-reviewers,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D159945
2022-12-21 08:14:05 +00:00
James Teow
bc71e1a00e
Bug 1803056 - Prevent search tips from appearing when a new request is initiated - r=adw
...
Differential Revision: https://phabricator.services.mozilla.com/D164459
2022-12-20 13:37:06 +00:00
Sergey Galich
76c03dc337
Bug 1751763 - Firefox Relay integration r=dimi,flod,mconley,desktop-theme-reviewers,dao,sfoster,geckoview-reviewers,jonalmeida
...
Differential Revision: https://phabricator.services.mozilla.com/D158155
2022-12-16 18:41:58 +00:00
M. Sirringhaus
b83d2bb5c7
Bug 1804434 - Split register/sign dialog into pre- and post token selection dialog. r=jschanck,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D164071
2022-12-13 20:28:59 +00:00
Stanca Serban
73745e9411
Backed out changeset ad94b64c18cb (bug 1751763) for causing mochitests failures on browser_startup_images.js. CLOSED TREE
2022-12-13 10:29:08 +02:00
Sergey Galich
d6a7a0446a
Bug 1751763 - Firefox Relay integration r=dimi,flod,mconley,desktop-theme-reviewers,dao,sfoster,geckoview-reviewers,jonalmeida
...
Differential Revision: https://phabricator.services.mozilla.com/D158155
2022-12-13 03:09:18 +00:00
Mark Banner
53ce0faad1
Bug 1804661 - Convert browser/components/BrowserGlue.jsm to an ES module. r=Gijs,settings-reviewers,perftest-reviewers,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D164204
2022-12-12 14:59:18 +00:00
Iulian Moraru
ab4c6b8fed
Backed out changeset 2522b2da871e (bug 1751763) as per sgalich's request. CLOSED TREE
2022-12-09 22:35:41 +02:00
Sergey Galich
e7c0cc0b8d
Bug 1751763 - Firefox Relay integration r=dimi,flod,mconley,desktop-theme-reviewers,dao,sfoster,geckoview-reviewers,jonalmeida
...
Differential Revision: https://phabricator.services.mozilla.com/D158155
2022-12-09 17:41:16 +00:00