Index: chrome/browser/ui/webui/options/options_browsertest.js |
diff --git a/chrome/browser/ui/webui/options/options_browsertest.js b/chrome/browser/ui/webui/options/options_browsertest.js |
index ec1e8bc62f87e1f76071888eb252026b9e5a2cc7..c80a4efced864f296f90421df4f84e700a361dcf 100644 |
--- a/chrome/browser/ui/webui/options/options_browsertest.js |
+++ b/chrome/browser/ui/webui/options/options_browsertest.js |
@@ -321,7 +321,7 @@ TEST_F('OptionsWebUITest', 'EnterPreventsDefault', function() { |
var event = new KeyboardEvent('keydown', { |
'bubbles': true, |
'cancelable': true, |
- 'keyIdentifier': 'Enter' |
+ 'key': 'Enter' |
}); |
assertFalse(event.defaultPrevented); |
page.pageDiv.dispatchEvent(event); |