iFrame in Firefox hidden window with a contentWindow.history?
- by Jon
I'm trying to run a hosted script with content privileges in my Firefox extension. To do this, I create a content iframe in the hidden window pointed at a html file that pulls the script. This script requires the 'history' be available, but the iframes created in the hidden window have no history for some reason.
Chromebug reports this for the iframe's contentWindow.history:
object does not support history (nsIDOMHistory)
And the script gives this error when its not available:
Error: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHistory.length]
Any ideas?