Open Bug 1626793 Opened 4 years ago Updated 4 years ago

One version of Document::FlushPendingNotifications does not have MOZ_CAN_RUN_SCRIPT annotation

Categories

(Core :: DOM: Core & HTML, task, P3)

task

Tracking

()

People

(Reporter: alaskanemily, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

There are two versions of Document::FlushPendingNotifications, one which has the MOZ_CAN_RUN_SCRIPT and one which doesn't. But they can each call each other, and it doesn't seem like the one without the annotation is really limited from using the script code in the one with the annotation. This should either be verified that it is impossible for Document::FlushPendingNotifications to not use the script code in the version with the annotation and documented why, or the annotation should be applied it.

Depends on: 1626794
No longer depends on: 1626794
Flags: needinfo?(emcdonough)
Type: defect → task
Severity: normal → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.