gecko-dev/toolkit/content
James Teh eeb98454b6 Bug 1200038: Don't use the system group for XUL tabbox keydown handlers. r=dao
Bug 1008772 moved all key handlers related to browser tabs to the system group to prevent websites from stealing tab switching keys.
However, this is only necessary for global tab switching keys; e.g. Control+Tab, Control+PageUp.
It is not necessary for keys which only operate when the tab bar is focused; e.g. Up/DownArrow.
This is because when the browser chrome is focused (including the tab bar), content key handlers can't intercept key presses.
Furthermore, having these in the system group gives them precedence over XUL context menus.
This causes tab switches to occur when the arrow keys are pressed while the context menu is open, which is highly undesirable.
Moving these (non-global) keydown handlers into the normal group fixes this.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 09:34:23 +00:00
..
aboutwebrtc Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
gmp-sources Bug 1475277 - Update GMP fallback downloader for Widevine CDM 1.4.9.1088. r=rhelmer 2018-07-26 10:44:44 -04:00
tests Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
widgets Bug 1200038: Don't use the system group for XUL tabbox keydown handlers. r=dao 2018-09-04 09:34:23 +00:00
.eslintrc.js
about.js
aboutAbout.js
aboutAbout.xhtml
aboutMozilla.css
aboutNetworking.js Bug 1377570 - Enable RCWN on mobile. r=valentin 2018-05-27 03:59:00 +03:00
aboutNetworking.xhtml
aboutProfiles.js Bug 1484496: Part 5b - Convert toolkit/ nsISimpleEnumerator users to use JS iteration. r=Gijs 2018-08-18 19:27:50 -07:00
aboutProfiles.xhtml
aboutRights-unbranded.xhtml Bug 1453933 - Meta CSP applied to content privileged about:rights. r=Gijs, r=ckerschb 2018-04-19 13:40:24 -04:00
aboutRights.js Bug 1453933 - Fix ESLint comma-spacing errors in aboutRights.js. r=trivial 2018-04-19 14:13:06 -04:00
aboutRights.xhtml Bug 1453933 - Meta CSP applied to content privileged about:rights. r=Gijs, r=ckerschb 2018-04-19 13:40:24 -04:00
aboutServiceWorkers.js Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
aboutServiceWorkers.xhtml
aboutSupport.js Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
aboutSupport.xhtml Bug 1454416: Re-remove experiments section from about:support. r=me 2018-04-16 14:27:54 -07:00
aboutTelemetry.css
aboutTelemetry.js Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
aboutTelemetry.xhtml bug 1470493 - Render "event" ping events in about:telemetry r=janerik 2018-07-02 08:55:12 +00:00
aboutUrlClassifier.css
aboutUrlClassifier.js Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
aboutUrlClassifier.xhtml
autocomplete.css Bug 1473832 - Load "autocomplete.css" and "autocomplete-item.css" as document stylesheets. r=bgrins 2018-07-06 10:11:25 +01:00
browser-child.js Bug 1472491: Part 5η - Add BrowserChild actor. r=florian f=mconley 2018-07-30 10:52:55 -07:00
browser-content.js Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
buildconfig.css
buildconfig.html
components.css Bug 1470870 - Load "menu.css" as a document stylesheet. r=bgrins 2018-07-13 10:20:21 +01:00
contentAreaUtils.js Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
customElements.js Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
datepicker.xhtml Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
directionDetector.html
editMenuCommands.inc.xul Bug 1482256 - Support switching to browser.xul to browser.xhtml. r=mossop 2018-08-14 13:13:38 -07:00
editMenuKeys.inc.xul
editMenuOverlay.js
filepicker.properties
globalOverlay.js Bug 1484496: Part 5b - Convert toolkit/ nsISimpleEnumerator users to use JS iteration. r=Gijs 2018-08-18 19:27:50 -07:00
jar.mn Bug 1469902 - Migrate <tabbox> to a Custom Element;r=dao 2018-08-28 16:07:28 +00:00
license.html Bug 1482708 - Update links in license.html file using HTTPS protocol r=mossop 2018-08-13 23:48:22 +00:00
macWindowMenu.js Bug 1484496: Part 5b - Convert toolkit/ nsISimpleEnumerator users to use JS iteration. r=Gijs 2018-08-18 19:27:50 -07:00
minimal-xul.css Bug 1448126 - Part 2 - Remove the "scale" binding and its supporting platform code. r=bgrins 2018-06-24 17:19:25 +01:00
moz.build Bug 1459278 - Use Core::XUL instead of obsolete Core::XP Toolkit/Widgets: XUL for file meta data. r=froydnj 2018-05-07 10:56:19 +03:00
mozilla.xhtml
plugins.css
plugins.html Bug 1463663 - Prefix exported functions of the RemotePageManager with RPM. r=mossop 2018-06-27 09:08:32 +02:00
preferencesBindings.js Bug 1472716 - Part 2 - Convert the listbox in "languages.xul" to "richlistbox". r=jaws,gandalf 2018-07-10 15:07:15 +01:00
process-content.js Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag 2018-08-02 23:49:09 -04:00
resetProfile.css
resetProfile.js
resetProfile.xul
resetProfileProgress.xul
textbox.css
timepicker.xhtml Bug 1476145 part 6. Stop using getInterface(nsIDOMWindowUtils) in toolkit. r=mossop 2018-07-24 19:47:42 -04:00
TopLevelVideoDocument.js Bug 1484544 - Allow focusable element to function on top level video element r=Gijs 2018-08-24 17:37:15 +00:00
treeUtils.js Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
viewZoomOverlay.js Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop 2018-08-31 05:59:17 +00:00
widgets.css Bug 1446168 - Load tabbox.css as a document stylesheet. r=bgrins 2018-08-24 17:33:12 +02:00
xul.css Bug 1457218 - Part 3 - Remove the "menu-button" binding. r=surkov,bgrins 2018-08-29 14:04:25 +01:00