mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 464260: FUEL - Change nsIDOMHTMLDocument check to nsIDOMDocument check, r=gavin
This commit is contained in:
parent
89b349d0a4
commit
5771ee4e14
@ -233,7 +233,7 @@ BrowserTab.prototype = {
|
||||
*/
|
||||
_event : function bt_event(aEvent) {
|
||||
if (aEvent.type == "load") {
|
||||
if (!(aEvent.originalTarget instanceof Ci.nsIDOMHTMLDocument))
|
||||
if (!(aEvent.originalTarget instanceof Ci.nsIDOMDocument))
|
||||
return;
|
||||
|
||||
if (aEvent.originalTarget.defaultView instanceof Ci.nsIDOMWindowInternal &&
|
||||
|
Loading…
Reference in New Issue
Block a user