Roll V8 back to 3.6
Roll back to V8 3.6 to fix x86 build, we don't have ucontext.h.
This reverts commits:
5d4cdbf7a67d3662fa0bee4efdb7edd8daec9b0b
c7cc028aaeedbbfa11c11d0b7b243b3d9e837ed9
592a9fc1d8ea420377a2e7efd0600e20b058be2b
Bug: 5688872
Change-Id: Ic961bb5e65b778e98bbfb71cce71d99fa949e995
diff --git a/test/mjsunit/regexp.js b/test/mjsunit/regexp.js
index ec82c96..3c4f883 100644
--- a/test/mjsunit/regexp.js
+++ b/test/mjsunit/regexp.js
@@ -1,4 +1,4 @@
-// Copyright 2012 the V8 project authors. All rights reserved.
+// Copyright 2008 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
@@ -127,17 +127,6 @@
assertTrue(/^[Z-\c-e]*$/.test("Z[\\cde"));
-// Test that we handle \s and \S correctly on special Unicode characters.
-re = /\s/;
-assertTrue(re.test("\u2028"));
-assertTrue(re.test("\u2029"));
-assertTrue(re.test("\uFEFF"));
-
-re = /\S/;
-assertFalse(re.test("\u2028"));
-assertFalse(re.test("\u2029"));
-assertFalse(re.test("\uFEFF"));
-
// Test that we handle \s and \S correctly inside some bizarre
// character classes.
re = /[\s-:]/;
@@ -701,7 +690,3 @@
assertThrows("RegExp('(?:*)')");
assertThrows("RegExp('(?=*)')");
assertThrows("RegExp('(?!*)')");
-
-// Test trimmed regular expression for RegExp.test().
-assertTrue(/.*abc/.test("abc"));
-assertFalse(/.*\d+/.test("q"));