Title: [174066] trunk
Revision
174066
Author
commit-qu...@webkit.org
Date
2014-09-29 10:05:50 -0700 (Mon, 29 Sep 2014)

Log Message

Missing changes from r174049
https://bugs.webkit.org/show_bug.cgi?id=137206

Patch by Diego Pino Garcia <dp...@igalia.com> on 2014-09-29
Reviewed by Darin Adler.

Source/_javascript_Core:

* runtime/CommonIdentifiers.h:

LayoutTests:

* js/number-constructor-expected.txt:
* js/script-tests/number-constructor.js:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (174065 => 174066)


--- trunk/LayoutTests/ChangeLog	2014-09-29 16:58:42 UTC (rev 174065)
+++ trunk/LayoutTests/ChangeLog	2014-09-29 17:05:50 UTC (rev 174066)
@@ -1,3 +1,13 @@
+2014-09-29  Diego Pino Garcia  <dp...@igalia.com>
+
+        Missing changes from r174049
+        https://bugs.webkit.org/show_bug.cgi?id=137206
+
+        Reviewed by Darin Adler.
+
+        * js/number-constructor-expected.txt:
+        * js/script-tests/number-constructor.js:
+
 2014-09-29  Bruno de Oliveira Abinader  <brun...@partner.samsung.com>
 
         Revert "Support for :enabled selector on Anchor & Area elements"

Modified: trunk/LayoutTests/js/number-constructor-expected.txt (174065 => 174066)


--- trunk/LayoutTests/js/number-constructor-expected.txt	2014-09-29 16:58:42 UTC (rev 174065)
+++ trunk/LayoutTests/js/number-constructor-expected.txt	2014-09-29 17:05:50 UTC (rev 174066)
@@ -113,6 +113,7 @@
 PASS Number.parseFloat(true) is NaN
 PASS Number.parseFloat(false) is NaN
 PASS Number.parseFloat(null) is NaN
+PASS Number.parseFloat(undefined) is NaN
 PASS Number.parseFloat(Number.NaN) is NaN
 PASS Number.parseFloat("1.7976931348623157E308") is 1.7976931348623157e+308
 PASS Number.parseFloat("1.80E308") is Infinity
@@ -142,6 +143,7 @@
 PASS Number.parseInt(true) is NaN
 PASS Number.parseInt(false) is NaN
 PASS Number.parseInt(null) is NaN
+PASS Number.parseInt(undefined) is NaN
 PASS Number.parseInt(Number.NaN) is NaN
 PASS Number.parseInt("1.7976931348623157E308") is 1
 PASS Number.parseInt("1.80E308") is 1

Modified: trunk/LayoutTests/js/script-tests/number-constructor.js (174065 => 174066)


--- trunk/LayoutTests/js/script-tests/number-constructor.js	2014-09-29 16:58:42 UTC (rev 174065)
+++ trunk/LayoutTests/js/script-tests/number-constructor.js	2014-09-29 17:05:50 UTC (rev 174066)
@@ -119,6 +119,7 @@
 shouldBe('Number.parseFloat(true)', 'NaN');
 shouldBe('Number.parseFloat(false)', 'NaN');
 shouldBe('Number.parseFloat(null)', 'NaN');
+shouldBe('Number.parseFloat(undefined)', 'NaN');
 shouldBe('Number.parseFloat(Number.NaN)', 'NaN');
 shouldBe('Number.parseFloat("1.7976931348623157E308")', '1.7976931348623157e+308');
 shouldBe('Number.parseFloat("1.80E308")', "Infinity");
@@ -150,6 +151,7 @@
 shouldBe('Number.parseInt(true)', 'NaN');
 shouldBe('Number.parseInt(false)', 'NaN');
 shouldBe('Number.parseInt(null)', 'NaN');
+shouldBe('Number.parseInt(undefined)', 'NaN');
 shouldBe('Number.parseInt(Number.NaN)', 'NaN');
 shouldBe('Number.parseInt("1.7976931348623157E308")', '1');
 shouldBe('Number.parseInt("1.80E308")', '1');

Modified: trunk/Source/_javascript_Core/ChangeLog (174065 => 174066)


--- trunk/Source/_javascript_Core/ChangeLog	2014-09-29 16:58:42 UTC (rev 174065)
+++ trunk/Source/_javascript_Core/ChangeLog	2014-09-29 17:05:50 UTC (rev 174066)
@@ -1,3 +1,12 @@
+2014-09-29  Diego Pino Garcia  <dp...@igalia.com>
+
+        Missing changes from r174049
+        https://bugs.webkit.org/show_bug.cgi?id=137206
+
+        Reviewed by Darin Adler.
+
+        * runtime/CommonIdentifiers.h:
+
 2014-09-28  Diego Pino Garcia  <dp...@igalia.com>
 
         Simple ES6 feature: Number constructor extras

Modified: trunk/Source/_javascript_Core/runtime/CommonIdentifiers.h (174065 => 174066)


--- trunk/Source/_javascript_Core/runtime/CommonIdentifiers.h	2014-09-29 16:58:42 UTC (rev 174065)
+++ trunk/Source/_javascript_Core/runtime/CommonIdentifiers.h	2014-09-29 17:05:50 UTC (rev 174066)
@@ -118,11 +118,7 @@
     macro(input) \
     macro(instructionCount) \
     macro(isArray) \
-    macro(isFinite) \
-    macro(isInteger) \
-    macro(isNaN) \
     macro(isPrototypeOf) \
-    macro(isSafeInteger) \
     macro(isView) \
     macro(isWatchpoint) \
     macro(jettisonReason) \
@@ -144,8 +140,6 @@
     macro(osrExitSites) \
     macro(osrExits) \
     macro(parse) \
-    macro(parseFloat) \
-    macro(parseInt) \
     macro(postMessage) \
     macro(profiledBytecodes) \
     macro(propertyIsEnumerable) \
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to