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

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

Issue 357413003: IDL: Drop redundant null check for string and wrapper type attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: updated Created 6 years, 5 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. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #include "config.h" 7 #include "config.h"
8 #include "V8TestObject.h" 8 #include "V8TestObject.h"
9 9
10 #include "bindings/core/v8/V8HTMLCollection.h" 10 #include "bindings/core/v8/V8HTMLCollection.h"
(...skipping 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after
1365 { 1365 {
1366 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 1366 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
1367 TestObjectV8Internal::readonlyEventTargetAttributeAttributeGetter(info); 1367 TestObjectV8Internal::readonlyEventTargetAttributeAttributeGetter(info);
1368 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 1368 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
1369 } 1369 }
1370 1370
1371 static void readonlyEventTargetOrNullAttributeAttributeGetter(const v8::Property CallbackInfo<v8::Value>& info) 1371 static void readonlyEventTargetOrNullAttributeAttributeGetter(const v8::Property CallbackInfo<v8::Value>& info)
1372 { 1372 {
1373 v8::Handle<v8::Object> holder = info.Holder(); 1373 v8::Handle<v8::Object> holder = info.Holder();
1374 TestObject* impl = V8TestObject::toNative(holder); 1374 TestObject* impl = V8TestObject::toNative(holder);
1375 RefPtrWillBeRawPtr<EventTarget> cppValue(impl->readonlyEventTargetOrNullAttr ibute()); 1375 v8SetReturnValueFast(info, WTF::getPtr(impl->readonlyEventTargetOrNullAttrib ute()), impl);
1376 if (!cppValue) {
1377 v8SetReturnValueNull(info);
1378 return;
1379 }
1380 v8SetReturnValueFast(info, WTF::getPtr(cppValue.release()), impl);
1381 } 1376 }
1382 1377
1383 static void readonlyEventTargetOrNullAttributeAttributeGetterCallback(v8::Local< v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 1378 static void readonlyEventTargetOrNullAttributeAttributeGetterCallback(v8::Local< v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
1384 { 1379 {
1385 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 1380 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
1386 TestObjectV8Internal::readonlyEventTargetOrNullAttributeAttributeGetter(info ); 1381 TestObjectV8Internal::readonlyEventTargetOrNullAttributeAttributeGetter(info );
1387 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 1382 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
1388 } 1383 }
1389 1384
1390 static void readonlyWindowAttributeAttributeGetter(const v8::PropertyCallbackInf o<v8::Value>& info) 1385 static void readonlyWindowAttributeAttributeGetter(const v8::PropertyCallbackInf o<v8::Value>& info)
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
1513 { 1508 {
1514 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 1509 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
1515 TestObjectV8Internal::floatArrayAttributeAttributeSetter(v8Value, info); 1510 TestObjectV8Internal::floatArrayAttributeAttributeSetter(v8Value, info);
1516 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 1511 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
1517 } 1512 }
1518 1513
1519 static void stringOrNullAttributeAttributeGetter(const v8::PropertyCallbackInfo< v8::Value>& info) 1514 static void stringOrNullAttributeAttributeGetter(const v8::PropertyCallbackInfo< v8::Value>& info)
1520 { 1515 {
1521 v8::Handle<v8::Object> holder = info.Holder(); 1516 v8::Handle<v8::Object> holder = info.Holder();
1522 TestObject* impl = V8TestObject::toNative(holder); 1517 TestObject* impl = V8TestObject::toNative(holder);
1523 String cppValue(impl->stringOrNullAttribute()); 1518 v8SetReturnValueStringOrNull(info, impl->stringOrNullAttribute(), info.GetIs olate());
1524 if (!cppValue) {
1525 v8SetReturnValueNull(info);
1526 return;
1527 }
1528 v8SetReturnValueString(info, cppValue, info.GetIsolate());
1529 } 1519 }
1530 1520
1531 static void stringOrNullAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 1521 static void stringOrNullAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
1532 { 1522 {
1533 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 1523 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
1534 TestObjectV8Internal::stringOrNullAttributeAttributeGetter(info); 1524 TestObjectV8Internal::stringOrNullAttributeAttributeGetter(info);
1535 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 1525 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
1536 } 1526 }
1537 1527
1538 static void stringOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c onst v8::PropertyCallbackInfo<void>& info) 1528 static void stringOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c onst v8::PropertyCallbackInfo<void>& info)
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
1583 { 1573 {
1584 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 1574 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
1585 TestObjectV8Internal::longOrNullAttributeAttributeSetter(v8Value, info); 1575 TestObjectV8Internal::longOrNullAttributeAttributeSetter(v8Value, info);
1586 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 1576 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
1587 } 1577 }
1588 1578
1589 static void testInterfaceOrNullAttributeAttributeGetter(const v8::PropertyCallba ckInfo<v8::Value>& info) 1579 static void testInterfaceOrNullAttributeAttributeGetter(const v8::PropertyCallba ckInfo<v8::Value>& info)
1590 { 1580 {
1591 v8::Handle<v8::Object> holder = info.Holder(); 1581 v8::Handle<v8::Object> holder = info.Holder();
1592 TestObject* impl = V8TestObject::toNative(holder); 1582 TestObject* impl = V8TestObject::toNative(holder);
1593 RefPtr<TestInterfaceImplementation> cppValue(impl->testInterfaceOrNullAttrib ute()); 1583 v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceOrNullAttribute()) , impl);
1594 if (!cppValue) {
1595 v8SetReturnValueNull(info);
1596 return;
1597 }
1598 v8SetReturnValueFast(info, WTF::getPtr(cppValue.release()), impl);
1599 } 1584 }
1600 1585
1601 static void testInterfaceOrNullAttributeAttributeGetterCallback(v8::Local<v8::St ring>, const v8::PropertyCallbackInfo<v8::Value>& info) 1586 static void testInterfaceOrNullAttributeAttributeGetterCallback(v8::Local<v8::St ring>, const v8::PropertyCallbackInfo<v8::Value>& info)
1602 { 1587 {
1603 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 1588 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
1604 TestObjectV8Internal::testInterfaceOrNullAttributeAttributeGetter(info); 1589 TestObjectV8Internal::testInterfaceOrNullAttributeAttributeGetter(info);
1605 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 1590 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
1606 } 1591 }
1607 1592
1608 static void testInterfaceOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8V alue, const v8::PropertyCallbackInfo<void>& info) 1593 static void testInterfaceOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8V alue, const v8::PropertyCallbackInfo<void>& info)
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
1914 V8HiddenValue::deleteHiddenValue(info.GetIsolate(), holder, v8AtomicString(i nfo.GetIsolate(), "cachedArrayAttribute")); // Invalidate the cached value. 1899 V8HiddenValue::deleteHiddenValue(info.GetIsolate(), holder, v8AtomicString(i nfo.GetIsolate(), "cachedArrayAttribute")); // Invalidate the cached value.
1915 } 1900 }
1916 1901
1917 static void cachedArrayAttributeAttributeSetterCallback(v8::Local<v8::String>, v 8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 1902 static void cachedArrayAttributeAttributeSetterCallback(v8::Local<v8::String>, v 8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
1918 { 1903 {
1919 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 1904 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
1920 TestObjectV8Internal::cachedArrayAttributeAttributeSetter(v8Value, info); 1905 TestObjectV8Internal::cachedArrayAttributeAttributeSetter(v8Value, info);
1921 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 1906 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
1922 } 1907 }
1923 1908
1909 static void cachedStringOrNoneAttributeAttributeGetter(const v8::PropertyCallbac kInfo<v8::Value>& info)
1910 {
1911 v8::Handle<v8::Object> holder = info.Holder();
1912 v8::Handle<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cac hedStringOrNoneAttribute");
1913 TestObject* impl = V8TestObject::toNative(holder);
1914 if (!impl->isStringDirty()) {
1915 v8::Handle<v8::Value> v8Value = V8HiddenValue::getHiddenValue(info.GetIs olate(), holder, propertyName);
1916 if (!v8Value.IsEmpty()) {
1917 v8SetReturnValue(info, v8Value);
1918 return;
1919 }
1920 }
1921 String cppValue(impl->cachedStringOrNoneAttribute());
1922 V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, propertyName, cppVa lue.isNull() ? v8::Handle<v8::Value>(v8::Null(info.GetIsolate())) : v8String(inf o.GetIsolate(), cppValue));
1923 v8SetReturnValueStringOrNull(info, cppValue, info.GetIsolate());
1924 }
1925
1926 static void cachedStringOrNoneAttributeAttributeGetterCallback(v8::Local<v8::Str ing>, const v8::PropertyCallbackInfo<v8::Value>& info)
1927 {
1928 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
1929 TestObjectV8Internal::cachedStringOrNoneAttributeAttributeGetter(info);
1930 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
1931 }
1932
1933 static void cachedStringOrNoneAttributeAttributeSetter(v8::Local<v8::Value> v8Va lue, const v8::PropertyCallbackInfo<void>& info)
1934 {
1935 v8::Handle<v8::Object> holder = info.Holder();
1936 TestObject* impl = V8TestObject::toNative(holder);
1937 TOSTRING_VOID(V8StringResource<WithNullCheck>, cppValue, v8Value);
1938 impl->setCachedStringOrNoneAttribute(cppValue);
1939 V8HiddenValue::deleteHiddenValue(info.GetIsolate(), holder, v8AtomicString(i nfo.GetIsolate(), "cachedStringOrNoneAttribute")); // Invalidate the cached valu e.
1940 }
1941
1942 static void cachedStringOrNoneAttributeAttributeSetterCallback(v8::Local<v8::Str ing>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
1943 {
1944 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
1945 TestObjectV8Internal::cachedStringOrNoneAttributeAttributeSetter(v8Value, in fo);
1946 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
1947 }
1948
1924 static void callWithExecutionContextAnyAttributeAttributeGetter(const v8::Proper tyCallbackInfo<v8::Value>& info) 1949 static void callWithExecutionContextAnyAttributeAttributeGetter(const v8::Proper tyCallbackInfo<v8::Value>& info)
1925 { 1950 {
1926 v8::Handle<v8::Object> holder = info.Holder(); 1951 v8::Handle<v8::Object> holder = info.Holder();
1927 TestObject* impl = V8TestObject::toNative(holder); 1952 TestObject* impl = V8TestObject::toNative(holder);
1928 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate ()); 1953 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate ());
1929 v8SetReturnValue(info, impl->callWithExecutionContextAnyAttribute(executionC ontext).v8Value()); 1954 v8SetReturnValue(info, impl->callWithExecutionContextAnyAttribute(executionC ontext).v8Value());
1930 } 1955 }
1931 1956
1932 static void callWithExecutionContextAnyAttributeAttributeGetterCallback(v8::Loca l<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 1957 static void callWithExecutionContextAnyAttributeAttributeGetterCallback(v8::Loca l<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
1933 { 1958 {
(...skipping 2312 matching lines...) Expand 10 before | Expand all | Expand 10 after
4246 impl->setTreatReturnedNullStringAsUndefinedStringAttribute(cppValue); 4271 impl->setTreatReturnedNullStringAsUndefinedStringAttribute(cppValue);
4247 } 4272 }
4248 4273
4249 static void treatReturnedNullStringAsUndefinedStringAttributeAttributeSetterCall back(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCall backInfo<void>& info) 4274 static void treatReturnedNullStringAsUndefinedStringAttributeAttributeSetterCall back(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCall backInfo<void>& info)
4250 { 4275 {
4251 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 4276 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
4252 TestObjectV8Internal::treatReturnedNullStringAsUndefinedStringAttributeAttri buteSetter(v8Value, info); 4277 TestObjectV8Internal::treatReturnedNullStringAsUndefinedStringAttributeAttri buteSetter(v8Value, info);
4253 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4278 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4254 } 4279 }
4255 4280
4281 static void cachedTreatReturnedNullStringAsUndefinedStringAttributeAttributeGett er(const v8::PropertyCallbackInfo<v8::Value>& info)
4282 {
4283 v8::Handle<v8::Object> holder = info.Holder();
4284 v8::Handle<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cac hedTreatReturnedNullStringAsUndefinedStringAttribute");
4285 TestObject* impl = V8TestObject::toNative(holder);
4286 if (!impl->isStringDirty()) {
4287 v8::Handle<v8::Value> v8Value = V8HiddenValue::getHiddenValue(info.GetIs olate(), holder, propertyName);
4288 if (!v8Value.IsEmpty()) {
4289 v8SetReturnValue(info, v8Value);
4290 return;
4291 }
4292 }
4293 String cppValue(impl->cachedTreatReturnedNullStringAsUndefinedStringAttribut e());
4294 V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, propertyName, cppVa lue.isNull() ? v8Undefined() : v8String(info.GetIsolate(), cppValue));
4295 v8SetReturnValueStringOrUndefined(info, cppValue, info.GetIsolate());
4296 }
4297
4298 static void cachedTreatReturnedNullStringAsUndefinedStringAttributeAttributeGett erCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& inf o)
4299 {
4300 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
4301 TestObjectV8Internal::cachedTreatReturnedNullStringAsUndefinedStringAttribut eAttributeGetter(info);
4302 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4303 }
4304
4305 static void cachedTreatReturnedNullStringAsUndefinedStringAttributeAttributeSett er(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
4306 {
4307 v8::Handle<v8::Object> holder = info.Holder();
4308 TestObject* impl = V8TestObject::toNative(holder);
4309 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
4310 impl->setCachedTreatReturnedNullStringAsUndefinedStringAttribute(cppValue);
4311 V8HiddenValue::deleteHiddenValue(info.GetIsolate(), holder, v8AtomicString(i nfo.GetIsolate(), "cachedTreatReturnedNullStringAsUndefinedStringAttribute")); / / Invalidate the cached value.
4312 }
4313
4314 static void cachedTreatReturnedNullStringAsUndefinedStringAttributeAttributeSett erCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::Proper tyCallbackInfo<void>& info)
4315 {
4316 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
4317 TestObjectV8Internal::cachedTreatReturnedNullStringAsUndefinedStringAttribut eAttributeSetter(v8Value, info);
4318 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4319 }
4320
4256 static void treatReturnedNullStringAsNullByteStringAttributeAttributeGetter(cons t v8::PropertyCallbackInfo<v8::Value>& info) 4321 static void treatReturnedNullStringAsNullByteStringAttributeAttributeGetter(cons t v8::PropertyCallbackInfo<v8::Value>& info)
4257 { 4322 {
4258 v8::Handle<v8::Object> holder = info.Holder(); 4323 v8::Handle<v8::Object> holder = info.Holder();
4259 TestObject* impl = V8TestObject::toNative(holder); 4324 TestObject* impl = V8TestObject::toNative(holder);
4260 v8SetReturnValueStringOrNull(info, impl->treatReturnedNullStringAsNullByteSt ringAttribute(), info.GetIsolate()); 4325 v8SetReturnValueStringOrNull(info, impl->treatReturnedNullStringAsNullByteSt ringAttribute(), info.GetIsolate());
4261 } 4326 }
4262 4327
4263 static void treatReturnedNullStringAsNullByteStringAttributeAttributeGetterCallb ack(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 4328 static void treatReturnedNullStringAsNullByteStringAttributeAttributeGetterCallb ack(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
4264 { 4329 {
4265 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 4330 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
4434 { 4499 {
4435 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 4500 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
4436 TestObjectV8Internal::typeCheckingInterfaceTestInterfaceAttributeAttributeSe tter(v8Value, info); 4501 TestObjectV8Internal::typeCheckingInterfaceTestInterfaceAttributeAttributeSe tter(v8Value, info);
4437 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4502 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4438 } 4503 }
4439 4504
4440 static void typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeGetter(con st v8::PropertyCallbackInfo<v8::Value>& info) 4505 static void typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeGetter(con st v8::PropertyCallbackInfo<v8::Value>& info)
4441 { 4506 {
4442 v8::Handle<v8::Object> holder = info.Holder(); 4507 v8::Handle<v8::Object> holder = info.Holder();
4443 TestObject* impl = V8TestObject::toNative(holder); 4508 TestObject* impl = V8TestObject::toNative(holder);
4444 RefPtr<TestInterfaceImplementation> cppValue(impl->typeCheckingInterfaceTest InterfaceOrNullAttribute()); 4509 v8SetReturnValueFast(info, WTF::getPtr(impl->typeCheckingInterfaceTestInterf aceOrNullAttribute()), impl);
4445 if (!cppValue) {
4446 v8SetReturnValueNull(info);
4447 return;
4448 }
4449 v8SetReturnValueFast(info, WTF::getPtr(cppValue.release()), impl);
4450 } 4510 }
4451 4511
4452 static void typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeGetterCall back(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 4512 static void typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeGetterCall back(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
4453 { 4513 {
4454 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 4514 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
4455 TestObjectV8Internal::typeCheckingInterfaceTestInterfaceOrNullAttributeAttri buteGetter(info); 4515 TestObjectV8Internal::typeCheckingInterfaceTestInterfaceOrNullAttributeAttri buteGetter(info);
4456 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4516 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4457 } 4517 }
4458 4518
4459 static void typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeSetter(v8: :Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 4519 static void typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeSetter(v8: :Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
4566 { 4626 {
4567 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 4627 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
4568 TestObjectV8Internal::unforgeableLongAttributeAttributeSetter(v8Value, info) ; 4628 TestObjectV8Internal::unforgeableLongAttributeAttributeSetter(v8Value, info) ;
4569 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4629 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4570 } 4630 }
4571 4631
4572 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeGetter(co nst v8::PropertyCallbackInfo<v8::Value>& info) 4632 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeGetter(co nst v8::PropertyCallbackInfo<v8::Value>& info)
4573 { 4633 {
4574 v8::Handle<v8::Object> holder = info.Holder(); 4634 v8::Handle<v8::Object> holder = info.Holder();
4575 TestObject* impl = V8TestObject::toNative(holder); 4635 TestObject* impl = V8TestObject::toNative(holder);
4576 v8SetReturnValueInt(info, impl->activityLoggingSetterOnlyLogPreviousValueAtt ribute()); 4636 String cppValue(impl->activityLoggingSetterOnlyLogPreviousValueAttribute());
4637 v8SetReturnValueStringOrNull(info, cppValue, info.GetIsolate());
4577 } 4638 }
4578 4639
4579 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeGetterCal lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 4640 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeGetterCal lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
4580 { 4641 {
4581 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 4642 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
4582 TestObjectV8Internal::activityLoggingSetterOnlyLogPreviousValueAttributeAttr ibuteGetter(info); 4643 TestObjectV8Internal::activityLoggingSetterOnlyLogPreviousValueAttributeAttr ibuteGetter(info);
4583 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4644 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4584 } 4645 }
4585 4646
4586 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeSetter(v8 ::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 4647 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeSetter(v8 ::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
4587 { 4648 {
4588 v8::Handle<v8::Object> holder = info.Holder(); 4649 v8::Handle<v8::Object> holder = info.Holder();
4589 ExceptionState exceptionState(ExceptionState::SetterContext, "activityLoggin gSetterOnlyLogPreviousValueAttribute", "TestObject", holder, info.GetIsolate());
4590 TestObject* impl = V8TestObject::toNative(holder); 4650 TestObject* impl = V8TestObject::toNative(holder);
4591 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState) , exceptionState); 4651 TOSTRING_VOID(V8StringResource<WithNullCheck>, cppValue, v8Value);
4592 impl->setActivityLoggingSetterOnlyLogPreviousValueAttribute(cppValue); 4652 impl->setActivityLoggingSetterOnlyLogPreviousValueAttribute(cppValue);
4593 } 4653 }
4594 4654
4595 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeSetterCal lback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCal lbackInfo<void>& info) 4655 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeSetterCal lback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCal lbackInfo<void>& info)
4596 { 4656 {
4597 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 4657 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
4598 ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentCo ntext()); 4658 ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentCo ntext());
4599 V8PerContextData* contextData = scriptState->perContextData(); 4659 V8PerContextData* contextData = scriptState->perContextData();
4600 if (scriptState->world().isIsolatedWorld() && contextData && contextData->ac tivityLogger()) { 4660 if (scriptState->world().isIsolatedWorld() && contextData && contextData->ac tivityLogger()) {
4601 TestObject* impl = V8TestObject::toNative(info.Holder()); 4661 TestObject* impl = V8TestObject::toNative(info.Holder());
4602 int original = impl->activityLoggingSetterOnlyLogPreviousValueAttribute( ); 4662 String cppValue(impl->activityLoggingSetterOnlyLogPreviousValueAttribute ());
4603 v8::Handle<v8::Value> originalValue = v8::Integer::New(info.GetIsolate() , impl->activityLoggingSetterOnlyLogPreviousValueAttribute()); 4663 v8::Handle<v8::Value> originalValue = cppValue.isNull() ? v8::Handle<v8: :Value>(v8::Null(info.GetIsolate())) : v8String(info.GetIsolate(), cppValue);
4604 contextData->activityLogger()->logSetter("TestObject.activityLoggingSett erOnlyLogPreviousValueAttribute", v8Value, originalValue); 4664 contextData->activityLogger()->logSetter("TestObject.activityLoggingSett erOnlyLogPreviousValueAttribute", v8Value, originalValue);
4605 } 4665 }
4606 TestObjectV8Internal::activityLoggingSetterOnlyLogPreviousValueAttributeAttr ibuteSetter(v8Value, info); 4666 TestObjectV8Internal::activityLoggingSetterOnlyLogPreviousValueAttributeAttr ibuteSetter(v8Value, info);
4607 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4667 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4608 } 4668 }
4609 4669
4610 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeGetter(con st v8::PropertyCallbackInfo<v8::Value>& info) 4670 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeGetter(con st v8::PropertyCallbackInfo<v8::Value>& info)
4611 { 4671 {
4612 v8::Handle<v8::Object> holder = info.Holder(); 4672 v8::Handle<v8::Object> holder = info.Holder();
4613 TestObject* impl = V8TestObject::toNative(holder); 4673 TestObject* impl = V8TestObject::toNative(holder);
4614 v8SetReturnValueFast(info, WTF::getPtr(impl->activityLoggingLogPreviousValue InterfaceAttribute()), impl); 4674 RefPtr<TestInterfaceEmpty> cppValue(impl->activityLoggingLogPreviousValueInt erfaceAttribute());
4675 v8SetReturnValueFast(info, WTF::getPtr(cppValue.release()), impl);
4615 } 4676 }
4616 4677
4617 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeGetterCall back(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 4678 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeGetterCall back(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
4618 { 4679 {
4619 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 4680 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
4620 ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentCo ntext()); 4681 ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentCo ntext());
4621 V8PerContextData* contextData = scriptState->perContextData(); 4682 V8PerContextData* contextData = scriptState->perContextData();
4622 if (scriptState->world().isIsolatedWorld() && contextData && contextData->ac tivityLogger()) 4683 if (scriptState->world().isIsolatedWorld() && contextData && contextData->ac tivityLogger())
4623 contextData->activityLogger()->logGetter("TestObject.activityLoggingLogP reviousValueInterfaceAttribute"); 4684 contextData->activityLogger()->logGetter("TestObject.activityLoggingLogP reviousValueInterfaceAttribute");
4624 TestObjectV8Internal::activityLoggingLogPreviousValueInterfaceAttributeAttri buteGetter(info); 4685 TestObjectV8Internal::activityLoggingLogPreviousValueInterfaceAttributeAttri buteGetter(info);
4625 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4686 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4626 } 4687 }
4627 4688
4628 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeSetter(v8: :Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 4689 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeSetter(v8: :Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
4629 { 4690 {
4630 v8::Handle<v8::Object> holder = info.Holder(); 4691 v8::Handle<v8::Object> holder = info.Holder();
4631 TestObject* impl = V8TestObject::toNative(holder); 4692 TestObject* impl = V8TestObject::toNative(holder);
4632 TONATIVE_VOID(TestInterfaceEmpty*, cppValue, V8TestInterfaceEmpty::toNativeW ithTypeCheck(info.GetIsolate(), v8Value)); 4693 TONATIVE_VOID(TestInterfaceEmpty*, cppValue, V8TestInterfaceEmpty::toNativeW ithTypeCheck(info.GetIsolate(), v8Value));
4633 impl->setActivityLoggingLogPreviousValueInterfaceAttribute(WTF::getPtr(cppVa lue)); 4694 impl->setActivityLoggingLogPreviousValueInterfaceAttribute(WTF::getPtr(cppVa lue));
4634 } 4695 }
4635 4696
4636 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeSetterCall back(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCall backInfo<void>& info) 4697 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeSetterCall back(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCall backInfo<void>& info)
4637 { 4698 {
4638 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 4699 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
4639 ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentCo ntext()); 4700 ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentCo ntext());
4640 V8PerContextData* contextData = scriptState->perContextData(); 4701 V8PerContextData* contextData = scriptState->perContextData();
4641 if (scriptState->world().isIsolatedWorld() && contextData && contextData->ac tivityLogger()) { 4702 if (scriptState->world().isIsolatedWorld() && contextData && contextData->ac tivityLogger()) {
4642 TestObject* impl = V8TestObject::toNative(info.Holder()); 4703 TestObject* impl = V8TestObject::toNative(info.Holder());
4643 RefPtr<TestInterfaceEmpty> original = impl->activityLoggingLogPreviousVa lueInterfaceAttribute(); 4704 RefPtr<TestInterfaceEmpty> cppValue(impl->activityLoggingLogPreviousValu eInterfaceAttribute());
4644 v8::Handle<v8::Value> originalValue = toV8(impl->activityLoggingLogPrevi ousValueInterfaceAttribute(), info.Holder(), info.GetIsolate()); 4705 v8::Handle<v8::Value> originalValue = toV8(cppValue, info.Holder(), info .GetIsolate());
4645 contextData->activityLogger()->logSetter("TestObject.activityLoggingLogP reviousValueInterfaceAttribute", v8Value, originalValue); 4706 contextData->activityLogger()->logSetter("TestObject.activityLoggingLogP reviousValueInterfaceAttribute", v8Value, originalValue);
4646 } 4707 }
4647 TestObjectV8Internal::activityLoggingLogPreviousValueInterfaceAttributeAttri buteSetter(v8Value, info); 4708 TestObjectV8Internal::activityLoggingLogPreviousValueInterfaceAttributeAttri buteSetter(v8Value, info);
4648 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4709 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4649 } 4710 }
4650 4711
4651 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo <v8::Value>& info) 4712 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo <v8::Value>& info)
4652 { 4713 {
4653 v8::Handle<v8::Object> holder = info.Holder(); 4714 v8::Handle<v8::Object> holder = info.Holder();
4654 TestObject* impl = V8TestObject::toNative(holder); 4715 TestObject* impl = V8TestObject::toNative(holder);
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
4703 { 4764 {
4704 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 4765 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
4705 TestObjectV8Internal::testInterfaceGarbageCollectedAttributeAttributeSetter( v8Value, info); 4766 TestObjectV8Internal::testInterfaceGarbageCollectedAttributeAttributeSetter( v8Value, info);
4706 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4767 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4707 } 4768 }
4708 4769
4709 static void testInterfaceGarbageCollectedOrNullAttributeAttributeGetter(const v8 ::PropertyCallbackInfo<v8::Value>& info) 4770 static void testInterfaceGarbageCollectedOrNullAttributeAttributeGetter(const v8 ::PropertyCallbackInfo<v8::Value>& info)
4710 { 4771 {
4711 v8::Handle<v8::Object> holder = info.Holder(); 4772 v8::Handle<v8::Object> holder = info.Holder();
4712 TestObject* impl = V8TestObject::toNative(holder); 4773 TestObject* impl = V8TestObject::toNative(holder);
4713 RawPtr<TestInterfaceGarbageCollected> cppValue(impl->testInterfaceGarbageCol lectedOrNullAttribute()); 4774 v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceGarbageCollectedOr NullAttribute()), impl);
4714 if (!cppValue) {
4715 v8SetReturnValueNull(info);
4716 return;
4717 }
4718 v8SetReturnValueFast(info, WTF::getPtr(cppValue.release()), impl);
4719 } 4775 }
4720 4776
4721 static void testInterfaceGarbageCollectedOrNullAttributeAttributeGetterCallback( v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 4777 static void testInterfaceGarbageCollectedOrNullAttributeAttributeGetterCallback( v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
4722 { 4778 {
4723 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 4779 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
4724 TestObjectV8Internal::testInterfaceGarbageCollectedOrNullAttributeAttributeG etter(info); 4780 TestObjectV8Internal::testInterfaceGarbageCollectedOrNullAttributeAttributeG etter(info);
4725 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4781 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4726 } 4782 }
4727 4783
4728 static void testInterfaceGarbageCollectedOrNullAttributeAttributeSetter(v8::Loca l<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 4784 static void testInterfaceGarbageCollectedOrNullAttributeAttributeSetter(v8::Loca l<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
4766 { 4822 {
4767 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 4823 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
4768 TestObjectV8Internal::testInterfaceWillBeGarbageCollectedAttributeAttributeS etter(v8Value, info); 4824 TestObjectV8Internal::testInterfaceWillBeGarbageCollectedAttributeAttributeS etter(v8Value, info);
4769 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4825 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4770 } 4826 }
4771 4827
4772 static void testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeGetter(co nst v8::PropertyCallbackInfo<v8::Value>& info) 4828 static void testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeGetter(co nst v8::PropertyCallbackInfo<v8::Value>& info)
4773 { 4829 {
4774 v8::Handle<v8::Object> holder = info.Holder(); 4830 v8::Handle<v8::Object> holder = info.Holder();
4775 TestObject* impl = V8TestObject::toNative(holder); 4831 TestObject* impl = V8TestObject::toNative(holder);
4776 RefPtrWillBeRawPtr<TestInterfaceWillBeGarbageCollected> cppValue(impl->testI nterfaceWillBeGarbageCollectedOrNullAttribute()); 4832 v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceWillBeGarbageColle ctedOrNullAttribute()), impl);
4777 if (!cppValue) {
4778 v8SetReturnValueNull(info);
4779 return;
4780 }
4781 v8SetReturnValueFast(info, WTF::getPtr(cppValue.release()), impl);
4782 } 4833 }
4783 4834
4784 static void testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeGetterCal lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 4835 static void testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeGetterCal lback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
4785 { 4836 {
4786 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 4837 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
4787 TestObjectV8Internal::testInterfaceWillBeGarbageCollectedOrNullAttributeAttr ibuteGetter(info); 4838 TestObjectV8Internal::testInterfaceWillBeGarbageCollectedOrNullAttributeAttr ibuteGetter(info);
4788 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4839 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4789 } 4840 }
4790 4841
4791 static void testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeSetter(v8 ::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 4842 static void testInterfaceWillBeGarbageCollectedOrNullAttributeAttributeSetter(v8 ::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
(...skipping 4906 matching lines...) Expand 10 before | Expand all | Expand 10 after
9698 {"stringOrNullAttribute", TestObjectV8Internal::stringOrNullAttributeAttribu teGetterCallback, TestObjectV8Internal::stringOrNullAttributeAttributeSetterCall back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */}, 9749 {"stringOrNullAttribute", TestObjectV8Internal::stringOrNullAttributeAttribu teGetterCallback, TestObjectV8Internal::stringOrNullAttributeAttributeSetterCall back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */},
9699 {"longOrNullAttribute", TestObjectV8Internal::longOrNullAttributeAttributeGe tterCallback, TestObjectV8Internal::longOrNullAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt tribute>(v8::None), 0 /* on instance */}, 9750 {"longOrNullAttribute", TestObjectV8Internal::longOrNullAttributeAttributeGe tterCallback, TestObjectV8Internal::longOrNullAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt tribute>(v8::None), 0 /* on instance */},
9700 {"testInterfaceOrNullAttribute", TestObjectV8Internal::testInterfaceOrNullAt tributeAttributeGetterCallback, TestObjectV8Internal::testInterfaceOrNullAttribu teAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9751 {"testInterfaceOrNullAttribute", TestObjectV8Internal::testInterfaceOrNullAt tributeAttributeGetterCallback, TestObjectV8Internal::testInterfaceOrNullAttribu teAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9701 {"testEnumAttribute", TestObjectV8Internal::testEnumAttributeAttributeGetter Callback, TestObjectV8Internal::testEnumAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut e>(v8::None), 0 /* on instance */}, 9752 {"testEnumAttribute", TestObjectV8Internal::testEnumAttributeAttributeGetter Callback, TestObjectV8Internal::testEnumAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut e>(v8::None), 0 /* on instance */},
9702 {"eventHandlerAttribute", TestObjectV8Internal::eventHandlerAttributeAttribu teGetterCallback, TestObjectV8Internal::eventHandlerAttributeAttributeSetterCall back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */}, 9753 {"eventHandlerAttribute", TestObjectV8Internal::eventHandlerAttributeAttribu teGetterCallback, TestObjectV8Internal::eventHandlerAttributeAttributeSetterCall back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */},
9703 {"activityLoggingAccessForAllWorldsLongAttribute", TestObjectV8Internal::act ivityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallback, TestObjectV8 Internal::activityLoggingAccessForAllWorldsLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA ttribute>(v8::None), 0 /* on instance */}, 9754 {"activityLoggingAccessForAllWorldsLongAttribute", TestObjectV8Internal::act ivityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallback, TestObjectV8 Internal::activityLoggingAccessForAllWorldsLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA ttribute>(v8::None), 0 /* on instance */},
9704 {"activityLoggingGetterForAllWorldsLongAttribute", TestObjectV8Internal::act ivityLoggingGetterForAllWorldsLongAttributeAttributeGetterCallback, TestObjectV8 Internal::activityLoggingGetterForAllWorldsLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA ttribute>(v8::None), 0 /* on instance */}, 9755 {"activityLoggingGetterForAllWorldsLongAttribute", TestObjectV8Internal::act ivityLoggingGetterForAllWorldsLongAttributeAttributeGetterCallback, TestObjectV8 Internal::activityLoggingGetterForAllWorldsLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA ttribute>(v8::None), 0 /* on instance */},
9705 {"activityLoggingSetterForAllWorldsLongAttribute", TestObjectV8Internal::act ivityLoggingSetterForAllWorldsLongAttributeAttributeGetterCallback, TestObjectV8 Internal::activityLoggingSetterForAllWorldsLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA ttribute>(v8::None), 0 /* on instance */}, 9756 {"activityLoggingSetterForAllWorldsLongAttribute", TestObjectV8Internal::act ivityLoggingSetterForAllWorldsLongAttributeAttributeGetterCallback, TestObjectV8 Internal::activityLoggingSetterForAllWorldsLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA ttribute>(v8::None), 0 /* on instance */},
9706 {"cachedAttributeAnyAttribute", TestObjectV8Internal::cachedAttributeAnyAttr ibuteAttributeGetterCallback, TestObjectV8Internal::cachedAttributeAnyAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9757 {"cachedAttributeAnyAttribute", TestObjectV8Internal::cachedAttributeAnyAttr ibuteAttributeGetterCallback, TestObjectV8Internal::cachedAttributeAnyAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9707 {"cachedArrayAttribute", TestObjectV8Internal::cachedArrayAttributeAttribute GetterCallback, TestObjectV8Internal::cachedArrayAttributeAttributeSetterCallbac k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::None), 0 /* on instance */}, 9758 {"cachedArrayAttribute", TestObjectV8Internal::cachedArrayAttributeAttribute GetterCallback, TestObjectV8Internal::cachedArrayAttributeAttributeSetterCallbac k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::None), 0 /* on instance */},
9759 {"cachedStringOrNoneAttribute", TestObjectV8Internal::cachedStringOrNoneAttr ibuteAttributeGetterCallback, TestObjectV8Internal::cachedStringOrNoneAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9708 {"callWithExecutionContextAnyAttribute", TestObjectV8Internal::callWithExecu tionContextAnyAttributeAttributeGetterCallback, TestObjectV8Internal::callWithEx ecutionContextAnyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i nstance */}, 9760 {"callWithExecutionContextAnyAttribute", TestObjectV8Internal::callWithExecu tionContextAnyAttributeAttributeGetterCallback, TestObjectV8Internal::callWithEx ecutionContextAnyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i nstance */},
9709 {"callWithScriptStateAnyAttribute", TestObjectV8Internal::callWithScriptStat eAnyAttributeAttributeGetterCallback, TestObjectV8Internal::callWithScriptStateA nyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8:: DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9761 {"callWithScriptStateAnyAttribute", TestObjectV8Internal::callWithScriptStat eAnyAttributeAttributeGetterCallback, TestObjectV8Internal::callWithScriptStateA nyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8:: DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9710 {"callWithExecutionContextAndScriptStateAnyAttribute", TestObjectV8Internal: :callWithExecutionContextAndScriptStateAnyAttributeAttributeGetterCallback, Test ObjectV8Internal::callWithExecutionContextAndScriptStateAnyAttributeAttributeSet terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v 8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9762 {"callWithExecutionContextAndScriptStateAnyAttribute", TestObjectV8Internal: :callWithExecutionContextAndScriptStateAnyAttributeAttributeGetterCallback, Test ObjectV8Internal::callWithExecutionContextAndScriptStateAnyAttributeAttributeSet terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v 8::PropertyAttribute>(v8::None), 0 /* on instance */},
9711 {"checkSecurityForNodeReadonlyDocumentAttribute", TestObjectV8Internal::chec kSecurityForNodeReadonlyDocumentAttributeAttributeGetterCallback, 0, 0, 0, 0, st atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8 ::None), 0 /* on instance */}, 9763 {"checkSecurityForNodeReadonlyDocumentAttribute", TestObjectV8Internal::chec kSecurityForNodeReadonlyDocumentAttributeAttributeGetterCallback, 0, 0, 0, 0, st atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8 ::None), 0 /* on instance */},
9712 #if ENABLE(CONDITION) 9764 #if ENABLE(CONDITION)
9713 {"conditionalLongAttribute", TestObjectV8Internal::conditionalLongAttributeA ttributeGetterCallback, TestObjectV8Internal::conditionalLongAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9765 {"conditionalLongAttribute", TestObjectV8Internal::conditionalLongAttributeA ttributeGetterCallback, TestObjectV8Internal::conditionalLongAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9714 #endif // ENABLE(CONDITION) 9766 #endif // ENABLE(CONDITION)
9715 #if ENABLE(CONDITION_1) && ENABLE(CONDITION_2) 9767 #if ENABLE(CONDITION_1) && ENABLE(CONDITION_2)
9716 {"conditionalAndLongAttribute", TestObjectV8Internal::conditionalAndLongAttr ibuteAttributeGetterCallback, TestObjectV8Internal::conditionalAndLongAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9768 {"conditionalAndLongAttribute", TestObjectV8Internal::conditionalAndLongAttr ibuteAttributeGetterCallback, TestObjectV8Internal::conditionalAndLongAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9717 #endif // ENABLE(CONDITION_1) && ENABLE(CONDITION_2) 9769 #endif // ENABLE(CONDITION_1) && ENABLE(CONDITION_2)
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
9774 {"limitedWithInvalidMissingDefaultAttribute", TestObjectV8Internal::limitedW ithInvalidMissingDefaultAttributeAttributeGetterCallback, TestObjectV8Internal:: limitedWithInvalidMissingDefaultAttributeAttributeSetterCallback, 0, 0, 0, stati c_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::N one), 0 /* on instance */}, 9826 {"limitedWithInvalidMissingDefaultAttribute", TestObjectV8Internal::limitedW ithInvalidMissingDefaultAttributeAttributeGetterCallback, TestObjectV8Internal:: limitedWithInvalidMissingDefaultAttributeAttributeSetterCallback, 0, 0, 0, stati c_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::N one), 0 /* on instance */},
9775 {"corsSettingAttribute", TestObjectV8Internal::corsSettingAttributeAttribute GetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_ cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9827 {"corsSettingAttribute", TestObjectV8Internal::corsSettingAttributeAttribute GetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_ cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9776 {"limitedWithEmptyMissingInvalidAttribute", TestObjectV8Internal::limitedWit hEmptyMissingInvalidAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8 ::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 / * on instance */}, 9828 {"limitedWithEmptyMissingInvalidAttribute", TestObjectV8Internal::limitedWit hEmptyMissingInvalidAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8 ::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 / * on instance */},
9777 {"replaceableReadonlyLongAttribute", TestObjectV8Internal::replaceableReadon lyLongAttributeAttributeGetterCallback, TestObjectV8Internal::TestObjectForceSet AttributeOnThisCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), s tatic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9829 {"replaceableReadonlyLongAttribute", TestObjectV8Internal::replaceableReadon lyLongAttributeAttributeGetterCallback, TestObjectV8Internal::TestObjectForceSet AttributeOnThisCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), s tatic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9778 {"locationReplaceable", TestObjectV8Internal::locationReplaceableAttributeGe tterCallback, TestObjectV8Internal::locationReplaceableAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt tribute>(v8::None), 0 /* on instance */}, 9830 {"locationReplaceable", TestObjectV8Internal::locationReplaceableAttributeGe tterCallback, TestObjectV8Internal::locationReplaceableAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt tribute>(v8::None), 0 /* on instance */},
9779 {"setterCallWithActiveWindowAndFirstWindowStringAttribute", TestObjectV8Inte rnal::setterCallWithActiveWindowAndFirstWindowStringAttributeAttributeGetterCall back, TestObjectV8Internal::setterCallWithActiveWindowAndFirstWindowStringAttrib uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT) , static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9831 {"setterCallWithActiveWindowAndFirstWindowStringAttribute", TestObjectV8Inte rnal::setterCallWithActiveWindowAndFirstWindowStringAttributeAttributeGetterCall back, TestObjectV8Internal::setterCallWithActiveWindowAndFirstWindowStringAttrib uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT) , static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9780 {"setterCallWithExecutionContextStringAttribute", TestObjectV8Internal::sett erCallWithExecutionContextStringAttributeAttributeGetterCallback, TestObjectV8In ternal::setterCallWithExecutionContextStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttr ibute>(v8::None), 0 /* on instance */}, 9832 {"setterCallWithExecutionContextStringAttribute", TestObjectV8Internal::sett erCallWithExecutionContextStringAttributeAttributeGetterCallback, TestObjectV8In ternal::setterCallWithExecutionContextStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttr ibute>(v8::None), 0 /* on instance */},
9781 {"treatNullAsNullStringStringAttribute", TestObjectV8Internal::treatNullAsNu llStringStringAttributeAttributeGetterCallback, TestObjectV8Internal::treatNullA sNullStringStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i nstance */}, 9833 {"treatNullAsNullStringStringAttribute", TestObjectV8Internal::treatNullAsNu llStringStringAttributeAttributeGetterCallback, TestObjectV8Internal::treatNullA sNullStringStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i nstance */},
9782 {"treatReturnedNullStringAsNullStringAttribute", TestObjectV8Internal::treat ReturnedNullStringAsNullStringAttributeAttributeGetterCallback, TestObjectV8Inte rnal::treatReturnedNullStringAsNullStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu te>(v8::None), 0 /* on instance */}, 9834 {"treatReturnedNullStringAsNullStringAttribute", TestObjectV8Internal::treat ReturnedNullStringAsNullStringAttributeAttributeGetterCallback, TestObjectV8Inte rnal::treatReturnedNullStringAsNullStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu te>(v8::None), 0 /* on instance */},
9783 {"treatReturnedNullStringAsUndefinedStringAttribute", TestObjectV8Internal:: treatReturnedNullStringAsUndefinedStringAttributeAttributeGetterCallback, TestOb jectV8Internal::treatReturnedNullStringAsUndefinedStringAttributeAttributeSetter Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8:: PropertyAttribute>(v8::None), 0 /* on instance */}, 9835 {"treatReturnedNullStringAsUndefinedStringAttribute", TestObjectV8Internal:: treatReturnedNullStringAsUndefinedStringAttributeAttributeGetterCallback, TestOb jectV8Internal::treatReturnedNullStringAsUndefinedStringAttributeAttributeSetter Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8:: PropertyAttribute>(v8::None), 0 /* on instance */},
9836 {"cachedTreatReturnedNullStringAsUndefinedStringAttribute", TestObjectV8Inte rnal::cachedTreatReturnedNullStringAsUndefinedStringAttributeAttributeGetterCall back, TestObjectV8Internal::cachedTreatReturnedNullStringAsUndefinedStringAttrib uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT) , static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9784 {"treatReturnedNullStringAsNullByteStringAttribute", TestObjectV8Internal::t reatReturnedNullStringAsNullByteStringAttributeAttributeGetterCallback, TestObje ctV8Internal::treatReturnedNullStringAsNullByteStringAttributeAttributeSetterCal lback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pro pertyAttribute>(v8::None), 0 /* on instance */}, 9837 {"treatReturnedNullStringAsNullByteStringAttribute", TestObjectV8Internal::t reatReturnedNullStringAsNullByteStringAttributeAttributeGetterCallback, TestObje ctV8Internal::treatReturnedNullStringAsNullByteStringAttributeAttributeSetterCal lback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pro pertyAttribute>(v8::None), 0 /* on instance */},
9785 {"treatReturnedNullStringAsUndefinedByteStringAttribute", TestObjectV8Intern al::treatReturnedNullStringAsUndefinedByteStringAttributeAttributeGetterCallback , TestObjectV8Internal::treatReturnedNullStringAsUndefinedByteStringAttributeAtt ributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat ic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9838 {"treatReturnedNullStringAsUndefinedByteStringAttribute", TestObjectV8Intern al::treatReturnedNullStringAsUndefinedByteStringAttributeAttributeGetterCallback , TestObjectV8Internal::treatReturnedNullStringAsUndefinedByteStringAttributeAtt ributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat ic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9786 {"treatReturnedNullStringAsNullScalarValueStringAttribute", TestObjectV8Inte rnal::treatReturnedNullStringAsNullScalarValueStringAttributeAttributeGetterCall back, TestObjectV8Internal::treatReturnedNullStringAsNullScalarValueStringAttrib uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT) , static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9839 {"treatReturnedNullStringAsNullScalarValueStringAttribute", TestObjectV8Inte rnal::treatReturnedNullStringAsNullScalarValueStringAttributeAttributeGetterCall back, TestObjectV8Internal::treatReturnedNullStringAsNullScalarValueStringAttrib uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT) , static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9787 {"treatReturnedNullStringAsUndefinedScalarValueStringAttribute", TestObjectV 8Internal::treatReturnedNullStringAsUndefinedScalarValueStringAttributeAttribute GetterCallback, TestObjectV8Internal::treatReturnedNullStringAsUndefinedScalarVa lueStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContro l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9840 {"treatReturnedNullStringAsUndefinedScalarValueStringAttribute", TestObjectV 8Internal::treatReturnedNullStringAsUndefinedScalarValueStringAttributeAttribute GetterCallback, TestObjectV8Internal::treatReturnedNullStringAsUndefinedScalarVa lueStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContro l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9788 {"typeCheckingInterfaceFloatAttribute", TestObjectV8Internal::typeCheckingIn terfaceFloatAttributeAttributeGetterCallback, TestObjectV8Internal::typeChecking InterfaceFloatAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessC ontrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on inst ance */}, 9841 {"typeCheckingInterfaceFloatAttribute", TestObjectV8Internal::typeCheckingIn terfaceFloatAttributeAttributeGetterCallback, TestObjectV8Internal::typeChecking InterfaceFloatAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessC ontrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on inst ance */},
9789 {"typeCheckingInterfaceTestInterfaceAttribute", TestObjectV8Internal::typeCh eckingInterfaceTestInterfaceAttributeAttributeGetterCallback, TestObjectV8Intern al::typeCheckingInterfaceTestInterfaceAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute> (v8::None), 0 /* on instance */}, 9842 {"typeCheckingInterfaceTestInterfaceAttribute", TestObjectV8Internal::typeCh eckingInterfaceTestInterfaceAttributeAttributeGetterCallback, TestObjectV8Intern al::typeCheckingInterfaceTestInterfaceAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute> (v8::None), 0 /* on instance */},
9790 {"typeCheckingInterfaceTestInterfaceOrNullAttribute", TestObjectV8Internal:: typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeGetterCallback, TestOb jectV8Internal::typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeSetter Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8:: PropertyAttribute>(v8::None), 0 /* on instance */}, 9843 {"typeCheckingInterfaceTestInterfaceOrNullAttribute", TestObjectV8Internal:: typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeGetterCallback, TestOb jectV8Internal::typeCheckingInterfaceTestInterfaceOrNullAttributeAttributeSetter Callback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8:: PropertyAttribute>(v8::None), 0 /* on instance */},
9791 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri bute>(v8::None), 0 /* on instance */}, 9844 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri bute>(v8::None), 0 /* on instance */},
9792 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri bute>(v8::None), 0 /* on instance */}, 9845 {"urlStringAttribute", TestObjectV8Internal::urlStringAttributeAttributeGett erCallback, TestObjectV8Internal::urlStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri bute>(v8::None), 0 /* on instance */},
9793 {"unforgeableLongAttribute", TestObjectV8Internal::unforgeableLongAttributeA ttributeGetterCallback, TestObjectV8Internal::unforgeableLongAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::PROHIBITS_OVERWRITING ), static_cast<v8::PropertyAttribute>(v8::DontDelete), 0 /* on instance */}, 9846 {"unforgeableLongAttribute", TestObjectV8Internal::unforgeableLongAttributeA ttributeGetterCallback, TestObjectV8Internal::unforgeableLongAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::PROHIBITS_OVERWRITING ), static_cast<v8::PropertyAttribute>(v8::DontDelete), 0 /* on instance */},
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
10193 fromInternalPointer(object)->deref(); 10246 fromInternalPointer(object)->deref();
10194 } 10247 }
10195 10248
10196 template<> 10249 template<>
10197 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate) 10250 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate)
10198 { 10251 {
10199 return toV8(impl, creationContext, isolate); 10252 return toV8(impl, creationContext, isolate);
10200 } 10253 }
10201 10254
10202 } // namespace WebCore 10255 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698