| Index: third_party/WebKit/Source/devtools/front_end/ui/HistoryInput.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/HistoryInput.js b/third_party/WebKit/Source/devtools/front_end/ui/HistoryInput.js
|
| index 54daad1e1836375e4ca2b68186b965b9167d9560..f8ab8a5626bdb33f5785447a39ded532b1f7a9d2 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/HistoryInput.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/HistoryInput.js
|
| @@ -47,12 +47,12 @@ WebInspector.HistoryInput.prototype = {
|
| if (event.keyCode === WebInspector.KeyboardShortcut.Keys.Up.code) {
|
| this._historyPosition = Math.max(this._historyPosition - 1, 0);
|
| this.value = this._history[this._historyPosition];
|
| - this.dispatchEvent(createEvent("input", true, true));
|
| + this.dispatchEvent(new Event("input", {"bubbles": true, "cancelable": true}));
|
| event.consume(true);
|
| } else if (event.keyCode === WebInspector.KeyboardShortcut.Keys.Down.code) {
|
| this._historyPosition = Math.min(this._historyPosition + 1, this._history.length - 1);
|
| this.value = this._history[this._historyPosition];
|
| - this.dispatchEvent(createEvent("input", true, true));
|
| + this.dispatchEvent(new Event("input", {"bubbles": true, "cancelable": true}));
|
| event.consume(true);
|
| } else if (event.keyCode === WebInspector.KeyboardShortcut.Keys.Enter.code) {
|
| this._saveToHistory();
|
|
|