Open Bug 1816513 Opened 2 years ago Updated 2 years ago

Accessing history.state is a bit slow

Categories

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

enhancement

Tracking

()

People

(Reporter: smaug, Unassigned)

Details

When running AngularJS-Todo
https://browserbench.org/Speedometer2.1/InteractiveRunner.html
history.state accesses show up a tiny bit.
Getting to the the inner window seems to be particularly slow.

We could also possibly cache the value on the JS wrapper and make the access even faster, so, adding Cached to webidl and clear the cache when needed.

Type: defect → enhancement

I can't see this now in the latest sp3.

No longer blocks: speedometer3
Whiteboard: [sp3-anyone]
You need to log in before you can comment on or make changes to this bug.