зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
2dfc63a8c0
Коммит
3afcb199e4
|
@ -42,8 +42,11 @@
|
|||
#include <fstream.h>
|
||||
#else
|
||||
#include "nsIDOMNode.h"
|
||||
#endif
|
||||
|
||||
class nsIScriptSecurityManager;
|
||||
extern nsIScriptSecurityManager *gTxSecurityManager;
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* A utility class for URI handling
|
||||
|
@ -94,7 +97,7 @@ public:
|
|||
/*
|
||||
* Checks if a caller is allowed to access a given node
|
||||
*/
|
||||
static MBool CanCallerAccess(nsIDOMNode *aNode);
|
||||
static PRBool CanCallerAccess(nsIDOMNode *aNode);
|
||||
|
||||
#endif /* TX_EXE */
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче