[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

dumi at chromium.org dumi at chromium.org
Wed Dec 22 12:32:12 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 530ba6524ae7f077c9214a82a9600259454db9e5
Author: dumi at chromium.org <dumi at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Aug 25 04:27:34 2010 +0000

    Unreviewed, updating Chromium expectations.
    
    * platform/chromium-mac/fast/js/kde/Number-expected.txt:
    * platform/chromium-mac/fast/js/number-toExponential-expected.txt:
    * platform/chromium-mac/fast/js/number-tofixed-expected.txt:
    * platform/chromium-mac/fast/js/number-toprecision-expected.txt:
    * platform/chromium-win/fast/js/kde/Number-expected.txt:
    * platform/chromium-win/fast/js/number-toExponential-expected.txt:
    * platform/chromium-win/fast/js/number-tofixed-expected.txt:
    * platform/chromium-win/fast/js/number-toprecision-expected.txt:
    * platform/chromium/test_expectations.txt:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65974 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 8ffa5e3..90f0ef3 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,17 @@
+2010-08-24  Dumitru Daniliuc  <dumi at chromium.org>
+
+        Unreviewed, updating Chromium expectations.
+
+        * platform/chromium-mac/fast/js/kde/Number-expected.txt:
+        * platform/chromium-mac/fast/js/number-toExponential-expected.txt:
+        * platform/chromium-mac/fast/js/number-tofixed-expected.txt:
+        * platform/chromium-mac/fast/js/number-toprecision-expected.txt:
+        * platform/chromium-win/fast/js/kde/Number-expected.txt:
+        * platform/chromium-win/fast/js/number-toExponential-expected.txt:
+        * platform/chromium-win/fast/js/number-tofixed-expected.txt:
+        * platform/chromium-win/fast/js/number-toprecision-expected.txt:
+        * platform/chromium/test_expectations.txt:
+
 2010-08-24  Adam Barth  <abarth at webkit.org>
 
         Add http/tests/security/xssAuditor/dom-write-location-inline-event.html
diff --git a/LayoutTests/platform/chromium-mac/fast/js/kde/Number-expected.txt b/LayoutTests/platform/chromium-mac/fast/js/kde/Number-expected.txt
index 4abc74a..8c592df 100644
--- a/LayoutTests/platform/chromium-mac/fast/js/kde/Number-expected.txt
+++ b/LayoutTests/platform/chromium-mac/fast/js/kde/Number-expected.txt
@@ -188,11 +188,11 @@ PASS Number(123.4567890123456789012).toExponential(12) is "1.234567890123e+2"
 PASS Number(123.4567890123456789012).toExponential(13) is "1.2345678901235e+2"
 PASS Number(123.4567890123456789012).toExponential(14) is "1.23456789012346e+2"
 PASS Number(123.4567890123456789012).toExponential(15) is "1.234567890123457e+2"
-FAIL Number(123.4567890123456789012).toExponential(16) should be 1.2345678901234570e+2. Was 1.2345678901234568e+2.
-FAIL Number(123.4567890123456789012).toExponential(17) should be 1.23456789012345700e+2. Was 1.23456789012345681e+2.
-FAIL Number(123.4567890123456789012).toExponential(18) should be 1.234567890123457100e+2. Was 1.234567890123456806e+2.
-FAIL Number(123.4567890123456789012).toExponential(19) should be 1.2345678901234570000e+2. Was 1.2345678901234568059e+2.
-FAIL Number(123.4567890123456789012).toExponential(20) should be 1.23456789012345700000e+2. Was 1.23456789012345680590e+2.
+PASS Number(123.4567890123456789012).toExponential(16) is "1.2345678901234568e+2"
+FAIL Number(123.4567890123456789012).toExponential(17) should be 1.23456789012345680e+2. Was 1.23456789012345681e+2.
+FAIL Number(123.4567890123456789012).toExponential(18) should be 1.234567890123456800e+2. Was 1.234567890123456806e+2.
+FAIL Number(123.4567890123456789012).toExponential(19) should be 1.2345678901234567000e+2. Was 1.2345678901234568059e+2.
+FAIL Number(123.4567890123456789012).toExponential(20) should be 1.23456789012345680000e+2. Was 1.23456789012345680590e+2.
 PASS try { Number(123.4567890123456789012).toExponential(21) } catch (e) { String(e).indexOf('Range') >= 0; } is true
 PASS Number(-123.4567890123456789012).toExponential() is "-1.2345678901234568e+2"
 PASS try { Number(-123.4567890123456789012).toExponential(-1) } catch (e) { String(e).indexOf('Range') >= 0; } is true
@@ -212,11 +212,11 @@ PASS Number(-123.4567890123456789012).toExponential(12) is "-1.234567890123e+2"
 PASS Number(-123.4567890123456789012).toExponential(13) is "-1.2345678901235e+2"
 PASS Number(-123.4567890123456789012).toExponential(14) is "-1.23456789012346e+2"
 PASS Number(-123.4567890123456789012).toExponential(15) is "-1.234567890123457e+2"
-FAIL Number(-123.4567890123456789012).toExponential(16) should be -1.2345678901234570e+2. Was -1.2345678901234568e+2.
-FAIL Number(-123.4567890123456789012).toExponential(17) should be -1.23456789012345700e+2. Was -1.23456789012345681e+2.
-FAIL Number(-123.4567890123456789012).toExponential(18) should be -1.234567890123457100e+2. Was -1.234567890123456806e+2.
-FAIL Number(-123.4567890123456789012).toExponential(19) should be -1.2345678901234570000e+2. Was -1.2345678901234568059e+2.
-FAIL Number(-123.4567890123456789012).toExponential(20) should be -1.23456789012345700000e+2. Was -1.23456789012345680590e+2.
+PASS Number(-123.4567890123456789012).toExponential(16) is "-1.2345678901234568e+2"
+FAIL Number(-123.4567890123456789012).toExponential(17) should be -1.23456789012345680e+2. Was -1.23456789012345681e+2.
+FAIL Number(-123.4567890123456789012).toExponential(18) should be -1.234567890123456800e+2. Was -1.234567890123456806e+2.
+FAIL Number(-123.4567890123456789012).toExponential(19) should be -1.2345678901234567000e+2. Was -1.2345678901234568059e+2.
+FAIL Number(-123.4567890123456789012).toExponential(20) should be -1.23456789012345680000e+2. Was -1.23456789012345680590e+2.
 PASS try { Number(-123.4567890123456789012).toExponential(21) } catch (e) { String(e).indexOf('Range') >= 0; } is true
 PASS Number(.0000000000000000000001).toExponential() is "1e-22"
 PASS Number(.0000000000000000000012).toExponential() is "1.2e-21"
@@ -348,11 +348,11 @@ PASS Number(0.0001234567890123456789012345).toPrecision(13) is "0.00012345678901
 PASS Number(0.0001234567890123456789012345).toPrecision(14) is "0.00012345678901235"
 PASS Number(0.0001234567890123456789012345).toPrecision(15) is "0.000123456789012346"
 PASS Number(0.0001234567890123456789012345).toPrecision(16) is "0.0001234567890123457"
-FAIL Number(0.0001234567890123456789012345).toPrecision(17) should be 0.00012345678901234568. Was 0.00012345678901234567.
-FAIL Number(0.0001234567890123456789012345).toPrecision(18) should be 0.000123456789012345680. Was 0.000123456789012345671.
-FAIL Number(0.0001234567890123456789012345).toPrecision(19) should be 0.0001234567890123456800. Was 0.0001234567890123456713.
-FAIL Number(0.0001234567890123456789012345).toPrecision(20) should be 0.00012345678901234567000. Was 0.00012345678901234567130.
-FAIL Number(0.0001234567890123456789012345).toPrecision(21) should be 0.000123456789012345680000. Was 0.000123456789012345671298.
+PASS Number(0.0001234567890123456789012345).toPrecision(17) is "0.00012345678901234567"
+PASS Number(0.0001234567890123456789012345).toPrecision(18) is "0.000123456789012345671"
+PASS Number(0.0001234567890123456789012345).toPrecision(19) is "0.0001234567890123456713"
+PASS Number(0.0001234567890123456789012345).toPrecision(20) is "0.00012345678901234567130"
+FAIL Number(0.0001234567890123456789012345).toPrecision(21) should be 0.000123456789012345671297. Was 0.000123456789012345671298.
 PASS Number(12345.67890123456789012345).toPrecision() is "12345.678901234567"
 PASS Number(12345.67890123456789012345).toPrecision(1) is "1e+4"
 PASS Number(12345.67890123456789012345).toPrecision(2) is "1.2e+4"
@@ -373,7 +373,7 @@ PASS Number(12345.67890123456789012345).toPrecision(16) is "12345.67890123457"
 FAIL Number(12345.67890123456789012345).toPrecision(17) should be 12345.678901234568. Was 12345.678901234567.
 FAIL Number(12345.67890123456789012345).toPrecision(18) should be 12345.6789012345660. Was 12345.6789012345671.
 FAIL Number(12345.67890123456789012345).toPrecision(19) should be 12345.67890123456800. Was 12345.67890123456709.
-FAIL Number(12345.67890123456789012345).toPrecision(20) should be 12345.678901234565000. Was 12345.678901234567093.
+FAIL Number(12345.67890123456789012345).toPrecision(20) should be 12345.678901234567000. Was 12345.678901234567093.
 FAIL Number(12345.67890123456789012345).toPrecision(21) should be 12345.6789012345670000. Was 12345.6789012345670926.
 PASS Number(-.0000000012345).toPrecision(2) is "-1.2e-9"
 PASS Number(-.000000012345).toPrecision(2) is "-1.2e-8"
@@ -408,11 +408,11 @@ PASS Number(-0.0001234567890123456789012345).toPrecision(13) is "-0.000123456789
 PASS Number(-0.0001234567890123456789012345).toPrecision(14) is "-0.00012345678901235"
 PASS Number(-0.0001234567890123456789012345).toPrecision(15) is "-0.000123456789012346"
 PASS Number(-0.0001234567890123456789012345).toPrecision(16) is "-0.0001234567890123457"
-FAIL Number(-0.0001234567890123456789012345).toPrecision(17) should be -0.00012345678901234568. Was -0.00012345678901234567.
-FAIL Number(-0.0001234567890123456789012345).toPrecision(18) should be -0.000123456789012345680. Was -0.000123456789012345671.
-FAIL Number(-0.0001234567890123456789012345).toPrecision(19) should be -0.0001234567890123456800. Was -0.0001234567890123456713.
-FAIL Number(-0.0001234567890123456789012345).toPrecision(20) should be -0.00012345678901234567000. Was -0.00012345678901234567130.
-FAIL Number(-0.0001234567890123456789012345).toPrecision(21) should be -0.000123456789012345680000. Was -0.000123456789012345671298.
+PASS Number(-0.0001234567890123456789012345).toPrecision(17) is "-0.00012345678901234567"
+PASS Number(-0.0001234567890123456789012345).toPrecision(18) is "-0.000123456789012345671"
+PASS Number(-0.0001234567890123456789012345).toPrecision(19) is "-0.0001234567890123456713"
+PASS Number(-0.0001234567890123456789012345).toPrecision(20) is "-0.00012345678901234567130"
+FAIL Number(-0.0001234567890123456789012345).toPrecision(21) should be -0.000123456789012345671297. Was -0.000123456789012345671298.
 PASS Number(-12345.67890123456789012345).toPrecision() is "-12345.678901234567"
 PASS Number(-12345.67890123456789012345).toPrecision(1) is "-1e+4"
 PASS Number(-12345.67890123456789012345).toPrecision(2) is "-1.2e+4"
@@ -433,7 +433,7 @@ PASS Number(-12345.67890123456789012345).toPrecision(16) is "-12345.67890123457"
 FAIL Number(-12345.67890123456789012345).toPrecision(17) should be -12345.678901234568. Was -12345.678901234567.
 FAIL Number(-12345.67890123456789012345).toPrecision(18) should be -12345.6789012345660. Was -12345.6789012345671.
 FAIL Number(-12345.67890123456789012345).toPrecision(19) should be -12345.67890123456800. Was -12345.67890123456709.
-FAIL Number(-12345.67890123456789012345).toPrecision(20) should be -12345.678901234565000. Was -12345.678901234567093.
+FAIL Number(-12345.67890123456789012345).toPrecision(20) should be -12345.678901234567000. Was -12345.678901234567093.
 FAIL Number(-12345.67890123456789012345).toPrecision(21) should be -12345.6789012345670000. Was -12345.6789012345670926.
 PASS Number(0).toPrecision() is "0"
 PASS Number(0).toPrecision(1) is "0"
diff --git a/LayoutTests/platform/chromium-mac/fast/js/number-toExponential-expected.txt b/LayoutTests/platform/chromium-mac/fast/js/number-toExponential-expected.txt
index da3e6fb..6445e0d 100644
--- a/LayoutTests/platform/chromium-mac/fast/js/number-toExponential-expected.txt
+++ b/LayoutTests/platform/chromium-mac/fast/js/number-toExponential-expected.txt
@@ -17,8 +17,8 @@ PASS (123.456).toExponential(3) is "1.235e+2"
 PASS (123.456).toExponential(5) is "1.23456e+2"
 PASS (123.456).toExponential(6) is "1.234560e+2"
 PASS (123.456).toExponential(20) is "1.23456000000000003070e+2"
-FAIL (123.456).toExponential(21) should be 1.234560000000000030695e+2. Threw exception RangeError: toExponential() argument must be between 0 and 20
-FAIL (123.456).toExponential(100) should be 1.2345600000000000306954461848363280296325683593750000000000000000000000000000000000000000000000000000e+2. Threw exception RangeError: toExponential() argument must be between 0 and 20
+PASS (123.456).toExponential(21) threw exception RangeError: toExponential() argument must be between 0 and 20.
+PASS (123.456).toExponential(100) threw exception RangeError: toExponential() argument must be between 0 and 20.
 PASS (123.456).toExponential(101) threw exception RangeError: toExponential() argument must be between 0 and 20.
 PASS (123.456).toExponential(-1) threw exception RangeError: toExponential() argument must be between 0 and 20.
 PASS (1234.567).toExponential(posInf) threw exception RangeError: toExponential() argument must be between 0 and 20.
diff --git a/LayoutTests/platform/chromium-mac/fast/js/number-tofixed-expected.txt b/LayoutTests/platform/chromium-mac/fast/js/number-tofixed-expected.txt
index e7f2a69..dcffb4c 100644
--- a/LayoutTests/platform/chromium-mac/fast/js/number-tofixed-expected.txt
+++ b/LayoutTests/platform/chromium-mac/fast/js/number-tofixed-expected.txt
@@ -42,13 +42,13 @@ PASS (1234.567).toFixed(2) is "1234.57"
 PASS (1234.567).toFixed(2.9) is "1234.57"
 PASS (1234.567).toFixed(5) is "1234.56700"
 PASS (1234.567).toFixed(20) is "1234.56700000000000727596"
-FAIL (1234.567).toFixed(21) should be 1234.567000000000007275958. Threw exception RangeError: toFixed() digits argument must be between 0 and 20
-FAIL (1234.567).toFixed(100) should be 1234.5670000000000072759576141834259033203125000000000000000000000000000000000000000000000000000000000000. Threw exception RangeError: toFixed() digits argument must be between 0 and 20
+PASS (1234.567).toFixed(21) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
+PASS (1234.567).toFixed(100) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
 PASS (1234.567).toFixed(101) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
-FAIL (1234.567).toFixed(-1) should be 1230. Threw exception RangeError: toFixed() digits argument must be between 0 and 20
-FAIL (1234.567).toFixed(-4) should be 0. Threw exception RangeError: toFixed() digits argument must be between 0 and 20
-FAIL (1234.567).toFixed(-5) should be 0. Threw exception RangeError: toFixed() digits argument must be between 0 and 20
-FAIL (1234.567).toFixed(-20) should be 0. Threw exception RangeError: toFixed() digits argument must be between 0 and 20
+PASS (1234.567).toFixed(-1) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
+PASS (1234.567).toFixed(-4) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
+PASS (1234.567).toFixed(-5) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
+PASS (1234.567).toFixed(-20) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
 PASS (1234.567).toFixed(-21) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
 PASS (1234.567).toFixed(posInf) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
 PASS (1234.567).toFixed(negInf) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
diff --git a/LayoutTests/platform/chromium-mac/fast/js/number-toprecision-expected.txt b/LayoutTests/platform/chromium-mac/fast/js/number-toprecision-expected.txt
index e05d969..202f38e 100644
--- a/LayoutTests/platform/chromium-mac/fast/js/number-toprecision-expected.txt
+++ b/LayoutTests/platform/chromium-mac/fast/js/number-toprecision-expected.txt
@@ -23,8 +23,8 @@ PASS (1234.567).toPrecision(2) is "1.2e+3"
 PASS (1234.567).toPrecision(2.9) is "1.2e+3"
 PASS (1234.567).toPrecision(5) is "1234.6"
 PASS (1234.567).toPrecision(21) is "1234.56700000000000728"
-FAIL (1234.567).toPrecision(22) should be 1234.567000000000007276. Threw exception RangeError: toPrecision() argument must be between 1 and 21
-FAIL (1234.567).toPrecision(100) should be 1234.567000000000007275957614183425903320312500000000000000000000000000000000000000000000000000000000. Threw exception RangeError: toPrecision() argument must be between 1 and 21
+PASS (1234.567).toPrecision(22) threw exception RangeError: toPrecision() argument must be between 1 and 21.
+PASS (1234.567).toPrecision(100) threw exception RangeError: toPrecision() argument must be between 1 and 21.
 PASS (1234.567).toPrecision(101) threw exception RangeError: toPrecision() argument must be between 1 and 21.
 PASS (1234.567).toPrecision(posInf) threw exception RangeError: toPrecision() argument must be between 1 and 21.
 PASS (1234.567).toPrecision(negInf) threw exception RangeError: toPrecision() argument must be between 1 and 21.
diff --git a/LayoutTests/platform/chromium-win/fast/js/kde/Number-expected.txt b/LayoutTests/platform/chromium-win/fast/js/kde/Number-expected.txt
index 4abc74a..8c592df 100644
--- a/LayoutTests/platform/chromium-win/fast/js/kde/Number-expected.txt
+++ b/LayoutTests/platform/chromium-win/fast/js/kde/Number-expected.txt
@@ -188,11 +188,11 @@ PASS Number(123.4567890123456789012).toExponential(12) is "1.234567890123e+2"
 PASS Number(123.4567890123456789012).toExponential(13) is "1.2345678901235e+2"
 PASS Number(123.4567890123456789012).toExponential(14) is "1.23456789012346e+2"
 PASS Number(123.4567890123456789012).toExponential(15) is "1.234567890123457e+2"
-FAIL Number(123.4567890123456789012).toExponential(16) should be 1.2345678901234570e+2. Was 1.2345678901234568e+2.
-FAIL Number(123.4567890123456789012).toExponential(17) should be 1.23456789012345700e+2. Was 1.23456789012345681e+2.
-FAIL Number(123.4567890123456789012).toExponential(18) should be 1.234567890123457100e+2. Was 1.234567890123456806e+2.
-FAIL Number(123.4567890123456789012).toExponential(19) should be 1.2345678901234570000e+2. Was 1.2345678901234568059e+2.
-FAIL Number(123.4567890123456789012).toExponential(20) should be 1.23456789012345700000e+2. Was 1.23456789012345680590e+2.
+PASS Number(123.4567890123456789012).toExponential(16) is "1.2345678901234568e+2"
+FAIL Number(123.4567890123456789012).toExponential(17) should be 1.23456789012345680e+2. Was 1.23456789012345681e+2.
+FAIL Number(123.4567890123456789012).toExponential(18) should be 1.234567890123456800e+2. Was 1.234567890123456806e+2.
+FAIL Number(123.4567890123456789012).toExponential(19) should be 1.2345678901234567000e+2. Was 1.2345678901234568059e+2.
+FAIL Number(123.4567890123456789012).toExponential(20) should be 1.23456789012345680000e+2. Was 1.23456789012345680590e+2.
 PASS try { Number(123.4567890123456789012).toExponential(21) } catch (e) { String(e).indexOf('Range') >= 0; } is true
 PASS Number(-123.4567890123456789012).toExponential() is "-1.2345678901234568e+2"
 PASS try { Number(-123.4567890123456789012).toExponential(-1) } catch (e) { String(e).indexOf('Range') >= 0; } is true
@@ -212,11 +212,11 @@ PASS Number(-123.4567890123456789012).toExponential(12) is "-1.234567890123e+2"
 PASS Number(-123.4567890123456789012).toExponential(13) is "-1.2345678901235e+2"
 PASS Number(-123.4567890123456789012).toExponential(14) is "-1.23456789012346e+2"
 PASS Number(-123.4567890123456789012).toExponential(15) is "-1.234567890123457e+2"
-FAIL Number(-123.4567890123456789012).toExponential(16) should be -1.2345678901234570e+2. Was -1.2345678901234568e+2.
-FAIL Number(-123.4567890123456789012).toExponential(17) should be -1.23456789012345700e+2. Was -1.23456789012345681e+2.
-FAIL Number(-123.4567890123456789012).toExponential(18) should be -1.234567890123457100e+2. Was -1.234567890123456806e+2.
-FAIL Number(-123.4567890123456789012).toExponential(19) should be -1.2345678901234570000e+2. Was -1.2345678901234568059e+2.
-FAIL Number(-123.4567890123456789012).toExponential(20) should be -1.23456789012345700000e+2. Was -1.23456789012345680590e+2.
+PASS Number(-123.4567890123456789012).toExponential(16) is "-1.2345678901234568e+2"
+FAIL Number(-123.4567890123456789012).toExponential(17) should be -1.23456789012345680e+2. Was -1.23456789012345681e+2.
+FAIL Number(-123.4567890123456789012).toExponential(18) should be -1.234567890123456800e+2. Was -1.234567890123456806e+2.
+FAIL Number(-123.4567890123456789012).toExponential(19) should be -1.2345678901234567000e+2. Was -1.2345678901234568059e+2.
+FAIL Number(-123.4567890123456789012).toExponential(20) should be -1.23456789012345680000e+2. Was -1.23456789012345680590e+2.
 PASS try { Number(-123.4567890123456789012).toExponential(21) } catch (e) { String(e).indexOf('Range') >= 0; } is true
 PASS Number(.0000000000000000000001).toExponential() is "1e-22"
 PASS Number(.0000000000000000000012).toExponential() is "1.2e-21"
@@ -348,11 +348,11 @@ PASS Number(0.0001234567890123456789012345).toPrecision(13) is "0.00012345678901
 PASS Number(0.0001234567890123456789012345).toPrecision(14) is "0.00012345678901235"
 PASS Number(0.0001234567890123456789012345).toPrecision(15) is "0.000123456789012346"
 PASS Number(0.0001234567890123456789012345).toPrecision(16) is "0.0001234567890123457"
-FAIL Number(0.0001234567890123456789012345).toPrecision(17) should be 0.00012345678901234568. Was 0.00012345678901234567.
-FAIL Number(0.0001234567890123456789012345).toPrecision(18) should be 0.000123456789012345680. Was 0.000123456789012345671.
-FAIL Number(0.0001234567890123456789012345).toPrecision(19) should be 0.0001234567890123456800. Was 0.0001234567890123456713.
-FAIL Number(0.0001234567890123456789012345).toPrecision(20) should be 0.00012345678901234567000. Was 0.00012345678901234567130.
-FAIL Number(0.0001234567890123456789012345).toPrecision(21) should be 0.000123456789012345680000. Was 0.000123456789012345671298.
+PASS Number(0.0001234567890123456789012345).toPrecision(17) is "0.00012345678901234567"
+PASS Number(0.0001234567890123456789012345).toPrecision(18) is "0.000123456789012345671"
+PASS Number(0.0001234567890123456789012345).toPrecision(19) is "0.0001234567890123456713"
+PASS Number(0.0001234567890123456789012345).toPrecision(20) is "0.00012345678901234567130"
+FAIL Number(0.0001234567890123456789012345).toPrecision(21) should be 0.000123456789012345671297. Was 0.000123456789012345671298.
 PASS Number(12345.67890123456789012345).toPrecision() is "12345.678901234567"
 PASS Number(12345.67890123456789012345).toPrecision(1) is "1e+4"
 PASS Number(12345.67890123456789012345).toPrecision(2) is "1.2e+4"
@@ -373,7 +373,7 @@ PASS Number(12345.67890123456789012345).toPrecision(16) is "12345.67890123457"
 FAIL Number(12345.67890123456789012345).toPrecision(17) should be 12345.678901234568. Was 12345.678901234567.
 FAIL Number(12345.67890123456789012345).toPrecision(18) should be 12345.6789012345660. Was 12345.6789012345671.
 FAIL Number(12345.67890123456789012345).toPrecision(19) should be 12345.67890123456800. Was 12345.67890123456709.
-FAIL Number(12345.67890123456789012345).toPrecision(20) should be 12345.678901234565000. Was 12345.678901234567093.
+FAIL Number(12345.67890123456789012345).toPrecision(20) should be 12345.678901234567000. Was 12345.678901234567093.
 FAIL Number(12345.67890123456789012345).toPrecision(21) should be 12345.6789012345670000. Was 12345.6789012345670926.
 PASS Number(-.0000000012345).toPrecision(2) is "-1.2e-9"
 PASS Number(-.000000012345).toPrecision(2) is "-1.2e-8"
@@ -408,11 +408,11 @@ PASS Number(-0.0001234567890123456789012345).toPrecision(13) is "-0.000123456789
 PASS Number(-0.0001234567890123456789012345).toPrecision(14) is "-0.00012345678901235"
 PASS Number(-0.0001234567890123456789012345).toPrecision(15) is "-0.000123456789012346"
 PASS Number(-0.0001234567890123456789012345).toPrecision(16) is "-0.0001234567890123457"
-FAIL Number(-0.0001234567890123456789012345).toPrecision(17) should be -0.00012345678901234568. Was -0.00012345678901234567.
-FAIL Number(-0.0001234567890123456789012345).toPrecision(18) should be -0.000123456789012345680. Was -0.000123456789012345671.
-FAIL Number(-0.0001234567890123456789012345).toPrecision(19) should be -0.0001234567890123456800. Was -0.0001234567890123456713.
-FAIL Number(-0.0001234567890123456789012345).toPrecision(20) should be -0.00012345678901234567000. Was -0.00012345678901234567130.
-FAIL Number(-0.0001234567890123456789012345).toPrecision(21) should be -0.000123456789012345680000. Was -0.000123456789012345671298.
+PASS Number(-0.0001234567890123456789012345).toPrecision(17) is "-0.00012345678901234567"
+PASS Number(-0.0001234567890123456789012345).toPrecision(18) is "-0.000123456789012345671"
+PASS Number(-0.0001234567890123456789012345).toPrecision(19) is "-0.0001234567890123456713"
+PASS Number(-0.0001234567890123456789012345).toPrecision(20) is "-0.00012345678901234567130"
+FAIL Number(-0.0001234567890123456789012345).toPrecision(21) should be -0.000123456789012345671297. Was -0.000123456789012345671298.
 PASS Number(-12345.67890123456789012345).toPrecision() is "-12345.678901234567"
 PASS Number(-12345.67890123456789012345).toPrecision(1) is "-1e+4"
 PASS Number(-12345.67890123456789012345).toPrecision(2) is "-1.2e+4"
@@ -433,7 +433,7 @@ PASS Number(-12345.67890123456789012345).toPrecision(16) is "-12345.67890123457"
 FAIL Number(-12345.67890123456789012345).toPrecision(17) should be -12345.678901234568. Was -12345.678901234567.
 FAIL Number(-12345.67890123456789012345).toPrecision(18) should be -12345.6789012345660. Was -12345.6789012345671.
 FAIL Number(-12345.67890123456789012345).toPrecision(19) should be -12345.67890123456800. Was -12345.67890123456709.
-FAIL Number(-12345.67890123456789012345).toPrecision(20) should be -12345.678901234565000. Was -12345.678901234567093.
+FAIL Number(-12345.67890123456789012345).toPrecision(20) should be -12345.678901234567000. Was -12345.678901234567093.
 FAIL Number(-12345.67890123456789012345).toPrecision(21) should be -12345.6789012345670000. Was -12345.6789012345670926.
 PASS Number(0).toPrecision() is "0"
 PASS Number(0).toPrecision(1) is "0"
diff --git a/LayoutTests/platform/chromium-win/fast/js/number-toExponential-expected.txt b/LayoutTests/platform/chromium-win/fast/js/number-toExponential-expected.txt
index da3e6fb..6445e0d 100644
--- a/LayoutTests/platform/chromium-win/fast/js/number-toExponential-expected.txt
+++ b/LayoutTests/platform/chromium-win/fast/js/number-toExponential-expected.txt
@@ -17,8 +17,8 @@ PASS (123.456).toExponential(3) is "1.235e+2"
 PASS (123.456).toExponential(5) is "1.23456e+2"
 PASS (123.456).toExponential(6) is "1.234560e+2"
 PASS (123.456).toExponential(20) is "1.23456000000000003070e+2"
-FAIL (123.456).toExponential(21) should be 1.234560000000000030695e+2. Threw exception RangeError: toExponential() argument must be between 0 and 20
-FAIL (123.456).toExponential(100) should be 1.2345600000000000306954461848363280296325683593750000000000000000000000000000000000000000000000000000e+2. Threw exception RangeError: toExponential() argument must be between 0 and 20
+PASS (123.456).toExponential(21) threw exception RangeError: toExponential() argument must be between 0 and 20.
+PASS (123.456).toExponential(100) threw exception RangeError: toExponential() argument must be between 0 and 20.
 PASS (123.456).toExponential(101) threw exception RangeError: toExponential() argument must be between 0 and 20.
 PASS (123.456).toExponential(-1) threw exception RangeError: toExponential() argument must be between 0 and 20.
 PASS (1234.567).toExponential(posInf) threw exception RangeError: toExponential() argument must be between 0 and 20.
diff --git a/LayoutTests/platform/chromium-win/fast/js/number-tofixed-expected.txt b/LayoutTests/platform/chromium-win/fast/js/number-tofixed-expected.txt
index e7f2a69..dcffb4c 100644
--- a/LayoutTests/platform/chromium-win/fast/js/number-tofixed-expected.txt
+++ b/LayoutTests/platform/chromium-win/fast/js/number-tofixed-expected.txt
@@ -42,13 +42,13 @@ PASS (1234.567).toFixed(2) is "1234.57"
 PASS (1234.567).toFixed(2.9) is "1234.57"
 PASS (1234.567).toFixed(5) is "1234.56700"
 PASS (1234.567).toFixed(20) is "1234.56700000000000727596"
-FAIL (1234.567).toFixed(21) should be 1234.567000000000007275958. Threw exception RangeError: toFixed() digits argument must be between 0 and 20
-FAIL (1234.567).toFixed(100) should be 1234.5670000000000072759576141834259033203125000000000000000000000000000000000000000000000000000000000000. Threw exception RangeError: toFixed() digits argument must be between 0 and 20
+PASS (1234.567).toFixed(21) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
+PASS (1234.567).toFixed(100) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
 PASS (1234.567).toFixed(101) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
-FAIL (1234.567).toFixed(-1) should be 1230. Threw exception RangeError: toFixed() digits argument must be between 0 and 20
-FAIL (1234.567).toFixed(-4) should be 0. Threw exception RangeError: toFixed() digits argument must be between 0 and 20
-FAIL (1234.567).toFixed(-5) should be 0. Threw exception RangeError: toFixed() digits argument must be between 0 and 20
-FAIL (1234.567).toFixed(-20) should be 0. Threw exception RangeError: toFixed() digits argument must be between 0 and 20
+PASS (1234.567).toFixed(-1) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
+PASS (1234.567).toFixed(-4) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
+PASS (1234.567).toFixed(-5) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
+PASS (1234.567).toFixed(-20) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
 PASS (1234.567).toFixed(-21) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
 PASS (1234.567).toFixed(posInf) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
 PASS (1234.567).toFixed(negInf) threw exception RangeError: toFixed() digits argument must be between 0 and 20.
diff --git a/LayoutTests/platform/chromium-win/fast/js/number-toprecision-expected.txt b/LayoutTests/platform/chromium-win/fast/js/number-toprecision-expected.txt
index e05d969..202f38e 100644
--- a/LayoutTests/platform/chromium-win/fast/js/number-toprecision-expected.txt
+++ b/LayoutTests/platform/chromium-win/fast/js/number-toprecision-expected.txt
@@ -23,8 +23,8 @@ PASS (1234.567).toPrecision(2) is "1.2e+3"
 PASS (1234.567).toPrecision(2.9) is "1.2e+3"
 PASS (1234.567).toPrecision(5) is "1234.6"
 PASS (1234.567).toPrecision(21) is "1234.56700000000000728"
-FAIL (1234.567).toPrecision(22) should be 1234.567000000000007276. Threw exception RangeError: toPrecision() argument must be between 1 and 21
-FAIL (1234.567).toPrecision(100) should be 1234.567000000000007275957614183425903320312500000000000000000000000000000000000000000000000000000000. Threw exception RangeError: toPrecision() argument must be between 1 and 21
+PASS (1234.567).toPrecision(22) threw exception RangeError: toPrecision() argument must be between 1 and 21.
+PASS (1234.567).toPrecision(100) threw exception RangeError: toPrecision() argument must be between 1 and 21.
 PASS (1234.567).toPrecision(101) threw exception RangeError: toPrecision() argument must be between 1 and 21.
 PASS (1234.567).toPrecision(posInf) threw exception RangeError: toPrecision() argument must be between 1 and 21.
 PASS (1234.567).toPrecision(negInf) threw exception RangeError: toPrecision() argument must be between 1 and 21.

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list