<browser id="glider-hidden-browser" collapsed="true" />
This is the code:
var browser = document.getElementById("glider-hidden-browser");
var url = "hello";
browser.loadURI(url);
The last line produces this error message:
ERROR: onDrop: [Exception... "Component returned failure code: 0x8000ffff
(NS_ERROR_UNEXPECTED) [nsIContainerBoxObject.docShell]" nsresult:
"0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame ::
chrome://global/content/bindings/browser.xml :: get_docShell :: line 0"
data: no]
When the code was packaged as an xpi, this worked well, but it stopped
working in xulrunner. Any advice would be appreciated.
Susan
I'm not familiar with the browser element but here are a few guesses,
is the app fully loaded? have you tried it with a valid url? do you
need to alter the collapsed property before loading the url?
that's all i've got.
pat