Closed Bug 1944738 Opened 20 days ago Closed 20 days ago

Make `nsGenericHTMLElement::Spellcheck` faster to check `spellcheck` attribute of inclusive ancestors

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

No description provided.

To optimize the path, I think nsGenericHTMLElement::BeforeSetAttr needs to set a flag, but it makes a little bit damage to the speedometer scores.
https://treeherder.mozilla.org/perfherder/compare?originalProject=try&originalRevision=81c4a16141eae5fc1b6c01271fbe5d6b34f1f0ac&newProject=try&newRevision=ae4420b1c91543b709a6bbee17165cb12480eb6c&framework=13&page=1

So, I think that we should not optimize there only for bug 1943746 because it's not a realistic scenario and this is not a big bottleneck.

Status: ASSIGNED → RESOLVED
Closed: 20 days ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.