Commit graph

457 commits

Author SHA1 Message Date
Gijs Kruitbosch
45b168f625 Bug 1712840 - fix new tab context menu 'no container' entry so it actually works, and add tests, r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D116142
2021-05-27 18:44:19 +00:00
Daisuke Akatsuka
6b099d836c Bug 1710289: Avoid pasting the content of clipboard to urlbar upon clicking on new tab button and tab bar. r=masayuki,adw
Differential Revision: https://phabricator.services.mozilla.com/D114700
2021-05-11 04:58:40 +00:00
Markus Stange
111610af25 Bug 1704948 - Remove onclick handlers from menuitems, because menuitems now dispatch command events even on middle click. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D112046
2021-04-20 17:44:17 +00:00
Markus Stange
f1ced6e117 Bug 1704948 - Give XULCommandEvent a button property. r=smaug,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D111955
2021-04-20 17:44:16 +00:00
Narcis Beleuzu
daa77699e2 Backed out 7 changesets (bug 1704948, bug 1704879) for bc failures on browser_ext_menus_capture_secondary_click.js
Backed out changeset 02705918c4bf (bug 1704879)
Backed out changeset 79945b876a1d (bug 1704879)
Backed out changeset eb725de20b11 (bug 1704948)
Backed out changeset 454597ac2ba3 (bug 1704948)
Backed out changeset a43a8ef206ea (bug 1704948)
Backed out changeset 2369e321069e (bug 1704948)
Backed out changeset bdf396edd692 (bug 1704948)
2021-04-15 03:30:52 +03:00
Markus Stange
29f1d4389c Bug 1704948 - Remove onclick handlers from menuitems, because menuitems now dispatch command events even on middle click. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D112046
2021-04-14 21:23:28 +00:00
Markus Stange
81d211846c Bug 1704948 - Give XULCommandEvent a button property. r=smaug,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D111955
2021-04-14 21:23:27 +00:00
Emilio Cobos Álvarez
3e0cb7c68b Bug 1703289 - Make mixed content blocker use a session-persistent permission rather than ad-hoc code. r=ckerschb,smaug
This is more fission-compatible, and a lot simpler.

Differential Revision: https://phabricator.services.mozilla.com/D111480
2021-04-12 18:04:12 +00:00
Mike Conley
d4da30ccf4 Bug 1690573 - Migrate the report-site-issue UI access point to the Help menu. r=denschub,mixedpuppy,fluent-reviewers,webcompat-reviewers,flod
We're not 100% certain if Help is the right spot for this, but we're going
to give it a shot and see. If it turns out it _is_ the right spot, we'll
probably do something a little more self-contained, and less hacky.

I'm leaving the old .properties file just in case we change our mind here.
Yes, we'll want to port to Fluent anyways, but our ultimate choice of where
we put this thing is probably going to dictate where the string lives.

Differential Revision: https://phabricator.services.mozilla.com/D104832
2021-02-23 00:11:05 +00:00
Emma Malysz
9258625209 Bug 1690858: add safemode toggle to help menu r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D104747
2021-02-16 16:51:45 +00:00
Bernard Igiri
7900613fed Bug 1691433 - Remove check for updates option from application menus r=mconley,jaws,fluent-reviewers
Removing Check For Updates button from menu.

Differential Revision: https://phabricator.services.mozilla.com/D104548
2021-02-10 17:39:14 +00:00
Mike Conley
e9351a2745 Bug 1689632 - Simplify the Help menu a bit. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103489
2021-02-01 15:31:30 +00:00
Bernard Igiri
bb0ba02a14 Bug 1660848 - Add a check for updates option to application menus r=fluent-reviewers,jaws,harry,Gijs,flod,mkaply
Adding a check for updates option to the application menu, changing the about dialog styling to match the mockup, and adding a minimum delay to the checking for updates message.

Differential Revision: https://phabricator.services.mozilla.com/D95195
2021-01-15 14:26:58 +00:00
Bogdan Tara
47070cef21 Backed out changeset 8dc3f02e20ca (bug 1660848) for multiple mochitest failures CLOSED TREE 2021-01-12 03:22:03 +02:00
Bernard Igiri
f6d19cf7e6 Bug 1660848 - Add a check for updates option to application menus r=fluent-reviewers,jaws,harry,Gijs,flod,mkaply
Adding a check for updates option to the application menu, changing the about dialog styling to match the mockup, and adding a minimum delay to the checking for updates message.

