Open Bug 468104 Opened 16 years ago Updated 2 years ago

Worker is not subject to CAPS checks

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

People

(Reporter: ma1, Unassigned)

References

Details

Properties of Worker seem not to be checked by CAPS.

Supposing the following properties are set,

user_pref("capability.policy.default.XMLHttpRequest.send", "noAccess");
user_pref("capability.policy.default.Worker.postMessage", "noAccess");

this code throws a security exception as it is supposed to:
new XMLHttpRequest().send(null)

This code doesn't, while it should:
new Worker("somescript.js").postMessage("0")
Component: DOM: Mozilla Extensions → DOM
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.