Index: test/webkit/string-slice-abnormal-values.js |
diff --git a/test/webkit/resources/standalone-post.js b/test/webkit/string-slice-abnormal-values.js |
similarity index 89% |
copy from test/webkit/resources/standalone-post.js |
copy to test/webkit/string-slice-abnormal-values.js |
index d157e78bfa084329e2ec1a9b7d6ad456e904c152..dda6569d510c660a753febe7e24f98ffcc685d37 100644 |
--- a/test/webkit/resources/standalone-post.js |
+++ b/test/webkit/string-slice-abnormal-values.js |
@@ -21,6 +21,9 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-wasPostTestScriptParsed = true; |
+description( |
+"This test checks for handling of abnormal values passed to String.slice" |
+); |
-finishJSTest(); |
+shouldBe('"abc".slice(0)', '"abc"'); |
+shouldBe('"abc".slice(0, Infinity)', '"abc"'); |