112772 - DOM Inspector leaks a whole document, r=dbaron, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109420 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
955fa48f3d
commit
a0aefcf642
@ -141,12 +141,14 @@ DSLoadObserver.prototype =
|
||||
onError: function(aSink, aStatus, aErrorMsg)
|
||||
{
|
||||
this.mListener.onError(aStatus, aErrorMsg);
|
||||
aSink.removeXMLSinkObserver(this);
|
||||
},
|
||||
|
||||
onEndLoad: function(aSink)
|
||||
{
|
||||
var ds = XPCU.QI(aSink, "nsIRDFDataSource");
|
||||
this.mListener.onDataSourceReady(ds);
|
||||
}
|
||||
|
||||
aSink.removeXMLSinkObserver(this);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user