Differential Revision: https://phabricator.services.mozilla.com/D95195
2021-01-11 22:37:05 +00:00
Tim Huang
9fadef5261 Bug 1679325 - Part 1: Making contentAreaUtils.saveURL to accept cookieJarSettings. r=smaug
This patch makes the contentAreaUtils.saveURL to be aware of the
cookieJarSettings, and updates all callers.

This also updates the documentation of the persistArgs
'cookieJarSettings' for internalPersist().

Differential Revision: https://phabricator.services.mozilla.com/D98455
2020-12-03 20:10:36 +00:00
Daisuke Akatsuka
df57cd5036 Bug 1641287: Focus on browser after keyup. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D92561
2020-10-26 05:30:44 +00:00
Dão Gottwald
fa66aaa560 Bug 1667882 - Allow about:crashcontent to load in a pinned tab. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D92034
2020-10-01 09:46:13 +00:00
Scott
e6fda71431 Bug 1667645 - fixing ctrl+click newtab link clicks focus issue r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91877
2020-09-30 13:50:09 +00:00
Rob Wu
070087f72c Bug 1657992 - Handle middle-click on long-press backForwardMenu only once + tests r=dao
Differential Revision: https://phabricator.services.mozilla.com/D86784
2020-08-12 14:50:42 +00:00
Kris Maglione
bd94db4e9a Bug 1580764: Part 2 - Use BrowsingContext IDs rather than window IDs to compute frame IDs. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D82464
2020-07-07 21:37:53 +00:00
Jared Wein
f5e23e91eb Bug 1638683 - When opening a PDF internally, the new tab should appear adjacent to the opening tab. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D75818
2020-05-20 14:28:04 +00:00
Jared Wein
3074d7ebb9 Bug 773942 - Open PDFs using pdf.js in a new tab when the Preview option is selected from the Unknown Content Type dialog. r=Gijs
This is currently preffed off behind the "browser.helperApps.showOpenOptionForPdfJS" pref.

Differential Revision: https://phabricator.services.mozilla.com/D72776
2020-05-16 05:59:43 +00:00
Narcis Beleuzu
35b6e759f7 Backed out 9 changesets (bug 773942) for xpcshell failure on test_getMIMEInfo_pdf.js
Backed out changeset 6fb0f25b2f5d (bug 773942)
Backed out changeset 27e9fe03a549 (bug 773942)
Backed out changeset ee0ecad5e90a (bug 773942)
Backed out changeset df062e14287b (bug 773942)
Backed out changeset 7da06239ccfb (bug 773942)
Backed out changeset dfedbeeaec66 (bug 773942)
Backed out changeset 286e1be9dc46 (bug 773942)
Backed out changeset f4df0a553bc0 (bug 773942)
Backed out changeset 97f3b96b6be0 (bug 773942)
2020-05-16 08:37:53 +03:00
Jared Wein
3ace9de33d Bug 773942 - Open PDFs using pdf.js in a new tab when the Preview option is selected from the Unknown Content Type dialog. r=Gijs
This is currently preffed off behind the "browser.helperApps.showOpenOptionForPdfJS" pref.

Differential Revision: https://phabricator.services.mozilla.com/D72776
2020-05-16 04:24:56 +00:00
Gijs Kruitbosch
1c0a1c9f3e Bug 1631358 - remove traces of CPOWs from browser/, testing/ and toolkit/, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D71510
2020-04-21 14:05:35 +00:00
Sander Van de Moortel
e948520730 Bug 266985 - Obey middlemouse.openNewWindow preference r=dao
Differential Revision: https://phabricator.services.mozilla.com/D70267

--HG--
extra : moz-landing-system : lando
2020-04-09 15:52:29 +00:00
Dão Gottwald
e938695219 Bug 1620536 - Move "Import from Another Browser" to the Help menu. r=Mardak,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D66551

