| Index: chrome/browser/resources/options/cookies_list.js
|
| diff --git a/chrome/browser/resources/options/cookies_list.js b/chrome/browser/resources/options/cookies_list.js
|
| index b68fc8d84f636d856d7505108e957d1a90c0554f..c3b97c214b82d71dc1b16b5f4814b0f153d72331 100644
|
| --- a/chrome/browser/resources/options/cookies_list.js
|
| +++ b/chrome/browser/resources/options/cookies_list.js
|
| @@ -745,13 +745,13 @@ cr.define('options', function() {
|
| * @private
|
| */
|
| handleKeyLeftRight_: function(e) {
|
| - var id = e.keyIdentifier;
|
| + var id = e.key;
|
| if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey)
|
| return;
|
| - if ((id == 'Left' || id == 'Right') && this.expandedItem) {
|
| + if ((id == 'ArrowLeft' || id == 'ArrowRight') && this.expandedItem) {
|
| var cs = this.ownerDocument.defaultView.getComputedStyle(this);
|
| var rtl = cs.direction == 'rtl';
|
| - if ((!rtl && id == 'Left') || (rtl && id == 'Right'))
|
| + if ((!rtl && id == 'ArrowLeft') || (rtl && id == 'ArrowRight'))
|
| this.expandedItem.selectedIndex--;
|
| else
|
| this.expandedItem.selectedIndex++;
|
|
|