[Webkit-unassigned] [Bug 157968] New: REGRESSION(?): String.prototype.replace fails used many times with different replace values
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 20 21:30:37 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=157968
Bug ID: 157968
Summary: REGRESSION(?): String.prototype.replace fails used
many times with different replace values
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: joepeck at webkit.org
CC: benjamin at webkit.org, fpizlo at apple.com,
ggaren at apple.com, keith_miller at apple.com,
mark.lam at apple.com, msaboff at apple.com
* SUMMARY
String.prototype.replace fails used many times with different replace values.
* TEST
<script>
(function() {
var result = "foo".replace(/f/g, "");
if (result != "oo")
throw "Error: bad result: "+ result;
for (var i = 0; i < 100000; ++i)
result = "foo".replace(/f/g, 42);
if (result != "42oo")
throw "Error: bad result: "+ result;
})();
</script>
* STEPS TO REPRODUCE
1. Run test
=> Unexpected Exception, test should not have an exception
=> The Error is: "Error: bad result: oo"
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160521/3b1da647/attachment.html>
More information about the webkit-unassigned
mailing list