Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Issue 1912973002: [DevTools] JSONView parsing smarter (Closed)

Created:
4 years, 8 months ago by allada
Modified:
4 years, 8 months ago
Reviewers:
lushnikov
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] JSONView parsing smarter [Copy of issue 1838873002 due to bug with bad patch.] JSONView should now be a little more smart in the way it parses data. Users may send many different kinds of JSON and it should still display it to the users. If the JSON is much to far gone to be considered JSON the parser will exit (for example if the user sends things like: {a:5*5} it will not parse it. ie: no arithmics... static content only) BUG=598390 R=lushnikov Committed: https://crrev.com/b3c4942acdf45b1fafbae6955dd544026c2913dd Cr-Commit-Position: refs/heads/master@{#389321}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+841 lines, -240 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/network/json-preview.html View 1 chunk +9 lines, -5 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/inspector/network/network-preview-json.html View 1 chunk +0 lines, -40 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt View 1 chunk +0 lines, -43 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/network/network-json-parser.html View 1 2 1 chunk +159 lines, -15 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/network/network-json-parser-expected.txt View 1 2 2 chunks +303 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/devtools.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/es_tree/ESTreeWalker.js View 2 chunks +19 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/externs.js View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/formatter_worker/FormatterWorker.js View 2 chunks +11 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/formatter_worker/RelaxedJSONParser.js View 1 chunk +201 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/formatter_worker/module.json View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/JSONView.js View 1 2 3 3 chunks +31 lines, -88 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/RequestPreviewView.js View 3 chunks +55 lines, -39 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js View 1 2 3 2 chunks +38 lines, -5 lines 0 comments Download

Messages

Total messages: 23 (12 generated)
allada
PTL
4 years, 8 months ago (2016-04-22 01:13:20 UTC) #1
lushnikov
lgtm, thanks!
4 years, 8 months ago (2016-04-22 01:13:55 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912973002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1912973002/1
4 years, 8 months ago (2016-04-22 01:15:03 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/23352) ios_rel_device_gn on ...
4 years, 8 months ago (2016-04-22 01:17:11 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912973002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1912973002/20001
4 years, 8 months ago (2016-04-22 16:49:06 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/205666) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 8 months ago (2016-04-22 16:51:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912973002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1912973002/40001
4 years, 8 months ago (2016-04-22 18:09:22 UTC) #14
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/devtools/front_end/network/JSONView.js: While running git apply --index -3 -p1; error: patch ...
4 years, 8 months ago (2016-04-22 19:59:46 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912973002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1912973002/80001
4 years, 8 months ago (2016-04-22 22:27:32 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 8 months ago (2016-04-23 00:16:01 UTC) #21
commit-bot: I haz the power
4 years, 8 months ago (2016-04-23 00:17:00 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b3c4942acdf45b1fafbae6955dd544026c2913dd
Cr-Commit-Position: refs/heads/master@{#389321}

Powered by Google App Engine
This is Rietveld 408576698