Reenable same-origin checks. Patch by me and jst.

b=156452 r=peterv/sicking/jst sr=bz/jst a=chofmann
This commit is contained in:
sicking%bigfoot.com 2005-11-02 07:33:53 +00:00
Родитель 2dfc63a8c0
Коммит 3afcb199e4
1 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -42,8 +42,11 @@
#include <fstream.h> #include <fstream.h>
#else #else
#include "nsIDOMNode.h" #include "nsIDOMNode.h"
#endif
class nsIScriptSecurityManager;
extern nsIScriptSecurityManager *gTxSecurityManager;
#endif
/** /**
* A utility class for URI handling * A utility class for URI handling
@ -94,7 +97,7 @@ public:
/* /*
* Checks if a caller is allowed to access a given node * Checks if a caller is allowed to access a given node
*/ */
static MBool CanCallerAccess(nsIDOMNode *aNode); static PRBool CanCallerAccess(nsIDOMNode *aNode);
#endif /* TX_EXE */ #endif /* TX_EXE */