| Index: Source/bindings/tests/results/V8TestObject.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp
|
| index be7ed3726f57f6a4e6aa4ae6b346ec50c4abe56d..d21fd4f93380418e78994999dc2dca73dc88c9eb 100644
|
| --- a/Source/bindings/tests/results/V8TestObject.cpp
|
| +++ b/Source/bindings/tests/results/V8TestObject.cpp
|
| @@ -5251,7 +5251,8 @@ static void namedPropertyQuery(v8::Local<v8::String> name, const v8::PropertyCal
|
| {
|
| TestObject* imp = V8TestObject::toNative(info.Holder());
|
| AtomicString propertyName = toCoreAtomicString(name);
|
| - ExceptionState exceptionState(info.Holder(), info.GetIsolate());
|
| + v8::String::Utf8Value namedProperty(name);
|
| + ExceptionState exceptionState(ExceptionState::GetterContext, *namedProperty, "TestObject", info.Holder(), info.GetIsolate());
|
| bool result = imp->namedPropertyQuery(propertyName, exceptionState);
|
| if (exceptionState.throwIfNeeded())
|
| return;
|
| @@ -5271,7 +5272,7 @@ static void namedPropertyEnumerator(const v8::PropertyCallbackInfo<v8::Array>& i
|
| {
|
| TestObject* imp = V8TestObject::toNative(info.Holder());
|
| Vector<String> names;
|
| - ExceptionState exceptionState(info.Holder(), info.GetIsolate());
|
| + ExceptionState exceptionState(ExceptionState::EnumerationContext, "TestObject", info.Holder(), info.GetIsolate());
|
| imp->namedPropertyEnumerator(names, exceptionState);
|
| if (exceptionState.throwIfNeeded())
|
| return;
|
|
|