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
Родитель 8991256053
Коммит 86f924a271
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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();