| Index: third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-terminate-dedicated-worker-while-paused.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-terminate-dedicated-worker-while-paused.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-terminate-dedicated-worker-while-paused.html
|
| index 3919a0f5f5bb3d9e155da5c2c88858cc6d7c387a..d33d4b1ee3276611d6abb895340513fc87bf9e5c 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-terminate-dedicated-worker-while-paused.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-terminate-dedicated-worker-while-paused.html
|
| @@ -19,13 +19,13 @@ function startWorkerAndRunTest()
|
| function test()
|
| {
|
|
|
| - var workerId;
|
| + var workerSessionId;
|
| var workerRequestId = 1;
|
| function sendCommandToWorker(method, params)
|
| {
|
| InspectorTest.sendCommand("Target.sendMessageToTarget",
|
| {
|
| - "targetId": workerId,
|
| + "sessionId": workerSessionId,
|
| "message": JSON.stringify({ "method": method,
|
| "params": params,
|
| "id": workerRequestId++ })
|
| @@ -44,7 +44,7 @@ function test()
|
|
|
| InspectorTest.eventHandler["Target.attachedToTarget"] = function(messageObject)
|
| {
|
| - workerId = messageObject["params"]["targetInfo"]["targetId"];
|
| + workerSessionId = messageObject["params"]["sessionId"];
|
| InspectorTest.log("Worker created");
|
| InspectorTest.log("didConnectToWorker");
|
| sendCommandToWorker("Debugger.enable", {});
|
|
|