Home | History | Annotate | Download | only in webkit

Lines Matching refs:trim

24 description("This test checks String.trim(), String.trimLeft() and String.trimRight() methods.");
26 //references to trim(), trimLeft() and trimRight() functions for testing Function's *.call() and *.apply() methods
27 var trim = String.prototype.trim;
63 shouldBe("whitespace["+i+"].s.trim()", "''");
73 shouldBe("wsString.trim()", "''");
77 shouldBe("trimString.trim()", "testString");
81 shouldBe("leftTrimString.trim()", "testString");
85 shouldBe("rightTrimString.trim()", "testString");
91 shouldBe("trim.call("+testValues[i]+")", "'"+eval(testValues[i])+"'");