--HG--
extra : moz-landing-system : lando
2020-03-13 17:29:15 +00:00
Mike Conley
8ba260392e Bug 1619992 - Split AboutNewTabService into AboutNewTabParentService and AboutNewTabChildService. r=perftest-reviewers,Mardak,sparky
This patch does the following:
* Moves most logic for initiating about:home / about:newtab into AboutNewTab.jsm
* Makes AboutNewTab the API surface for overriding the default about:newtab URLs.
* Reduces the surface of nsIAboutNewTabService, and makes the properties read-only
* Splits the remaining code in the nsIAboutNewTabService into an implementation for
  the parent process, and one for content processes.

This split will hopefully help reduce confusion about which code in
AboutNewTabService is running in which process.

Differential Revision: https://phabricator.services.mozilla.com/D65569

--HG--
rename : browser/components/newtab/test/xpcshell/test_AboutNewTabService.js => browser/components/newtab/test/xpcshell/test_AboutNewTab.js
extra : moz-landing-system : lando
2020-03-11 03:10:29 +00:00
Dorel Luca
6c6fc9f3dc Backed out changeset 9160f18bc24e (bug 1619992) for XPCshell failures in newtab/test/xpcshell/test_AboutNewTab.js
--HG--
rename : browser/components/newtab/test/xpcshell/test_AboutNewTab.js => browser/components/newtab/test/xpcshell/test_AboutNewTabService.js
2020-03-11 04:20:31 +02:00
Mike Conley
4cb59612e3 Bug 1619992 - Split AboutNewTabService into AboutNewTabParentService and AboutNewTabChildService. r=perftest-reviewers,Mardak,sparky
This patch does the following:
* Moves most logic for initiating about:home / about:newtab into AboutNewTab.jsm
* Makes AboutNewTab the API surface for overriding the default about:newtab URLs.
* Reduces the surface of nsIAboutNewTabService, and makes the properties read-only
* Splits the remaining code in the nsIAboutNewTabService into an implementation for
  the parent process, and one for content processes.

This split will hopefully help reduce confusion about which code in
AboutNewTabService is running in which process.

Differential Revision: https://phabricator.services.mozilla.com/D65569

--HG--
rename : browser/components/newtab/test/xpcshell/test_AboutNewTabService.js => browser/components/newtab/test/xpcshell/test_AboutNewTab.js
extra : moz-landing-system : lando
2020-03-11 01:25:31 +00:00
Gijs Kruitbosch
3738af45a4 Bug 1618379 - remove Web Replay (recordExecution/replayExecution) remnants from browser code, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D64747

--HG--
extra : moz-landing-system : lando
2020-02-28 16:03:08 +00:00
Dão Gottwald
3225b46d32 Bug 1607170 - Remove openNewTabWith, openNewWindowWith. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D58754

--HG--
extra : moz-landing-system : lando
2020-01-07 11:00:30 +00:00
Andreea Pavel
c4508fa4ad Backed out changeset 564b928b0203 (bug 1607170) for crashing browser_newWindowDrop.js on a CLOSED TREE 2020-01-06 16:31:37 +02:00
Dão Gottwald
3baab4766b Bug 1607170 - Remove openNewTabWith, openNewWindowWith. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D58754

--HG--
extra : moz-landing-system : lando
2020-01-06 12:41:19 +00:00
Emma Malysz
57215abe07 Bug 1601094, rename the remaining .xul files in browser/ to .xhtml r=marionette-reviewers,whimboo,mossop
Differential Revision: https://phabricator.services.mozilla.com/D55751

--HG--
rename : browser/base/content/aboutDialog.xul => browser/base/content/aboutDialog.xhtml
rename : browser/base/content/newInstall.xul => browser/base/content/newInstall.xhtml
rename : browser/base/content/pageinfo/pageInfo.xul => browser/base/content/pageinfo/pageInfo.xhtml
rename : browser/base/content/safeMode.xul => browser/base/content/safeMode.xhtml
rename : browser/base/content/sanitize.xul => browser/base/content/sanitize.xhtml
rename : browser/base/content/titlebar-items.inc.xul => browser/base/content/titlebar-items.inc.xhtml
rename : browser/base/content/webext-panels.xul => browser/base/content/webext-panels.xhtml
rename : browser/base/content/webrtcIndicator.xul => browser/base/content/webrtcIndicator.xhtml
rename : browser/components/downloads/content/contentAreaDownloadsView.xul => browser/components/downloads/content/contentAreaDownloadsView.xhtml
rename : browser/components/migration/content/migration.xul => browser/components/migration/content/migration.xhtml
rename : browser/components/places/content/bookmarkProperties.xul => browser/components/places/content/bookmarkProperties.xhtml
rename : browser/components/places/content/bookmarksSidebar.xul => browser/components/places/content/bookmarksSidebar.xhtml
rename : browser/components/places/content/historySidebar.xul => browser/components/places/content/historySidebar.xhtml
rename : browser/components/places/content/places.xul => browser/components/places/content/places.xhtml
rename : browser/components/shell/content/setDesktopBackground.xul => browser/components/shell/content/setDesktopBackground.xhtml
extra : moz-landing-system : lando
2019-12-11 00:27:19 +00:00
monikamaheshwari
9d60e0d578 Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629

