| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| index 7af861c21e587c3cbb666b5bdb9f4a70facdfb43..40017926e7ec1b6624cba135bab9bc025993a1fd 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| @@ -282,6 +282,8 @@ static bool namedPropertyFromDebuggerScopeExtension(v8::Local<v8::Name> name, co
|
|
|
| void V8Window::namedPropertyGetterCustom(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| + if (!name->IsString())
|
| + return;
|
| auto nameString = name.As<v8::String>();
|
| DOMWindow* window = V8Window::toImpl(info.Holder());
|
| if (!window)
|
|
|