Chromium Code Reviews| Index: Source/devtools/front_end/Tests.js |
| diff --git a/Source/devtools/front_end/Tests.js b/Source/devtools/front_end/Tests.js |
| index b69bea6a041a922e6a90b5ebda5e78711467d360..9427a6fcf10e3f31c43d511e953f10ccce0b75d9 100644 |
| --- a/Source/devtools/front_end/Tests.js |
| +++ b/Source/devtools/front_end/Tests.js |
| @@ -885,12 +885,7 @@ function runTests() |
| new TestSuite().runTest(name); |
| } |
| -var oldLoadCompleted = InspectorFrontendAPI.loadCompleted; |
| -InspectorFrontendAPI.loadCompleted = function() |
| -{ |
| - oldLoadCompleted.call(InspectorFrontendAPI); |
| - runTests(); |
| -} |
| +WebInspector.notifications.addEventListener(WebInspector.NotificationService.Events.InspectorLoadedForTests, runTests); |
|
vsevik
2014/07/29 08:42:15
Can we override WebInspector.app.presentUI instead
dgozman
2014/07/29 08:51:47
We would have to override all the WebInspector.App
|
| })(); |