Closed Bug 1815913 Opened 2 years ago Closed 2 years ago

Init nsImageMap more eagerly

Categories

(Core :: DOM: Core & HTML, task, P3)

task

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: sefeng, Assigned: sefeng)

References

(Regressed 2 open bugs)

Details

Attachments

(1 file)

This is just to make landing patches inside bug 1444491 easier.

Since we are initializing nsImageMap lazily, it's possible for area elements
stays non-focusable when autofocus code tries to focus it. So to fix
this, we need to ensure nsImageMap is initialized early enough.

Assignee: nobody → sefeng
Status: NEW → ASSIGNED
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/253d401637c8 test_mousecapture_area no longer asserts.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
Flags: needinfo?(sefeng)
Blocks: 1807851
Blocks: 1807844
Regressions: 1818413
Regressions: 1818836
Regressions: 1832640
Regressions: 1847329
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: