summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/V8Proxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/v8/V8Proxy.cpp')
-rw-r--r--WebCore/bindings/v8/V8Proxy.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/WebCore/bindings/v8/V8Proxy.cpp b/WebCore/bindings/v8/V8Proxy.cpp
index df3670d..5eaba00 100644
--- a/WebCore/bindings/v8/V8Proxy.cpp
+++ b/WebCore/bindings/v8/V8Proxy.cpp
@@ -37,6 +37,7 @@
#include "DocumentLoader.h"
#include "Frame.h"
#include "FrameLoaderClient.h"
+#include "IDBDatabaseException.h"
#include "IDBFactoryBackendInterface.h"
#include "IDBPendingTransactionMonitor.h"
#include "InspectorInstrumentation.h"
@@ -64,6 +65,10 @@
#include "WorkerContext.h"
#include "WorkerContextExecutionProxy.h"
+#if ENABLE(INDEXED_DATABASE)
+#include "V8IDBDatabaseException.h"
+#endif
+
#if ENABLE(SVG)
#include "V8SVGException.h"
#endif
@@ -707,6 +712,11 @@ void V8Proxy::setDOMException(int exceptionCode)
exception = toV8(FileException::create(description));
break;
#endif
+#if ENABLE(INDEXED_DATABASE)
+ case IDBDatabaseExceptionType:
+ exception = toV8(IDBDatabaseException::create(description));
+ break;
+#endif
default:
ASSERT_NOT_REACHED();
}