Open Bug 1616831 Opened 3 years ago Updated 5 months ago

Annotate Service Workers and Clients API code with MOZ_CAN_RUN_SCRIPT / MOZ_CAN_RUN_SCRIPT_BOUNDARY

Categories

(Core :: DOM: Service Workers, enhancement, P2)

enhancement

Tracking

()

People

(Reporter: asuth, Unassigned)

Details

The (conservative, global) hazard analysis and the https://searchfox.org/mozilla-central/source/build/clang-plugin/CanRunScriptChecker.cpp checker would both benefit from this. Because CanRunScriptChecker.cpp requires the transitive graph be labeled (or bounded by MOZ_CAN_RUN_SCRIPT_BOUNDARY) this potentially means a lot of labeling!

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.