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

Issue 2022673002: DevTools: Fix Maximum call stack size exceeded error while retrieving CPU profile. (Closed)

Created:
4 years, 6 months ago by alph
Modified:
4 years, 6 months ago
Reviewers:
pfeldman
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, caseq+blink_chromium.org, Peter Beverloo, jam, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, darin-cc_chromium.org, pfeldman, devtools-reviews_chromium.org, blink-reviews, apavlov+blink_chromium.org, mkwst+moarreviews-shell_chromium.org, sergeyv+blink_chromium.org, jochen+watch_chromium.org, 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: Fix Maximum call stack size exceeded error while retrieving CPU profile. Do not pass object literals into dispatchMessage API. Always turn it into a string. BUG=614860 Committed: https://crrev.com/a2b2954002b9f46a902bb23ed6a11ba4c0604096 Cr-Commit-Position: refs/heads/master@{#396633}

Patch Set 1 #

Total comments: 2

Patch Set 2 : make it more generic #

Total comments: 2

Patch Set 3 : Use EscapeJSONString #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -8 lines) Patch
M chrome/browser/devtools/devtools_ui_bindings.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M content/shell/browser/shell_devtools_frontend.cc View 1 2 2 chunks +10 lines, -6 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
alph
4 years, 6 months ago (2016-05-28 01:37:50 UTC) #2
pfeldman
https://codereview.chromium.org/2022673002/diff/1/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-deep-nesting.html File third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-deep-nesting.html (right): https://codereview.chromium.org/2022673002/diff/1/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-deep-nesting.html#newcode23 third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-deep-nesting.html:23: InspectorTest.evaluateInPage("f = d => d ? f(d - 1) ...
4 years, 6 months ago (2016-05-28 01:43:14 UTC) #3
alph
ptal https://codereview.chromium.org/2022673002/diff/1/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-deep-nesting.html File third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-deep-nesting.html (right): https://codereview.chromium.org/2022673002/diff/1/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-deep-nesting.html#newcode23 third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-deep-nesting.html:23: InspectorTest.evaluateInPage("f = d => d ? f(d - ...
4 years, 6 months ago (2016-05-28 02:21:52 UTC) #5
pfeldman
https://codereview.chromium.org/2022673002/diff/20001/content/shell/browser/shell_devtools_frontend.cc File content/shell/browser/shell_devtools_frontend.cc (right): https://codereview.chromium.org/2022673002/diff/20001/content/shell/browser/shell_devtools_frontend.cc#newcode274 content/shell/browser/shell_devtools_frontend.cc:274: base::JSONWriter::Write(base::StringValue(message), &param); EscapeJSONString
4 years, 6 months ago (2016-05-28 02:26:03 UTC) #6
pfeldman
lgtm
4 years, 6 months ago (2016-05-28 02:26:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2022673002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2022673002/40001
4 years, 6 months ago (2016-05-28 02:36:57 UTC) #10
alph
https://codereview.chromium.org/2022673002/diff/20001/content/shell/browser/shell_devtools_frontend.cc File content/shell/browser/shell_devtools_frontend.cc (right): https://codereview.chromium.org/2022673002/diff/20001/content/shell/browser/shell_devtools_frontend.cc#newcode274 content/shell/browser/shell_devtools_frontend.cc:274: base::JSONWriter::Write(base::StringValue(message), &param); On 2016/05/28 02:26:03, pfeldman wrote: > EscapeJSONString ...
4 years, 6 months ago (2016-05-28 02:37:03 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-05-28 04:06:27 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-05-28 04:07:55 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a2b2954002b9f46a902bb23ed6a11ba4c0604096
Cr-Commit-Position: refs/heads/master@{#396633}

Powered by Google App Engine
This is Rietveld 408576698