Closed Bug 1955495 Opened 1 month ago Closed 1 month ago

Disable dom.timeout.defer_during_load or make it disableable on a per-site basis

Categories

(Core :: Performance: General, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
138 Branch
Webcompat Score 6
Webcompat Priority P2
Tracking Status
firefox138 --- fixed

People

(Reporter: jrmuizel, Assigned: jesup)

References

(Blocks 1 open bug)

Details

(Keywords: webcompat:platform-bug)

User Story

platform:windows,mac,linux,android
impact:site-broken
configuration:general
affects:all
branch:release
user-impact-score:200

Attachments

(1 file)

Bug 1270059 has caused a number of webcompat regresssions. It doesn't seem practical to rely on outreach to get these site bugs fixed. Given this, I'd say our options are:

  1. Disable it everywhere
  2. Make it possible to disable based on url via an intervention

My leaning is towards disabling it everwhere as that avoids us having to find, diagnose and ship interventions for issues. However, it would be good to get a sense of the performance benefit defer_during_load gives us to know how much we'd be loosing.

User Story: (updated)
Webcompat Priority: --- → P2
Webcompat Score: --- → 6
Blocks: 1919479

Sites with racy code can sometimes fail if we don't run timeouts
immediately. Note that in most cases it will still be racy and can still
fail.

Assignee: nobody → rjesup
Status: NEW → ASSIGNED
Pushed by rjesup@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/eeb9af1573c8 disable defer_during_load via a pref for specific sites/urls r=smaug
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch

I'm looking into why browser_preferences_usage.js has started failing in Thunderbird and it's because IsURIInPrefList is now being called a lot. It seems to me that a null principal would never be in a pref list, so IsURIInPrefList could be short-circuited.

Flags: needinfo?(rjesup)

Links to data on the failures?
Agreed null principals wouldn't be in the pref list; we could check that before calling IsURIInPrefList, though the check could be out there too

Flags: needinfo?(rjesup)
Flags: needinfo?(rjesup)
Blocks: 1956233
Flags: needinfo?(rjesup)
Blocks: 1956326
Blocks: 1952149
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: