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

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

Issue 2671623003: DevTools: rebaseline tracing tests (Closed)
Patch Set: rebaseline Created 3 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/tests/OWNERS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 function wrapCallFunctionForTimeline(f) 1 function wrapCallFunctionForTimeline(f)
2 { 2 {
3 var script = document.createElement("script"); 3 var script = document.createElement("script");
4 script.textContent = "(" + f.toString() + ")()\n//# sourceURL=wrapCallFuncti onForTimeline.js"; 4 script.textContent = "(" + f.toString() + ")()\n//# sourceURL=wrapCallFuncti onForTimeline.js";
5 document.body.appendChild(script); 5 document.body.appendChild(script);
6 } 6 }
7 7
8 var initialize_Timeline = function() { 8 var initialize_Timeline = function() {
9 9
10 InspectorTest.preloadPanel("timeline"); 10 InspectorTest.preloadPanel("timeline");
(...skipping 23 matching lines...) Expand all
34 encodedDataLength: "formatAsTypeName", 34 encodedDataLength: "formatAsTypeName",
35 identifier: "formatAsTypeName", 35 identifier: "formatAsTypeName",
36 clip: "formatAsTypeName", 36 clip: "formatAsTypeName",
37 root: "formatAsTypeName", 37 root: "formatAsTypeName",
38 backendNodeId: "formatAsTypeName", 38 backendNodeId: "formatAsTypeName",
39 nodeId: "formatAsTypeName", 39 nodeId: "formatAsTypeName",
40 rootNode: "formatAsTypeName", 40 rootNode: "formatAsTypeName",
41 finishTime: "formatAsTypeName", 41 finishTime: "formatAsTypeName",
42 thread: "formatAsTypeName", 42 thread: "formatAsTypeName",
43 allottedMilliseconds: "formatAsTypeName", 43 allottedMilliseconds: "formatAsTypeName",
44 timedOut: "formatAsTypeName" 44 timedOut: "formatAsTypeName",
45 networkTime: "formatAsTypeName",
45 }; 46 };
46 47
47 InspectorTest.InvalidationFormatters = { 48 InspectorTest.InvalidationFormatters = {
48 _tracingEvent: "skip", 49 _tracingEvent: "skip",
49 cause: "formatAsInvalidationCause", 50 cause: "formatAsInvalidationCause",
50 frame: "skip", 51 frame: "skip",
51 invalidatedSelectorId: "skip", 52 invalidatedSelectorId: "skip",
52 invalidationList: "skip", 53 invalidationList: "skip",
53 invalidationSet: "skip", 54 invalidationSet: "skip",
54 linkedRecalcStyleEvent: "skip", 55 linkedRecalcStyleEvent: "skip",
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 function waitForFrame() 442 function waitForFrame()
442 { 443 {
443 var callback; 444 var callback;
444 var promise = new Promise((fulfill) => callback = fulfill); 445 var promise = new Promise((fulfill) => callback = fulfill);
445 if (window.testRunner) 446 if (window.testRunner)
446 testRunner.capturePixelsAsyncThen(() => window.requestAnimationFrame(cal lback)); 447 testRunner.capturePixelsAsyncThen(() => window.requestAnimationFrame(cal lback));
447 else 448 else
448 window.requestAnimationFrame(callback); 449 window.requestAnimationFrame(callback);
449 return promise; 450 return promise;
450 } 451 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/tests/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698