| Index: Source/bindings/v8/ExceptionState.h
|
| diff --git a/Source/bindings/v8/ExceptionState.h b/Source/bindings/v8/ExceptionState.h
|
| index b0e0564b11498eb27424355c133d2e852c4b94b7..46c55ba72f2f68493af23ccd5c37339e407c7c44 100644
|
| --- a/Source/bindings/v8/ExceptionState.h
|
| +++ b/Source/bindings/v8/ExceptionState.h
|
| @@ -50,6 +50,11 @@ public:
|
| DeletionContext,
|
| GetterContext,
|
| SetterContext,
|
| + EnumerationContext,
|
| + QueryContext,
|
| + IndexedGetterContext,
|
| + IndexedSetterContext,
|
| + IndexedDeletionContext,
|
| UnknownContext, // FIXME: Remove this once we've flipped over to the new API.
|
| };
|
|
|
| @@ -75,7 +80,7 @@ public:
|
| , m_propertyName(0)
|
| , m_interfaceName(interfaceName)
|
| , m_creationContext(creationContext)
|
| - , m_isolate(isolate) { ASSERT(m_context == ConstructionContext); }
|
| + , m_isolate(isolate) { ASSERT(m_context == ConstructionContext || m_context == EnumerationContext || m_context == IndexedSetterContext || m_context == IndexedGetterContext || m_context == IndexedDeletionContext); }
|
|
|
| virtual void throwDOMException(const ExceptionCode&, const String& message);
|
| virtual void throwTypeError(const String& message);
|
|
|