Open Bug 1843475 Opened 1 year ago Updated 1 year ago

Avoid event type stringification in SessionStoreChangeListener::HandleEvent

Categories

(Core :: DOM: Events, task)

task

Tracking

()

ASSIGNED

People

(Reporter: mstange, Assigned: mstange)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

Attachments

(1 file)

This was showing up in the time under the input event in https://share.firefox.dev/3DaKDxI

Whiteboard: [sp3]

This showed up in profiles of the checkbox.click() benchmark from bug 1834003.
Before: https://share.firefox.dev/3DaKDxI
After: https://share.firefox.dev/3DecOvS

In the "before" profile, mozilla::dom::Event::GetWidgetEventType was taking
1.9% of the overall time.

Attachment #9343832 - Attachment description: Bug 1843475 - Remove event type stringification for click events. r=smaug → Bug 1843475 - Avoid event type stringification in SessionStoreChangeListener::HandleEvent. r=smaug
Pushed by mstange@themasta.com:
https://hg.mozilla.org/integration/autoland/rev/361701efa32d
Avoid event type stringification in SessionStoreChangeListener::HandleEvent. r=smaug

Backed out for causing mochitests failures in browser_scrollPositions.js

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_scrollPositions.js | scroll is fine - Got "{"children":[{"scroll":"132,372"}]}", expected "{"children":[{"scroll":"132,372"},{"scroll":"475,687"}]}"

Oh, neat!

There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:mstange, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(smaug)
Flags: needinfo?(mstange.moz)
Flags: needinfo?(smaug)
Flags: needinfo?(mstange.moz)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: