Index: third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-step-into-dedicated-worker.html |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-step-into-dedicated-worker.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-step-into-dedicated-worker.html |
index 6822980e32e778575da0fd1d3ddc5f949978694e..a3898d1637c7f1d16f2d323bcba6f9ee2fcdaa40 100644 |
--- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-step-into-dedicated-worker.html |
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-step-into-dedicated-worker.html |
@@ -16,13 +16,13 @@ function startWorker() |
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++ }) |
@@ -41,7 +41,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", {}); |