Index: third_party/WebKit/LayoutTests/inspector-protocol/debugger/suspend-setTimeout-on-pause-in-dedicated-worker.html |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/suspend-setTimeout-on-pause-in-dedicated-worker.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/suspend-setTimeout-on-pause-in-dedicated-worker.html |
index 7853e5d287a63c2c7027827ec13781fe826d504f..6730111a910bc857c2fe36671079ddb843db44ff 100644 |
--- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/suspend-setTimeout-on-pause-in-dedicated-worker.html |
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/suspend-setTimeout-on-pause-in-dedicated-worker.html |
@@ -16,14 +16,14 @@ function startWorker() |
function test() |
{ |
- var workerId; |
+ var workerSessionId; |
var workerRequestId = 1; |
function sendCommandToWorker(method, params) |
{ |
var requestId = workerRequestId++; |
InspectorTest.sendCommand("Target.sendMessageToTarget", |
{ |
- "targetId": workerId, |
+ "sessionId": workerSessionId, |
"message": JSON.stringify({ "method": method, |
"params": params, |
"id": requestId }) |
@@ -43,7 +43,7 @@ function test() |
InspectorTest.eventHandler["Target.attachedToTarget"] = function(messageObject) |
{ |
- workerId = messageObject["params"]["targetInfo"]["targetId"]; |
+ workerSessionId = messageObject["params"]["sessionId"]; |
InspectorTest.log("Worker created"); |
sendCommandToWorker("Debugger.enable", {}); |
sendCommandToWorker("Runtime.runIfWaitingForDebugger", {}); |