Increase the depth limit of JSONParser and IPC serialization from 100 to 200.
This impacts extension APIs and the debug protocol. Some webpages
have over 100 levels of nested elements. Some internal representations
further use 2 levels per node to represent the DOM data (e.g. one
DictionaryValue for the node and a ListValue containing the children.)
The affected APIs fail silently when this limit is reached.
Percentiles over ~90M random pages:
Max depth: go/html-depth
Iframes found at depth: go/html-iframe-depth
To support 99.9% of pages we need (62 + 35) * 2 == 194 levels of nesting.
BUG=673263
Review-Url: https://codereview.chromium.org/2570113002
Cr-Commit-Position: refs/heads/master@{#442542}
CrOS-Libchrome-Original-Commit: 383b174a3c321fc6963c50515745d559222ba709
3 files changed