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*.
We've also tried directly inserting the example code from https://wiki.mozilla.org/Embedding/NewApi/XpcomAccess into the DocumentLoaded callback (as suggested on that page), but that fails as well. Are we not setting something up properly? If we *are* setting everything up properly, is the DocumentLoaded callback the right place for our DOM inspection code to go? Any help would be greatly appreciated! _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
