Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / sources / debugger / sources-panel-content-scripts.html
blob57b49edce655c04849c828b8ae5b29f72fd64509
1 <html>
2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script>
6 function createContentScript()
8 testRunner.evaluateScriptInIsolatedWorld(239, "42\n//# sourceURL=239.js");
9 testRunner.evaluateScriptInIsolatedWorld(42, "239\n//# sourceURL=42.js");
11 function test()
13 InspectorTest.evaluateInPage("createContentScript()", step1);
14 function step1()
16 var scripts = InspectorTest.queryScripts(function(script) { return script._isContentScript; });
17 InspectorTest.addResult("Content Scripts:");
18 for (var i = 0; i < scripts.length; ++i) {
19 InspectorTest.addResult("#" + (i + 1) + ":");
20 InspectorTest.addResult(" sourceURL:" + scripts[i].sourceURL);
21 InspectorTest.addResult(" endColumn:" + scripts[i].endColumn);
23 InspectorTest.completeTest();
26 </script>
27 </head>
28 <body onload="runTest()">
29 <p>
30 Tests that content scripts are reported.
31 </p>
32 </body>
33 </html>