Index: third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-pause-dedicated-worker.html |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-pause-dedicated-worker.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-pause-dedicated-worker.html |
index 1d33b8d72041bd9f8d090b4e0390e0556248a21c..d9f29146d0305d935b06e1fbca8551eeeea860ba 100644 |
--- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-pause-dedicated-worker.html |
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-pause-dedicated-worker.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", {}); |