Closed
Bug 1541647
Opened 5 years ago
Closed 5 years ago
With QuantumBar enabled, the Form History Control add-on doesn't work
Categories
(Firefox :: Address Bar, defect, P2)
Firefox
Address Bar
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: sheppy, Assigned: mak)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
With quantum bar enabled, the Form History Control add-on has problems. The main thing I see is this:
When I want to recover form content, if I go to open the main history window in FHC by either of the following means:
- Choosing Tools->Form History Control (II)->Manage History
- Clicking the page action icon for FHC and then Manage History in the resulting popup
I get an empty window instead of a window with the FHC history information in it, and see the following messages in Browse Console:
19:23:26.873 TypeError: this.input.inputField is undefined UrlbarEventBufferer.jsm:61:5
UrlbarEventBufferer resource:///modules/UrlbarEventBufferer.jsm:61
UrlbarInput resource:///modules/UrlbarInput.jsm:143
get urlbar chrome://browser/content/browser.js:207
<anonymous> chrome://browser/content/browser.js:192
get resource://gre/modules/XPCOMUtils.jsm:129
_setURLBarPlaceholder chrome://browser/content/browser.js:4139
initPlaceHolder chrome://browser/content/browser.js:4072
onDOMContentLoaded chrome://browser/content/browser.js:1426
onDOMContentLoaded self-hosted:984
19:23:26.894 TypeError: gURLBar is undefined browser.js:1497:7
onLoad chrome://browser/content/browser.js:1497
onLoad self-hosted:984
Assignee | ||
Comment 1•5 years ago
|
||
Thanks for the report, we must look into this.
Comment 2•5 years ago
|
||
I just took a brief look.
- The extension is using the browser.window.create API, creating a window with type="popup".
- That calls through to here where we're being created without a toolbar.
- The urlbar element is present, but is not visible.
- Looks like we need to do something with
window.toolbar.visible
- There's already something that for some reason sets it to read-only when dealing with popups.
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Updated•5 years ago
|
Iteration: --- → 68.3 - Apr 15 - 28
Assignee | ||
Comment 3•5 years ago
|
||
Applying the attribute early enough allows us to avoid rebinding the urlbar,
plus a few checks to ensure "popup" windows, without a visible toolbar, work
properly.
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/2313dfe51d09 Avoid rebinding the urlbar on startup if Quantum Bar is enabled. r=Standard8
Comment 5•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox68:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
Updated•5 years ago
|
Flags: qe-verify+
QA Contact: cristian.comorasu
You need to log in
before you can comment on or make changes to this bug.
Description
•