Closed Bug 1384397 Opened 7 years ago Closed 7 years ago

Allow scheduling CanWait interrupt callbacks

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: billm, Assigned: billm)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
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+
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)
https://hg.mozilla.org/mozilla-central/rev/8853b5119f68
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.