| 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 58e5dbad34ef3948348886024b38ea76f371fe48..f80e84c539c2c2aaadce28effe4399184431daf6 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
|
| @@ -938,6 +938,17 @@ InspectorTest.isServiceWorker = function(target)
|
| return target && !target.hasBrowserCapability() && !target.hasJSCapability() && target.hasNetworkCapability() && target.hasWorkerCapability();
|
| }
|
|
|
| +InspectorTest.describeTargetType = function(target)
|
| +{
|
| + if (InspectorTest.isDedicatedWorker(target))
|
| + return "worker";
|
| + if (InspectorTest.isServiceWorker(target))
|
| + return "service-worker";
|
| + if (!target.parentTarget())
|
| + return "page";
|
| + return "frame";
|
| +}
|
| +
|
| }; // initialize_InspectorTest
|
|
|
| var initializeCallId = 0;
|
|
|