From 3afcb199e48cc38772ac1da1508d62d7e97b40c8 Mon Sep 17 00:00:00 2001 From: "sicking%bigfoot.com" Date: Wed, 2 Nov 2005 07:33:53 +0000 Subject: [PATCH] Reenable same-origin checks. Patch by me and jst. b=156452 r=peterv/sicking/jst sr=bz/jst a=chofmann --- content/xslt/src/base/txURIUtils.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/content/xslt/src/base/txURIUtils.h b/content/xslt/src/base/txURIUtils.h index 4189ff7b368a..ac21884fe20a 100644 --- a/content/xslt/src/base/txURIUtils.h +++ b/content/xslt/src/base/txURIUtils.h @@ -42,8 +42,11 @@ #include #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 */