From 082e6cbeec40f9608475cc00d014a99e6011e4d0 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Fri, 2 Jun 2006 04:24:53 +0000 Subject: [PATCH] Add XXX comment for the time being, since I can't tell what this code _should_ do. --- content/xbl/src/nsXBLPrototypeHandler.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/xbl/src/nsXBLPrototypeHandler.cpp b/content/xbl/src/nsXBLPrototypeHandler.cpp index f1f37c330b1..488bd6001b5 100644 --- a/content/xbl/src/nsXBLPrototypeHandler.cpp +++ b/content/xbl/src/nsXBLPrototypeHandler.cpp @@ -281,6 +281,10 @@ nsXBLPrototypeHandler::ExecuteHandler(nsIDOMEventReceiver* aReceiver, if (!privateWindow) { nsCOMPtr elt(do_QueryInterface(aReceiver)); nsCOMPtr 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();