Ignore:
Timestamp:
Apr 2, 2009, 11:22:22 AM (16 years ago)
Author:
[email protected]
Message:

2009-04-02 Pamela Greene <[email protected]>

Reviewed by Darin Adler.

Split long-running regexp out of the main regexp-overflow test file
so VMs (such as V8) that don't limit execution time can still run
the rest of the test cases.
https://bugs.webkit.org/show_bug.cgi?id=18327

  • fast/js/regexp-overflow-expected.txt: updated
  • fast/js/regexp-overflow-too-big-expected.txt: Added.
  • fast/js/regexp-overflow-too-big.html: Added.
  • fast/js/resources/regexp-overflow-too-big.js: Added.
  • fast/js/resources/regexp-overflow.js: removed one test case
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/fast/js/resources/regexp-overflow.js

    r41849 r42177  
    3333
    3434shouldBe('new RegExp(complexPattern).exec(complexInput)[0]', 'complexInput'); // Big but OK
    35 shouldBe('new RegExp(complexPattern + complexPattern).exec(complexInput + complexInput)', 'null'); // Too big
     35// The analogous "too big" case is tested separately in
     36// regexp-overflow-too-big.html so engines that don't limit regexp execution
     37// time don't time out in this test. See
     38// https://bugs.webkit.org/show_bug.cgi?id=18327 .
    3639
    3740var s = "a";
Note: See TracChangeset for help on using the changeset viewer.