Commit Graph

445 Commits

Author SHA1 Message Date
Kris Taeleman
eada624cb5 Bug 1582565 - Log transactions into readable format. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D46657
2019-09-26 16:43:05 +00:00
Mike Conley
fd248e5bb3 Bug 1566183 - Add a keyboard shortcut to enter Picture-in-Picture for first video of focused window. r=NeilDeakin,JSON_voorhees,flod
Differential Revision: https://phabricator.services.mozilla.com/D40082
2019-09-05 17:40:02 +00:00
Razvan Maries
48d51c4c50 Backed out changeset bb08767934a8 (bug 1566183) for causing perma fails on browser_duplicateIDs.js. CLOSED TREE 2019-09-05 20:30:40 +03:00
Mike Conley
6e739994d3 Bug 1566183 - Add a keyboard shortcut to enter Picture-in-Picture for first video of focused window. r=NeilDeakin,JSON_voorhees,flod
Differential Revision: https://phabricator.services.mozilla.com/D40082
2019-09-05 14:09:25 +00:00
Drew Willcoxon
5cc87312c5 Bug 1575038 - Quantumbar: Record engagement event telemetry when openViewOnFocus is triggered without mouse clicks. r=dao
We need to start engagement event recording when the view opens due to `openViewOnFocus`. We already do for mouse clicks since we call `engagementEvent.start` from `_on_mousedown`. But we don't for the Ctrl/Command-L key shortcut. The shortcut command calls `openLocation` in browser.js, which calls `gURLBar.startQuery` but not `engagementEvent.start`.

Every time we call `engagementEvent.start`, we do it before calling `input.startQuery`. The one exception is in `input._on_drop` because there we just handle the dropped value directly instead of starting a new query with it.

The inverse is also mostly true, i.e., every time we call `input.startQuery`, we also call `engagementEvent.start`. The three exceptions are: in UITour (where it looks like we should be calling `urlbar.search` instead), in `UrlbarInput` after picking a keyword offer result, and in `openLocation` in browser.js (mentioned above). So really the only valid place is after picking a keyword entry.

So, it makes sense to move `engagementEvent.start()` into `input.startQuery` so that callers don't have to call it. I added an `event` param to `startQuery`, since `engagementEvent.start` needs one. I considered removing that need. It's possible, but then we would need a way to avoid calling `engagementEvent.start` in the keyword offer case, so `startQuery` would need something like a `suppressEngagementEvent` param. `event` basically functions as that, so I left it.

Another thing to point out about this patch is that I chose to record a "typed" value when the pageproxystate is invalid and the view opens due to `openViewOnFocus`. The view does not show the user's top sites in that case, so "topsites" seems wrong.

Differential Revision: https://phabricator.services.mozilla.com/D42749
2019-08-22 14:50:42 +00:00
Sean Feng
412ab8d85f Bug 1551965 - Add telemetry for page reload key combinations r=bdekoz,Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D35035
2019-07-17 14:04:31 +00:00
Trushita
19b14883c7 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
2019-04-09 20:40:26 +00:00
Gijs Kruitbosch
5effb3d3f0 Bug 1381951 - reserve preferences shortcut on mac, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D26721
2019-04-09 18:15:55 +00:00
Bas Schouten
6436b2e689 Bug 1536174 - Part 3: Add ability to start and stop composition recordings from a keyboard combo. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D23915
2019-03-18 20:06:33 +01:00
Brian Grinstead
4243dbc600 Bug 1531119 - Remove editMenuCommands.inc.xul and make editMenuOverlay.js in charge of constructing the relevant commandset DOM r=bdahl,NeilDeakin
This allows us to drop preprocessing and makes it simpler to add edit menu functionality to any type of document.

Differential Revision: https://phabricator.services.mozilla.com/D21446
2019-03-21 14:18:48 +00:00
Soeren Hentzschel
e2b69c9c3e Bug 1522856 - Add an "import" option to the file menu to make browser migration discoverable. r=MattN,felipe
Differential Revision: https://phabricator.services.mozilla.com/D19274
2019-03-04 15:29:03 -08:00
Neil Deakin
b551ed104a Bug 1445942, make the backspace key a non-reserved key so that it isn't blocked by shortcut permissions, r=felipe 2019-01-09 08:30:13 -05:00
Dão Gottwald
a53f86f158 Bug 1509488 - Use keydown handler instead of <key> for Shift+Ctrl+Tab. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D12744
2018-11-26 16:07:07 +00:00
Jack Smith
38aa03503d Bug 1491676 - Moves out of space warning strings r=flod,Gijs,zbraniecki
Depends on D8553

