Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp |
index 329eb12e69a2e47e6df7b28aca86ed35085ec9ad..18c86353f4bf7e4cdbb8670a5c5ff1ebcb2bd3b7 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp |
@@ -49,6 +49,8 @@ static void indexedPropertyGetterCallback(uint32_t index, const v8::PropertyCall |
static void namedPropertyGetter(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
{ |
+ if (!name->IsString()) |
+ return; |
auto nameString = name.As<v8::String>(); |
TestSpecialOperationsNotEnumerable* impl = V8TestSpecialOperationsNotEnumerable::toImpl(info.Holder()); |
AtomicString propertyName = toCoreAtomicString(nameString); |