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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/timeline-test.js

Issue 1804043002: Revert of Remove V8RecrusionScope, cleanup call sites. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 function wrapCallFunctionForTimeline(f)
2 {
3 var script = document.createElement("script");
4 script.textContent = "(" + f.toString() + ")()\n//# sourceURL=wrapCallFuncti onForTimeline.js";
5 document.body.appendChild(script);
6 }
7
8 var initialize_Timeline = function() { 1 var initialize_Timeline = function() {
9 2
10 InspectorTest.preloadPanel("timeline"); 3 InspectorTest.preloadPanel("timeline");
11 WebInspector.TempFile = InspectorTest.TempFileMock; 4 WebInspector.TempFile = InspectorTest.TempFileMock;
12 5
13 // Scrub values when printing out these properties in the record or data field. 6 // Scrub values when printing out these properties in the record or data field.
14 InspectorTest.timelinePropertyFormatters = { 7 InspectorTest.timelinePropertyFormatters = {
15 children: "formatAsTypeName", 8 children: "formatAsTypeName",
16 endTime: "formatAsTypeName", 9 endTime: "formatAsTypeName",
17 requestId: "formatAsTypeName", 10 requestId: "formatAsTypeName",
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 if (!--count) { 458 if (!--count) {
466 callback(); 459 callback();
467 return; 460 return;
468 } 461 }
469 if (window.testRunner) 462 if (window.testRunner)
470 testRunner.capturePixelsAsyncThen(requestAnimationFrame.bind(window, makeFrame)); 463 testRunner.capturePixelsAsyncThen(requestAnimationFrame.bind(window, makeFrame));
471 else 464 else
472 window.requestAnimationFrame(makeFrame); 465 window.requestAnimationFrame(makeFrame);
473 } 466 }
474 } 467 }
OLDNEW
« no previous file with comments | « extensions/renderer/v8_helpers.h ('k') | third_party/WebKit/LayoutTests/inspector-protocol/timeline/fetch-as-stream.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698