| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file has been auto-generated by code_generator_v8.py. 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 "V8TestInterfaceCheckSecurity.h" | 8 #include "V8TestInterfaceCheckSecurity.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/BindingSecurity.h" | 10 #include "bindings/core/v8/BindingSecurity.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 const WrapperTypeInfo V8TestInterfaceCheckSecurity::wrapperTypeInfo = { gin::kEm
bedderBlink, V8TestInterfaceCheckSecurity::domTemplate, V8TestInterfaceCheckSecu
rity::refObject, V8TestInterfaceCheckSecurity::derefObject, V8TestInterfaceCheck
Security::trace, 0, 0, V8TestInterfaceCheckSecurity::installConditionallyEnabled
Methods, V8TestInterfaceCheckSecurity::installConditionallyEnabledProperties, 0,
WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, Wr
apperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Independent, WrapperT
ypeInfo::RefCountedObject }; | 24 const WrapperTypeInfo V8TestInterfaceCheckSecurity::wrapperTypeInfo = { gin::kEm
bedderBlink, V8TestInterfaceCheckSecurity::domTemplate, V8TestInterfaceCheckSecu
rity::refObject, V8TestInterfaceCheckSecurity::derefObject, V8TestInterfaceCheck
Security::trace, 0, 0, V8TestInterfaceCheckSecurity::installConditionallyEnabled
Methods, V8TestInterfaceCheckSecurity::installConditionallyEnabledProperties, 0,
WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, Wr
apperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Independent, WrapperT
ypeInfo::RefCountedObject }; |
| 25 | 25 |
| 26 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eCheckSecurity.h. | 26 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eCheckSecurity.h. |
| 27 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 27 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
| 28 // bindings/core/v8/ScriptWrappable.h. | 28 // bindings/core/v8/ScriptWrappable.h. |
| 29 const WrapperTypeInfo& TestInterfaceCheckSecurity::s_wrapperTypeInfo = V8TestInt
erfaceCheckSecurity::wrapperTypeInfo; | 29 const WrapperTypeInfo& TestInterfaceCheckSecurity::s_wrapperTypeInfo = V8TestInt
erfaceCheckSecurity::wrapperTypeInfo; |
| 30 | 30 |
| 31 namespace TestInterfaceCheckSecurityV8Internal { | 31 namespace TestInterfaceCheckSecurityV8Internal { |
| 32 | 32 |
| 33 template<class CallbackInfo> | 33 template<class CallbackInfo> |
| 34 static void TestInterfaceCheckSecurityForceSetAttributeOnThis(v8::Local<v8::Stri
ng> name, v8::Local<v8::Value> v8Value, const CallbackInfo& info) | 34 static void TestInterfaceCheckSecurityForceSetAttributeOnThis(v8::Local<v8::Name
> name, v8::Local<v8::Value> v8Value, const CallbackInfo& info) |
| 35 { | 35 { |
| 36 TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toImpl(info
.Holder()); | 36 TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toImpl(info
.Holder()); |
| 37 v8::String::Utf8Value attributeName(name); | 37 v8::String::Utf8Value attributeName(name); |
| 38 ExceptionState exceptionState(ExceptionState::SetterContext, *attributeName,
"TestInterfaceCheckSecurity", info.Holder(), info.GetIsolate()); | 38 ExceptionState exceptionState(ExceptionState::SetterContext, *attributeName,
"TestInterfaceCheckSecurity", info.Holder(), info.GetIsolate()); |
| 39 if (!BindingSecurity::shouldAllowAccessToFrame(info.GetIsolate(), impl->fram
e(), exceptionState)) { | 39 if (!BindingSecurity::shouldAllowAccessToFrame(info.GetIsolate(), impl->fram
e(), exceptionState)) { |
| 40 exceptionState.throwIfNeeded(); | 40 exceptionState.throwIfNeeded(); |
| 41 return; | 41 return; |
| 42 } | 42 } |
| 43 ASSERT(info.This()->IsObject()); | 43 ASSERT(info.This()->IsObject()); |
| 44 v8::Local<v8::Object>::Cast(info.This())->ForceSet(name, v8Value); | 44 v8::Local<v8::Object>::Cast(info.This())->ForceSet(name, v8Value); |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 | 260 |
| 261 v8::Local<v8::Value> hiddenValue = v8::Local<v8::Object>::Cast(info.This())-
>GetHiddenValue(v8AtomicString(info.GetIsolate(), "doNotCheckSecurityVoidMethod"
)); | 261 v8::Local<v8::Value> hiddenValue = v8::Local<v8::Object>::Cast(info.This())-
>GetHiddenValue(v8AtomicString(info.GetIsolate(), "doNotCheckSecurityVoidMethod"
)); |
| 262 if (!hiddenValue.IsEmpty()) { | 262 if (!hiddenValue.IsEmpty()) { |
| 263 v8SetReturnValue(info, hiddenValue); | 263 v8SetReturnValue(info, hiddenValue); |
| 264 return; | 264 return; |
| 265 } | 265 } |
| 266 | 266 |
| 267 v8SetReturnValue(info, privateTemplate->GetFunction()); | 267 v8SetReturnValue(info, privateTemplate->GetFunction()); |
| 268 } | 268 } |
| 269 | 269 |
| 270 static void doNotCheckSecurityVoidMethodOriginSafeMethodGetterCallback(v8::Local
<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 270 static void doNotCheckSecurityVoidMethodOriginSafeMethodGetterCallback(v8::Local
<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 271 { | 271 { |
| 272 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); | 272 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
| 273 TestInterfaceCheckSecurityV8Internal::doNotCheckSecurityVoidMethodOriginSafe
MethodGetter(info); | 273 TestInterfaceCheckSecurityV8Internal::doNotCheckSecurityVoidMethodOriginSafe
MethodGetter(info); |
| 274 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 274 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 275 } | 275 } |
| 276 | 276 |
| 277 static void doNotCheckSecurityDoNotCheckSignatureVoidMethodMethod(const v8::Func
tionCallbackInfo<v8::Value>& info) | 277 static void doNotCheckSecurityDoNotCheckSignatureVoidMethodMethod(const v8::Func
tionCallbackInfo<v8::Value>& info) |
| 278 { | 278 { |
| 279 TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toImpl(info
.Holder()); | 279 TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toImpl(info
.Holder()); |
| 280 impl->doNotCheckSecurityDoNotCheckSignatureVoidMethod(); | 280 impl->doNotCheckSecurityDoNotCheckSignatureVoidMethod(); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 310 | 310 |
| 311 v8::Local<v8::Value> hiddenValue = v8::Local<v8::Object>::Cast(info.This())-
>GetHiddenValue(v8AtomicString(info.GetIsolate(), "doNotCheckSecurityDoNotCheckS
ignatureVoidMethod")); | 311 v8::Local<v8::Value> hiddenValue = v8::Local<v8::Object>::Cast(info.This())-
>GetHiddenValue(v8AtomicString(info.GetIsolate(), "doNotCheckSecurityDoNotCheckS
ignatureVoidMethod")); |
| 312 if (!hiddenValue.IsEmpty()) { | 312 if (!hiddenValue.IsEmpty()) { |
| 313 v8SetReturnValue(info, hiddenValue); | 313 v8SetReturnValue(info, hiddenValue); |
| 314 return; | 314 return; |
| 315 } | 315 } |
| 316 | 316 |
| 317 v8SetReturnValue(info, privateTemplate->GetFunction()); | 317 v8SetReturnValue(info, privateTemplate->GetFunction()); |
| 318 } | 318 } |
| 319 | 319 |
| 320 static void doNotCheckSecurityDoNotCheckSignatureVoidMethodOriginSafeMethodGette
rCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info
) | 320 static void doNotCheckSecurityDoNotCheckSignatureVoidMethodOriginSafeMethodGette
rCallback(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 321 { | 321 { |
| 322 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); | 322 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
| 323 TestInterfaceCheckSecurityV8Internal::doNotCheckSecurityDoNotCheckSignatureV
oidMethodOriginSafeMethodGetter(info); | 323 TestInterfaceCheckSecurityV8Internal::doNotCheckSecurityDoNotCheckSignatureV
oidMethodOriginSafeMethodGetter(info); |
| 324 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 324 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 325 } | 325 } |
| 326 | 326 |
| 327 static void doNotCheckSecurityPerWorldBindingsVoidMethodMethod(const v8::Functio
nCallbackInfo<v8::Value>& info) | 327 static void doNotCheckSecurityPerWorldBindingsVoidMethodMethod(const v8::Functio
nCallbackInfo<v8::Value>& info) |
| 328 { | 328 { |
| 329 TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toImpl(info
.Holder()); | 329 TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toImpl(info
.Holder()); |
| 330 impl->doNotCheckSecurityPerWorldBindingsVoidMethod(); | 330 impl->doNotCheckSecurityPerWorldBindingsVoidMethod(); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 360 | 360 |
| 361 v8::Local<v8::Value> hiddenValue = v8::Local<v8::Object>::Cast(info.This())-
>GetHiddenValue(v8AtomicString(info.GetIsolate(), "doNotCheckSecurityPerWorldBin
dingsVoidMethod")); | 361 v8::Local<v8::Value> hiddenValue = v8::Local<v8::Object>::Cast(info.This())-
>GetHiddenValue(v8AtomicString(info.GetIsolate(), "doNotCheckSecurityPerWorldBin
dingsVoidMethod")); |
| 362 if (!hiddenValue.IsEmpty()) { | 362 if (!hiddenValue.IsEmpty()) { |
| 363 v8SetReturnValue(info, hiddenValue); | 363 v8SetReturnValue(info, hiddenValue); |
| 364 return; | 364 return; |
| 365 } | 365 } |
| 366 | 366 |
| 367 v8SetReturnValue(info, privateTemplate->GetFunction()); | 367 v8SetReturnValue(info, privateTemplate->GetFunction()); |
| 368 } | 368 } |
| 369 | 369 |
| 370 static void doNotCheckSecurityPerWorldBindingsVoidMethodOriginSafeMethodGetterCa
llback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 370 static void doNotCheckSecurityPerWorldBindingsVoidMethodOriginSafeMethodGetterCa
llback(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 371 { | 371 { |
| 372 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); | 372 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
| 373 TestInterfaceCheckSecurityV8Internal::doNotCheckSecurityPerWorldBindingsVoid
MethodOriginSafeMethodGetter(info); | 373 TestInterfaceCheckSecurityV8Internal::doNotCheckSecurityPerWorldBindingsVoid
MethodOriginSafeMethodGetter(info); |
| 374 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 374 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 375 } | 375 } |
| 376 | 376 |
| 377 static void doNotCheckSecurityPerWorldBindingsVoidMethodMethodForMainWorld(const
v8::FunctionCallbackInfo<v8::Value>& info) | 377 static void doNotCheckSecurityPerWorldBindingsVoidMethodMethodForMainWorld(const
v8::FunctionCallbackInfo<v8::Value>& info) |
| 378 { | 378 { |
| 379 TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toImpl(info
.Holder()); | 379 TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toImpl(info
.Holder()); |
| 380 impl->doNotCheckSecurityPerWorldBindingsVoidMethod(); | 380 impl->doNotCheckSecurityPerWorldBindingsVoidMethod(); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 410 | 410 |
| 411 v8::Local<v8::Value> hiddenValue = v8::Local<v8::Object>::Cast(info.This())-
>GetHiddenValue(v8AtomicString(info.GetIsolate(), "doNotCheckSecurityPerWorldBin
dingsVoidMethod")); | 411 v8::Local<v8::Value> hiddenValue = v8::Local<v8::Object>::Cast(info.This())-
>GetHiddenValue(v8AtomicString(info.GetIsolate(), "doNotCheckSecurityPerWorldBin
dingsVoidMethod")); |
| 412 if (!hiddenValue.IsEmpty()) { | 412 if (!hiddenValue.IsEmpty()) { |
| 413 v8SetReturnValue(info, hiddenValue); | 413 v8SetReturnValue(info, hiddenValue); |
| 414 return; | 414 return; |
| 415 } | 415 } |
| 416 | 416 |
| 417 v8SetReturnValue(info, privateTemplate->GetFunction()); | 417 v8SetReturnValue(info, privateTemplate->GetFunction()); |
| 418 } | 418 } |
| 419 | 419 |
| 420 static void doNotCheckSecurityPerWorldBindingsVoidMethodOriginSafeMethodGetterCa
llbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Val
ue>& info) | 420 static void doNotCheckSecurityPerWorldBindingsVoidMethodOriginSafeMethodGetterCa
llbackForMainWorld(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value
>& info) |
| 421 { | 421 { |
| 422 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); | 422 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
| 423 TestInterfaceCheckSecurityV8Internal::doNotCheckSecurityPerWorldBindingsVoid
MethodOriginSafeMethodGetterForMainWorld(info); | 423 TestInterfaceCheckSecurityV8Internal::doNotCheckSecurityPerWorldBindingsVoid
MethodOriginSafeMethodGetterForMainWorld(info); |
| 424 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 424 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 425 } | 425 } |
| 426 | 426 |
| 427 static void doNotCheckSecurityUnforgeableVoidMethodMethod(const v8::FunctionCall
backInfo<v8::Value>& info) | 427 static void doNotCheckSecurityUnforgeableVoidMethodMethod(const v8::FunctionCall
backInfo<v8::Value>& info) |
| 428 { | 428 { |
| 429 TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toImpl(info
.Holder()); | 429 TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toImpl(info
.Holder()); |
| 430 impl->doNotCheckSecurityUnforgeableVoidMethod(); | 430 impl->doNotCheckSecurityUnforgeableVoidMethod(); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 460 | 460 |
| 461 v8::Local<v8::Value> hiddenValue = v8::Local<v8::Object>::Cast(info.This())-
>GetHiddenValue(v8AtomicString(info.GetIsolate(), "doNotCheckSecurityUnforgeable
VoidMethod")); | 461 v8::Local<v8::Value> hiddenValue = v8::Local<v8::Object>::Cast(info.This())-
>GetHiddenValue(v8AtomicString(info.GetIsolate(), "doNotCheckSecurityUnforgeable
VoidMethod")); |
| 462 if (!hiddenValue.IsEmpty()) { | 462 if (!hiddenValue.IsEmpty()) { |
| 463 v8SetReturnValue(info, hiddenValue); | 463 v8SetReturnValue(info, hiddenValue); |
| 464 return; | 464 return; |
| 465 } | 465 } |
| 466 | 466 |
| 467 v8SetReturnValue(info, privateTemplate->GetFunction()); | 467 v8SetReturnValue(info, privateTemplate->GetFunction()); |
| 468 } | 468 } |
| 469 | 469 |
| 470 static void doNotCheckSecurityUnforgeableVoidMethodOriginSafeMethodGetterCallbac
k(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 470 static void doNotCheckSecurityUnforgeableVoidMethodOriginSafeMethodGetterCallbac
k(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 471 { | 471 { |
| 472 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); | 472 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
| 473 TestInterfaceCheckSecurityV8Internal::doNotCheckSecurityUnforgeableVoidMetho
dOriginSafeMethodGetter(info); | 473 TestInterfaceCheckSecurityV8Internal::doNotCheckSecurityUnforgeableVoidMetho
dOriginSafeMethodGetter(info); |
| 474 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 474 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 475 } | 475 } |
| 476 | 476 |
| 477 static void TestInterfaceCheckSecurityOriginSafeMethodSetter(v8::Local<v8::Strin
g> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& inf
o) | 477 static void TestInterfaceCheckSecurityOriginSafeMethodSetter(v8::Local<v8::Name>
name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
| 478 { | 478 { |
| 479 v8::Local<v8::Object> holder = V8TestInterfaceCheckSecurity::findInstanceInP
rototypeChain(info.This(), info.GetIsolate()); | 479 v8::Local<v8::Object> holder = V8TestInterfaceCheckSecurity::findInstanceInP
rototypeChain(info.This(), info.GetIsolate()); |
| 480 if (holder.IsEmpty()) | 480 if (holder.IsEmpty()) |
| 481 return; | 481 return; |
| 482 TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toImpl(hold
er); | 482 TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toImpl(hold
er); |
| 483 v8::String::Utf8Value attributeName(name); | 483 v8::String::Utf8Value attributeName(name); |
| 484 ExceptionState exceptionState(ExceptionState::SetterContext, *attributeName,
"TestInterfaceCheckSecurity", info.Holder(), info.GetIsolate()); | 484 ExceptionState exceptionState(ExceptionState::SetterContext, *attributeName,
"TestInterfaceCheckSecurity", info.Holder(), info.GetIsolate()); |
| 485 if (!BindingSecurity::shouldAllowAccessToFrame(info.GetIsolate(), impl->fram
e(), exceptionState)) { | 485 if (!BindingSecurity::shouldAllowAccessToFrame(info.GetIsolate(), impl->fram
e(), exceptionState)) { |
| 486 exceptionState.throwIfNeeded(); | 486 exceptionState.throwIfNeeded(); |
| 487 return; | 487 return; |
| 488 } | 488 } |
| 489 | 489 |
| 490 V8HiddenValue::setHiddenValue(info.GetIsolate(), v8::Local<v8::Object>::Cast
(info.This()), name, v8Value); | 490 V8HiddenValue::setHiddenValue(info.GetIsolate(), v8::Local<v8::Object>::Cast
(info.This()), name.As<v8::String>(), v8Value); |
| 491 } | 491 } |
| 492 | 492 |
| 493 static void TestInterfaceCheckSecurityOriginSafeMethodSetterCallback(v8::Local<v
8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<vo
id>& info) | 493 static void TestInterfaceCheckSecurityOriginSafeMethodSetterCallback(v8::Local<v
8::Name> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void
>& info) |
| 494 { | 494 { |
| 495 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 495 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
| 496 TestInterfaceCheckSecurityV8Internal::TestInterfaceCheckSecurityOriginSafeMe
thodSetter(name, v8Value, info); | 496 TestInterfaceCheckSecurityV8Internal::TestInterfaceCheckSecurityOriginSafeMe
thodSetter(name, v8Value, info); |
| 497 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 497 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 498 } | 498 } |
| 499 | 499 |
| 500 } // namespace TestInterfaceCheckSecurityV8Internal | 500 } // namespace TestInterfaceCheckSecurityV8Internal |
| 501 | 501 |
| 502 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceCheckSecur
ityAccessors[] = { | 502 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceCheckSecur
ityAccessors[] = { |
| 503 {"longAttribute", TestInterfaceCheckSecurityV8Internal::longAttributeAttribu
teGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati
c_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts
}, | 503 {"longAttribute", TestInterfaceCheckSecurityV8Internal::longAttributeAttribu
teGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati
c_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts
}, |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 { | 571 { |
| 572 scriptWrappable->toImpl<TestInterfaceCheckSecurity>()->ref(); | 572 scriptWrappable->toImpl<TestInterfaceCheckSecurity>()->ref(); |
| 573 } | 573 } |
| 574 | 574 |
| 575 void V8TestInterfaceCheckSecurity::derefObject(ScriptWrappable* scriptWrappable) | 575 void V8TestInterfaceCheckSecurity::derefObject(ScriptWrappable* scriptWrappable) |
| 576 { | 576 { |
| 577 scriptWrappable->toImpl<TestInterfaceCheckSecurity>()->deref(); | 577 scriptWrappable->toImpl<TestInterfaceCheckSecurity>()->deref(); |
| 578 } | 578 } |
| 579 | 579 |
| 580 } // namespace blink | 580 } // namespace blink |
| OLD | NEW |