[Webkit-unassigned] [Bug 31689] RegExp#exec's returned Array-like object behaves differently from regular Arrays

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 24 11:53:59 PST 2009


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





--- Comment #8 from J Smith <dark.panda+bugs at gmail.com>  2009-11-24 11:53:59 PST ---
Is there anything like the "WebKit Group" or something the copyright could be
assigned to? I have no problems assigning copyright over for a two-liner,
especially if it makes licensing easier...

The test case itself just ensures that the RegExpMatchesArrays that are created
by RegExp#exec insert the "undefined" entries where necessary, whether they're
at the beginning of a match Array, in the middle or the end. It also tests the
"in" operator and forEach function to make sure that the RegExpMatchesArray is
behaving in the same manner as a plain old JavaScript Array. In the end, the
three test functions should test the equivalence of Arrays to
RegExpMatchesArrays with regards to the "in" operator and the forEach function.

I just noticed that I didn't include my forEach function tests, so I should add
those as well.

I'll upload a new patch with the fixes for formatting and my missing forEach
test. For the copyright statement, I'll add it, but I feel rather sheepish for
adding a copyright statement for a two-liner. Again, if there's any group that
accepts copyright assignment on WebKit's behalf, I can certainly assign
copyright over if it's easier for licensing...

(On a somewhat related note with regards to DumpRenderTree, I'm having problems
building that tool and am getting "make: *** No rule to make target
.../Debug/DumpRenderTree" errors. I've only been able to run tests in
LayoutTests manually. Any hints for a WebKit newbie?)

-- 
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