Revision: 21331
Author: [email protected]
Date: Thu May 15 12:46:32 2014 UTC
Log: Adapt test expectations in webkit.
[email protected]
Review URL: https://codereview.chromium.org/288163003
http://code.google.com/p/v8/source/detail?r=21331
Modified:
/branches/bleeding_edge/test/webkit/string-replacement-outofmemory-expected.txt
/branches/bleeding_edge/test/webkit/string-replacement-outofmemory.js
/branches/bleeding_edge/test/webkit/webkit.status
=======================================
---
/branches/bleeding_edge/test/webkit/string-replacement-outofmemory-expected.txt
Fri Jan 31 14:31:43 2014 UTC
+++
/branches/bleeding_edge/test/webkit/string-replacement-outofmemory-expected.txt
Thu May 15 12:46:32 2014 UTC
@@ -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
=======================================
--- /branches/bleeding_edge/test/webkit/string-replacement-outofmemory.js
Fri Jan 31 14:31:43 2014 UTC
+++ /branches/bleeding_edge/test/webkit/string-replacement-outofmemory.js
Thu May 15 12:46:32 2014 UTC
@@ -37,5 +37,5 @@
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;
=======================================
--- /branches/bleeding_edge/test/webkit/webkit.status Tue May 6 14:48:34
2014 UTC
+++ /branches/bleeding_edge/test/webkit/webkit.status Thu May 15 12:46:32
2014 UTC
@@ -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],
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.