Index: third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js |
index d4f692f2b262a640579e2213d4e71060a939d31c..5d71cc9ccf86ff1281cea1ec9a70908a2d94eba6 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js |
@@ -417,13 +417,13 @@ WebInspector.TextFilterUI.prototype = { |
_onInputKeyDown: function(event) |
{ |
var handled = false; |
- if (event.keyIdentifier === "U+0008") { // Backspace |
+ if (event.key === "Backspace") { |
this._suppressSuggestion = true; |
} else if (this._suggestBox.visible()) { |
- if (event.keyIdentifier === "U+001B") { // Esc |
+ if (event.key === "Escape") { |
this._cancelSuggestion(); |
handled = true; |
- } else if (event.keyIdentifier === "U+0009") { // Tab |
+ } else if (event.key === "Tab") { |
this._suggestBox.acceptSuggestion(); |
this._valueChanged(true); |
handled = true; |