Title: [196953] trunk/Source/_javascript_Core
Revision
196953
Author
keith_mil...@apple.com
Date
2016-02-22 13:36:24 -0800 (Mon, 22 Feb 2016)

Log Message

Unreviewed, fix stress test to not print on success.

* tests/stress/call-apply-builtin-functions-dont-use-iterators.js:
(catch): Deleted.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (196952 => 196953)


--- trunk/Source/_javascript_Core/ChangeLog	2016-02-22 21:10:18 UTC (rev 196952)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-02-22 21:36:24 UTC (rev 196953)
@@ -1,5 +1,12 @@
 2016-02-22  Keith Miller  <keith_mil...@apple.com>
 
+        Unreviewed, fix stress test to not print on success.
+
+        * tests/stress/call-apply-builtin-functions-dont-use-iterators.js:
+        (catch): Deleted.
+
+2016-02-22  Keith Miller  <keith_mil...@apple.com>
+
         Use Symbol.species in the builtin TypedArray.prototype functions
         https://bugs.webkit.org/show_bug.cgi?id=153384
 

Modified: trunk/Source/_javascript_Core/tests/stress/call-apply-builtin-functions-dont-use-iterators.js (196952 => 196953)


--- trunk/Source/_javascript_Core/tests/stress/call-apply-builtin-functions-dont-use-iterators.js	2016-02-22 21:10:18 UTC (rev 196952)
+++ trunk/Source/_javascript_Core/tests/stress/call-apply-builtin-functions-dont-use-iterators.js	2016-02-22 21:36:24 UTC (rev 196953)
@@ -21,12 +21,7 @@
             result += args[i];
         return result;
     }
-    var sum;
+    if (applyFn(addAll, 3, [4, 5, 6]) !== 18)
+        throw "incorrect result";
 
-    try {
-        sum = applyFn(addAll, 3, [4, 5, 6]);
-    } catch (err) {
-        print('oops ', err);
-    }
-    print('sum ', sum);
 })();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to