Index: test/webkit/unexpected-constant-crash.js |
diff --git a/test/webkit/resources/standalone-post.js b/test/webkit/unexpected-constant-crash.js |
similarity index 86% |
copy from test/webkit/resources/standalone-post.js |
copy to test/webkit/unexpected-constant-crash.js |
index d157e78bfa084329e2ec1a9b7d6ad456e904c152..cbca94b59937de97790edf8b194120892db272fd 100644 |
--- a/test/webkit/resources/standalone-post.js |
+++ b/test/webkit/unexpected-constant-crash.js |
@@ -21,6 +21,10 @@ |
// (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 that the regexp and unexpected constant counters are not confused with each other. It will fail with an assertion failure in a debug build if this is the case." |
+); |
-finishJSTest(); |
+var r = / /; |
+var s; |
+delete s; |