| Index: Source/modules/indexeddb/IDBFactory.cpp
|
| diff --git a/Source/modules/indexeddb/IDBFactory.cpp b/Source/modules/indexeddb/IDBFactory.cpp
|
| index 6af3011745a68d653cf445787a98f6653e8aa575..231f28c49c3e7e34c23ad22274a41acec8748fe4 100644
|
| --- a/Source/modules/indexeddb/IDBFactory.cpp
|
| +++ b/Source/modules/indexeddb/IDBFactory.cpp
|
| @@ -29,7 +29,6 @@
|
| #include "config.h"
|
| #include "modules/indexeddb/IDBFactory.h"
|
|
|
| -#include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "bindings/v8/IDBBindingUtilities.h"
|
| #include "core/dom/Document.h"
|
| @@ -79,7 +78,7 @@ PassRefPtr<IDBRequest> IDBFactory::getDatabaseNames(ExecutionContext* context, E
|
| if (!isContextValid(context))
|
| return 0;
|
| if (!context->securityOrigin()->canAccessDatabase()) {
|
| - exceptionState.throwSecurityError(ExceptionMessages::failedToExecute("getDatabaseNames", "IDBFactory", "access to the Indexed Database API is denied in this context."));
|
| + exceptionState.throwSecurityError("access to the Indexed Database API is denied in this context.");
|
| return 0;
|
| }
|
|
|
| @@ -115,7 +114,7 @@ PassRefPtr<IDBOpenDBRequest> IDBFactory::openInternal(ExecutionContext* context,
|
| if (!isContextValid(context))
|
| return 0;
|
| if (!context->securityOrigin()->canAccessDatabase()) {
|
| - exceptionState.throwSecurityError(ExceptionMessages::failedToExecute("open", "IDBFactory", "access to the Indexed Database API is denied in this context."));
|
| + exceptionState.throwSecurityError("access to the Indexed Database API is denied in this context.");
|
| return 0;
|
| }
|
|
|
| @@ -149,7 +148,7 @@ PassRefPtr<IDBOpenDBRequest> IDBFactory::deleteDatabase(ExecutionContext* contex
|
| if (!isContextValid(context))
|
| return 0;
|
| if (!context->securityOrigin()->canAccessDatabase()) {
|
| - exceptionState.throwSecurityError(ExceptionMessages::failedToExecute("deleteDatabase", "IDBFactory", "access to the Indexed Database API is denied in this context."));
|
| + exceptionState.throwSecurityError("access to the Indexed Database API is denied in this context.");
|
| return 0;
|
| }
|
|
|
|
|