Source/bindings/v8/custom/V8NodeCustom.cpp
// These functions are custom to prevent a wrapper lookup of the return value which is always
// part of the arguments.
These functions are custom to prevent a wrapper lookup of the return value which is always
part of the arguments.
These functions are custom to prevent a wrapper lookup of the return value which is always part of the arguments .
void V8Node::insertBeforeMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
    v8::Handle<v8::Object> holder = info.Holder();
    Node* impl = V8Node::toNative(holder);
    CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
    ExceptionState exceptionState(ExceptionState::ExecutionContext, "insertBefore", "Node", info.Holder(), info.GetIsolate());
    Node* newChild = V8Node::toNativeWithTypeCheck(info.GetIsolate(), info[0]);
    Node* refChild = V8Node::toNativeWithTypeCheck(info.GetIsolate(), info[1]);
    impl->insertBefore(newChild, refChild, exceptionState);
    if (exceptionState.throwIfNeeded())
        return;
    v8SetReturnValue(info, info[0]);
}
void V8Node :: insertBeforeMethodCustom ( const v8 :: FunctionCallbackInfo < v8 :: Value > & info ) { v8 :: Handle < v8 :: Object > holder = info . Holder ( ) ; Node * impl = V8Node :: toNative ( holder ) ; CustomElementCallbackDispatcher :: CallbackDeliveryScope deliveryScope ; ExceptionState exceptionState ( ExceptionState :: ExecutionContext , " " , " " , info . Holder ( ) , info . GetIsolate ( ) ) ; Node * newChild = V8Node :: toNativeWithTypeCheck ( info . GetIsolate ( ) , info [ 0 ] ) ; Node * refChild = V8Node :: toNativeWithTypeCheck ( info . GetIsolate ( ) , info [ 1 ] ) ; impl -> insertBefore ( newChild , refChild , exceptionState ) ; if ( exceptionState . throwIfNeeded ( ) ) return ; v8SetReturnValue ( info , info [ 0 ] ) ; }
These functions are custom to prevent a wrapper lookup of the return value which is always
part of the arguments.
These functions are custom to prevent a wrapper lookup of the return value which is always part of the arguments .