Bug 84699
Summary: | Web Inspector: Remote Debugging Protocol: Browser hangs up trying to send large strings | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ashutosh Sharma <ashutosh> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Major | CC: | apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, vivekgalatage, yurys |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Ashutosh Sharma
When I send the command Debugger.getScriptSource to the browser (launched with --remote-debugging-port=xxxx) with a valid script ID, the browser hangs up (with a 100% CPU usage) if the size of the string to be returned is large. I've seen the browser hanging for sizes of approximately 700,000 bytes and more. The same behavior is observed for any other remote debugging command that requires the browser the to return a large string (e.g. a really long attribute value being fetched via DOM.getAttributes, or a string search being performed in a minified one-line large script via Debugger.searchInContent).
The issue can be reproduced by trying to fetch the source of all scripts on http://www.google.com.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Brian Burg
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests.
Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.