| Index: third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-evaluate-in-worker-while-pause-in-page.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-evaluate-in-worker-while-pause-in-page.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-evaluate-in-worker-while-pause-in-page.html
|
| index ddae33241a2a7b938a27b9a5faf6c5ca3af2ea28..3e27aa1a6bb3da4a583ef20966ad2bcc515cf697 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-evaluate-in-worker-while-pause-in-page.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-evaluate-in-worker-while-pause-in-page.html
|
| @@ -21,14 +21,14 @@ 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 })
|
| @@ -57,7 +57,7 @@ function test()
|
| var savedWorkerRequestId = -1;
|
| InspectorTest.eventHandler["Target.attachedToTarget"] = function(messageObject)
|
| {
|
| - workerId = messageObject["params"]["targetInfo"]["targetId"];
|
| + workerSessionId = messageObject["params"]["sessionId"];
|
| InspectorTest.log("Worker created");
|
| InspectorTest.log("didConnectToWorker");
|
| savedWorkerRequestId = sendCommandToWorker("Runtime.evaluate", { "expression": "1+1"});
|
|
|