Add XXX comment for the time being, since I can't tell what this code _should_ do.

This commit is contained in:
bzbarsky%mit.edu 2006-06-02 04:24:53 +00:00
parent 8991256053
commit 86f924a271

View File

@ -281,6 +281,10 @@ nsXBLPrototypeHandler::ExecuteHandler(nsIDOMEventReceiver* aReceiver,
if (!privateWindow) {
nsCOMPtr<nsIContent> elt(do_QueryInterface(aReceiver));
nsCOMPtr<nsIDocument> doc;
// XXXbz sXBL/XBL2 issue -- this should be the "scope doc" or
// something... whatever we use when wrapping DOM nodes
// normally. It's not clear that the owner doc is the right
// thing.
if (elt)
doc = elt->GetOwnerDoc();