Home | History | Annotate | Download | only in webkit

Lines Matching full:trim

24 This test checks String.trim(), String.trimLeft() and String.trimRight() methods.
29 PASS whitespace[0].s.trim() is ''
32 PASS whitespace[1].s.trim() is ''
35 PASS whitespace[2].s.trim() is ''
38 PASS whitespace[3].s.trim() is ''
41 PASS whitespace[4].s.trim() is ''
44 PASS whitespace[5].s.trim() is ''
47 PASS whitespace[6].s.trim() is ''
50 PASS whitespace[7].s.trim() is ''
53 PASS whitespace[8].s.trim() is ''
56 PASS whitespace[9].s.trim() is ''
59 PASS whitespace[10].s.trim() is ''
62 PASS whitespace[11].s.trim() is ''
65 PASS whitespace[12].s.trim() is ''
68 PASS whitespace[13].s.trim() is ''
71 PASS whitespace[14].s.trim() is ''
74 PASS whitespace[15].s.trim() is ''
77 PASS whitespace[16].s.trim() is ''
80 PASS whitespace[17].s.trim() is ''
83 PASS whitespace[18].s.trim() is ''
86 PASS whitespace[19].s.trim() is ''
89 PASS whitespace[20].s.trim() is ''
92 PASS whitespace[21].s.trim() is ''
95 PASS wsString.trim() is ''
98 PASS trimString.trim() is testString
101 PASS leftTrimString.trim() is testString
104 PASS rightTrimString.trim() is testString
107 PASS trim.call(0) is '0'
110 PASS trim.call(Infinity) is 'Infinity'
113 PASS trim.call(NaN) is 'NaN'
116 PASS trim.call(true) is 'true'
119 PASS trim.call(false) is 'false'
122 PASS trim.call(({})) is '[object Object]'
125 PASS trim.call(({toString:function(){return 'wibble'}})) is 'wibble'
128 PASS trim.call(['an','array']) is 'an,array'