| Index: third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-pause-dedicated-worker-loop.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-pause-dedicated-worker-loop.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-pause-dedicated-worker-loop.html
|
| index 5d3c19d1c1608adc8d0f3d7fbb2bbb478e2fab50..c336ad59fc0d2015b640ed6c497e2dcba419e024 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-pause-dedicated-worker-loop.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-pause-dedicated-worker-loop.html
|
| @@ -18,13 +18,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 })
|
| @@ -45,7 +45,7 @@ function test()
|
| var debuggerEnableRequestId = -1;
|
| InspectorTest.eventHandler["Target.attachedToTarget"] = function(messageObject)
|
| {
|
| - workerId = messageObject["params"]["targetInfo"]["targetId"];
|
| + workerSessionId = messageObject["params"]["sessionId"];
|
| InspectorTest.log("Worker created");
|
| InspectorTest.log("didConnectToWorker");
|
| // Enable debugger so that V8 can interrupt and handle inspector commands while there is a script running in a tight loop.
|
|
|