3 <script src=
"inspector-test.js"></script>
4 <script src=
"timeline-test.js"></script>
7 function runAfterScriptIsEvaluated(continuation
)
11 if (!window
.scriptEvaluated
)
12 setTimeout(step
, 100);
16 setTimeout(step
, 100);
21 if (window
.layoutTestController
)
22 layoutTestController
.setTimelineProfilingEnabled(true);
24 var script
= document
.createElement("script");
25 script
.src
= "timeline-script-tag-2.js";
26 document
.body
.appendChild(script
);
28 runAfterScriptIsEvaluated(function() {
29 printTimelineRecords(null, "EvaluateScript");
36 <body onload=
"onload()">
38 Tests the Timeline API instrumentation of a script tag with an external script.