☠☠ backed out by 8b9c8d77185a ☠ ☠ | |
author | Dão Gottwald <dao@mozilla.com> |
Fri, 19 Oct 2018 11:20:34 +0000 | |
changeset 442143 | 59fed9e69c53f229e240d0bdfb0b5ca2d3afeb67 |
parent 442142 | 9a2be0efbc4c4f1931f39a1dfe4a082cec09b2e0 |
child 442144 | fe1c2bb6cfbc4d2da8c30094e15cdb7d92039d94 |
push id | 34890 |
push user | dvarga@mozilla.com |
push date | Sat, 20 Oct 2018 09:40:11 +0000 |
treeherder | mozilla-central@d0f1450799b5 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | mak |
bugs | 1500086 |
milestone | 64.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/browser/components/urlbar/UrlbarInput.jsm +++ b/browser/components/urlbar/UrlbarInput.jsm @@ -430,16 +430,22 @@ class UrlbarInput { } _on_input(event) { let value = event.target.value; this.valueIsTyped = true; this._untrimmedValue = value; this.window.gBrowser.userTypedValue = value; + if (value) { + this.setAttribute("usertyping", "true"); + } else { + this.removeAttribute("usertyping"); + } + // XXX Fill in lastKey, and add anything else we need. this.controller.startQuery(new QueryContext({ searchString: value, lastKey: "", maxResults: UrlbarPrefs.get("maxRichResults"), isPrivate: this.isPrivate, })); }