Commit 773a7eda authored by yangguo@chromium.org's avatar yangguo@chromium.org

Adapt test expectations in webkit.

R=machenbach@chromium.org

Review URL: https://codereview.chromium.org/288163003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21331 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 1d0db842
......@@ -21,3 +21,12 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This tests that string replacement with a large replacement string causes an out-of-memory exception. See bug 102956 for more details.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS x.replace(/\d/g, y) threw exception RangeError: Invalid string length.
PASS successfullyParsed is true
TEST COMPLETE
......@@ -37,5 +37,5 @@ var y = "2";
x = createStringWithRepeatedChar(x, 1 << 12);
y = createStringWithRepeatedChar(y, (1 << 20) + 1);
shouldThrow("x.replace(/\\d/g, y)", '"Error: Out of memory"');
shouldThrow("x.replace(/\\d/g, y)", '"RangeError: Invalid string length"');
var successfullyParsed = true;
......@@ -27,10 +27,6 @@
[
[ALWAYS, {
# BUG(237872). TODO(bmeurer): Investigate.
'string-replacement-outofmemory': [FAIL],
##############################################################################
# Flaky tests.
# BUG(v8:2989).
'dfg-inline-arguments-become-double': [PASS, FAIL],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment