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

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

Issue 368313005: IDL: Add support for [TreatNullAs=EmptyString] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix debug compilation 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
« no previous file with comments | « Source/bindings/tests/idls/TestObject.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/BindingSecurity.h" 10 #include "bindings/core/v8/BindingSecurity.h"
(...skipping 1513 matching lines...) Expand 10 before | Expand all | Expand 10 after
1524 { 1524 {
1525 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 1525 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
1526 TestObjectV8Internal::stringOrNullAttributeAttributeGetter(info); 1526 TestObjectV8Internal::stringOrNullAttributeAttributeGetter(info);
1527 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 1527 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
1528 } 1528 }
1529 1529
1530 static void stringOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c onst v8::PropertyCallbackInfo<void>& info) 1530 static void stringOrNullAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c onst v8::PropertyCallbackInfo<void>& info)
1531 { 1531 {
1532 v8::Handle<v8::Object> holder = info.Holder(); 1532 v8::Handle<v8::Object> holder = info.Holder();
1533 TestObject* impl = V8TestObject::toNative(holder); 1533 TestObject* impl = V8TestObject::toNative(holder);
1534 TOSTRING_VOID(V8StringResource<WithNullCheck>, cppValue, v8Value); 1534 TOSTRING_VOID(V8StringResource<TreatNullAsNullString>, cppValue, v8Value);
1535 impl->setStringOrNullAttribute(cppValue); 1535 impl->setStringOrNullAttribute(cppValue);
1536 } 1536 }
1537 1537
1538 static void stringOrNullAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 1538 static void stringOrNullAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
1539 { 1539 {
1540 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 1540 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
1541 TestObjectV8Internal::stringOrNullAttributeAttributeSetter(v8Value, info); 1541 TestObjectV8Internal::stringOrNullAttributeAttributeSetter(v8Value, info);
1542 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 1542 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
1543 } 1543 }
1544 1544
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
1929 { 1929 {
1930 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 1930 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
1931 TestObjectV8Internal::cachedStringOrNoneAttributeAttributeGetter(info); 1931 TestObjectV8Internal::cachedStringOrNoneAttributeAttributeGetter(info);
1932 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 1932 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
1933 } 1933 }
1934 1934
1935 static void cachedStringOrNoneAttributeAttributeSetter(v8::Local<v8::Value> v8Va lue, const v8::PropertyCallbackInfo<void>& info) 1935 static void cachedStringOrNoneAttributeAttributeSetter(v8::Local<v8::Value> v8Va lue, const v8::PropertyCallbackInfo<void>& info)
1936 { 1936 {
1937 v8::Handle<v8::Object> holder = info.Holder(); 1937 v8::Handle<v8::Object> holder = info.Holder();
1938 TestObject* impl = V8TestObject::toNative(holder); 1938 TestObject* impl = V8TestObject::toNative(holder);
1939 TOSTRING_VOID(V8StringResource<WithNullCheck>, cppValue, v8Value); 1939 TOSTRING_VOID(V8StringResource<TreatNullAsNullString>, cppValue, v8Value);
1940 impl->setCachedStringOrNoneAttribute(cppValue); 1940 impl->setCachedStringOrNoneAttribute(cppValue);
1941 V8HiddenValue::deleteHiddenValue(info.GetIsolate(), holder, v8AtomicString(i nfo.GetIsolate(), "cachedStringOrNoneAttribute")); // Invalidate the cached valu e. 1941 V8HiddenValue::deleteHiddenValue(info.GetIsolate(), holder, v8AtomicString(i nfo.GetIsolate(), "cachedStringOrNoneAttribute")); // Invalidate the cached valu e.
1942 } 1942 }
1943 1943
1944 static void cachedStringOrNoneAttributeAttributeSetterCallback(v8::Local<v8::Str ing>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 1944 static void cachedStringOrNoneAttributeAttributeSetterCallback(v8::Local<v8::Str ing>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
1945 { 1945 {
1946 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 1946 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
1947 TestObjectV8Internal::cachedStringOrNoneAttributeAttributeSetter(v8Value, in fo); 1947 TestObjectV8Internal::cachedStringOrNoneAttributeAttributeSetter(v8Value, in fo);
1948 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 1948 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
1949 } 1949 }
(...skipping 2236 matching lines...) Expand 10 before | Expand all | Expand 10 after
4186 impl->setSetterCallWithExecutionContextStringAttribute(executionContext, cpp Value); 4186 impl->setSetterCallWithExecutionContextStringAttribute(executionContext, cpp Value);
4187 } 4187 }
4188 4188
4189 static void setterCallWithExecutionContextStringAttributeAttributeSetterCallback (v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallback Info<void>& info) 4189 static void setterCallWithExecutionContextStringAttributeAttributeSetterCallback (v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallback Info<void>& info)
4190 { 4190 {
4191 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 4191 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
4192 TestObjectV8Internal::setterCallWithExecutionContextStringAttributeAttribute Setter(v8Value, info); 4192 TestObjectV8Internal::setterCallWithExecutionContextStringAttributeAttribute Setter(v8Value, info);
4193 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4193 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4194 } 4194 }
4195 4195
4196 static void treatNullAsEmptyStringStringAttributeAttributeGetter(const v8::Prope rtyCallbackInfo<v8::Value>& info)
4197 {
4198 v8::Handle<v8::Object> holder = info.Holder();
4199 TestObject* impl = V8TestObject::toNative(holder);
4200 v8SetReturnValueString(info, impl->treatNullAsEmptyStringStringAttribute(), info.GetIsolate());
4201 }
4202
4203 static void treatNullAsEmptyStringStringAttributeAttributeGetterCallback(v8::Loc al<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
4204 {
4205 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
4206 TestObjectV8Internal::treatNullAsEmptyStringStringAttributeAttributeGetter(i nfo);
4207 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4208 }
4209
4210 static void treatNullAsEmptyStringStringAttributeAttributeSetter(v8::Local<v8::V alue> v8Value, const v8::PropertyCallbackInfo<void>& info)
4211 {
4212 v8::Handle<v8::Object> holder = info.Holder();
4213 TestObject* impl = V8TestObject::toNative(holder);
4214 TOSTRING_VOID(V8StringResource<TreatNullAsEmptyString>, cppValue, v8Value);
4215 impl->setTreatNullAsEmptyStringStringAttribute(cppValue);
4216 }
4217
4218 static void treatNullAsEmptyStringStringAttributeAttributeSetterCallback(v8::Loc al<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<voi d>& info)
4219 {
4220 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
4221 TestObjectV8Internal::treatNullAsEmptyStringStringAttributeAttributeSetter(v 8Value, info);
4222 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4223 }
4224
4196 static void treatNullAsNullStringStringAttributeAttributeGetter(const v8::Proper tyCallbackInfo<v8::Value>& info) 4225 static void treatNullAsNullStringStringAttributeAttributeGetter(const v8::Proper tyCallbackInfo<v8::Value>& info)
4197 { 4226 {
4198 v8::Handle<v8::Object> holder = info.Holder(); 4227 v8::Handle<v8::Object> holder = info.Holder();
4199 TestObject* impl = V8TestObject::toNative(holder); 4228 TestObject* impl = V8TestObject::toNative(holder);
4200 v8SetReturnValueString(info, impl->treatNullAsNullStringStringAttribute(), i nfo.GetIsolate()); 4229 v8SetReturnValueString(info, impl->treatNullAsNullStringStringAttribute(), i nfo.GetIsolate());
4201 } 4230 }
4202 4231
4203 static void treatNullAsNullStringStringAttributeAttributeGetterCallback(v8::Loca l<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 4232 static void treatNullAsNullStringStringAttributeAttributeGetterCallback(v8::Loca l<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
4204 { 4233 {
4205 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 4234 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
4206 TestObjectV8Internal::treatNullAsNullStringStringAttributeAttributeGetter(in fo); 4235 TestObjectV8Internal::treatNullAsNullStringStringAttributeAttributeGetter(in fo);
4207 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4236 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4208 } 4237 }
4209 4238
4210 static void treatNullAsNullStringStringAttributeAttributeSetter(v8::Local<v8::Va lue> v8Value, const v8::PropertyCallbackInfo<void>& info) 4239 static void treatNullAsNullStringStringAttributeAttributeSetter(v8::Local<v8::Va lue> v8Value, const v8::PropertyCallbackInfo<void>& info)
4211 { 4240 {
4212 v8::Handle<v8::Object> holder = info.Holder(); 4241 v8::Handle<v8::Object> holder = info.Holder();
4213 TestObject* impl = V8TestObject::toNative(holder); 4242 TestObject* impl = V8TestObject::toNative(holder);
4214 TOSTRING_VOID(V8StringResource<WithNullCheck>, cppValue, v8Value); 4243 TOSTRING_VOID(V8StringResource<TreatNullAsNullString>, cppValue, v8Value);
4215 impl->setTreatNullAsNullStringStringAttribute(cppValue); 4244 impl->setTreatNullAsNullStringStringAttribute(cppValue);
4216 } 4245 }
4217 4246
4218 static void treatNullAsNullStringStringAttributeAttributeSetterCallback(v8::Loca l<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void >& info) 4247 static void treatNullAsNullStringStringAttributeAttributeSetterCallback(v8::Loca l<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void >& info)
4219 { 4248 {
4220 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 4249 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
4221 TestObjectV8Internal::treatNullAsNullStringStringAttributeAttributeSetter(v8 Value, info); 4250 TestObjectV8Internal::treatNullAsNullStringStringAttributeAttributeSetter(v8 Value, info);
4222 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4251 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4223 } 4252 }
4224 4253
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
4643 { 4672 {
4644 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 4673 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
4645 TestObjectV8Internal::activityLoggingSetterOnlyLogPreviousValueAttributeAttr ibuteGetter(info); 4674 TestObjectV8Internal::activityLoggingSetterOnlyLogPreviousValueAttributeAttr ibuteGetter(info);
4646 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 4675 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
4647 } 4676 }
4648 4677
4649 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeSetter(v8 ::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 4678 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeSetter(v8 ::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
4650 { 4679 {
4651 v8::Handle<v8::Object> holder = info.Holder(); 4680 v8::Handle<v8::Object> holder = info.Holder();
4652 TestObject* impl = V8TestObject::toNative(holder); 4681 TestObject* impl = V8TestObject::toNative(holder);
4653 TOSTRING_VOID(V8StringResource<WithNullCheck>, cppValue, v8Value); 4682 TOSTRING_VOID(V8StringResource<TreatNullAsNullString>, cppValue, v8Value);
4654 impl->setActivityLoggingSetterOnlyLogPreviousValueAttribute(cppValue); 4683 impl->setActivityLoggingSetterOnlyLogPreviousValueAttribute(cppValue);
4655 } 4684 }
4656 4685
4657 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeSetterCal lback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCal lbackInfo<void>& info) 4686 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeSetterCal lback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCal lbackInfo<void>& info)
4658 { 4687 {
4659 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 4688 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
4660 ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentCo ntext()); 4689 ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentCo ntext());
4661 V8PerContextData* contextData = scriptState->perContextData(); 4690 V8PerContextData* contextData = scriptState->perContextData();
4662 if (scriptState->world().isIsolatedWorld() && contextData && contextData->ac tivityLogger()) { 4691 if (scriptState->world().isIsolatedWorld() && contextData && contextData->ac tivityLogger()) {
4663 TestObject* impl = V8TestObject::toNative(info.Holder()); 4692 TestObject* impl = V8TestObject::toNative(info.Holder());
(...skipping 2725 matching lines...) Expand 10 before | Expand all | Expand 10 after
7389 static void voidMethodDefaultFalseBooleanArgMethodCallback(const v8::FunctionCal lbackInfo<v8::Value>& info) 7418 static void voidMethodDefaultFalseBooleanArgMethodCallback(const v8::FunctionCal lbackInfo<v8::Value>& info)
7390 { 7419 {
7391 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 7420 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
7392 TestObjectV8Internal::voidMethodDefaultFalseBooleanArgMethod(info); 7421 TestObjectV8Internal::voidMethodDefaultFalseBooleanArgMethod(info);
7393 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 7422 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
7394 } 7423 }
7395 7424
7396 static void voidMethodDefaultNullableByteStringArgMethod(const v8::FunctionCallb ackInfo<v8::Value>& info) 7425 static void voidMethodDefaultNullableByteStringArgMethod(const v8::FunctionCallb ackInfo<v8::Value>& info)
7397 { 7426 {
7398 TestObject* impl = V8TestObject::toNative(info.Holder()); 7427 TestObject* impl = V8TestObject::toNative(info.Holder());
7399 V8StringResource<WithNullCheck> defaultStringArg; 7428 V8StringResource<TreatNullAsNullString> defaultStringArg;
7400 { 7429 {
7401 v8::TryCatch block; 7430 v8::TryCatch block;
7402 V8RethrowTryCatchScope rethrow(block); 7431 V8RethrowTryCatchScope rethrow(block);
7403 if (info.Length() > 0) { 7432 if (info.Length() > 0) {
7404 TONATIVE_VOID_INTERNAL(defaultStringArg, toByteString(info[0])); 7433 TONATIVE_VOID_INTERNAL(defaultStringArg, toByteString(info[0]));
7405 } else { 7434 } else {
7406 defaultStringArg = nullptr; 7435 defaultStringArg = nullptr;
7407 } 7436 }
7408 } 7437 }
7409 impl->voidMethodDefaultNullableByteStringArg(defaultStringArg); 7438 impl->voidMethodDefaultNullableByteStringArg(defaultStringArg);
7410 } 7439 }
7411 7440
7412 static void voidMethodDefaultNullableByteStringArgMethodCallback(const v8::Funct ionCallbackInfo<v8::Value>& info) 7441 static void voidMethodDefaultNullableByteStringArgMethodCallback(const v8::Funct ionCallbackInfo<v8::Value>& info)
7413 { 7442 {
7414 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 7443 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
7415 TestObjectV8Internal::voidMethodDefaultNullableByteStringArgMethod(info); 7444 TestObjectV8Internal::voidMethodDefaultNullableByteStringArgMethod(info);
7416 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 7445 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
7417 } 7446 }
7418 7447
7419 static void voidMethodDefaultNullableStringArgMethod(const v8::FunctionCallbackI nfo<v8::Value>& info) 7448 static void voidMethodDefaultNullableStringArgMethod(const v8::FunctionCallbackI nfo<v8::Value>& info)
7420 { 7449 {
7421 TestObject* impl = V8TestObject::toNative(info.Holder()); 7450 TestObject* impl = V8TestObject::toNative(info.Holder());
7422 V8StringResource<WithNullCheck> defaultStringArg; 7451 V8StringResource<TreatNullAsNullString> defaultStringArg;
7423 { 7452 {
7424 if (info.Length() > 0) { 7453 if (info.Length() > 0) {
7425 TOSTRING_VOID_INTERNAL(defaultStringArg, info[0]); 7454 TOSTRING_VOID_INTERNAL(defaultStringArg, info[0]);
7426 } else { 7455 } else {
7427 defaultStringArg = nullptr; 7456 defaultStringArg = nullptr;
7428 } 7457 }
7429 } 7458 }
7430 impl->voidMethodDefaultNullableStringArg(defaultStringArg); 7459 impl->voidMethodDefaultNullableStringArg(defaultStringArg);
7431 } 7460 }
7432 7461
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after
8457 impl->voidMethodEnforceRangeLongArg(enforceRangeLongArg); 8486 impl->voidMethodEnforceRangeLongArg(enforceRangeLongArg);
8458 } 8487 }
8459 8488
8460 static void voidMethodEnforceRangeLongArgMethodCallback(const v8::FunctionCallba ckInfo<v8::Value>& info) 8489 static void voidMethodEnforceRangeLongArgMethodCallback(const v8::FunctionCallba ckInfo<v8::Value>& info)
8461 { 8490 {
8462 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 8491 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
8463 TestObjectV8Internal::voidMethodEnforceRangeLongArgMethod(info); 8492 TestObjectV8Internal::voidMethodEnforceRangeLongArgMethod(info);
8464 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 8493 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
8465 } 8494 }
8466 8495
8496 static void voidMethodTreatNullAsEmptyStringStringArgMethod(const v8::FunctionCa llbackInfo<v8::Value>& info)
8497 {
8498 if (UNLIKELY(info.Length() < 1)) {
8499 throwMinimumArityTypeErrorForMethod("voidMethodTreatNullAsEmptyStringStr ingArg", "TestObject", 1, info.Length(), info.GetIsolate());
8500 return;
8501 }
8502 TestObject* impl = V8TestObject::toNative(info.Holder());
8503 V8StringResource<TreatNullAsEmptyString> treatNullAsEmptyStringStringArg;
8504 {
8505 TOSTRING_VOID_INTERNAL(treatNullAsEmptyStringStringArg, info[0]);
8506 }
8507 impl->voidMethodTreatNullAsEmptyStringStringArg(treatNullAsEmptyStringString Arg);
8508 }
8509
8510 static void voidMethodTreatNullAsEmptyStringStringArgMethodCallback(const v8::Fu nctionCallbackInfo<v8::Value>& info)
8511 {
8512 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
8513 TestObjectV8Internal::voidMethodTreatNullAsEmptyStringStringArgMethod(info);
8514 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
8515 }
8516
8467 static void voidMethodTreatNullAsNullStringStringArgMethod(const v8::FunctionCal lbackInfo<v8::Value>& info) 8517 static void voidMethodTreatNullAsNullStringStringArgMethod(const v8::FunctionCal lbackInfo<v8::Value>& info)
8468 { 8518 {
8469 if (UNLIKELY(info.Length() < 1)) { 8519 if (UNLIKELY(info.Length() < 1)) {
8470 throwMinimumArityTypeErrorForMethod("voidMethodTreatNullAsNullStringStri ngArg", "TestObject", 1, info.Length(), info.GetIsolate()); 8520 throwMinimumArityTypeErrorForMethod("voidMethodTreatNullAsNullStringStri ngArg", "TestObject", 1, info.Length(), info.GetIsolate());
8471 return; 8521 return;
8472 } 8522 }
8473 TestObject* impl = V8TestObject::toNative(info.Holder()); 8523 TestObject* impl = V8TestObject::toNative(info.Holder());
8474 V8StringResource<WithNullCheck> treatNullAsNullStringStringArg; 8524 V8StringResource<TreatNullAsNullString> treatNullAsNullStringStringArg;
8475 { 8525 {
8476 TOSTRING_VOID_INTERNAL(treatNullAsNullStringStringArg, info[0]); 8526 TOSTRING_VOID_INTERNAL(treatNullAsNullStringStringArg, info[0]);
8477 } 8527 }
8478 impl->voidMethodTreatNullAsNullStringStringArg(treatNullAsNullStringStringAr g); 8528 impl->voidMethodTreatNullAsNullStringStringArg(treatNullAsNullStringStringAr g);
8479 } 8529 }
8480 8530
8481 static void voidMethodTreatNullAsNullStringStringArgMethodCallback(const v8::Fun ctionCallbackInfo<v8::Value>& info) 8531 static void voidMethodTreatNullAsNullStringStringArgMethodCallback(const v8::Fun ctionCallbackInfo<v8::Value>& info)
8482 { 8532 {
8483 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 8533 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
8484 TestObjectV8Internal::voidMethodTreatNullAsNullStringStringArgMethod(info); 8534 TestObjectV8Internal::voidMethodTreatNullAsNullStringStringArgMethod(info);
8485 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 8535 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
8486 } 8536 }
8487 8537
8488 static void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArgMe thod(const v8::FunctionCallbackInfo<v8::Value>& info) 8538 static void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArgMe thod(const v8::FunctionCallbackInfo<v8::Value>& info)
8489 { 8539 {
8490 if (UNLIKELY(info.Length() < 1)) { 8540 if (UNLIKELY(info.Length() < 1)) {
8491 throwMinimumArityTypeErrorForMethod("voidMethodTreatNullAsNullStringTrea tUndefinedAsNullStringStringArg", "TestObject", 1, info.Length(), info.GetIsolat e()); 8541 throwMinimumArityTypeErrorForMethod("voidMethodTreatNullAsNullStringTrea tUndefinedAsNullStringStringArg", "TestObject", 1, info.Length(), info.GetIsolat e());
8492 return; 8542 return;
8493 } 8543 }
8494 TestObject* impl = V8TestObject::toNative(info.Holder()); 8544 TestObject* impl = V8TestObject::toNative(info.Holder());
8495 V8StringResource<WithUndefinedOrNullCheck> treatNullAsNullStringStringArg; 8545 V8StringResource<TreatNullAndUndefinedAsNullString> treatNullAsNullStringStr ingArg;
8496 { 8546 {
8497 TOSTRING_VOID_INTERNAL(treatNullAsNullStringStringArg, info[0]); 8547 TOSTRING_VOID_INTERNAL(treatNullAsNullStringStringArg, info[0]);
8498 } 8548 }
8499 impl->voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg(tre atNullAsNullStringStringArg); 8549 impl->voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg(tre atNullAsNullStringStringArg);
8500 } 8550 }
8501 8551
8502 static void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArgMe thodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) 8552 static void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArgMe thodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
8503 { 8553 {
8504 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 8554 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
8505 TestObjectV8Internal::voidMethodTreatNullAsNullStringTreatUndefinedAsNullStr ingStringArgMethod(info); 8555 TestObjectV8Internal::voidMethodTreatNullAsNullStringTreatUndefinedAsNullStr ingStringArgMethod(info);
(...skipping 1919 matching lines...) Expand 10 before | Expand all | Expand 10 after
10425 {"limitedToOnlyAttribute", TestObjectV8Internal::limitedToOnlyAttributeAttri buteGetterCallback, TestObjectV8Internal::limitedToOnlyAttributeAttributeSetterC allback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P ropertyAttribute>(v8::None), 0 /* on instance */}, 10475 {"limitedToOnlyAttribute", TestObjectV8Internal::limitedToOnlyAttributeAttri buteGetterCallback, TestObjectV8Internal::limitedToOnlyAttributeAttributeSetterC allback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P ropertyAttribute>(v8::None), 0 /* on instance */},
10426 {"limitedToOnlyOtherAttribute", TestObjectV8Internal::limitedToOnlyOtherAttr ibuteAttributeGetterCallback, TestObjectV8Internal::limitedToOnlyOtherAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 10476 {"limitedToOnlyOtherAttribute", TestObjectV8Internal::limitedToOnlyOtherAttr ibuteAttributeGetterCallback, TestObjectV8Internal::limitedToOnlyOtherAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
10427 {"limitedWithMissingDefaultAttribute", TestObjectV8Internal::limitedWithMiss ingDefaultAttributeAttributeGetterCallback, TestObjectV8Internal::limitedWithMis singDefaultAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCont rol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instanc e */}, 10477 {"limitedWithMissingDefaultAttribute", TestObjectV8Internal::limitedWithMiss ingDefaultAttributeAttributeGetterCallback, TestObjectV8Internal::limitedWithMis singDefaultAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCont rol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instanc e */},
10428 {"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 */}, 10478 {"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 */},
10429 {"corsSettingAttribute", TestObjectV8Internal::corsSettingAttributeAttribute GetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_ cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 10479 {"corsSettingAttribute", TestObjectV8Internal::corsSettingAttributeAttribute GetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_ cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
10430 {"limitedWithEmptyMissingInvalidAttribute", TestObjectV8Internal::limitedWit hEmptyMissingInvalidAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8 ::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 / * on instance */}, 10480 {"limitedWithEmptyMissingInvalidAttribute", TestObjectV8Internal::limitedWit hEmptyMissingInvalidAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8 ::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 / * on instance */},
10431 {"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 */}, 10481 {"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 */},
10432 {"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 */}, 10482 {"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 */},
10433 {"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 */}, 10483 {"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 */},
10434 {"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 */}, 10484 {"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 */},
10485 {"treatNullAsEmptyStringStringAttribute", TestObjectV8Internal::treatNullAsE mptyStringStringAttributeAttributeGetterCallback, TestObjectV8Internal::treatNul lAsEmptyStringStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::A ccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* o n instance */},
10435 {"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 */}, 10486 {"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 */},
10436 {"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 */}, 10487 {"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 */},
10437 {"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 */}, 10488 {"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 */},
10438 {"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 */}, 10489 {"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 */},
10439 {"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 */}, 10490 {"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 */},
10440 {"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 */}, 10491 {"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 */},
10441 {"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 */}, 10492 {"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 */},
10442 {"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 */}, 10493 {"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 */},
10443 {"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 */}, 10494 {"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 */},
10444 {"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 */}, 10495 {"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 */},
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
10591 {"overloadedMethodG", TestObjectV8Internal::overloadedMethodGMethodCallback, 0, 0}, 10642 {"overloadedMethodG", TestObjectV8Internal::overloadedMethodGMethodCallback, 0, 0},
10592 {"overloadedMethodH", TestObjectV8Internal::overloadedMethodHMethodCallback, 0, 1}, 10643 {"overloadedMethodH", TestObjectV8Internal::overloadedMethodHMethodCallback, 0, 1},
10593 {"overloadedMethodI", TestObjectV8Internal::overloadedMethodIMethodCallback, 0, 1}, 10644 {"overloadedMethodI", TestObjectV8Internal::overloadedMethodIMethodCallback, 0, 1},
10594 {"overloadedPerWorldBindingsMethod", TestObjectV8Internal::overloadedPerWorl dBindingsMethodMethodCallback, TestObjectV8Internal::overloadedPerWorldBindingsM ethodMethodCallbackForMainWorld, 0}, 10645 {"overloadedPerWorldBindingsMethod", TestObjectV8Internal::overloadedPerWorl dBindingsMethodMethodCallback, TestObjectV8Internal::overloadedPerWorldBindingsM ethodMethodCallbackForMainWorld, 0},
10595 {"voidMethodClampUnsignedShortArg", TestObjectV8Internal::voidMethodClampUns ignedShortArgMethodCallback, 0, 1}, 10646 {"voidMethodClampUnsignedShortArg", TestObjectV8Internal::voidMethodClampUns ignedShortArgMethodCallback, 0, 1},
10596 {"voidMethodClampUnsignedLongArg", TestObjectV8Internal::voidMethodClampUnsi gnedLongArgMethodCallback, 0, 1}, 10647 {"voidMethodClampUnsignedLongArg", TestObjectV8Internal::voidMethodClampUnsi gnedLongArgMethodCallback, 0, 1},
10597 {"voidMethodDefaultUndefinedTestInterfaceEmptyArg", TestObjectV8Internal::vo idMethodDefaultUndefinedTestInterfaceEmptyArgMethodCallback, 0, 0}, 10648 {"voidMethodDefaultUndefinedTestInterfaceEmptyArg", TestObjectV8Internal::vo idMethodDefaultUndefinedTestInterfaceEmptyArgMethodCallback, 0, 0},
10598 {"voidMethodDefaultUndefinedLongArg", TestObjectV8Internal::voidMethodDefaul tUndefinedLongArgMethodCallback, 0, 0}, 10649 {"voidMethodDefaultUndefinedLongArg", TestObjectV8Internal::voidMethodDefaul tUndefinedLongArgMethodCallback, 0, 0},
10599 {"voidMethodDefaultUndefinedStringArg", TestObjectV8Internal::voidMethodDefa ultUndefinedStringArgMethodCallback, 0, 0}, 10650 {"voidMethodDefaultUndefinedStringArg", TestObjectV8Internal::voidMethodDefa ultUndefinedStringArgMethodCallback, 0, 0},
10600 {"voidMethodEnforceRangeLongArg", TestObjectV8Internal::voidMethodEnforceRan geLongArgMethodCallback, 0, 1}, 10651 {"voidMethodEnforceRangeLongArg", TestObjectV8Internal::voidMethodEnforceRan geLongArgMethodCallback, 0, 1},
10652 {"voidMethodTreatNullAsEmptyStringStringArg", TestObjectV8Internal::voidMeth odTreatNullAsEmptyStringStringArgMethodCallback, 0, 1},
10601 {"voidMethodTreatNullAsNullStringStringArg", TestObjectV8Internal::voidMetho dTreatNullAsNullStringStringArgMethodCallback, 0, 1}, 10653 {"voidMethodTreatNullAsNullStringStringArg", TestObjectV8Internal::voidMetho dTreatNullAsNullStringStringArgMethodCallback, 0, 1},
10602 {"voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg", TestO bjectV8Internal::voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringString ArgMethodCallback, 0, 1}, 10654 {"voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg", TestO bjectV8Internal::voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringString ArgMethodCallback, 0, 1},
10603 {"activityLoggingAccessForAllWorldsMethod", TestObjectV8Internal::activityLo ggingAccessForAllWorldsMethodMethodCallback, 0, 0}, 10655 {"activityLoggingAccessForAllWorldsMethod", TestObjectV8Internal::activityLo ggingAccessForAllWorldsMethodMethodCallback, 0, 0},
10604 {"callWithExecutionContextVoidMethod", TestObjectV8Internal::callWithExecuti onContextVoidMethodMethodCallback, 0, 0}, 10656 {"callWithExecutionContextVoidMethod", TestObjectV8Internal::callWithExecuti onContextVoidMethodMethodCallback, 0, 0},
10605 {"callWithScriptStateVoidMethod", TestObjectV8Internal::callWithScriptStateV oidMethodMethodCallback, 0, 0}, 10657 {"callWithScriptStateVoidMethod", TestObjectV8Internal::callWithScriptStateV oidMethodMethodCallback, 0, 0},
10606 {"callWithScriptStateLongMethod", TestObjectV8Internal::callWithScriptStateL ongMethodMethodCallback, 0, 0}, 10658 {"callWithScriptStateLongMethod", TestObjectV8Internal::callWithScriptStateL ongMethodMethodCallback, 0, 0},
10607 {"callWithScriptStateExecutionContextVoidMethod", TestObjectV8Internal::call WithScriptStateExecutionContextVoidMethodMethodCallback, 0, 0}, 10659 {"callWithScriptStateExecutionContextVoidMethod", TestObjectV8Internal::call WithScriptStateExecutionContextVoidMethodMethodCallback, 0, 0},
10608 {"callWithScriptStateScriptArgumentsVoidMethod", TestObjectV8Internal::callW ithScriptStateScriptArgumentsVoidMethodMethodCallback, 0, 0}, 10660 {"callWithScriptStateScriptArgumentsVoidMethod", TestObjectV8Internal::callW ithScriptStateScriptArgumentsVoidMethodMethodCallback, 0, 0},
10609 {"callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArg", TestObjec tV8Internal::callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArgMetho dCallback, 0, 0}, 10661 {"callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArg", TestObjec tV8Internal::callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArgMetho dCallback, 0, 0},
10610 {"callWithActiveWindow", TestObjectV8Internal::callWithActiveWindowMethodCal lback, 0, 0}, 10662 {"callWithActiveWindow", TestObjectV8Internal::callWithActiveWindowMethodCal lback, 0, 0},
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
10858 fromInternalPointer(object)->deref(); 10910 fromInternalPointer(object)->deref();
10859 } 10911 }
10860 10912
10861 template<> 10913 template<>
10862 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate) 10914 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate)
10863 { 10915 {
10864 return toV8(impl, creationContext, isolate); 10916 return toV8(impl, creationContext, isolate);
10865 } 10917 }
10866 10918
10867 } // namespace WebCore 10919 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/TestObject.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698