NEW 173627
Web Inspector: Should be able to pause and debug an OutOfMemory Exception
https://bugs.webkit.org/show_bug.cgi?id=173627
Summary Web Inspector: Should be able to pause and debug an OutOfMemory Exception
Joseph Pecoraro
Reported 2017-06-20 17:16:20 PDT
Summary: Should be able to pause and debug an OutOfMemory Exception Test: <script> s = "a"; while (1) s += s; </script> Steps to reproduce: 1. Inspect test page 2. Enable: Pause on All Exceptions 3. Reload the page => Should pause on Out of Memory Exception => Should be able to evaluate in console `s.length` Note: - Currently WebCore is spending time stringifying and sending scope / global variable `s` to the frontend. That should not be necessary.
Attachments
Joseph Pecoraro
Comment 1 2017-06-20 17:26:22 PDT
To address this we should be very careful about sending very large objects (like strings / arrays) to the frontend in one piece.
Radar WebKit Bug Importer
Comment 2 2017-06-20 17:41:02 PDT
Note You need to log in before you can comment on or make changes to this bug.