Index: Source/bindings/core/v8/V8Binding.cpp |
diff --git a/Source/bindings/core/v8/V8Binding.cpp b/Source/bindings/core/v8/V8Binding.cpp |
index fd48a502ada3ea0db78f4fb100a94108dd3550de..60b424867a3cf167d4fac76995dc59441b8a7bc9 100644 |
--- a/Source/bindings/core/v8/V8Binding.cpp |
+++ b/Source/bindings/core/v8/V8Binding.cpp |
@@ -533,6 +533,7 @@ float toRestrictedFloat(v8::Handle<v8::Value> value, ExceptionState& exceptionSt |
double toDoubleSlow(v8::Handle<v8::Value> value, ExceptionState& exceptionState) |
{ |
+ ASSERT(!value->IsNumber()); |
v8::Isolate* isolate = v8::Isolate::GetCurrent(); |
v8::TryCatch block(isolate); |
double doubleValue = value->NumberValue(); |