| OLD | NEW |
| 1 var UnitTest = {}; | 1 var UnitTest = {}; |
| 2 (function() | 2 (function() |
| 3 { | 3 { |
| 4 var oldLoadResourcePromise = Runtime.loadResourcePromise; | 4 var oldLoadResourcePromise = Runtime.loadResourcePromise; |
| 5 Runtime.loadResourcePromise = function(url) | 5 Runtime.loadResourcePromise = function(url) |
| 6 { | 6 { |
| 7 if (url.startsWith("/")) | 7 if (url.startsWith("/")) |
| 8 return oldLoadResourcePromise(url); | 8 return oldLoadResourcePromise(url); |
| 9 | 9 |
| 10 if (!url.startsWith("http://")) | 10 if (!url.startsWith("http://")) |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 WebInspector.initializeUIUtils(document, WebInspector.settings.createSet
ting("uiTheme", "default")); | 100 WebInspector.initializeUIUtils(document, WebInspector.settings.createSet
ting("uiTheme", "default")); |
| 101 | 101 |
| 102 WebInspector.zoomManager = new WebInspector.ZoomManager(window, Inspecto
rFrontendHost); | 102 WebInspector.zoomManager = new WebInspector.ZoomManager(window, Inspecto
rFrontendHost); |
| 103 WebInspector.inspectorView = WebInspector.InspectorView.instance(); | 103 WebInspector.inspectorView = WebInspector.InspectorView.instance(); |
| 104 WebInspector.ContextMenu.initialize(); | 104 WebInspector.ContextMenu.initialize(); |
| 105 WebInspector.ContextMenu.installHandler(document); | 105 WebInspector.ContextMenu.installHandler(document); |
| 106 WebInspector.Tooltip.installHandler(document); | 106 WebInspector.Tooltip.installHandler(document); |
| 107 | 107 |
| 108 var rootView = new WebInspector.RootView(); | 108 var rootView = new WebInspector.RootView(); |
| 109 WebInspector.inspectorView.show(rootView.element); | 109 WebInspector.inspectorView.show(rootView.element); |
| 110 WebInspector.inspectorView.showInitialPanel(); | |
| 111 rootView.attachToDocument(document); | 110 rootView.attachToDocument(document); |
| 112 | 111 |
| 113 test(); | 112 test(); |
| 114 } | 113 } |
| 115 })(); | 114 })(); |
| OLD | NEW |