Ranju wrote:
We are stuck trying to access the DOM in the new embedding API. We've
posted our minimal, complete GTK/X11 example at http://pastebin.com/m568ac126.
It *always* passes every NS_FAILED check, but prints out "Number of
elements is 0" for *everything*.
Obvious questions:
1) Is the URI of the document you're looking at there correct?
2) What happens if you try to get the documentElement of that document?
3) What happens if you try to get the childNodes of that document and
look at its length?
> If we *are* setting everything up properly, is the DocumentLoaded
> callback the right place for our DOM inspection code to go?
Yes.
-Boris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding