Closed
Bug 227758
Opened 21 years ago
Closed 21 years ago
Fix scriptability of some nsIScriptSecurityManager.idl methods
Categories
(Core :: Security: CAPS, defect)
Core
Security: CAPS
Tracking
()
RESOLVED
FIXED
mozilla1.7alpha
People
(Reporter: neil, Assigned: neil)
Details
Attachments
(1 file)
(deleted),
patch
|
caillon
:
review+
dveditz
:
superreview+
|
Details | Diff | Splinter Review |
I want to be able to call securityCompareURIs (from chrome) and possibly
checkSameOriginURI; btw subjectPrincipalIsSystem() seems useless.
Assignee | ||
Comment 1•21 years ago
|
||
[expletive deleted] caillon wouldn't let me script securityCompareURIs :-(
Assignee | ||
Updated•21 years ago
|
Attachment #137018 -
Flags: superreview?(darin)
Attachment #137018 -
Flags: review?(caillon)
Comment 2•21 years ago
|
||
Comment on attachment 137018 [details] [diff] [review]
Proposed patch
The changes here (especially the first hunk of the patch) look good. r=me.
Attachment #137018 -
Flags: review?(caillon) → review+
Updated•21 years ago
|
OS: AIX → All
Comment 3•21 years ago
|
||
Comment on attachment 137018 [details] [diff] [review]
Proposed patch
Why not script securityCompareURI? checkSameOriginURI is just a wrapper around
it, and returning a boolean is easier to deal with in script.
sr=dveditz
Attachment #137018 -
Flags: superreview?(darin) → superreview+
Comment 4•21 years ago
|
||
Because everything else in caps throws on deny. Whether that should continue to
be the case can be debated, but not here.
Assignee | ||
Comment 5•21 years ago
|
||
Mine :-)
Assignee: security-bugs → neil.parkwaycc.co.uk
Target Milestone: --- → mozilla1.7alpha
Assignee | ||
Comment 6•21 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•21 years ago
|
||
Ah, the other issue with checkSameOriginURI is that it dumps all sorts of
nasty-looking warnings to the console when it fails :-(
You need to log in
before you can comment on or make changes to this bug.
Description
•