Reviewed by Dimitri Glazkov.
Bug 26626: Make WorkerContextExecutionProxy::toV8Object handle exception
objects.
https://bugs.webkit.org/show_bug.cgi?id=26626
* bindings/v8/WorkerContextExecutionProxy.cpp:
(WebCore::WorkerContextExecutionProxy::ToV8Object):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@44965
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2009-06-22 Jian Li <jianli@chromium.org>
+
+ Reviewed by Dimitri Glazkov.
+
+ Bug 26626: Make WorkerContextExecutionProxy::toV8Object handle exception
+ objects.
+ https://bugs.webkit.org/show_bug.cgi?id=26626
+
+ * bindings/v8/WorkerContextExecutionProxy.cpp:
+ (WebCore::WorkerContextExecutionProxy::ToV8Object):
+
2009-06-22 David Hyatt <hyatt@apple.com>
Reviewed by Sam Weinig.
2009-06-22 David Hyatt <hyatt@apple.com>
Reviewed by Sam Weinig.
#include "V8Binding.h"
#include "V8Proxy.h"
#include "V8Binding.h"
#include "V8Proxy.h"
+#include "DOMCoreException.h"
+#include "EventException.h"
+#include "RangeException.h"
+#include "XMLHttpRequestException.h"
#include "V8WorkerContextEventListener.h"
#include "V8WorkerContextObjectEventListener.h"
#include "Worker.h"
#include "V8WorkerContextEventListener.h"
#include "V8WorkerContextObjectEventListener.h"
#include "Worker.h"
case V8ClassIndex::WORKERNAVIGATOR:
static_cast<WorkerNavigator*>(impl)->ref();
break;
case V8ClassIndex::WORKERNAVIGATOR:
static_cast<WorkerNavigator*>(impl)->ref();
break;
+ case V8ClassIndex::DOMCOREEXCEPTION:
+ static_cast<DOMCoreException*>(impl)->ref();
+ break;
+ case V8ClassIndex::RANGEEXCEPTION:
+ static_cast<RangeException*>(impl)->ref();
+ break;
+ case V8ClassIndex::EVENTEXCEPTION:
+ static_cast<EventException*>(impl)->ref();
+ break;
+ case V8ClassIndex::XMLHTTPREQUESTEXCEPTION:
+ static_cast<XMLHttpRequestException*>(impl)->ref();
+ break;
default:
ASSERT(false);
}
default:
ASSERT(false);
}