| 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..3207b821cc7f17dcaf1977627a77fb2960934409 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.InspectorUILoadedForTests, runTests);
|
|
|
| })();
|
|
|
|
|