Changeset 184082 in webkit
- Timestamp:
- May 11, 2015, 5:05:49 AM (11 years ago)
- Location:
- releases/WebKitGTK/webkit-2.8
- Files:
-
- 5 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/js/math-expected.txt (modified) (1 diff)
-
LayoutTests/js/script-tests/math.js (modified) (1 diff)
-
Source/JavaScriptCore/ChangeLog (modified) (2 diffs)
-
Source/JavaScriptCore/runtime/MathObject.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.8/LayoutTests/ChangeLog
r184078 r184082 1 2015-04-15 Jordan Harband <ljharb@gmail.com> 2 3 Math.imul has wrong length in Safari 8.0.4 4 https://bugs.webkit.org/show_bug.cgi?id=143658 5 6 Reviewed by Benjamin Poulain. 7 8 * js/script-tests/math.js: 9 1 10 2015-04-15 Jordan Harband <ljharb@gmail.com> 2 11 -
releases/WebKitGTK/webkit-2.8/LayoutTests/js/math-expected.txt
r173330 r184082 103 103 PASS sideEffect is 0 104 104 PASS Math.hypot(3, 4, 'foo') is NaN 105 PASS Math.imul.length is 2 105 106 PASS Math.log(NaN) is NaN 106 107 PASS Math.log(0) is -Infinity -
releases/WebKitGTK/webkit-2.8/LayoutTests/js/script-tests/math.js
r173330 r184082 145 145 shouldBe('sideEffect', '0'); 146 146 shouldBe("Math.hypot(3, 4, 'foo')", "NaN"); 147 148 shouldBe("Math.imul.length", "2"); 147 149 148 150 shouldBe("Math.log(NaN)", "NaN"); -
releases/WebKitGTK/webkit-2.8/Source/JavaScriptCore/ChangeLog
r184078 r184082 1 2015-04-15 Jordan Harband <ljharb@gmail.com> 2 3 Math.imul has wrong length in Safari 8.0.4 4 https://bugs.webkit.org/show_bug.cgi?id=143658 5 6 Reviewed by Benjamin Poulain. 7 8 Correcting function length from 1, to 2, to match spec 9 https://people.mozilla.org/~jorendorff/es6-draft.html#sec-math.imul 10 11 * runtime/MathObject.cpp: 12 (JSC::MathObject::finishCreation): 13 1 14 2015-04-15 Jordan Harband <ljharb@gmail.com> 2 15 … … 6 19 Reviewed by Benjamin Poulain. 7 20 8 Correcting func iton length from 1, to 2, to match spec21 Correcting function length from 1, to 2, to match spec 9 22 https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.parseint 10 23 -
releases/WebKitGTK/webkit-2.8/Source/JavaScriptCore/runtime/MathObject.cpp
r180741 r184082 130 130 putDirectNativeFunctionWithoutTransition(vm, globalObject, Identifier(&vm, "tanh"), 1, mathProtoFuncTanh, NoIntrinsic, DontEnum | Function); 131 131 putDirectNativeFunctionWithoutTransition(vm, globalObject, Identifier(&vm, "trunc"), 1, mathProtoFuncTrunc, NoIntrinsic, DontEnum | Function); 132 putDirectNativeFunctionWithoutTransition(vm, globalObject, Identifier(&vm, "imul"), 1, mathProtoFuncIMul, IMulIntrinsic, DontEnum | Function);132 putDirectNativeFunctionWithoutTransition(vm, globalObject, Identifier(&vm, "imul"), 2, mathProtoFuncIMul, IMulIntrinsic, DontEnum | Function); 133 133 } 134 134
Note:
See TracChangeset
for help on using the changeset viewer.