| Index: Source/modules/indexeddb/IDBFactory.cpp
|
| diff --git a/Source/modules/indexeddb/IDBFactory.cpp b/Source/modules/indexeddb/IDBFactory.cpp
|
| index a70646ef65b3015ec7e0885c6a0e69267d607b68..7a0ea440ebb54e97c1f9991ddfa8511eca354aeb 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;
|
| }
|
|
|
| @@ -116,7 +115,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;
|
| }
|
|
|
| @@ -150,7 +149,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;
|
| }
|
|
|
|
|