Disable loading of images in data documents on the document level, not on the

node level.  Bug 251354, r=sicking, sr=peterv, a=asa
This commit is contained in:
bzbarsky@mit.edu
2005-04-11 00:29:36 +00:00
parent 8ea0f24e14
commit 71f2c3914b
8 changed files with 221 additions and 22 deletions

View File

@@ -74,6 +74,8 @@ public:
virtual void EndLoad();
virtual PRBool IsLoadedAsData();
// nsIDOMNode interface
NS_IMETHOD CloneNode(PRBool aDeep, nsIDOMNode** aReturn);
@@ -102,6 +104,7 @@ protected:
nsCOMPtr<nsIScriptContext> mScriptContext;
PRPackedBool mCrossSiteAccessEnabled;
PRPackedBool mLoadedAsData;
PRPackedBool mLoadedAsInteractiveData;
PRPackedBool mAsync;
PRPackedBool mLoopingForSyncLoad;
};