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

Unified Diff: test/webkit/array-splice-expected.txt

Issue 144533006: Migrate crashing tests from blink repository. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/webkit/array-splice.js ('k') | test/webkit/string-replacement-outofmemory.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/array-splice-expected.txt
diff --git a/test/webkit/fast/js/stack-overflow-arrity-catch-expected.txt b/test/webkit/array-splice-expected.txt
similarity index 73%
copy from test/webkit/fast/js/stack-overflow-arrity-catch-expected.txt
copy to test/webkit/array-splice-expected.txt
index 80df97e671a7b0a1815352f940bf0e6205a744eb..800f2cdfe30bb4ca24c6623a63a21c1c05636e01 100644
--- a/test/webkit/fast/js/stack-overflow-arrity-catch-expected.txt
+++ b/test/webkit/array-splice-expected.txt
@@ -21,12 +21,32 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-Test that if an arrity check causes a stack overflow, the exception goes to the right catch
+This tests array.splice behavior.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS gotRightCatch is true
+PASS arr is ['a','b','c','d']
+PASS arr.splice(2) is ['c','d']
+PASS arr is ['a','b']
+PASS arr.splice(0) is ['a','b']
+PASS arr is []
+PASS arr.splice() is []
+PASS arr is ['a','b','c','d']
+PASS arr.splice(undefined) is ['a','b','c','d']
+PASS arr is []
+PASS arr.splice(null) is ['a','b','c','d']
+PASS arr is []
+PASS arr.splice(100) is []
+PASS arr is ['a','b','c','d']
+PASS arr.splice(-1) is ['d']
+PASS arr is ['a','b','c']
+PASS arr.splice(2, undefined) is []
+PASS arr.splice(2, null) is []
+PASS arr.splice(2, -1) is []
+PASS arr is ['a','b','c']
+PASS arr.splice(2, 100) is ['c']
+PASS arr is ['a','b']
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « test/webkit/array-splice.js ('k') | test/webkit/string-replacement-outofmemory.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698