Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(85)

Issue 1163523002: DevTools: remove hand-written optimistic JSON parser introduced in r183821. (Closed)

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

Description

DevTools: remove hand-written optimistic JSON parser introduced in r183821. BUG=406900 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196688

Patch Set 1 #

Patch Set 2 : with more test cases #

Total comments: 4

Patch Set 3 : for landing #

Patch Set 4 : bringing relaxed parser back #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -18 lines) Patch
M LayoutTests/http/tests/inspector/network/network-preview-json.html View 1 2 3 1 chunk +5 lines, -4 lines 0 comments Download
M LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt View 1 2 3 2 chunks +11 lines, -5 lines 0 comments Download
M Source/devtools/front_end/network/RequestJSONView.js View 1 2 3 1 chunk +10 lines, -9 lines 0 comments Download

Messages

Total messages: 30 (12 generated)
pfeldman
4 years, 11 months ago (2015-05-28 08:09:40 UTC) #2
pfeldman
PTAL
4 years, 11 months ago (2015-05-28 08:19:41 UTC) #3
yurys
I'm curious why this is being removed. Could you add this into the CL's description?
4 years, 11 months ago (2015-05-28 10:04:18 UTC) #5
pfeldman
I was improving the json detection heuristics and could not figure out why we needed ...
4 years, 11 months ago (2015-05-28 10:43:23 UTC) #6
dgozman
I agree that we should put the reasoning into change description. Even bug does not ...
4 years, 11 months ago (2015-05-28 11:12:43 UTC) #7
pfeldman
https://codereview.chromium.org/1163523002/diff/20001/Source/devtools/front_end/network/RequestJSONView.js File Source/devtools/front_end/network/RequestJSONView.js (right): https://codereview.chromium.org/1163523002/diff/20001/Source/devtools/front_end/network/RequestJSONView.js#newcode66 Source/devtools/front_end/network/RequestJSONView.js:66: if (suffix.length && !suffix.trim().startsWith(")")) "while (1) [1, 2]" is ...
4 years, 11 months ago (2015-05-28 11:27:01 UTC) #8
dgozman
https://codereview.chromium.org/1163523002/diff/20001/Source/devtools/front_end/network/RequestJSONView.js File Source/devtools/front_end/network/RequestJSONView.js (right): https://codereview.chromium.org/1163523002/diff/20001/Source/devtools/front_end/network/RequestJSONView.js#newcode66 Source/devtools/front_end/network/RequestJSONView.js:66: if (suffix.length && !suffix.trim().startsWith(")")) On 2015/05/28 11:27:01, pfeldman wrote: ...
4 years, 11 months ago (2015-05-28 11:41:31 UTC) #9
pfeldman
"while (1 [1,2,3,4]" would also work fine :-)
4 years, 11 months ago (2015-05-28 11:58:11 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1163523002/40001
4 years, 11 months ago (2015-05-28 14:28:05 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/63652)
4 years, 11 months ago (2015-05-28 16:07:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1163523002/40001
4 years, 11 months ago (2015-05-29 09:56:47 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/63871)
4 years, 11 months ago (2015-05-29 11:59:16 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1163523002/60001
4 years, 11 months ago (2015-06-05 15:40:04 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/65478)
4 years, 11 months ago (2015-06-05 19:17:12 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1163523002/60001
4 years, 10 months ago (2015-06-08 17:12:34 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://src.chromium.org/viewvc/blink?view=rev&revision=196688
4 years, 10 months ago (2015-06-08 18:05:56 UTC) #27
PhistucK
I believe it was added in order to support the malformed JSON that GMail uses ...
4 years, 10 months ago (2015-06-09 07:43:19 UTC) #28
PhistucK
4 years, 10 months ago (2015-06-09 07:44:01 UTC) #30
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698