Allow scheduling CanWait interrupt callbacks

RESOLVED FIXED in Firefox 56

Status

()

RESOLVED FIXED
a year ago
a year ago

People

(Reporter: billm, Assigned: billm)

Tracking

unspecified
mozilla56
Points:
---

Firefox Tracking Flags

(firefox56 fixed)

Details

Attachments

(1 attachment)

Created attachment 8890173 [details] [diff] [review]
patch

I don't want to have to pay the cost of doing RequestInterruptUrgent interrupts for Quantum DOM thread switching, so I would like to use RequestInterruptCanWait. However, this isn't exposed to JSAPI. This patch exposes it.
Attachment #8890173 - Flags: review?(jdemooij)
Comment on attachment 8890173 [details] [diff] [review]
patch

Review of attachment 8890173 [details] [diff] [review]:
-----------------------------------------------------------------

Makes sense.
Attachment #8890173 - Flags: review?(jdemooij) → review+

Comment 2

a year ago
Pushed by wmccloskey@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8853b5119f68
Add API to request interrupt callback using CanWait mode (r=jandem)

Comment 3

a year ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/8853b5119f68
Status: NEW → RESOLVED
Last Resolved: a year ago
status-firefox56: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.