Index: Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp |
diff --git a/Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp b/Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp |
index aece51bd40e5c1c34355ce8898613c59f1d94734..75cb2283302732faec75603a5d81bd2fe559cc9b 100644 |
--- a/Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp |
+++ b/Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp |
@@ -98,7 +98,9 @@ bool ParsedProperties::parseBlobPropertyBag(v8::Isolate* isolate, v8::Local<v8:: |
v8::Local<v8::Value> lastModified; |
TONATIVE_DEFAULT(bool, containsLastModified, DictionaryHelper::get(dictionary, "lastModified", lastModified), false); |
if (containsLastModified) { |
- TONATIVE_DEFAULT(long long, lastModifiedInt, toInt64(isolate, lastModified), false); |
+ long long lastModifiedInt = toInt64(isolate, lastModified, NormalConversion, exceptionState); |
+ if (exceptionState.hadException()) |
+ return false; |
setLastModified(static_cast<double>(lastModifiedInt)); |
} else { |
setDefaultLastModified(); |