Title: [218668] branches/safari-604.1.25.3-branch/Source/_javascript_Core
- Revision
- 218668
- Author
- [email protected]
- Date
- 2017-06-21 17:56:02 -0700 (Wed, 21 Jun 2017)
Log Message
Roll out r217530. rdar://problem/32912916
Modified Paths
Diff
Modified: branches/safari-604.1.25.3-branch/Source/_javascript_Core/ChangeLog (218667 => 218668)
--- branches/safari-604.1.25.3-branch/Source/_javascript_Core/ChangeLog 2017-06-22 00:54:10 UTC (rev 218667)
+++ branches/safari-604.1.25.3-branch/Source/_javascript_Core/ChangeLog 2017-06-22 00:56:02 UTC (rev 218668)
@@ -1,3 +1,7 @@
+2017-06-21 Babak Shafiei <[email protected]>
+
+ Roll out r217530.
+
2017-06-08 Dean Jackson <[email protected]>
Disable some features on this release branch.
Modified: branches/safari-604.1.25.3-branch/Source/_javascript_Core/builtins/GlobalOperations.js (218667 => 218668)
--- branches/safari-604.1.25.3-branch/Source/_javascript_Core/builtins/GlobalOperations.js 2017-06-22 00:54:10 UTC (rev 218667)
+++ branches/safari-604.1.25.3-branch/Source/_javascript_Core/builtins/GlobalOperations.js 2017-06-22 00:56:02 UTC (rev 218668)
@@ -30,7 +30,7 @@
{
"use strict";
- var numberValue = +target;
+ var numberValue = @Number(target);
// isNaN(numberValue)
if (numberValue !== numberValue)
@@ -45,7 +45,7 @@
var length = @toInteger(target);
// originally Math.min(Math.max(length, 0), maxSafeInteger));
- return +(length > 0 ? (length < @MAX_SAFE_INTEGER ? length : @MAX_SAFE_INTEGER) : 0);
+ return length > 0 ? (length < @MAX_SAFE_INTEGER ? length : @MAX_SAFE_INTEGER) : 0;
}
@globalPrivate
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes