| 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 78b5f7d8adad4833eecca646921c93d4c1a14951..d263fd3fbe8eb7653b415edb0a6296a19f173f04 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| @@ -320,6 +320,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)
|
|
|