Closed
Bug 405394
Opened 17 years ago
Closed 6 years ago
Greasemonkey -- "security manager vetoed" when accessing HTMLEmbedElement.wrappedJSObject.<anything>
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: boogs, Unassigned)
Details
Attachments
(1 file)
284 bytes,
text/javascript
|
Details |
A Greasemonkey script author sent me an example of a script that stopped working in FF3 and I narrowed it down to a simple repro. The attached script works in FF2 on http://homestarrunner.com/ (it alerts 'true'). In FF3.0a8 it fails with: Error: Security Manager vetoed action Source File: file:///c:/Documents%20and%20Settings/aa/p1/gm_scripts/testembed/testembed.user.js Line: 8 In the js console.
Updated•17 years ago
|
Attachment #290182 -
Attachment mime type: application/x-javascript → text/javascript
Comment 1•17 years ago
|
||
Poor jst, doomed to a lifetime of being cc'ed on anything with "embed" and "xpcwrapper" in it.
Component: Extension Compatibility → XPConnect
Product: Firefox → Core
QA Contact: extension.compatibility → xpconnect
Version: unspecified → Trunk
Comment 2•17 years ago
|
||
Does anyone have a link to a greasemonkey xpi that works with current trunk?
Comment 3•17 years ago
|
||
http://www.youngpup.net/z_dropbox/greasemonkey-0.7.20071121.0.xpi should, according to http://groups.google.com/group/greasemonkey-dev/browse_thread/thread/8b91cdb1694fe7d6#b84908bdd809e182
Not sure if this bug has been resolved or not as it was reported late last year, but I have a similar issue with my Greasemonkey script and Adblock Plus:- http://userscripts.org/forums/1/topics/2615 Also, I tested the user script attachment above with similar results to my own script. Alert pops up normally with Adblock Plus disabled (specifically the tabs on flash and java option), but when enabled I receive no alert and the "security manager vetoed" error in javascript console.
Comment 5•16 years ago
|
||
Duplicate of bug 441087?
Comment 6•16 years ago
|
||
It doesn't look like it -- that bug was about exceptions accessing XPCNativeWrapped objects while this one is about working on .wrappedJSObjects (which happen to be XPCSafeJSObjectWrappers).
I could reproduce the same issue after I updated to Firefox 3.0.5 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5)
Comment 8•6 years ago
|
||
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•