Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1253)

Side by Side Diff: testing/resources/javascript/bug_361_expected.txt

Issue 1586203006: Bugs in CJS_PublicMethods::ParseNumber() (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Remove entirely, pass "NaN" as NaN. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Alert: Answer for "" is: string 1 Alert: Answer for "" is: string
2 Alert: Answer for "goats" is: string goats 2 Alert: Answer for "goats" is: string goats
3 Alert: Answer for "b4" is: string b4 3 Alert: Answer for "b4" is: string b4
4 Alert: Answer for "b4.5" is: string b4.5 4 Alert: Answer for "b4.5" is: string b4.5
5 Alert: Answer for "4x" is: string 4x 5 Alert: Answer for "4x" is: string 4x
6 Alert: Answer for "4.5x" is: string 4.5x 6 Alert: Answer for "4.5x" is: string 4.5x
7 Alert: Answer for "4" is: number 4 7 Alert: Answer for "4" is: number 4
8 Alert: Answer for "4" is: number 4 8 Alert: Answer for "4" is: number 4
9 Alert: Answer for " 4" is: number 4 9 Alert: Answer for " 4" is: number 4
10 Alert: Answer for "4 " is: number 4 10 Alert: Answer for "4 " is: number 4
11 Alert: Answer for " 4 " is: number 4 11 Alert: Answer for " 4 " is: number 4
12 Alert: Answer for "4 3 2 1" is: string 4 3 2 1 12 Alert: Answer for "4 3 2 1" is: string 4 3 2 1
13 Alert: Answer for "-4" is: number -4 13 Alert: Answer for "-4" is: number -4
14 Alert: Answer for "23.00000001" is: number 23.00000001 14 Alert: Answer for "23.00000001" is: number 23.00000001
15 Alert: Answer for "23.00000000000000001" is: number 0 15 Alert: Answer for "23.00000000000000001" is: number 23
16 Alert: Answer for "4e+25" is: number 4e+25 16 Alert: Answer for "4e+25" is: number 4e+25
17 Alert: Answer for "40000000000000000000000000" is: number 0 17 Alert: Answer for "40000000000000000000000000" is: number 4e+25
18 Alert: Answer for "25,5" is: number 25.5 18 Alert: Answer for "25,5" is: string 25,5
19 Alert: Answer for "1e+5" is: number 100000 19 Alert: Answer for "1e+5" is: number 100000
20 Alert: Answer for "1e5" is: number 1 20 Alert: Answer for "1e5" is: number 100000
21 Alert: Answer for "1e-5" is: number 0.00001 21 Alert: Answer for "1e-5" is: number 0.00001
22 Alert: Answer for "-1e-5" is: number -0.00001 22 Alert: Answer for "-1e-5" is: number -0.00001
23 Alert: Answer for "1.2e5" is: number 1.2 23 Alert: Answer for "1.2e5" is: number 120000
24 Alert: Answer for "Infinity" is: string Infinity 24 Alert: Answer for "Infinity" is: number Infinity
25 Alert: Answer for "Infinity" is: string Infinity 25 Alert: Answer for "Infinity" is: number Infinity
26 Alert: Answer for "INFINITY" is: string INFINITY 26 Alert: Answer for "INFINITY" is: string INFINITY
27 Alert: Answer for "INF" is: string INF 27 Alert: Answer for "INF" is: string INF
28 Alert: Answer for "NaN" is: string NaN 28 Alert: Answer for "NaN" is: number NaN
29 Alert: Answer for "NaN" is: string NaN 29 Alert: Answer for "NaN" is: number NaN
30 Alert: Answer for "NAN" is: string NAN 30 Alert: Answer for "NAN" is: string NAN
31 Alert: Answer for "0x100" is: string 0x100 31 Alert: Answer for "0x100" is: number 256
32 Alert: Answer for "0x100.1" is: string 0x100.1 32 Alert: Answer for "0x100.1" is: string 0x100.1
33 Alert: Answer for "0x100,1" is: string 0x100,1 33 Alert: Answer for "0x100,1" is: string 0x100,1
34 Alert: Answer for "0x100x1" is: string 0x100x1 34 Alert: Answer for "0x100x1" is: string 0x100x1
35 Alert: Answer for "123x6" is: string 123x6 35 Alert: Answer for "123x6" is: string 123x6
36 Alert: Answer for "123xy6" is: string 123xy6 36 Alert: Answer for "123xy6" is: string 123xy6
37 Alert: Answer for "123.y6" is: string 123.y6 37 Alert: Answer for "123.y6" is: string 123.y6
38 Alert: Answer for "1,000,000" is: number 1 38 Alert: Answer for "1,000,000" is: string 1,000,000
39 Alert: Answer for "1.2.3" is: number 1.2 39 Alert: Answer for "1.2.3" is: string 1.2.3
40 Alert: Answer for "1-3" is: string 1-3 40 Alert: Answer for "1-3" is: string 1-3
41 Alert: Answer for "1+3" is: string 1+3 41 Alert: Answer for "1+3" is: string 1+3
42 Alert: Answer for "1.-3" is: string 1.-3 42 Alert: Answer for "1.-3" is: string 1.-3
43 Alert: Answer for "1.+3" is: string 1.+3 43 Alert: Answer for "1.+3" is: string 1.+3
44 Alert: Answer for "1,2,3,4" is: number 1 44 Alert: Answer for "1,2,3,4" is: number 1
45 Alert: Answer for "[1, 2, 3, 4]" is: string [1, 2, 3, 4] 45 Alert: Answer for "[1, 2, 3, 4]" is: string [1, 2, 3, 4]
46 Alert: Answer for "[object Object]" is: string [object Object] 46 Alert: Answer for "[object Object]" is: string [object Object]
47 Alert: Answer for "{a: 1, b: 2}" is: string {a: 1, b: 2} 47 Alert: Answer for "{a: 1, b: 2}" is: string {a: 1, b: 2}
48 Alert: Answer for "function (x) { return x+1; }" is: string function (x) { retur n x+1; } 48 Alert: Answer for "function (x) { return x+1; }" is: string function (x) { retur n x+1; }
49 Alert: Answer for "function(x) { return x+1; }" is: string function(x) { return x+1; } 49 Alert: Answer for "function(x) { return x+1; }" is: string function(x) { return x+1; }
OLDNEW
« fpdfsdk/src/javascript/PublicMethods.cpp ('K') | « fpdfsdk/src/javascript/PublicMethods.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698