Closed Bug 1496703 Opened 6 years ago Closed 6 years ago

"Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIEditor.rootElement]" in UrlbarValueFormatter::update when exiting customize mode

Categories

(Firefox :: Address Bar, defect, P1)

defect

Tracking

()

RESOLVED FIXED
Firefox 64
Tracking Status
firefox64 --- fixed

People

(Reporter: dao, Assigned: dao)

References

Details

Attachments

(1 file, 1 obsolete file)

      No description provided.
<•Standard8> dao: mainly I’d noticed a gURLBar = document.getElementById call, so I was assuming something would likely go wrong
Depends on: 1496718
Blocks: 1491245
Curiously, this only seems to happen when using UrlbarInput, not with urlbarBindings, although both use UrlbarValueFormatter.
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Priority: P3 → P1
Attachment #9015801 - Attachment is obsolete: true
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/41725614e772
Make UrlbarValueFormatter not hold references to anonymous textbox nodes and the editor since they can change when the textbox moves, e.g. when wrapping it for customize mode. r=Standard8
https://hg.mozilla.org/mozilla-central/rev/41725614e772
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: