| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file has been auto-generated by code_generator_v8.py. | 5 // This file has been auto-generated by code_generator_v8.py. |
| 6 // DO NOT MODIFY! | 6 // DO NOT MODIFY! |
| 7 | 7 |
| 8 // This file has been generated from the Jinja2 template in | 8 // This file has been generated from the Jinja2 template in |
| 9 // third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl | 9 // third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl |
| 10 | 10 |
| (...skipping 9231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9242 | 9242 |
| 9243 ScriptState* scriptState = ScriptState::ForReceiverObject(info); | 9243 ScriptState* scriptState = ScriptState::ForReceiverObject(info); |
| 9244 | 9244 |
| 9245 Iterator* result = impl->valuesForBinding(scriptState, exceptionState); | 9245 Iterator* result = impl->valuesForBinding(scriptState, exceptionState); |
| 9246 if (exceptionState.HadException()) { | 9246 if (exceptionState.HadException()) { |
| 9247 return; | 9247 return; |
| 9248 } | 9248 } |
| 9249 V8SetReturnValue(info, result); | 9249 V8SetReturnValue(info, result); |
| 9250 } | 9250 } |
| 9251 | 9251 |
| 9252 static void entriesMethod(const v8::FunctionCallbackInfo<v8::Value>& info) { | |
| 9253 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::kExecutionCon
text, "TestObject", "entries"); | |
| 9254 | |
| 9255 TestObject* impl = V8TestObject::toImpl(info.Holder()); | |
| 9256 | |
| 9257 ScriptState* scriptState = ScriptState::ForReceiverObject(info); | |
| 9258 | |
| 9259 Iterator* result = impl->entriesForBinding(scriptState, exceptionState); | |
| 9260 if (exceptionState.HadException()) { | |
| 9261 return; | |
| 9262 } | |
| 9263 V8SetReturnValue(info, result); | |
| 9264 } | |
| 9265 | |
| 9266 static void forEachMethod(const v8::FunctionCallbackInfo<v8::Value>& info) { | 9252 static void forEachMethod(const v8::FunctionCallbackInfo<v8::Value>& info) { |
| 9267 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::kExecutionCon
text, "TestObject", "forEach"); | 9253 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::kExecutionCon
text, "TestObject", "forEach"); |
| 9268 | 9254 |
| 9269 TestObject* impl = V8TestObject::toImpl(info.Holder()); | 9255 TestObject* impl = V8TestObject::toImpl(info.Holder()); |
| 9270 | 9256 |
| 9271 ScriptState* scriptState = ScriptState::ForReceiverObject(info); | 9257 ScriptState* scriptState = ScriptState::ForReceiverObject(info); |
| 9272 | 9258 |
| 9273 if (UNLIKELY(info.Length() < 1)) { | 9259 if (UNLIKELY(info.Length() < 1)) { |
| 9274 exceptionState.ThrowTypeError(ExceptionMessages::NotEnoughArguments(1, info.
Length())); | 9260 exceptionState.ThrowTypeError(ExceptionMessages::NotEnoughArguments(1, info.
Length())); |
| 9275 return; | 9261 return; |
| (...skipping 2845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12121 } | 12107 } |
| 12122 | 12108 |
| 12123 void V8TestObject::keysMethodCallback(const v8::FunctionCallbackInfo<v8::Value>&
info) { | 12109 void V8TestObject::keysMethodCallback(const v8::FunctionCallbackInfo<v8::Value>&
info) { |
| 12124 TestObjectV8Internal::keysMethod(info); | 12110 TestObjectV8Internal::keysMethod(info); |
| 12125 } | 12111 } |
| 12126 | 12112 |
| 12127 void V8TestObject::valuesMethodCallback(const v8::FunctionCallbackInfo<v8::Value
>& info) { | 12113 void V8TestObject::valuesMethodCallback(const v8::FunctionCallbackInfo<v8::Value
>& info) { |
| 12128 TestObjectV8Internal::valuesMethod(info); | 12114 TestObjectV8Internal::valuesMethod(info); |
| 12129 } | 12115 } |
| 12130 | 12116 |
| 12131 void V8TestObject::entriesMethodCallback(const v8::FunctionCallbackInfo<v8::Valu
e>& info) { | |
| 12132 TestObjectV8Internal::entriesMethod(info); | |
| 12133 } | |
| 12134 | |
| 12135 void V8TestObject::forEachMethodCallback(const v8::FunctionCallbackInfo<v8::Valu
e>& info) { | 12117 void V8TestObject::forEachMethodCallback(const v8::FunctionCallbackInfo<v8::Valu
e>& info) { |
| 12136 TestObjectV8Internal::forEachMethod(info); | 12118 TestObjectV8Internal::forEachMethod(info); |
| 12137 } | 12119 } |
| 12138 | 12120 |
| 12139 void V8TestObject::hasMethodCallback(const v8::FunctionCallbackInfo<v8::Value>&
info) { | 12121 void V8TestObject::hasMethodCallback(const v8::FunctionCallbackInfo<v8::Value>&
info) { |
| 12140 TestObjectV8Internal::hasMethod(info); | 12122 TestObjectV8Internal::hasMethod(info); |
| 12141 } | 12123 } |
| 12142 | 12124 |
| 12143 void V8TestObject::getMethodCallback(const v8::FunctionCallbackInfo<v8::Value>&
info) { | 12125 void V8TestObject::getMethodCallback(const v8::FunctionCallbackInfo<v8::Value>&
info) { |
| 12144 TestObjectV8Internal::getMethod(info); | 12126 TestObjectV8Internal::getMethod(info); |
| (...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12921 {"useToImpl4ArgumentsCheckingIfPossibleWithOptionalArg", V8TestObject::useTo
Impl4ArgumentsCheckingIfPossibleWithOptionalArgMethodCallback, 1, v8::None, V8DO
MConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfigurati
on::kDoNotCheckAccess, V8DOMConfiguration::kAllWorlds}, | 12903 {"useToImpl4ArgumentsCheckingIfPossibleWithOptionalArg", V8TestObject::useTo
Impl4ArgumentsCheckingIfPossibleWithOptionalArgMethodCallback, 1, v8::None, V8DO
MConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfigurati
on::kDoNotCheckAccess, V8DOMConfiguration::kAllWorlds}, |
| 12922 {"useToImpl4ArgumentsCheckingIfPossibleWithNullableArg", V8TestObject::useTo
Impl4ArgumentsCheckingIfPossibleWithNullableArgMethodCallback, 2, v8::None, V8DO
MConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfigurati
on::kDoNotCheckAccess, V8DOMConfiguration::kAllWorlds}, | 12904 {"useToImpl4ArgumentsCheckingIfPossibleWithNullableArg", V8TestObject::useTo
Impl4ArgumentsCheckingIfPossibleWithNullableArgMethodCallback, 2, v8::None, V8DO
MConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfigurati
on::kDoNotCheckAccess, V8DOMConfiguration::kAllWorlds}, |
| 12923 {"useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArg", V8TestObject::useT
oImpl4ArgumentsCheckingIfPossibleWithUndefinedArgMethodCallback, 1, v8::None, V8
DOMConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfigura
tion::kDoNotCheckAccess, V8DOMConfiguration::kAllWorlds}, | 12905 {"useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArg", V8TestObject::useT
oImpl4ArgumentsCheckingIfPossibleWithUndefinedArgMethodCallback, 1, v8::None, V8
DOMConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfigura
tion::kDoNotCheckAccess, V8DOMConfiguration::kAllWorlds}, |
| 12924 {"unforgeableVoidMethod", V8TestObject::unforgeableVoidMethodMethodCallback,
0, static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete), V8DOMConf
iguration::kOnInstance, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kD
oNotCheckAccess, V8DOMConfiguration::kAllWorlds}, | 12906 {"unforgeableVoidMethod", V8TestObject::unforgeableVoidMethodMethodCallback,
0, static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete), V8DOMConf
iguration::kOnInstance, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kD
oNotCheckAccess, V8DOMConfiguration::kAllWorlds}, |
| 12925 {"voidMethodTestInterfaceGarbageCollectedSequenceArg", V8TestObject::voidMet
hodTestInterfaceGarbageCollectedSequenceArgMethodCallback, 1, v8::None, V8DOMCon
figuration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::
kDoNotCheckAccess, V8DOMConfiguration::kAllWorlds}, | 12907 {"voidMethodTestInterfaceGarbageCollectedSequenceArg", V8TestObject::voidMet
hodTestInterfaceGarbageCollectedSequenceArgMethodCallback, 1, v8::None, V8DOMCon
figuration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::
kDoNotCheckAccess, V8DOMConfiguration::kAllWorlds}, |
| 12926 {"voidMethodTestInterfaceGarbageCollectedArrayArg", V8TestObject::voidMethod
TestInterfaceGarbageCollectedArrayArgMethodCallback, 1, v8::None, V8DOMConfigura
tion::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNot
CheckAccess, V8DOMConfiguration::kAllWorlds}, | 12908 {"voidMethodTestInterfaceGarbageCollectedArrayArg", V8TestObject::voidMethod
TestInterfaceGarbageCollectedArrayArgMethodCallback, 1, v8::None, V8DOMConfigura
tion::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNot
CheckAccess, V8DOMConfiguration::kAllWorlds}, |
| 12927 {"newObjectTestInterfaceMethod", V8TestObject::newObjectTestInterfaceMethodM
ethodCallback, 0, v8::None, V8DOMConfiguration::kOnPrototype, V8DOMConfiguration
::kCheckHolder, V8DOMConfiguration::kDoNotCheckAccess, V8DOMConfiguration::kAllW
orlds}, | 12909 {"newObjectTestInterfaceMethod", V8TestObject::newObjectTestInterfaceMethodM
ethodCallback, 0, v8::None, V8DOMConfiguration::kOnPrototype, V8DOMConfiguration
::kCheckHolder, V8DOMConfiguration::kDoNotCheckAccess, V8DOMConfiguration::kAllW
orlds}, |
| 12928 {"serializerMethod", V8TestObject::serializerMethodMethodCallback, 0, v8::No
ne, V8DOMConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMCon
figuration::kDoNotCheckAccess, V8DOMConfiguration::kAllWorlds}, | 12910 {"serializerMethod", V8TestObject::serializerMethodMethodCallback, 0, v8::No
ne, V8DOMConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMCon
figuration::kDoNotCheckAccess, V8DOMConfiguration::kAllWorlds}, |
| 12929 {"keys", V8TestObject::keysMethodCallback, 0, v8::None, V8DOMConfiguration::
kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNotCheckA
ccess, V8DOMConfiguration::kAllWorlds}, | 12911 {"keys", V8TestObject::keysMethodCallback, 0, v8::None, V8DOMConfiguration::
kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNotCheckA
ccess, V8DOMConfiguration::kAllWorlds}, |
| 12930 {"values", V8TestObject::valuesMethodCallback, 0, v8::None, V8DOMConfigurati
on::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNotCh
eckAccess, V8DOMConfiguration::kAllWorlds}, | 12912 {"values", V8TestObject::valuesMethodCallback, 0, v8::None, V8DOMConfigurati
on::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNotCh
eckAccess, V8DOMConfiguration::kAllWorlds}, |
| 12931 {"entries", V8TestObject::entriesMethodCallback, 0, v8::None, V8DOMConfigura
tion::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNot
CheckAccess, V8DOMConfiguration::kAllWorlds}, | |
| 12932 {"forEach", V8TestObject::forEachMethodCallback, 1, v8::None, V8DOMConfigura
tion::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNot
CheckAccess, V8DOMConfiguration::kAllWorlds}, | 12913 {"forEach", V8TestObject::forEachMethodCallback, 1, v8::None, V8DOMConfigura
tion::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNot
CheckAccess, V8DOMConfiguration::kAllWorlds}, |
| 12933 {"has", V8TestObject::hasMethodCallback, 1, v8::None, V8DOMConfiguration::kO
nPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNotCheckAcc
ess, V8DOMConfiguration::kAllWorlds}, | 12914 {"has", V8TestObject::hasMethodCallback, 1, v8::None, V8DOMConfiguration::kO
nPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNotCheckAcc
ess, V8DOMConfiguration::kAllWorlds}, |
| 12934 {"get", V8TestObject::getMethodCallback, 1, v8::None, V8DOMConfiguration::kO
nPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNotCheckAcc
ess, V8DOMConfiguration::kAllWorlds}, | 12915 {"get", V8TestObject::getMethodCallback, 1, v8::None, V8DOMConfiguration::kO
nPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNotCheckAcc
ess, V8DOMConfiguration::kAllWorlds}, |
| 12935 {"delete", V8TestObject::deleteMethodCallback, 1, v8::None, V8DOMConfigurati
on::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNotCh
eckAccess, V8DOMConfiguration::kAllWorlds}, | 12916 {"delete", V8TestObject::deleteMethodCallback, 1, v8::None, V8DOMConfigurati
on::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNotCh
eckAccess, V8DOMConfiguration::kAllWorlds}, |
| 12936 {"set", V8TestObject::setMethodCallback, 2, v8::None, V8DOMConfiguration::kO
nPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNotCheckAcc
ess, V8DOMConfiguration::kAllWorlds}, | 12917 {"set", V8TestObject::setMethodCallback, 2, v8::None, V8DOMConfiguration::kO
nPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNotCheckAcc
ess, V8DOMConfiguration::kAllWorlds}, |
| 12937 {"toJSON", V8TestObject::toJSONMethodCallback, 0, v8::None, V8DOMConfigurati
on::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNotCh
eckAccess, V8DOMConfiguration::kAllWorlds}, | 12918 {"toJSON", V8TestObject::toJSONMethodCallback, 0, v8::None, V8DOMConfigurati
on::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoNotCh
eckAccess, V8DOMConfiguration::kAllWorlds}, |
| 12938 {"toString", V8TestObject::toStringMethodCallback, 0, v8::None, V8DOMConfigu
ration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoN
otCheckAccess, V8DOMConfiguration::kAllWorlds}, | 12919 {"toString", V8TestObject::toStringMethodCallback, 0, v8::None, V8DOMConfigu
ration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kDoN
otCheckAccess, V8DOMConfiguration::kAllWorlds}, |
| 12939 }; | 12920 }; |
| 12940 | 12921 |
| 12941 static void installV8TestObjectTemplate(v8::Isolate* isolate, const DOMWrapperWo
rld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) { | 12922 static void installV8TestObjectTemplate(v8::Isolate* isolate, const DOMWrapperWo
rld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 12969 } | 12950 } |
| 12970 | 12951 |
| 12971 // Indexed properties | 12952 // Indexed properties |
| 12972 v8::IndexedPropertyHandlerConfiguration indexedPropertyHandlerConfig(V8TestObj
ect::indexedPropertyGetterCallback, V8TestObject::indexedPropertySetterCallback,
nullptr, V8TestObject::indexedPropertyDeleterCallback, IndexedPropertyEnumerato
r<TestObject>, v8::Local<v8::Value>(), v8::PropertyHandlerFlags::kNone); | 12953 v8::IndexedPropertyHandlerConfiguration indexedPropertyHandlerConfig(V8TestObj
ect::indexedPropertyGetterCallback, V8TestObject::indexedPropertySetterCallback,
nullptr, V8TestObject::indexedPropertyDeleterCallback, IndexedPropertyEnumerato
r<TestObject>, v8::Local<v8::Value>(), v8::PropertyHandlerFlags::kNone); |
| 12973 instanceTemplate->SetHandler(indexedPropertyHandlerConfig); | 12954 instanceTemplate->SetHandler(indexedPropertyHandlerConfig); |
| 12974 // Named properties | 12955 // Named properties |
| 12975 v8::NamedPropertyHandlerConfiguration namedPropertyHandlerConfig(V8TestObject:
:namedPropertyGetterCallback, V8TestObject::namedPropertySetterCallback, V8TestO
bject::namedPropertyQueryCallback, V8TestObject::namedPropertyDeleterCallback, V
8TestObject::namedPropertyEnumeratorCallback, v8::Local<v8::Value>(), static_cas
t<v8::PropertyHandlerFlags>(int(v8::PropertyHandlerFlags::kOnlyInterceptStrings)
| int(v8::PropertyHandlerFlags::kNonMasking))); | 12956 v8::NamedPropertyHandlerConfiguration namedPropertyHandlerConfig(V8TestObject:
:namedPropertyGetterCallback, V8TestObject::namedPropertySetterCallback, V8TestO
bject::namedPropertyQueryCallback, V8TestObject::namedPropertyDeleterCallback, V
8TestObject::namedPropertyEnumeratorCallback, v8::Local<v8::Value>(), static_cas
t<v8::PropertyHandlerFlags>(int(v8::PropertyHandlerFlags::kOnlyInterceptStrings)
| int(v8::PropertyHandlerFlags::kNonMasking))); |
| 12976 instanceTemplate->SetHandler(namedPropertyHandlerConfig); | 12957 instanceTemplate->SetHandler(namedPropertyHandlerConfig); |
| 12977 | 12958 |
| 12978 // Iterator (@@iterator) | 12959 // Iterator (@@iterator) |
| 12979 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedIte
ratorConfiguration = { v8::Symbol::GetIterator, V8TestObject::iteratorMethodCall
back, 0, v8::DontEnum, V8DOMConfiguration::kOnPrototype, V8DOMConfiguration::kCh
eckHolder, V8DOMConfiguration::kDoNotCheckAccess }; | 12960 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedIte
ratorConfiguration = { v8::Symbol::GetIterator, "entries", V8TestObject::iterato
rMethodCallback, 0, v8::DontEnum, V8DOMConfiguration::kOnPrototype, V8DOMConfigu
ration::kCheckHolder, V8DOMConfiguration::kDoNotCheckAccess }; |
| 12980 V8DOMConfiguration::InstallMethod(isolate, world, prototypeTemplate, signature
, symbolKeyedIteratorConfiguration); | 12961 V8DOMConfiguration::InstallMethod(isolate, world, prototypeTemplate, signature
, symbolKeyedIteratorConfiguration); |
| 12981 | 12962 |
| 12982 if (RuntimeEnabledFeatures::featureNameEnabled()) { | 12963 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
| 12983 const V8DOMConfiguration::MethodConfiguration unscopableRuntimeEnabledVoidMe
thodMethodConfiguration[] = { | 12964 const V8DOMConfiguration::MethodConfiguration unscopableRuntimeEnabledVoidMe
thodMethodConfiguration[] = { |
| 12984 {"unscopableRuntimeEnabledVoidMethod", V8TestObject::unscopableRuntimeEnab
ledVoidMethodMethodCallback, 0, v8::None, V8DOMConfiguration::kOnPrototype, V8DO
MConfiguration::kCheckHolder, V8DOMConfiguration::kDoNotCheckAccess, V8DOMConfig
uration::kAllWorlds} | 12965 {"unscopableRuntimeEnabledVoidMethod", V8TestObject::unscopableRuntimeEnab
ledVoidMethodMethodCallback, 0, v8::None, V8DOMConfiguration::kOnPrototype, V8DO
MConfiguration::kCheckHolder, V8DOMConfiguration::kDoNotCheckAccess, V8DOMConfig
uration::kAllWorlds} |
| 12985 }; | 12966 }; |
| 12986 for (const auto& methodConfig : unscopableRuntimeEnabledVoidMethodMethodConf
iguration) | 12967 for (const auto& methodConfig : unscopableRuntimeEnabledVoidMethodMethodConf
iguration) |
| 12987 V8DOMConfiguration::InstallMethod(isolate, world, instanceTemplate, protot
ypeTemplate, interfaceTemplate, signature, methodConfig); | 12968 V8DOMConfiguration::InstallMethod(isolate, world, instanceTemplate, protot
ypeTemplate, interfaceTemplate, signature, methodConfig); |
| 12988 } | 12969 } |
| 12989 if (RuntimeEnabledFeatures::featureNameEnabled()) { | 12970 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13101 unscopables->CreateDataProperty(context, V8AtomicString(isolate, "unscopable
RuntimeEnabledLongAttribute"), v8::True(isolate)).FromJust(); | 13082 unscopables->CreateDataProperty(context, V8AtomicString(isolate, "unscopable
RuntimeEnabledLongAttribute"), v8::True(isolate)).FromJust(); |
| 13102 } | 13083 } |
| 13103 if (RuntimeEnabledFeatures::featureNameEnabled()) { | 13084 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
| 13104 unscopables->CreateDataProperty(context, V8AtomicString(isolate, "unscopable
RuntimeEnabledVoidMethod"), v8::True(isolate)).FromJust(); | 13085 unscopables->CreateDataProperty(context, V8AtomicString(isolate, "unscopable
RuntimeEnabledVoidMethod"), v8::True(isolate)).FromJust(); |
| 13105 } | 13086 } |
| 13106 unscopables->CreateDataProperty(context, V8AtomicString(isolate, "unscopableVo
idMethod"), v8::True(isolate)).FromJust(); | 13087 unscopables->CreateDataProperty(context, V8AtomicString(isolate, "unscopableVo
idMethod"), v8::True(isolate)).FromJust(); |
| 13107 prototypeObject->CreateDataProperty(context, unscopablesSymbol, unscopables).F
romJust(); | 13088 prototypeObject->CreateDataProperty(context, unscopablesSymbol, unscopables).F
romJust(); |
| 13108 } | 13089 } |
| 13109 | 13090 |
| 13110 } // namespace blink | 13091 } // namespace blink |
| OLD | NEW |