Open Bug 1774918 Opened 2 years ago Updated 2 years ago

Browser stops responding during animation.

Categories

(Core :: Disability Access APIs, defect)

Desktop
Windows 10
defect

Tracking

()

Performance Impact medium
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- affected
firefox101 --- wontfix
firefox102 --- unaffected
firefox103 --- affected

People

(Reporter: alice0775, Unassigned)

References

(Blocks 1 open bug)

Details

(4 keywords)

Attachments

(1 file)

Attached file about:support

Browsers often become unresponsive for long periods of time during animation and the animation becomes unresponsive and does not play repeatedly.

Firefox91esr and Google Chrome work fine. The animation played on a loop without this problem..

Steps to Reproduce:

  1. Open https://www.jma.go.jp/bosai/map.html#8/34.518/135.544/&elem=temp&contents=amedas&interval=60
  2. Click on play button at the bottom left corner.
    Then, when the data loading is complete, the animation begins.

Expected Results:
The animation continues and plays on a loop.

Actual Results:
Browsers often become unresponsive for long periods during animation.

Profile: https://share.firefox.dev/3QHUwJ1

Parent process is doing some slow a11y calls.

Everything is very smooth on linux, without a11y.

Performance Impact: --- → P2
Component: Performance → Disability Access APIs

Alice, what a11y client is being used here? I know you've used Atok in the past, but these calls seem to be coming from a different process and I thought Atok calls were injected into Firefox.

It looks like this is either not an installed version of Firefox (e.g. extracted from a zip archive) or your installation is broken. Currently, in order for a11y to function efficiently, a component (AccessibleHandler.dll, identified in about:support as "Accessible Handler Used") needs to be registered with the system. That means you need to use an installed version of Firefox.

If you use an installed version, does this situation improve?

Flags: needinfo?(alice0775)
Depends on: 1737192

(In reply to James Teh [:Jamie] from comment #2)

Alice, what a11y client is being used here? I know you've used Atok in the past, but these calls seem to be coming from a different process and I thought Atok calls were injected into Firefox.

Yes, a11y is activated by ATOK2021 insight. And disabling ATOK2021 insight will fix this issue.

It looks like this is either not an installed version of Firefox (e.g. extracted from a zip archive) or your installation is broken. Currently, in order for a11y to function efficiently, a component (AccessibleHandler.dll, identified in about:support as "Accessible Handler Used") needs to be registered with the system. That means you need to use an installed version of Firefox.

If you use an installed version, does this situation improve?

Neither the zip version nor the installer version of Nightly seems to show any significant changes.

Flags: needinfo?(alice0775)

Does the situation improve if you go to about:config, set accessibility.cache.enabled to true and restart Firefox? Please note that this is still under development, so you probably shouldn't run with it for critical work.

Flags: needinfo?(alice0775)

(In reply to James Teh [:Jamie] from comment #4)

Does the situation improve if you go to about:config, set accessibility.cache.enabled to true and restart Firefox? Please note that this is still under development, so you probably shouldn't run with it for critical work.

Yes, The browser may sometimes become unresponsive and jittery, but the amount of time it is unresponsive has decreased considerably.

Flags: needinfo?(alice0775)

Would you mind providing a profile of the unresponsiveness/jitteriness with accessibility.cache.enabled set to true? Thanks so much for your help.

Flags: needinfo?(alice0775)

(In reply to James Teh [:Jamie] from comment #6)

Would you mind providing a profile of the unresponsiveness/jitteriness with accessibility.cache.enabled set to true? Thanks so much for your help.

profiler log:
https://share.firefox.dev/3yhrdWs
(Jitter begins to occur more after about 30 seconds.)

Flags: needinfo?(alice0775)

Thanks. That profile shows a lot of time spent firing a11y events to Windows. I guess we fire a lot of events precisely because of the constant animation. It'd be interesting to figure out whether we can reduce the number of events somehow.

Blocks: a11yperf

The severity field is not set for this bug.
:Jamie, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jteh)
Severity: -- → S3
Flags: needinfo?(jteh)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: