Justin Dolske wrote:

What happens today (and in the future), with something like:

  // Hello, I am chrome code adding an anchor to content
  var noob = document.createElement("a");
  gBrowser.contentDocument.body.appendChild(noob);

If you're lucky, you append a XUL element to the content document. If you're unlucky, you get a DOM exception. Either way the node isn't an HTML anchor element.

--
Warning: May contain traces of nuts.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to