[Webkit-unassigned] [Bug 45959] String.prototype.replace passes undefined rather than empty string for groups that don't match

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 18 20:47:10 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=45959


Mark Hahnenberg <mhahnenb at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mhahnenb at gmail.com




--- Comment #4 from Mark Hahnenberg <mhahnenb at gmail.com>  2010-09-18 20:47:09 PST ---
Hmm, when I ran the js tests, there was a regression.  Upon investigating further into the file that contained the failing tests, I ran across this bug report from 2007: https://bugs.webkit.org/show_bug.cgi?id=14931.  If you look at the blog post it references, along with some of the proposed patches, it appears as if this bug were undoing what they that bug supposedly fixed.

I'm not really sure which way is the correct way, and the parts of the ECMA-262 spec quoted by the Mozilla bug report above seem to leave this particular detail undefined.  Thoughts?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list