Blank XUL page using eventListenerService addListenerChangeListener

NEW
Unassigned

Status

()

3 years ago
3 years ago

People

(Reporter: jdescottes, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: btpp-backlog)

Attachments

(1 attachment)

Created attachment 8746954 [details]
reduced test case

Follow up to Bug 1260763.

Original issue was about some preferences panels becoming blank if the inspector was opened while reloading the page.

The issue was narrowed down to the test case attached here (accessing targets in a listenerChangeListener handler + event defined on a textbox element). Pasting relevant comment from Neil in Bug 1260763 below:

(In reply to Neil Deakin from comment #20)
> Created attachment 8746884 [details]
> Significantly reduced testcase
> 
> This testcase is very simplified and doesn't rely on opening in a
> preferences window.
> 
> I won't have time right now to investigate why, but I suspect that since the
> event listener code is running before the file has finished loading, it is
> causing JS/DOM wrappers to be created when you get the .target for elements
> that haven't been fully processed yet and the anonymous content is thus
> being placed incorrectly or something like that. I'm just guessing but it
> might be a path to start looking at.
See Also: → bug 1260763
Whiteboard: btpp-backlog
You need to log in before you can comment on or make changes to this bug.