Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(554)

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp

Issue 2809543002: bindings: Pass is_null flag to attribute setters when they are nullable (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1307 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 ExceptionState exceptionState(isolate, ExceptionState::kSetterContext, "TestOb ject", "testInterfaceEmptyFrozenArrayAttribute"); 1318 ExceptionState exceptionState(isolate, ExceptionState::kSetterContext, "TestOb ject", "testInterfaceEmptyFrozenArrayAttribute");
1319 1319
1320 // Prepare the value to be set. 1320 // Prepare the value to be set.
1321 HeapVector<Member<TestInterfaceEmpty>> cppValue = ToMemberNativeArray<TestInte rfaceEmpty>(v8Value, 0, info.GetIsolate(), exceptionState); 1321 HeapVector<Member<TestInterfaceEmpty>> cppValue = ToMemberNativeArray<TestInte rfaceEmpty>(v8Value, 0, info.GetIsolate(), exceptionState);
1322 if (exceptionState.HadException()) 1322 if (exceptionState.HadException())
1323 return; 1323 return;
1324 1324
1325 impl->setTestInterfaceEmptyFrozenArrayAttribute(cppValue); 1325 impl->setTestInterfaceEmptyFrozenArrayAttribute(cppValue);
1326 } 1326 }
1327 1327
1328 static void booleanOrNullAttributeAttributeGetter(const v8::FunctionCallbackInfo <v8::Value>& info) {
1329 v8::Local<v8::Object> holder = info.Holder();
1330
1331 TestObject* impl = V8TestObject::toImpl(holder);
1332
1333 bool isNull = false;
1334
1335 bool cppValue(impl->booleanOrNullAttribute(isNull));
1336
1337 if (isNull) {
1338 V8SetReturnValueNull(info);
1339 return;
1340 }
1341
1342 V8SetReturnValueBool(info, cppValue);
1343 }
1344
1345 static void booleanOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
1346 v8::Isolate* isolate = info.GetIsolate();
1347 ALLOW_UNUSED_LOCAL(isolate);
1348
1349 v8::Local<v8::Object> holder = info.Holder();
1350 TestObject* impl = V8TestObject::toImpl(holder);
1351
1352 ExceptionState exceptionState(isolate, ExceptionState::kSetterContext, "TestOb ject", "booleanOrNullAttribute");
1353
1354 // Prepare the value to be set.
1355 bool cppValue = NativeValueTraits<IDLBoolean>::NativeValue(info.GetIsolate(), v8Value, exceptionState);
1356 if (exceptionState.HadException())
1357 return;
1358
1359 bool isNull = IsUndefinedOrNull(v8Value);
1360 impl->setBooleanOrNullAttribute(cppValue, isNull);
1361 }
1362
1328 static void stringOrNullAttributeAttributeGetter(const v8::FunctionCallbackInfo< v8::Value>& info) { 1363 static void stringOrNullAttributeAttributeGetter(const v8::FunctionCallbackInfo< v8::Value>& info) {
1329 v8::Local<v8::Object> holder = info.Holder(); 1364 v8::Local<v8::Object> holder = info.Holder();
1330 1365
1331 TestObject* impl = V8TestObject::toImpl(holder); 1366 TestObject* impl = V8TestObject::toImpl(holder);
1332 1367
1333 V8SetReturnValueStringOrNull(info, impl->stringOrNullAttribute(), info.GetIsol ate()); 1368 V8SetReturnValueStringOrNull(info, impl->stringOrNullAttribute(), info.GetIsol ate());
1334 } 1369 }
1335 1370
1336 static void stringOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c onst v8::FunctionCallbackInfo<v8::Value>& info) { 1371 static void stringOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c onst v8::FunctionCallbackInfo<v8::Value>& info) {
1337 v8::Isolate* isolate = info.GetIsolate(); 1372 v8::Isolate* isolate = info.GetIsolate();
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1372 v8::Local<v8::Object> holder = info.Holder(); 1407 v8::Local<v8::Object> holder = info.Holder();
1373 TestObject* impl = V8TestObject::toImpl(holder); 1408 TestObject* impl = V8TestObject::toImpl(holder);
1374 1409
1375 ExceptionState exceptionState(isolate, ExceptionState::kSetterContext, "TestOb ject", "longOrNullAttribute"); 1410 ExceptionState exceptionState(isolate, ExceptionState::kSetterContext, "TestOb ject", "longOrNullAttribute");
1376 1411
1377 // Prepare the value to be set. 1412 // Prepare the value to be set.
1378 int32_t cppValue = NativeValueTraits<IDLLong>::NativeValue(info.GetIsolate(), v8Value, exceptionState, kNormalConversion); 1413 int32_t cppValue = NativeValueTraits<IDLLong>::NativeValue(info.GetIsolate(), v8Value, exceptionState, kNormalConversion);
1379 if (exceptionState.HadException()) 1414 if (exceptionState.HadException())
1380 return; 1415 return;
1381 1416
1382 impl->setLongOrNullAttribute(cppValue); 1417 bool isNull = IsUndefinedOrNull(v8Value);
1418 impl->setLongOrNullAttribute(cppValue, isNull);
1383 } 1419 }
1384 1420
1385 static void testInterfaceOrNullAttributeAttributeGetter(const v8::FunctionCallba ckInfo<v8::Value>& info) { 1421 static void testInterfaceOrNullAttributeAttributeGetter(const v8::FunctionCallba ckInfo<v8::Value>& info) {
1386 v8::Local<v8::Object> holder = info.Holder(); 1422 v8::Local<v8::Object> holder = info.Holder();
1387 1423
1388 TestObject* impl = V8TestObject::toImpl(holder); 1424 TestObject* impl = V8TestObject::toImpl(holder);
1389 1425
1390 V8SetReturnValueFast(info, WTF::GetPtr(impl->testInterfaceOrNullAttribute()), impl); 1426 V8SetReturnValueFast(info, WTF::GetPtr(impl->testInterfaceOrNullAttribute()), impl);
1391 } 1427 }
1392 1428
(...skipping 8150 matching lines...) Expand 10 before | Expand all | Expand 10 after
9543 void V8TestObject::testInterfaceEmptyFrozenArrayAttributeAttributeGetterCallback (const v8::FunctionCallbackInfo<v8::Value>& info) { 9579 void V8TestObject::testInterfaceEmptyFrozenArrayAttributeAttributeGetterCallback (const v8::FunctionCallbackInfo<v8::Value>& info) {
9544 TestObjectV8Internal::testInterfaceEmptyFrozenArrayAttributeAttributeGetter(in fo); 9580 TestObjectV8Internal::testInterfaceEmptyFrozenArrayAttributeAttributeGetter(in fo);
9545 } 9581 }
9546 9582
9547 void V8TestObject::testInterfaceEmptyFrozenArrayAttributeAttributeSetterCallback (const v8::FunctionCallbackInfo<v8::Value>& info) { 9583 void V8TestObject::testInterfaceEmptyFrozenArrayAttributeAttributeSetterCallback (const v8::FunctionCallbackInfo<v8::Value>& info) {
9548 v8::Local<v8::Value> v8Value = info[0]; 9584 v8::Local<v8::Value> v8Value = info[0];
9549 9585
9550 TestObjectV8Internal::testInterfaceEmptyFrozenArrayAttributeAttributeSetter(v8 Value, info); 9586 TestObjectV8Internal::testInterfaceEmptyFrozenArrayAttributeAttributeSetter(v8 Value, info);
9551 } 9587 }
9552 9588
9589 void V8TestObject::booleanOrNullAttributeAttributeGetterCallback(const v8::Funct ionCallbackInfo<v8::Value>& info) {
9590 TestObjectV8Internal::booleanOrNullAttributeAttributeGetter(info);
9591 }
9592
9593 void V8TestObject::booleanOrNullAttributeAttributeSetterCallback(const v8::Funct ionCallbackInfo<v8::Value>& info) {
9594 v8::Local<v8::Value> v8Value = info[0];
9595
9596 TestObjectV8Internal::booleanOrNullAttributeAttributeSetter(v8Value, info);
9597 }
9598
9553 void V8TestObject::stringOrNullAttributeAttributeGetterCallback(const v8::Functi onCallbackInfo<v8::Value>& info) { 9599 void V8TestObject::stringOrNullAttributeAttributeGetterCallback(const v8::Functi onCallbackInfo<v8::Value>& info) {
9554 TestObjectV8Internal::stringOrNullAttributeAttributeGetter(info); 9600 TestObjectV8Internal::stringOrNullAttributeAttributeGetter(info);
9555 } 9601 }
9556 9602
9557 void V8TestObject::stringOrNullAttributeAttributeSetterCallback(const v8::Functi onCallbackInfo<v8::Value>& info) { 9603 void V8TestObject::stringOrNullAttributeAttributeSetterCallback(const v8::Functi onCallbackInfo<v8::Value>& info) {
9558 v8::Local<v8::Value> v8Value = info[0]; 9604 v8::Local<v8::Value> v8Value = info[0];
9559 9605
9560 TestObjectV8Internal::stringOrNullAttributeAttributeSetter(v8Value, info); 9606 TestObjectV8Internal::stringOrNullAttributeAttributeSetter(v8Value, info);
9561 } 9607 }
9562 9608
(...skipping 2244 matching lines...) Expand 10 before | Expand all | Expand 10 after
11807 {"readonlyEventTargetAttribute", V8TestObject::readonlyEventTargetAttributeA ttributeGetterCallback, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttri bute>(v8::ReadOnly), V8DOMConfiguration::kOnPrototype, V8DOMConfiguration::kChec kHolder, V8DOMConfiguration::kAllWorlds}, 11853 {"readonlyEventTargetAttribute", V8TestObject::readonlyEventTargetAttributeA ttributeGetterCallback, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttri bute>(v8::ReadOnly), V8DOMConfiguration::kOnPrototype, V8DOMConfiguration::kChec kHolder, V8DOMConfiguration::kAllWorlds},
11808 {"readonlyEventTargetOrNullAttribute", V8TestObject::readonlyEventTargetOrNu llAttributeAttributeGetterCallback, nullptr, nullptr, nullptr, static_cast<v8::P ropertyAttribute>(v8::ReadOnly), V8DOMConfiguration::kOnPrototype, V8DOMConfigur ation::kCheckHolder, V8DOMConfiguration::kAllWorlds}, 11854 {"readonlyEventTargetOrNullAttribute", V8TestObject::readonlyEventTargetOrNu llAttributeAttributeGetterCallback, nullptr, nullptr, nullptr, static_cast<v8::P ropertyAttribute>(v8::ReadOnly), V8DOMConfiguration::kOnPrototype, V8DOMConfigur ation::kCheckHolder, V8DOMConfiguration::kAllWorlds},
11809 {"readonlyWindowAttribute", V8TestObject::readonlyWindowAttributeAttributeGe tterCallback, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8:: ReadOnly), V8DOMConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V 8DOMConfiguration::kAllWorlds}, 11855 {"readonlyWindowAttribute", V8TestObject::readonlyWindowAttributeAttributeGe tterCallback, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8:: ReadOnly), V8DOMConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V 8DOMConfiguration::kAllWorlds},
11810 {"htmlCollectionAttribute", V8TestObject::htmlCollectionAttributeAttributeGe tterCallback, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8:: ReadOnly), V8DOMConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V 8DOMConfiguration::kAllWorlds}, 11856 {"htmlCollectionAttribute", V8TestObject::htmlCollectionAttributeAttributeGe tterCallback, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8:: ReadOnly), V8DOMConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V 8DOMConfiguration::kAllWorlds},
11811 {"htmlElementAttribute", V8TestObject::htmlElementAttributeAttributeGetterCa llback, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::ReadOn ly), V8DOMConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMCo nfiguration::kAllWorlds}, 11857 {"htmlElementAttribute", V8TestObject::htmlElementAttributeAttributeGetterCa llback, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::ReadOn ly), V8DOMConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMCo nfiguration::kAllWorlds},
11812 {"stringArrayAttribute", V8TestObject::stringArrayAttributeAttributeGetterCa llback, V8TestObject::stringArrayAttributeAttributeSetterCallback, nullptr, null ptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOnProtot ype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds}, 11858 {"stringArrayAttribute", V8TestObject::stringArrayAttributeAttributeGetterCa llback, V8TestObject::stringArrayAttributeAttributeSetterCallback, nullptr, null ptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOnProtot ype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds},
11813 {"testInterfaceEmptyArrayAttribute", V8TestObject::testInterfaceEmptyArrayAt tributeAttributeGetterCallback, V8TestObject::testInterfaceEmptyArrayAttributeAt tributeSetterCallback, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8:: None), V8DOMConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOM Configuration::kAllWorlds}, 11859 {"testInterfaceEmptyArrayAttribute", V8TestObject::testInterfaceEmptyArrayAt tributeAttributeGetterCallback, V8TestObject::testInterfaceEmptyArrayAttributeAt tributeSetterCallback, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8:: None), V8DOMConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOM Configuration::kAllWorlds},
11814 {"floatArrayAttribute", V8TestObject::floatArrayAttributeAttributeGetterCall back, V8TestObject::floatArrayAttributeAttributeSetterCallback, nullptr, nullptr , static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOnPrototype , V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds}, 11860 {"floatArrayAttribute", V8TestObject::floatArrayAttributeAttributeGetterCall back, V8TestObject::floatArrayAttributeAttributeSetterCallback, nullptr, nullptr , static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOnPrototype , V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds},
11815 {"stringFrozenArrayAttribute", V8TestObject::stringFrozenArrayAttributeAttri buteGetterCallback, V8TestObject::stringFrozenArrayAttributeAttributeSetterCallb ack, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfig uration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAl lWorlds}, 11861 {"stringFrozenArrayAttribute", V8TestObject::stringFrozenArrayAttributeAttri buteGetterCallback, V8TestObject::stringFrozenArrayAttributeAttributeSetterCallb ack, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfig uration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAl lWorlds},
11816 {"testInterfaceEmptyFrozenArrayAttribute", V8TestObject::testInterfaceEmptyF rozenArrayAttributeAttributeGetterCallback, V8TestObject::testInterfaceEmptyFroz enArrayAttributeAttributeSetterCallback, nullptr, nullptr, static_cast<v8::Prope rtyAttribute>(v8::None), V8DOMConfiguration::kOnPrototype, V8DOMConfiguration::k CheckHolder, V8DOMConfiguration::kAllWorlds}, 11862 {"testInterfaceEmptyFrozenArrayAttribute", V8TestObject::testInterfaceEmptyF rozenArrayAttributeAttributeGetterCallback, V8TestObject::testInterfaceEmptyFroz enArrayAttributeAttributeSetterCallback, nullptr, nullptr, static_cast<v8::Prope rtyAttribute>(v8::None), V8DOMConfiguration::kOnPrototype, V8DOMConfiguration::k CheckHolder, V8DOMConfiguration::kAllWorlds},
11863 {"booleanOrNullAttribute", V8TestObject::booleanOrNullAttributeAttributeGett erCallback, V8TestObject::booleanOrNullAttributeAttributeSetterCallback, nullptr , nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOn Prototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds},
11817 {"stringOrNullAttribute", V8TestObject::stringOrNullAttributeAttributeGetter Callback, V8TestObject::stringOrNullAttributeAttributeSetterCallback, nullptr, n ullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOnPro totype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds}, 11864 {"stringOrNullAttribute", V8TestObject::stringOrNullAttributeAttributeGetter Callback, V8TestObject::stringOrNullAttributeAttributeSetterCallback, nullptr, n ullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOnPro totype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds},
11818 {"longOrNullAttribute", V8TestObject::longOrNullAttributeAttributeGetterCall back, V8TestObject::longOrNullAttributeAttributeSetterCallback, nullptr, nullptr , static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOnPrototype , V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds}, 11865 {"longOrNullAttribute", V8TestObject::longOrNullAttributeAttributeGetterCall back, V8TestObject::longOrNullAttributeAttributeSetterCallback, nullptr, nullptr , static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOnPrototype , V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds},
11819 {"testInterfaceOrNullAttribute", V8TestObject::testInterfaceOrNullAttributeA ttributeGetterCallback, V8TestObject::testInterfaceOrNullAttributeAttributeSette rCallback, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOM Configuration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguratio n::kAllWorlds}, 11866 {"testInterfaceOrNullAttribute", V8TestObject::testInterfaceOrNullAttributeA ttributeGetterCallback, V8TestObject::testInterfaceOrNullAttributeAttributeSette rCallback, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOM Configuration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguratio n::kAllWorlds},
11820 {"testEnumAttribute", V8TestObject::testEnumAttributeAttributeGetterCallback , V8TestObject::testEnumAttributeAttributeSetterCallback, nullptr, nullptr, stat ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOnPrototype, V8DO MConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds}, 11867 {"testEnumAttribute", V8TestObject::testEnumAttributeAttributeGetterCallback , V8TestObject::testEnumAttributeAttributeSetterCallback, nullptr, nullptr, stat ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOnPrototype, V8DO MConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds},
11821 {"testEnumOrNullAttribute", V8TestObject::testEnumOrNullAttributeAttributeGe tterCallback, V8TestObject::testEnumOrNullAttributeAttributeSetterCallback, null ptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration:: kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds}, 11868 {"testEnumOrNullAttribute", V8TestObject::testEnumOrNullAttributeAttributeGe tterCallback, V8TestObject::testEnumOrNullAttributeAttributeSetterCallback, null ptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration:: kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds},
11822 {"staticStringAttribute", V8TestObject::staticStringAttributeAttributeGetter Callback, V8TestObject::staticStringAttributeAttributeSetterCallback, nullptr, n ullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOnInt erface, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds}, 11869 {"staticStringAttribute", V8TestObject::staticStringAttributeAttributeGetter Callback, V8TestObject::staticStringAttributeAttributeSetterCallback, nullptr, n ullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOnInt erface, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds},
11823 {"staticLongAttribute", V8TestObject::staticLongAttributeAttributeGetterCall back, V8TestObject::staticLongAttributeAttributeSetterCallback, nullptr, nullptr , static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOnInterface , V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds}, 11870 {"staticLongAttribute", V8TestObject::staticLongAttributeAttributeGetterCall back, V8TestObject::staticLongAttributeAttributeSetterCallback, nullptr, nullptr , static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOnInterface , V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds},
11824 {"eventHandlerAttribute", V8TestObject::eventHandlerAttributeAttributeGetter Callback, V8TestObject::eventHandlerAttributeAttributeSetterCallback, nullptr, n ullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOnPro totype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds}, 11871 {"eventHandlerAttribute", V8TestObject::eventHandlerAttributeAttributeGetter Callback, V8TestObject::eventHandlerAttributeAttributeSetterCallback, nullptr, n ullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::kOnPro totype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds},
11825 {"doubleOrStringAttribute", V8TestObject::doubleOrStringAttributeAttributeGe tterCallback, V8TestObject::doubleOrStringAttributeAttributeSetterCallback, null ptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration:: kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds}, 11872 {"doubleOrStringAttribute", V8TestObject::doubleOrStringAttributeAttributeGe tterCallback, V8TestObject::doubleOrStringAttributeAttributeSetterCallback, null ptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration:: kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfiguration::kAllWorlds},
11826 {"doubleOrStringOrNullAttribute", V8TestObject::doubleOrStringOrNullAttribut eAttributeGetterCallback, V8TestObject::doubleOrStringOrNullAttributeAttributeSe tterCallback, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8 DOMConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfigura tion::kAllWorlds}, 11873 {"doubleOrStringOrNullAttribute", V8TestObject::doubleOrStringOrNullAttribut eAttributeGetterCallback, V8TestObject::doubleOrStringOrNullAttributeAttributeSe tterCallback, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8 DOMConfiguration::kOnPrototype, V8DOMConfiguration::kCheckHolder, V8DOMConfigura tion::kAllWorlds},
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
12315 unscopables->CreateDataProperty(context, V8AtomicString(isolate, "unscopable RuntimeEnabledLongAttribute"), v8::True(isolate)).FromJust(); 12362 unscopables->CreateDataProperty(context, V8AtomicString(isolate, "unscopable RuntimeEnabledLongAttribute"), v8::True(isolate)).FromJust();
12316 } 12363 }
12317 if (RuntimeEnabledFeatures::featureNameEnabled()) { 12364 if (RuntimeEnabledFeatures::featureNameEnabled()) {
12318 unscopables->CreateDataProperty(context, V8AtomicString(isolate, "unscopable RuntimeEnabledVoidMethod"), v8::True(isolate)).FromJust(); 12365 unscopables->CreateDataProperty(context, V8AtomicString(isolate, "unscopable RuntimeEnabledVoidMethod"), v8::True(isolate)).FromJust();
12319 } 12366 }
12320 unscopables->CreateDataProperty(context, V8AtomicString(isolate, "unscopableVo idMethod"), v8::True(isolate)).FromJust(); 12367 unscopables->CreateDataProperty(context, V8AtomicString(isolate, "unscopableVo idMethod"), v8::True(isolate)).FromJust();
12321 prototypeObject->CreateDataProperty(context, unscopablesSymbol, unscopables).F romJust(); 12368 prototypeObject->CreateDataProperty(context, unscopablesSymbol, unscopables).F romJust();
12322 } 12369 }
12323 12370
12324 } // namespace blink 12371 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698