-
achicu@adobe.com authored
https://bugs.webkit.org/show_bug.cgi?id=123223 Reviewed by Timothy Hatcher. Source/WebInspectorUI: Moved some global functions out of Main.js, so that they can be used in the layout tests without including Main.js. * UserInterface/Main.html: Referenced the new JS files. * UserInterface/Main.js: * UserInterface/MessageDispatcher.js: Added. (WebInspector.dispatchNextQueuedMessageFromBackend): (WebInspector.dispatchMessageFromBackend): * UserInterface/URLUtilities.js: Added. (removeURLFragment): (relativePath): (parseURL): (absoluteURL): (parseLocationQueryParameters): (parseQueryString): (WebInspector.displayNameForURL): (WebInspector.displayNameForHost): * UserInterface/Utilities.js: LayoutTests: Added the first new WebInspector layout test file. The test is using InspectorTest.importInspectorScripts to bootstrap some of the managers/observers/models from the new WebInspector. * http/tests/inspector-protocol/resources/InspectorTest.js: (InspectorTest.importScript): (InspectorTest.importInspectorScripts): * inspector-protocol/model/main-frame-resource-expected.txt: Added. * inspector-protocol/model/main-frame-resource.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157938 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1a45048e