DescriptionDevTools: always use CodeMirror for response preview
Currently, the response preview of Network Panel uses CodeMirror for
contents less then ~100Kb and fallbacks to a simple DIV with
word-wrapped text otherwise. The DIV with word-wrapped text might be
very slow to render.
The fallback was implemented in crrev.com/14432002 to avoid text
truncation bug in codeMirror: crbug.com/168052. Nowadays, the bug does
not seem to be reproducible in CodeMirror any more, so it is safe to
use CodeMirror all the time.
BUG=519131
R=pfeldman
Committed: https://crrev.com/bcbae5e5ff246b578c4cd03bb8ded107a60cd3db
Cr-Commit-Position: refs/heads/master@{#356981}
Patch Set 1 #
Messages
Total messages: 10 (3 generated)
|