Open Bug 1681741 Opened 4 years ago Updated 4 years ago

Annotate CDMProxy::Shutdown with MOZ_CAN_RUN_SCRIPT

Categories

(Core :: Audio/Video, task, P3)

task

Tracking

()

People

(Reporter: bryce, Unassigned)

References

(Blocks 1 open bug)

Details

This is follows up on some discussion in https://phabricator.services.mozilla.com/D98641 -- because MediaDrmCDMProxy can end up spinning the event loop when it shuts down its thread[0] it can end up causing scripts to run. Because of this it would be good to annotate it with MOZ_CAN_RUN_SCRIPT and then propagate the annotation out as necessary.

[0] https://searchfox.org/mozilla-central/rev/4415bec7a49c50a338167d9c8934527b9cae59d0/dom/media/eme/mediadrm/MediaDrmCDMProxy.cpp#158

Blocks: 1415230
Severity: -- → N/A
You need to log in before you can comment on or make changes to this bug.