Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp |
index 3d875032abb158682ef742de6a6d8455a7b77d63..65e66fb32faaf4aa72eb2ba1316afef5d92eb41f 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp |
@@ -207,21 +207,29 @@ static void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCal |
static void namedPropertyGetterCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
{ |
+ if (!name->IsString()) |
+ return; |
V8TestInterface3::namedPropertyGetterCustom(name, info); |
} |
static void namedPropertySetterCallback(v8::Local<v8::Name> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) |
{ |
+ if (!name->IsString()) |
+ return; |
V8TestInterface3::namedPropertySetterCustom(name, v8Value, info); |
} |
static void namedPropertyQueryCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Integer>& info) |
{ |
+ if (!name->IsString()) |
+ return; |
V8TestInterface3::namedPropertyQueryCustom(name, info); |
} |
static void namedPropertyDeleterCallback(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Boolean>& info) |
{ |
+ if (!name->IsString()) |
+ return; |
V8TestInterface3::namedPropertyDeleterCustom(name, info); |
} |