DescriptionReturn error on JSON request failures
Previously on a TracingController error, OnBeginRequest returns false,
and then WebUIDataSource will return the default resource (tracing.html).
This will cause a successful XHR request and a JSON parse failure in
tracing frontend code. Return "##ERROR##" to express the error so that
the frontend can handle the error.
BUG=331286
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243162
Patch Set 1 #
Total comments: 2
Messages
Total messages: 6 (0 generated)
|