Open Bug 1461703 Opened 2 years ago Updated 9 months ago

Add a way to ensure that no script runs under a scope.

Categories

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

enhancement

Tracking

()

People

(Reporter: emilio, Unassigned)

References

Details

Boris proposed in bug 1459529 some sort of static analysis... I think an assertion would be ok as well.
I don't trust assertions to work well for this; that would require complete codepath test coverage under the relevant function...
I guess that's true, still they can catch a lot of stuff, specially people trying to add code, which hopefully will execute... Plus static analysis also can have various sorts of bugs.

Would you like me to split this bug in two, one for each kind of thing?
No strong opinion.
Priority: -- → P3
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.