[Webkit-unassigned] [Bug 207755] bugzilla code-review.js: RangeError: too many arguments provided for a function call

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 14 06:50:12 PST 2020


--- Comment #3 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
something like this seems to workaround the RangeError issue

- $('.Line').each(idify).each(hoverify);
+  var line_elements = document.getElementsByClassName('Line');
+   for (var i = 0; i < line_elements.length; i++)
+     jQuery(line_elements[i]).each(idify).each(hoverify);

But chrome ends crashing anyway :\

Didn't tried with other browser because its much harder to edit/test JS live.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200214/3238a1e1/attachment.htm>

More information about the webkit-unassigned mailing list