...
After https://bugs.webkit.org/show_bug.cgi?id=204067, we are always defining "groups" property, but DFG strength reduction does not agree.
Created attachment 383671 [details] Patch
Comment on attachment 383671 [details] Patch r=me. Always creating "groups" including creating an undefined "groups" for str.match() results where there aren't any named capture groups is compliant with the ECMA-262 spec.
(In reply to Michael Saboff from comment #3) > Comment on attachment 383671 [details] > Patch > > r=me. Always creating "groups" including creating an undefined "groups" for > str.match() results where there aren't any named capture groups is compliant > with the ECMA-262 spec. Yes, now it is updated and defining undefined for "groups" if named capture groups do not exist is the spec compliant behavior :)
Committed r252514: <https://trac.webkit.org/changeset/252514>
<rdar://problem/57186234>