Skip to content

Instantly share code, notes, and snippets.

@jimblandy
Created March 5, 2013 19:38
Show Gist options
  • Save jimblandy/5093472 to your computer and use it in GitHub Desktop.
Save jimblandy/5093472 to your computer and use it in GitHub Desktop.
js> var parentMM = Components.classes['@mozilla.org/parentprocessmessagemanager;1'].getService(Components.interfaces.nsIMessageBroadcaster)
js> parentMM.loadFrameScript
function loadFrameScript() {
[native code]
}
js> parentMM.loadFrameScript('file:///home/jimb/moz/printfoo.js')
[Parent 31198] ###!!! ASSERTION: hmm? CanCallNow failed in XPCWrappedNative::CallMethod. We are finding out about this late!: 'rv == NS_ERROR_XPC_SECURITY_MANAGER_VETO', file /home/jimb/moz/dbg/js/xpconnect/src/XPCWrappedNative.cpp, line 2344
typein:18: NS_NOINTERFACE: Component does not have requested interface [nsIFrameScriptLoader.loadFrameScript]
js>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment