List view getListItemXmlAttributes method fails with child publication items List view getListItemXmlAttributes method fails with child publication items javascript javascript

List view getListItemXmlAttributes method fails with child publication items


[Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIWebProgress.DOMWindow]"

This means that there was no window assigned to the nsIWebProgress object. So it has nowhere to display data.

nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: chrome://browser/content/tabbrowser.xml :: :: line 545" data: no]

This is telling you what file is associated with that error. and what line it faulted on.

But the real key is the NS_NOINTERFACE error. Which means the interface has not been registered.

You are using Type.enableInterface(). Is that a custom method you are declaring somewhere else ? I don't see it. You might want to change that to .registerInterface()

See this link Type Class and Type.registerInterface()