4 <script type="text/javascript" src="../../http/tests/inspector-protocol/resources/protocol-test.js"></script>
8 InspectorTest.initializeInspectorModels();
10 WebInspector.frameResourceManager.addEventListener(WebInspector.FrameResourceManager.Event.MainFrameDidChange, function(event) {
11 var url = WebInspector.frameResourceManager.mainFrame.url;
12 InspectorTest.log("Main frame: " + url.substring(url.lastIndexOf("/") + 1));
13 InspectorTest.completeTest();
18 <body onload="runTest()">
19 <p>Testing that the inspector scripts are loaded and the main frame URL can be received.</p>