Title: [200044] trunk/Source/WebCore
- Revision
- 200044
- Author
- [email protected]
- Date
- 2016-04-25 13:07:40 -0700 (Mon, 25 Apr 2016)
Log Message
Update JS bindings test results after r200037
Unreviewed test gardening.
* bindings/scripts/test/JS/JSTestTypedefs.cpp:
(WebCore::jsTestTypedefsPrototypeFunctionFuncWithClamp):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (200043 => 200044)
--- trunk/Source/WebCore/ChangeLog 2016-04-25 20:06:09 UTC (rev 200043)
+++ trunk/Source/WebCore/ChangeLog 2016-04-25 20:07:40 UTC (rev 200044)
@@ -1,3 +1,12 @@
+2016-04-25 Ryan Haddad <[email protected]>
+
+ Update JS bindings test results after r200037
+
+ Unreviewed test gardening.
+
+ * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+ (WebCore::jsTestTypedefsPrototypeFunctionFuncWithClamp):
+
2016-04-25 Simon Fraser <[email protected]>
play-state not parsed as part of animation shorthand
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp (200043 => 200044)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp 2016-04-25 20:06:09 UTC (rev 200043)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp 2016-04-25 20:07:40 UTC (rev 200044)
@@ -563,6 +563,13 @@
if (!std::isnan(arg1NativeValue))
arg1 = clampTo<unsigned long long>(arg1NativeValue);
+
+ size_t argsCount = state->argumentCount();
+ if (argsCount <= 1) {
+ impl.funcWithClamp(arg1);
+ return JSValue::encode(jsUndefined());
+ }
+
unsigned long long arg2 = 0;
double arg2NativeValue = state->argument(1).toNumber(state);
if (UNLIKELY(state->hadException()))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes