Changeset 207516 in webkit


Ignore:
Timestamp:
Oct 18, 2016 7:33:49 PM (8 years ago)
Author:
Chris Dumez
Message:

Unreviewed, rebaseline bindings tests after Sam's r207505.

  • bindings/scripts/test/JS/JSTestCallback.cpp:

(WebCore::JSTestCallback::callbackWithSerializedScriptValueParam):

  • bindings/scripts/test/JS/JSTestCallbackFunction.cpp:

(WebCore::JSTestCallbackFunction::callbackWithSerializedScriptValueParam):

  • bindings/scripts/test/JS/JSTestObj.cpp:

(WebCore::jsTestObjPrototypeFunctionSerializedValueCaller):

  • bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:

(WebCore::jsTestSerializedScriptValueInterfaceValueGetter):
(WebCore::jsTestSerializedScriptValueInterfaceReadonlyValueGetter):
(WebCore::jsTestSerializedScriptValueInterfaceCachedValueGetter):
(WebCore::jsTestSerializedScriptValueInterfaceCachedReadonlyValueGetter):
(WebCore::setJSTestSerializedScriptValueInterfaceValueFunction):
(WebCore::setJSTestSerializedScriptValueInterfaceCachedValueFunction):

  • bindings/scripts/test/JS/JSTestTypedefs.cpp:

(WebCore::jsTestTypedefsImmutableSerializedScriptValueGetter):
(WebCore::setJSTestTypedefsImmutableSerializedScriptValueFunction):