Differential Revision: https://phabricator.services.mozilla.com/D8554
2018-11-14 23:09:50 +00:00
Dão Gottwald
fc371d160a Bug 1504205 - Enable Ctrl+Shift+D shortcut on Linux. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D11549
2018-11-12 12:14:30 +00:00
Cosmin Sabou
728f4df779 Backed out 4 changesets (bug 1491676) for causing browser chrome failures on browser_storagePressure_notification. CLOSED TREE
Backed out changeset 08cbaa2f9183 (bug 1491676)
Backed out changeset fae949de1ed5 (bug 1491676)
Backed out changeset aeb045b90321 (bug 1491676)
Backed out changeset e75c59f129ea (bug 1491676)
2018-11-07 20:53:48 +02:00
Jack Smith
db824099f8 Bug 1491676 - Moves out of space warning strings r=flod,Gijs,zbraniecki
Depends on D8553

Differential Revision: https://phabricator.services.mozilla.com/D8554
2018-11-07 18:05:13 +00:00
Ciure Andrei
474054f58c Backed out 4 changesets (bug 1491676) for browser-chrome permissions failures CLOSED TREE
Backed out changeset e860d0d115d0 (bug 1491676)
Backed out changeset 04b83b7977c4 (bug 1491676)
Backed out changeset eb19b384d908 (bug 1491676)
Backed out changeset 76ea995336dc (bug 1491676)
2018-11-07 13:44:26 +02:00
Jack Smith
4367c8c7e2 Bug 1491676 - Moves out of space warning strings r=flod,Gijs,zbraniecki
Depends on D8553

Differential Revision: https://phabricator.services.mozilla.com/D8554
2018-11-05 16:57:51 +00:00
Jared Wein
2d6a3e988f Bug 1480529 - Changed 'Bookmark All Tabs' to 'Bookmark Tab' for single tab selections. r=Felipe
I changed the toolbar context menuitem from 'Bookmark All Tabs' to 'Bookmark Selected Tabs' because it is separated from a specific tab and thus it is not clear which tab would get bookmarked if only one is selected. This seemed much clearer to me in my testing. The wording of 'Bookmark Selected Tabs' is already used elsewhere where we have 'Reload Selected Tabs', 'Close Selected Tabs', etc.

Differential Revision: https://phabricator.services.mozilla.com/D7217
2018-10-02 16:24:43 +00:00
Bogdan Tara
ad579c1651 Backed out changeset 1f4d7ab6cd6d (bug 1480529) for perma failing on browser_multiselect_tabs_bookmark.js 2018-10-02 18:33:49 +03:00
Jared Wein
f42d5228b2 Bug 1480529 - Changed 'Bookmark All Tabs' to 'Bookmark Tab' for single tab selections. r=Felipe
I changed the toolbar context menuitem from 'Bookmark All Tabs' to 'Bookmark Selected Tabs' because it is separated from a specific tab and thus it is not clear which tab would get bookmarked if only one is selected. This seemed much clearer to me in my testing. The wording of 'Bookmark Selected Tabs' is already used elsewhere where we have 'Reload Selected Tabs', 'Close Selected Tabs', etc.

Differential Revision: https://phabricator.services.mozilla.com/D7217
2018-10-02 03:19:01 +00:00
Brian Hackett
661825e37a Bug 1495341 - Place Web Replay menu items in their own submenu, r=jlast. 2018-10-01 09:41:32 -10:00
Jared Wein
5b0a796237 Bug 1469935 - Ctrl+M should mute/unmute all selected tabs in a multiselect context. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D6948
2018-09-26 20:46:09 +00:00
Dão Gottwald
0988e46765 Bug 1492417 - Remove Browser:Home command. r=paolo 2018-09-19 12:47:29 +02:00
Dão Gottwald
65a2c240ab Backed out changeset 69bd5eb50a32 (bug 1478626) 2018-09-05 13:51:43 +02:00
Paolo Amadini
993b3608ee Bug 1482648 - Part 3 - Remove remaining broadcasters from front-end code. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3150
2018-08-21 14:55:04 +01:00
Paolo Amadini
eb26ec7594 Bug 1482648 - Part 2 - Remove unneeded indirection in devtools broadcasters. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3149
2018-08-06 15:45:17 +01:00
Paolo Amadini
e56ec246f8 Bug 1482648 - Part 1 - Convert the offline broadcaster to a command. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3148
2018-08-06 15:38:04 +01:00
Paolo Amadini
4ef12bc366 Bug 1482645 - Part 2 - Don't use a broadcaster element to store sync state. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D3147
2018-08-11 16:46:30 +01:00
Paolo Amadini
eec651d551 Bug 1482645 - Part 1 - Don't use broadcaster elements to show or hide sync interface elements. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D3146
2018-08-20 07:38:40 +01:00
Paolo Amadini
9bb8406b1b Bug 1482610 - Part 2 - Move the remaining attributes and remove the sidebar broadcasters. r=jaws,mixedpuppy
This also fixes unintended behavior for which clicking the selected item in the sidebar selector would hide the sidebar.

