Bug 173627
| Summary: | Web Inspector: Should be able to pause and debug an OutOfMemory Exception | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | inspector-bugzilla-changes, joepeck, mark.lam, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Joseph Pecoraro
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Joseph Pecoraro
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
<rdar://problem/32887734>