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

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

Issue 1769273004: Remove V8RecrusionScope, cleanup call sites. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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
1 var initialize_Timeline = function() { 8 var initialize_Timeline = function() {
2 9
3 InspectorTest.preloadPanel("timeline"); 10 InspectorTest.preloadPanel("timeline");
4 WebInspector.TempFile = InspectorTest.TempFileMock; 11 WebInspector.TempFile = InspectorTest.TempFileMock;
5 12
6 // Scrub values when printing out these properties in the record or data field. 13 // Scrub values when printing out these properties in the record or data field.
7 InspectorTest.timelinePropertyFormatters = { 14 InspectorTest.timelinePropertyFormatters = {
8 children: "formatAsTypeName", 15 children: "formatAsTypeName",
9 endTime: "formatAsTypeName", 16 endTime: "formatAsTypeName",
10 requestId: "formatAsTypeName", 17 requestId: "formatAsTypeName",
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 if (!--count) { 465 if (!--count) {
459 callback(); 466 callback();
460 return; 467 return;
461 } 468 }
462 if (window.testRunner) 469 if (window.testRunner)
463 testRunner.capturePixelsAsyncThen(requestAnimationFrame.bind(window, makeFrame)); 470 testRunner.capturePixelsAsyncThen(requestAnimationFrame.bind(window, makeFrame));
464 else 471 else
465 window.requestAnimationFrame(makeFrame); 472 window.requestAnimationFrame(makeFrame);
466 } 473 }
467 } 474 }
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