Differential Revision: https://phabricator.services.mozilla.com/D3145
2018-08-19 19:54:02 +01:00
Paolo Amadini
86dc95e48d Bug 1482610 - Part 1 - Move the sidebar title and URL from the broadcasters to a JavaScript object. r=jaws,mixedpuppy
The immediate goal is only to remove the broadcasters, so we still require the labels to be set manually on the "toolbarbutton" and "menuitem" elements. Generating these elements programmatically from the new SidebarUI.sidebars object, both for built-in sidebars and extensions, can be a future improvement.

The autoCheck attribute is also unnecessary since it is only intended for the menu items, and they are already properly updated after their command is invoked. Since the attribute was written with the wrong capitalization, it already had no effect.

The persistence of the label of the sidebar selector is also unnecessary since it is already set on startup. Removing this does not seem to cause any additional flickering.

Differential Revision: https://phabricator.services.mozilla.com/D3143
2018-08-14 15:18:03 +01:00
Paolo Amadini
1b4a4d3c71 Bug 1481813 - Part 3 - Remove bookmarkThisPageBroadcaster. r=Standard8,bgrins
The PageActions API is now used to assign a title to the bookmark action.

This also prevents some tooltips from being set unnecessarily on menu items.

Differential Revision: https://phabricator.services.mozilla.com/D3010
2018-08-13 17:25:28 +01:00
Paolo Amadini
853c33315b Bug 1481813 - Part 2 - Move reference strings out of the bookmark broadcaster. r=Standard8
This prevents the reference string attributes from being replicated unneededly.

Differential Revision: https://phabricator.services.mozilla.com/D3008
2018-08-13 17:02:44 +01:00
Thi Huynh
56dea3c471 Bug 1478626 - Remove unused Browser:NextTab and Browser:PrevTab commands. r=dao 2018-08-03 00:04:04 +07:00
Brian Hackett
5cd86c4278 Bug 1465477 Part 1 - Add menu items and prefs for recording/replaying tabs, r=markh. 2018-07-24 21:32:16 +00:00
Abdoulaye O. Ly
6290b52439 Bug 1458067 - Implement ability to bookmark a selection of tabs. r=Gijs
MozReview-Commit-ID: 4KE3qSf3j0y
2018-07-12 00:25:35 +00:00
Brian Grinstead
15d73c3684 Bug 1475304 - Remove broadcasters that only have one observer;r=Gijs,johannh
MozReview-Commit-ID: KbYBy2RjK1i
2018-07-16 11:47:58 -07:00
Mark Striemer
fd7bcb67b4 Bug 1473974 - Fix opening all tabs panel with cycle recent tabs r=dao
MozReview-Commit-ID: EGYJo8AAF2K
2018-07-10 13:48:57 -05:00
Manish Kumar
bff8489dc9 Bug 1473585 - Remove restoreLastSession function. r=dao 2018-07-07 20:29:56 +02:00
Dão Gottwald
a39a79d47f Bug 1473073 - Remove PlacesCommandHook.bookmarkPage's browser argument. r=mak
MozReview-Commit-ID: BH5r7Tn8KV1
2018-07-03 22:46:46 +02:00
Brian Grinstead
7702ea3b92 Bug 1471734 - Remove FULL_BROWSER_WINDOW preprocessor directive;r=Gijs
The key used to be removed from the markup. This changes it to include
the <key> but instead disable it through the related command, which fits
the pattern used with other commands.

MozReview-Commit-ID: LPuwULDt22W
2018-07-02 10:42:35 -07:00
Dão Gottwald
541fa834f8 Bug 1472275 - Remove PlacesCommandHook.bookmarkPage's aShowEditUI argument. r=standard8
MozReview-Commit-ID: CGYSF1OvoVg
2018-06-29 19:45:35 +02:00
Mark Banner
b24bddc9dc Bug 1452645 - Remove load in sidebar functionality. r=lina,mak
Based on patch by mixedpuppy.

MozReview-Commit-ID: BZwOtr4VbCH
2018-06-06 21:00:45 +01:00
Johann Hofmann
5ce05b6cd0 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau
2018-05-22 16:26:55 +02:00
Dorel Luca
52818bfb04 Backed out changeset bc39ccd992a4 (bug 1462468) for Browser-chomre failures on browser/base/content/test/trackingUI/browser_trackingUI_appMenu.js 2018-05-28 19:11:14 +03:00
Johann Hofmann
0c98acca87 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau
2018-05-22 16:26:55 +02:00
Marco Bonardo
67025f9c64 Bug 1448810 - Rename the Places sidebar files and merge sidebarUtils into PlacesUIUtils. r=standard8
MozReview-Commit-ID: GsPPBhiTPul
2018-03-26 21:15:41 +02:00
Edouard Oger
8578b6545b Bug 1184265 - Make last sync date be relative. r=markh
MozReview-Commit-ID: 2hB9F7Elynh
2018-03-20 17:08:16 -04:00