Title: [207516] trunk/Source/WebCore
Revision
207516
Author
cdu...@apple.com
Date
2016-10-18 19:33:49 -0700 (Tue, 18 Oct 2016)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (207515 => 207516)


--- trunk/Source/WebCore/ChangeLog	2016-10-19 02:26:50 UTC (rev 207515)
+++ trunk/Source/WebCore/ChangeLog	2016-10-19 02:33:49 UTC (rev 207516)
@@ -1,5 +1,26 @@
 2016-10-18  Chris Dumez  <cdu...@apple.com>
 
+        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):
+
+2016-10-18  Chris Dumez  <cdu...@apple.com>
+
         [Web IDL] Kill support for [LegacyConstructorTemplate=Event] / [LegacyInitializedByEventConstructor]
         https://bugs.webkit.org/show_bug.cgi?id=163630
 

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp (207515 => 207516)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp	2016-10-19 02:26:50 UTC (rev 207515)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp	2016-10-19 02:33:49 UTC (rev 207516)
@@ -146,7 +146,7 @@
 
     ExecState* state = m_data->globalObject()->globalExec();
     MarkedArgumentBuffer args;
-    args.append(srzParam ? srzParam->deserialize(state, m_data->globalObject(), 0) : jsNull());
+    args.append(srzParam ? srzParam->deserialize(*state, m_data->globalObject()) : jsNull());
     args.append(jsStringWithCache(state, strArg));
 
     NakedPtr<JSC::Exception> returnedException;

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackFunction.cpp (207515 => 207516)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackFunction.cpp	2016-10-19 02:26:50 UTC (rev 207515)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallbackFunction.cpp	2016-10-19 02:33:49 UTC (rev 207516)
@@ -112,7 +112,7 @@
 
     ExecState* state = m_data->globalObject()->globalExec();
     MarkedArgumentBuffer args;
-    args.append(srzParam ? srzParam->deserialize(state, m_data->globalObject(), 0) : jsNull());
+    args.append(srzParam ? srzParam->deserialize(*state, m_data->globalObject()) : jsNull());
     args.append(jsStringWithCache(state, strArg));
 
     NakedPtr<JSC::Exception> returnedException;

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (207515 => 207516)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp	2016-10-19 02:26:50 UTC (rev 207515)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp	2016-10-19 02:33:49 UTC (rev 207516)
@@ -5243,7 +5243,7 @@
     auto& impl = castedThis->wrapped();
     if (UNLIKELY(state->argumentCount() < 1))
         return throwVMError(state, throwScope, createNotEnoughArgumentsError(state));
-    auto serializedArg = SerializedScriptValue::create(state, state->uncheckedArgument(0), 0, 0);
+    auto serializedArg = SerializedScriptValue::create(*state, state->uncheckedArgument(0));
     RETURN_IF_EXCEPTION(throwScope, encodedJSValue());
     impl.serializedValue(WTFMove(serializedArg));
     return JSValue::encode(jsUndefined());

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp (207515 => 207516)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp	2016-10-19 02:26:50 UTC (rev 207515)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp	2016-10-19 02:33:49 UTC (rev 207516)
@@ -149,7 +149,7 @@
     UNUSED_PARAM(throwScope);
     UNUSED_PARAM(state);
     auto& impl = thisObject.wrapped();
-    JSValue result = impl.value() ? impl.value()->deserialize(&state, thisObject.globalObject(), 0) : jsNull();
+    JSValue result = impl.value() ? impl.value()->deserialize(state, thisObject.globalObject()) : jsNull();
     return result;
 }
 
@@ -165,7 +165,7 @@
     UNUSED_PARAM(throwScope);
     UNUSED_PARAM(state);
     auto& impl = thisObject.wrapped();
-    JSValue result = impl.readonlyValue() ? impl.readonlyValue()->deserialize(&state, thisObject.globalObject(), 0) : jsNull();
+    JSValue result = impl.readonlyValue() ? impl.readonlyValue()->deserialize(state, thisObject.globalObject()) : jsNull();
     return result;
 }
 
@@ -183,7 +183,7 @@
     if (JSValue cachedValue = thisObject.m_cachedValue.get())
         return cachedValue;
     auto& impl = thisObject.wrapped();
-    JSValue result = impl.cachedValue() ? impl.cachedValue()->deserialize(&state, thisObject.globalObject(), 0) : jsNull();
+    JSValue result = impl.cachedValue() ? impl.cachedValue()->deserialize(state, thisObject.globalObject()) : jsNull();
     thisObject.m_cachedValue.set(state.vm(), &thisObject, result);
     return result;
 }
@@ -218,7 +218,7 @@
     if (JSValue cachedValue = thisObject.m_cachedReadonlyValue.get())
         return cachedValue;
     auto& impl = thisObject.wrapped();
-    JSValue result = impl.cachedReadonlyValue() ? impl.cachedReadonlyValue()->deserialize(&state, thisObject.globalObject(), 0) : jsNull();
+    JSValue result = impl.cachedReadonlyValue() ? impl.cachedReadonlyValue()->deserialize(state, thisObject.globalObject()) : jsNull();
     thisObject.m_cachedReadonlyValue.set(state.vm(), &thisObject, result);
     return result;
 }
@@ -259,7 +259,7 @@
     UNUSED_PARAM(state);
     UNUSED_PARAM(throwScope);
     auto& impl = thisObject.wrapped();
-    auto nativeValue = SerializedScriptValue::create(&state, value, 0, 0);
+    auto nativeValue = SerializedScriptValue::create(state, value);
     RETURN_IF_EXCEPTION(throwScope, false);
     impl.setValue(WTFMove(nativeValue));
     return true;
@@ -278,7 +278,7 @@
     UNUSED_PARAM(state);
     UNUSED_PARAM(throwScope);
     auto& impl = thisObject.wrapped();
-    auto nativeValue = SerializedScriptValue::create(&state, value, 0, 0);
+    auto nativeValue = SerializedScriptValue::create(state, value);
     RETURN_IF_EXCEPTION(throwScope, false);
     impl.setCachedValue(WTFMove(nativeValue));
     return true;

Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp (207515 => 207516)


--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp	2016-10-19 02:26:50 UTC (rev 207515)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp	2016-10-19 02:33:49 UTC (rev 207516)
@@ -254,7 +254,7 @@
     UNUSED_PARAM(throwScope);
     UNUSED_PARAM(state);
     auto& impl = thisObject.wrapped();
-    JSValue result = impl.immutableSerializedScriptValue() ? impl.immutableSerializedScriptValue()->deserialize(&state, thisObject.globalObject(), 0) : jsNull();
+    JSValue result = impl.immutableSerializedScriptValue() ? impl.immutableSerializedScriptValue()->deserialize(state, thisObject.globalObject()) : jsNull();
     return result;
 }
 
@@ -395,7 +395,7 @@
     UNUSED_PARAM(state);
     UNUSED_PARAM(throwScope);
     auto& impl = thisObject.wrapped();
-    auto nativeValue = SerializedScriptValue::create(&state, value, 0, 0);
+    auto nativeValue = SerializedScriptValue::create(state, value);
     RETURN_IF_EXCEPTION(throwScope, false);
     impl.setImmutableSerializedScriptValue(WTFMove(nativeValue));
     return true;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to