3 <script src=
"../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../tracing-test.js"></script>
8 Runtime
.experiments
.enableForTest("timelineTracingJSProfile");
12 "Script:http://example.com/alina?",
13 "Script:http://example.com/:1",
14 "Script:http://example.com/:1:2",
15 "Script:http://example.com/:1:2:3",
16 "Script:http://example.com/:1:2:3x:4",
17 "Builtin:~foo1 http://url.com/foo.js",
18 "Builtin:~foo2 native http://url.com/foo.js:11",
19 "Builtin:*foo3 http://url.com/foo.js:11:22",
20 "Builtin:foo4 http://url.com/foo.js:11:22:33",
21 "Builtin:~ http://url.com/anonymous.js:123",
22 "Builtin:~ native http://url.com/anonymous.js:123",
23 "Builtin:~function name with spaces http://url.com/bar:123",
24 "Builtin:~native function name with spaces native http://url.com/bar.js:123",
25 "Builtin:~user_function_that_is_not_native http://url.com/bar.js:123",
26 "Builtin:~native http://url.com/bar.js:123"
29 for (var name
of rawNames
) {
30 var frame
= WebInspector
.TimelineJSProfileProcessor
._buildCallFrame(name
, "456");
31 InspectorTest
.addResult(name
+ " => " + [frame
.functionName
, frame
.url
, frame
.scriptId
, frame
.lineNumber
, frame
.columnNumber
, frame
.isNative
].join(","));
34 InspectorTest
.completeTest();
39 <body onload=
"runTest()">