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

Unified Diff: third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-bottom-up-large-tree-search.html

Issue 2150803002: [DevTools] Add callFrame to CPUProfileNode & SamplingHeapProfileNode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-bottom-up-large-tree-search.html
diff --git a/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-bottom-up-large-tree-search.html b/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-bottom-up-large-tree-search.html
index 5db523ea9d7fa7df5378a5f508d45dd4a6b3f8f0..fdcdaf1d40cfd62e243a2f24f90fca25047cef27 100644
--- a/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-bottom-up-large-tree-search.html
+++ b/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-bottom-up-large-tree-search.html
@@ -15,10 +15,13 @@ function test()
for (var i = count; i > 0; --i) {
var child = node;
node = {
- "functionName": "foo" + i,
- "scriptId": "0",
- "url": "a.js",
- "lineNumber": i,
+ "callFrame":
+ {
+ "functionName": "foo" + i,
+ "scriptId": "0",
+ "url": "a.js",
+ "lineNumber": i
+ },
"hitCount": 10,
"callUID": 10000 + i,
"children": []
@@ -35,18 +38,24 @@ function test()
},
"_profile": {
"head": {
- "functionName": "(root)",
- "scriptId": "0",
- "url": "a.js",
- "lineNumber": 0,
+ "callFrame":
+ {
+ "functionName": "(root)",
+ "scriptId": "0",
+ "url": "a.js",
+ "lineNumber": 0,
+ },
"hitCount": 1,
"callUID": 1000,
"children": [
{
- "functionName": "(idle)",
- "scriptId": "0",
- "url": "a.js",
- "lineNumber": 1,
+ "callFrame":
+ {
+ "functionName": "(idle)",
+ "scriptId": "0",
+ "url": "a.js",
+ "lineNumber": 1
+ },
"hitCount": 2,
"callUID": 2,
"children": []

Powered by Google App Engine
This is Rietveld 408576698