Bug 326501. Mark tree views as being suitable for untrusted code. r+sr=bzbarsky

git-svn-id: svn://10.0.0.236/trunk@193019 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
roc+%cs.cmu.edu
2006-03-26 20:59:03 +00:00
parent 61d6f777a5
commit a6877ac98a
6 changed files with 30 additions and 6 deletions

View File

@@ -293,7 +293,7 @@ class mozSqlResult : public mozISqlResult,
public mozISqlDataSource,
public nsIRDFDataSource,
public nsIRDFRemoteDataSource,
public nsITreeView
public nsINativeTreeView
{
public:
mozSqlResult(mozISqlConnection* aConnection,
@@ -328,6 +328,8 @@ class mozSqlResult : public mozISqlResult,
NS_DECL_NSIRDFREMOTEDATASOURCE
NS_DECL_NSITREEVIEW
// nsINativeTreeView: Untrusted code can use us
NS_IMETHOD EnsureNative() { return NS_OK; }
friend class mozSqlResultEnumerator;
friend class mozSqlResultStream;