Changeset 631
- Timestamp:
- 01/19/08 20:25:24 (11 months ago)
- Files:
-
- trunk/src/components/greasemonkey.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/components/greasemonkey.js
r628 r631 25 25 // chrome:// URLs and the greasemonkey.js component's file:// URL. 26 26 if (2 == stack.language) { 27 if ('chrome' != stack.filename.substr(0, 6) && 28 gmSvcFilename != stack.filename) { 27 // NOTE: In FF 2.0.0.0, I saw that stack.filename can be null for JS/XPCOM 28 // services. This didn't happen in FF 2.0.0.11; I'm not sure when it 29 // changed. 30 if (stack.filename != null && 31 stack.filename != gmSvcFilename && 32 stack.filename.substr(0, 6) != 'chrome') { 29 33 GM_logError(new Error("Greasemonkey access violation: unsafeWindow " + 30 34 "cannot call " + apiName + "."));
