Bug 169980, document.load should add its document to the parent document's loadgroup so that if we leave the current page the load will be aborted aotomatically, r=harishd, sr=darin.

This commit is contained in:
heikki@netscape.com
2003-04-02 21:44:39 +00:00
parent 0bfe9aefd7
commit 50fcf1b58f
4 changed files with 38 additions and 6 deletions

View File

@@ -147,6 +147,8 @@ protected:
virtual PRInt32 InternalGetNumberOfStyleSheets();
nsresult CreateElement(nsINodeInfo *aNodeInfo, nsIDOMElement** aResult);
virtual nsresult GetLoadGroup(nsILoadGroup **aLoadGroup);
// For HTML elements in our content model
// XXX This is not clean, but is there a better way?