On 12/27/12 3:33 PM, Neil 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.

Congratulations on missing the point entirely.

Justin

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to