| Index: third_party/WebKit/LayoutTests/inspector-protocol/cpu-profiler/console-profile.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/cpu-profiler/console-profile.html b/third_party/WebKit/LayoutTests/inspector-protocol/cpu-profiler/console-profile.html
|
| index af156936f8bc2b23f03d56011ed74d72b08669b8..ad273198d70c3815bd393e2f2aa9e6bd813e2c58 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector-protocol/cpu-profiler/console-profile.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector-protocol/cpu-profiler/console-profile.html
|
| @@ -5,9 +5,9 @@
|
| function collectProfiles()
|
| {
|
| console.profile("outer");
|
| - console.profile("inner");
|
| + console.profile(42);
|
| console.profileEnd("outer");
|
| - console.profileEnd("inner");
|
| + console.profileEnd(42);
|
| }
|
|
|
| function test()
|
| @@ -35,17 +35,17 @@ function test()
|
| if (headers.length !== 2)
|
| return InspectorTest.fail("Cannot retrive headers: " + JSON.stringify(messageObject, null, 4));
|
| for (var i = 0; i < headers.length; i++) {
|
| - if (headers[i].title === "inner") {
|
| + if (headers[i].title === "42") {
|
| checkInnerProfile(headers[i].profile);
|
| return;
|
| }
|
| }
|
| - InspectorTest.fail("Cannot find 'inner' profile header");
|
| + InspectorTest.fail("Cannot find '42' profile header");
|
| }
|
|
|
| function checkInnerProfile(profile)
|
| {
|
| - InspectorTest.log("SUCCESS: retrieved 'inner' profile");
|
| + InspectorTest.log("SUCCESS: retrieved '42' profile");
|
| var root = profile.head;
|
| if (!findFunctionInProfile(root, "collectProfiles"))
|
| return InspectorTest.fail("collectProfiles function not found in the profile: " + JSON.stringify(profile, null, 4));
|
|
|