зеркало из https://github.com/mozilla/pjs.git
Add XXX comment for the time being, since I can't tell what this code _should_ do.
This commit is contained in:
Родитель
1ea5dd728a
Коммит
082e6cbeec
|
@ -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();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче