3 <script src=
"../../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../../http/tests/inspector/console-test.js"></script>
9 InspectorTest
.debuggerModel
.addEventListener(WebInspector
.DebuggerModel
.Events
.ParsedScriptSource
, step2
);
10 // evaluateInConsole force InjectedScript.js loading and evaluate script with expression
11 InspectorTest
.evaluateInConsole("console.log(42)");
13 var expectedScriptParsed
= 2;
16 var script
= event
.data
;
17 InspectorTest
.addResult(script
._isInternalScript
? "Internal script" : "Not internal script");
18 --expectedScriptParsed
;
19 if (!expectedScriptParsed
)
20 InspectorTest
.completeTest();
25 <body onload=
"runTest()">
27 Tests that injected script has isInternalScript flag.