| Index: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-pause.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-pause.html b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-pause.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..de7b85cc8015c3047ee046e2d7b678b6d2e966a0
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-pause.html
|
| @@ -0,0 +1,33 @@
|
| +<html>
|
| +<head>
|
| +<script src="../inspector-test.js"></script>
|
| +<script src="../debugger-test.js"></script>
|
| +<script src="service-workers-test.js"></script>
|
| +<script>
|
| +
|
| +function test()
|
| +{
|
| + var scriptURL = "http://127.0.0.1:8000/inspector/service-workers/resources/service-worker-debugger.js";
|
| + var scope = "http://127.0.0.1:8000/inspector/service-workers/resources/scope-debugger/";
|
| +
|
| + InspectorTest.startDebuggerTest(start);
|
| +
|
| + function start()
|
| + {
|
| + InspectorTest.waitUntilPaused(onPaused);
|
| + InspectorTest.registerServiceWorker(scriptURL, scope);
|
| + }
|
| +
|
| + function onPaused(frames, reason, breakpointIds, async)
|
| + {
|
| + InspectorTest.captureStackTrace(frames, async);
|
| + InspectorTest.completeDebuggerTest();
|
| + }
|
| +}
|
| +
|
| +</script>
|
| +</head>
|
| +<body onload="runTest()">
|
| +<p>Tests that we can pause in service worker.</p>
|
| +</body>
|
| +</html>
|
|
|