--HG--
extra : moz-landing-system : lando
2019-09-14 09:39:26 +00:00
Thomas Nguyen
bbd6f51a56 Bug 1528697 - Add cenum referrerpolicy in ReferrerInfo.idl r=ckerschb,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41955

--HG--
extra : moz-landing-system : lando
2019-08-21 13:28:23 +00:00
Thomas Nguyen
b0fa7cedfe Bug 1554947 - Update saveURL to use referrerInfo class instead of referrer and referrerr policy r=Gijs,snorp
Differential Revision: https://phabricator.services.mozilla.com/D33939

--HG--
extra : moz-landing-system : lando
2019-07-16 17:59:28 +00:00
Jonathan Kingston
31441f82ea Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504

--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Victor Porof
f9f5914039 Bug 1561435 - Format browser/base/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36041

--HG--
extra : source : 96b3895a3b2aa2fcb064c85ec5857b7216884556
2019-07-05 09:48:57 +02:00
Ehsan Akhgari
b3c4267b3c Bug 1557887 - Part 6: Pass a storage principal to the rest of the call sites for createAboutBlankContentViewer(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34460

--HG--
extra : moz-landing-system : lando
2019-06-12 09:07:33 +00:00
Ehsan Akhgari
fc40494b9c Bug 1557887 - Part 5: Pass a storage principal argument through the browser loadURI()/addTab() APIs; r=baku,mconley
Differential Revision: https://phabricator.services.mozilla.com/D34459

--HG--
extra : moz-landing-system : lando
2019-06-12 23:05:36 +00:00
Michael Kaply
ee4ae8a0b1 Bug 1553290 - Get support menu href direct from policy. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D32367

--HG--
extra : moz-landing-system : lando
2019-06-03 21:30:57 +00:00
Thomas Nguyen
23f12685bd Bug 1532318 - Part 3 : update js code related to the change of nsIHttpChannel r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D22787

--HG--
extra : moz-landing-system : lando
2019-05-02 12:34:06 +00:00
Shane Caraveo
7df3401a58 Bug 1532165 use prefs to support extension newtab and homepage on startup. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D25808

--HG--
extra : moz-landing-system : lando
2019-04-08 22:36:26 +00:00
Jonathan Kingston
2b27f3c10d Bug 1479433 - Changing icons and colors for containers to be class based. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D24918

--HG--
extra : moz-landing-system : lando
2019-04-10 11:19:00 +00:00
Trushita
89435f2ad4 Bug 1494948: Removed FX_PREFERENCES_OPENED_VIA probe and origin parameter for openPreferences r=jaws,chutten
Removed FX_PREFERENCES_OPENED_VIA probe as it expired in 63.Origin parameter for openPreferences has also been removed.

Differential Revision: https://phabricator.services.mozilla.com/D26795

--HG--
extra : moz-landing-system : lando
2019-04-09 20:40:26 +00:00
Thomas Nguyen
3c8351815e Bug 1539408 Pass referrerInfo to gContextMenuContentData in non-remote r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D25419

--HG--
extra : moz-landing-system : lando
2019-04-02 08:53:28 +00:00
Mark Banner
ce267bd0ae Bug 1538771 - Move trimURL to BrowserUtils.jsm so it can be more easily accessed in non-window contexts. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D24761

--HG--
extra : moz-landing-system : lando
2019-03-26 09:15:50 +00:00