Closed Bug 1827451 Opened 2 years ago Closed 2 years ago

<html:select> has a runtime error when used in a XUL context

Categories

(Core :: XUL, defect)

defect

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: gregtatum, Assigned: emilio)

Details

Attachments

(2 files)

JavaScript error: resource://gre/actors/SelectParent.sys.mjs, line 737: TypeError: can't access property "ownerDocument", this.relevantBrowser is null

Flags: needinfo?(emilio)

Actually since the tagName may be things like "html:option" we need to
fix a couple other checks. That's an existing xhtml bug that we need to
add a test for.

Need to write tests and so on but that should do ^.

Assignee: nobody → emilio
Attachment #9327972 - Attachment description: WIP: Bug 1827451 - Make <html:select> work on top level windows. r=Gijs,gregtatum → Bug 1827451 - Make <html:select> work on top level windows. r=Gijs,gregtatum,mconley
Status: NEW → ASSIGNED
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/01b1a0637c0d Make <html:select> work on top level windows. r=Gijs,gregtatum
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/fb71e2f42da0 Temporarily skip one of the new tests test while I investigate timeouts in some platforms.
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0cb366b94ab5 Sanity-check current browser properly in SelectParent.jsm. r=Gijs
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: