| Index: third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
|
| index c21526c4ae18917079498cd5091690d510057eda..36333f67b56d9c5729d7d62c16bf7e299f76132a 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
|
| @@ -998,7 +998,17 @@ InspectorTest.preloadModule = function(moduleName)
|
| InspectorTest._modulesToPreload.push(moduleName);
|
| }
|
|
|
| -}; // initialize_InspectorTest
|
| +InspectorTest.isDedicatedWorker = function(target)
|
| +{
|
| + return target && !target.hasBrowserCapability() && target.hasJSCapability() && !target.hasNetworkCapability() && !target.hasWorkerCapability();
|
| +}
|
| +
|
| +InspectorTest.isServiceWorker = function(target)
|
| +{
|
| + return target && !target.hasBrowserCapability() && !target.hasJSCapability() && target.hasNetworkCapability() && target.hasWorkerCapability();
|
| +}
|
| +
|
| + }; // initialize_InspectorTest
|
|
|
| var initializeCallId = 0;
|
| var runTestCallId = 1;
|
|
|