Changeset 201680 in webkit
- Timestamp:
- Jun 4, 2016 11:58:08 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 6 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r201679 r201680 1 2016-06-04 Joseph Pecoraro <pecoraro@apple.com> 2 3 Add better basic isNaN test coverage 4 https://bugs.webkit.org/show_bug.cgi?id=158379 5 6 Reviewed by Benjamin Poulain. 7 8 * js/Number-isNaN-expected.txt: Added. 9 * js/Number-isNaN.html: Added. 10 * js/global-isNaN-expected.txt: Added. 11 * js/global-isNaN.html: Added. 12 * js/script-tests/Number-isNaN.js: Added. 13 (objectWithNumberValueOf.valueOf): 14 (objectWithNaNValueOf.valueOf): 15 (objectRecordConversionCalls.toString): 16 (objectRecordConversionCalls.valueOf): 17 * js/script-tests/global-isNaN.js: Added. 18 (objectConvertToString.toString): 19 (objectRecordToStringCall.toString): 20 (objectThrowOnToString.toString): 21 (objectWithValueOf.valueOf): 22 (objectThrowOnValueOf.valueOf): 23 (objectThrowOnValueOf.toString): 24 (objectRecordValueOfCall.valueOf): 25 (objectRecordConversionCalls.toString): 26 (objectRecordConversionCalls.valueOf): 27 * js/script-tests/math-clz32.js: 28 1 29 2016-06-04 Brent Fulgham <bfulgham@apple.com> 2 30 -
trunk/LayoutTests/js/script-tests/math-clz32.js
r201632 r201680 7 7 // Function properties. 8 8 shouldBe('Math.clz32.length', '1'); 9 shouldBeEqualToString('Math.clz32.name', 'clz32') 9 shouldBeEqualToString('Math.clz32.name', 'clz32'); 10 10 shouldBe('Object.getOwnPropertyDescriptor(Math, "clz32").configurable', 'true'); 11 11 shouldBe('Object.getOwnPropertyDescriptor(Math, "clz32").enumerable', 'false'); -
trunk/Source/JavaScriptCore/tests/stress/math-clz32-basics.js
r201656 r201680 57 57 var clzMinusZero = mathClz32OnInteger(-0); 58 58 if (clzMinusZero != 32) 59 throw "mathClz32OnInteger( \"-0\") = " + clzMinusZero;59 throw "mathClz32OnInteger(-0) = " + clzMinusZero; 60 60 } 61 61 noInline(verifyMathClz32OnIntegerWithOtherTypes); … … 71 71 return Math.clz32(value); 72 72 } 73 noInline(mathClz32On Integer);74 75 // Test simple cases on integers.73 noInline(mathClz32OnDouble); 74 75 // Test simple cases on doubles. 76 76 function testMathClz32OnDoubles() 77 77 { … … 90 90 var value = mathClz32OnDouble(-0); 91 91 if (value != 32) 92 throw "mathClz32OnDouble( 0) = " + value;92 throw "mathClz32OnDouble(-0) = " + value; 93 93 94 94 var value = mathClz32OnDouble(NaN);
Note: See TracChangeset
for help on using the changeset viewer.