Location:
trunk/Source/WebCore
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r207515 r207516  
     12016-10-18  Chris Dumez  <cdumez@apple.com>
     2
     3        Unreviewed, rebaseline bindings tests after Sam's r207505.
     4
     5        * bindings/scripts/test/JS/JSTestCallback.cpp:
     6        (WebCore::JSTestCallback::callbackWithSerializedScriptValueParam):
     7        * bindings/scripts/test/JS/JSTestCallbackFunction.cpp:
     8        (WebCore::JSTestCallbackFunction::callbackWithSerializedScriptValueParam):
     9        * bindings/scripts/test/JS/JSTestObj.cpp:
     10        (WebCore::jsTestObjPrototypeFunctionSerializedValueCaller):
     11        * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
     12        (WebCore::jsTestSerializedScriptValueInterfaceValueGetter):
     13        (WebCore::jsTestSerializedScriptValueInterfaceReadonlyValueGetter):
     14        (WebCore::jsTestSerializedScriptValueInterfaceCachedValueGetter):
     15        (WebCore::jsTestSerializedScriptValueInterfaceCachedReadonlyValueGetter):
     16        (WebCore::setJSTestSerializedScriptValueInterfaceValueFunction):
     17        (WebCore::setJSTestSerializedScriptValueInterfaceCachedValueFunction):
     18        * bindings/scripts/test/JS/JSTestTypedefs.cpp:
     19        (WebCore::jsTestTypedefsImmutableSerializedScriptValueGetter):
     20        (WebCore::setJSTestTypedefsImmutableSerializedScriptValueFunction):
     21
    1222016-10-18  Chris Dumez  <cdumez@apple.com>
    223
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp

    r206723 r207516  
    147147    ExecState* state = m_data->globalObject()->globalExec();
    148148    MarkedArgumentBuffer args;
    149     args.append(srzParam ? srzParam->deserialize(state, m_data->globalObject(), 0) : jsNull());
     149    args.append(srzParam ? srzParam->deserialize(*state, m_data->globalObject()) : jsNull());
    150150    args.append(jsStringWithCache(state, strArg));
    151151
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackFunction.cpp

    r205411 r207516  
    113113    ExecState* state = m_data->globalObject()->globalExec();
    114114    MarkedArgumentBuffer args;
    115     args.append(srzParam ? srzParam->deserialize(state, m_data->globalObject(), 0) : jsNull());
     115    args.append(srzParam ? srzParam->deserialize(*state, m_data->globalObject()) : jsNull());
    116116    args.append(jsStringWithCache(state, strArg));
    117117
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp

    r207498 r207516  
    52445244    if (UNLIKELY(state->argumentCount() < 1))
    52455245        return throwVMError(state, throwScope, createNotEnoughArgumentsError(state));
    5246     auto serializedArg = SerializedScriptValue::create(state, state->uncheckedArgument(0), 0, 0);
     5246    auto serializedArg = SerializedScriptValue::create(*state, state->uncheckedArgument(0));
    52475247    RETURN_IF_EXCEPTION(throwScope, encodedJSValue());
    52485248    impl.serializedValue(WTFMove(serializedArg));
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp

    r207193 r207516  
    150150    UNUSED_PARAM(state);
    151151    auto& impl = thisObject.wrapped();
    152     JSValue result = impl.value() ? impl.value()->deserialize(&state, thisObject.globalObject(), 0) : jsNull();
     152    JSValue result = impl.value() ? impl.value()->deserialize(state, thisObject.globalObject()) : jsNull();
    153153    return result;
    154154}
     
    166166    UNUSED_PARAM(state);
    167167    auto& impl = thisObject.wrapped();
    168     JSValue result = impl.readonlyValue() ? impl.readonlyValue()->deserialize(&state, thisObject.globalObject(), 0) : jsNull();
     168    JSValue result = impl.readonlyValue() ? impl.readonlyValue()->deserialize(state, thisObject.globalObject()) : jsNull();
    169169    return result;
    170170}
     
    184184        return cachedValue;
    185185    auto& impl = thisObject.wrapped();
    186     JSValue result = impl.cachedValue() ? impl.cachedValue()->deserialize(&state, thisObject.globalObject(), 0) : jsNull();
     186    JSValue result = impl.cachedValue() ? impl.cachedValue()->deserialize(state, thisObject.globalObject()) : jsNull();
    187187    thisObject.m_cachedValue.set(state.vm(), &thisObject, result);
    188188    return result;
     
    219219        return cachedValue;
    220220    auto& impl = thisObject.wrapped();
    221     JSValue result = impl.cachedReadonlyValue() ? impl.cachedReadonlyValue()->deserialize(&state, thisObject.globalObject(), 0) : jsNull();
     221    JSValue result = impl.cachedReadonlyValue() ? impl.cachedReadonlyValue()->deserialize(state, thisObject.globalObject()) : jsNull();
    222222    thisObject.m_cachedReadonlyValue.set(state.vm(), &thisObject, result);
    223223    return result;
     
    260260    UNUSED_PARAM(throwScope);
    261261    auto& impl = thisObject.wrapped();
    262     auto nativeValue = SerializedScriptValue::create(&state, value, 0, 0);
     262    auto nativeValue = SerializedScriptValue::create(state, value);
    263263    RETURN_IF_EXCEPTION(throwScope, false);
    264264    impl.setValue(WTFMove(nativeValue));
     
    279279    UNUSED_PARAM(throwScope);
    280280    auto& impl = thisObject.wrapped();
    281     auto nativeValue = SerializedScriptValue::create(&state, value, 0, 0);
     281    auto nativeValue = SerializedScriptValue::create(state, value);
    282282    RETURN_IF_EXCEPTION(throwScope, false);
    283283    impl.setCachedValue(WTFMove(nativeValue));
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp

    r207193 r207516  
    255255    UNUSED_PARAM(state);
    256256    auto& impl = thisObject.wrapped();
    257     JSValue result = impl.immutableSerializedScriptValue() ? impl.immutableSerializedScriptValue()->deserialize(&state, thisObject.globalObject(), 0) : jsNull();
     257    JSValue result = impl.immutableSerializedScriptValue() ? impl.immutableSerializedScriptValue()->deserialize(state, thisObject.globalObject()) : jsNull();
    258258    return result;
    259259}
     
    396396    UNUSED_PARAM(throwScope);
    397397    auto& impl = thisObject.wrapped();
    398     auto nativeValue = SerializedScriptValue::create(&state, value, 0, 0);
     398    auto nativeValue = SerializedScriptValue::create(state, value);
    399399    RETURN_IF_EXCEPTION(throwScope, false);
    400400    impl.setImmutableSerializedScriptValue(WTFMove(nativeValue));
Note: See TracChangeset for help on using the changeset viewer.