Open
Bug 294381
Opened 20 years ago
Updated 2 years ago
Need better CanExecuteScripts() api
Categories
(Core :: Security: CAPS, defect)
Tracking
()
NEW
People
(Reporter: bzbarsky, Assigned: dveditz)
Details
Right now, to use CanExecuteScripts() you need a principal and a JSContext. There is no clear indication what the JSContext is needed for, and not passing one opens up security holes (since the method doesn't fail-safe). We should probably have a clearer indication in the comments of what the JSContext is there for, and possibly take an nsIDOMWindow or something instead of a JSContext...
Updated•15 years ago
|
QA Contact: caps
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•