Changeset 207516 in webkit
- Timestamp:
- Oct 18, 2016 7:33:49 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r207515 r207516 1 2016-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 1 22 2016-10-18 Chris Dumez <cdumez@apple.com> 2 23 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp
r206723 r207516 147 147 ExecState* state = m_data->globalObject()->globalExec(); 148 148 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()); 150 150 args.append(jsStringWithCache(state, strArg)); 151 151 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackFunction.cpp
r205411 r207516 113 113 ExecState* state = m_data->globalObject()->globalExec(); 114 114 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()); 116 116 args.append(jsStringWithCache(state, strArg)); 117 117 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp
r207498 r207516 5244 5244 if (UNLIKELY(state->argumentCount() < 1)) 5245 5245 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)); 5247 5247 RETURN_IF_EXCEPTION(throwScope, encodedJSValue()); 5248 5248 impl.serializedValue(WTFMove(serializedArg)); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp
r207193 r207516 150 150 UNUSED_PARAM(state); 151 151 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(); 153 153 return result; 154 154 } … … 166 166 UNUSED_PARAM(state); 167 167 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(); 169 169 return result; 170 170 } … … 184 184 return cachedValue; 185 185 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(); 187 187 thisObject.m_cachedValue.set(state.vm(), &thisObject, result); 188 188 return result; … … 219 219 return cachedValue; 220 220 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(); 222 222 thisObject.m_cachedReadonlyValue.set(state.vm(), &thisObject, result); 223 223 return result; … … 260 260 UNUSED_PARAM(throwScope); 261 261 auto& impl = thisObject.wrapped(); 262 auto nativeValue = SerializedScriptValue::create( &state, value, 0, 0);262 auto nativeValue = SerializedScriptValue::create(state, value); 263 263 RETURN_IF_EXCEPTION(throwScope, false); 264 264 impl.setValue(WTFMove(nativeValue)); … … 279 279 UNUSED_PARAM(throwScope); 280 280 auto& impl = thisObject.wrapped(); 281 auto nativeValue = SerializedScriptValue::create( &state, value, 0, 0);281 auto nativeValue = SerializedScriptValue::create(state, value); 282 282 RETURN_IF_EXCEPTION(throwScope, false); 283 283 impl.setCachedValue(WTFMove(nativeValue)); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp
r207193 r207516 255 255 UNUSED_PARAM(state); 256 256 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(); 258 258 return result; 259 259 } … … 396 396 UNUSED_PARAM(throwScope); 397 397 auto& impl = thisObject.wrapped(); 398 auto nativeValue = SerializedScriptValue::create( &state, value, 0, 0);398 auto nativeValue = SerializedScriptValue::create(state, value); 399 399 RETURN_IF_EXCEPTION(throwScope, false); 400 400 impl.setImmutableSerializedScriptValue(WTFMove(nativeValue));
Note: See TracChangeset
for help on using the changeset viewer.