[Webkit-unassigned] [Bug 153101] Web Inspector: Hangs when logging huge JSON object

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 15 11:02:50 PST 2016


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

--- Comment #4 from Joseph Pecoraro <joepeck at webkit.org> ---
(In reply to comment #3)
> Saam, could you post a JSON string that causes the hang?
> I can take a look at what's going on there.

Hmm, I tried just a large, multiline JSON string and saw a lot of time spent in Layout, but not Regex matching =(:

    <script>
    var arr = [];
    for (var i = 0; i < 1e5; ++i)
        arr.push({something: i});
    console.log(JSON.stringify(arr, null, 2));
    </script>

So, I'm not quite sure. Maybe the output itself has to start matching a particular format.

-- 
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/20160115/892b67f3/attachment.html>


More information about the webkit-unassigned mailing list