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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user