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

Unified Diff: LayoutTests/inspector/timeline/timeline-bound-function.html

Issue 461323003: DevTools: Make Timeline tests use only model records (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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: LayoutTests/inspector/timeline/timeline-bound-function.html
diff --git a/LayoutTests/inspector/timeline/timeline-bound-function.html b/LayoutTests/inspector/timeline/timeline-bound-function.html
index 6c31dc3a521753880868a84cb66873fdc81a9800..acf3870f01dadc8a37b77a4dd72408f578bed401 100644
--- a/LayoutTests/inspector/timeline/timeline-bound-function.html
+++ b/LayoutTests/inspector/timeline/timeline-bound-function.html
@@ -22,11 +22,11 @@ function test()
{
function formatter(record)
{
- if (record.type === "FunctionCall") {
- var scriptName = record.data.scriptName;
+ if (record.type() === "FunctionCall") {
+ var scriptName = record.data().scriptName;
var scriptNameShort = scriptName.substring(scriptName.lastIndexOf("/") + 1);
if (scriptNameShort !== "InjectedScript")
- InspectorTest.addResult(record.type + " " + scriptNameShort + ":" + record.data.scriptLine);
+ InspectorTest.addResult(record.type() + " " + scriptNameShort + ":" + record.data().scriptLine);
}
}
InspectorTest.printTimelineRecords(null, formatter);
« no previous file with comments | « LayoutTests/http/tests/inspector/timeline-test.js ('k') | LayoutTests/inspector/timeline/timeline-decode-resize.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698