Index: test/webkit/string-replacement-outofmemory-expected.txt |
diff --git a/test/webkit/string-replacement-outofmemory-expected.txt b/test/webkit/string-replacement-outofmemory-expected.txt |
index 68ac217966064a0f0a69e8f6a17c8a09303f6716..946b248ed6829a9e2e26489bfb8b043b40658106 100644 |
--- a/test/webkit/string-replacement-outofmemory-expected.txt |
+++ b/test/webkit/string-replacement-outofmemory-expected.txt |
@@ -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 |