Index: third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-setTimeout-sourceUrl-dedicated-worker-loop.html |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-setTimeout-sourceUrl-dedicated-worker-loop.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-setTimeout-sourceUrl-dedicated-worker-loop.html |
index fd20f46d740d29bae107d0f3a5480806a5835201..a2eaf82831fc68924be27f4f5cdb260bda69e559 100644 |
--- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-setTimeout-sourceUrl-dedicated-worker-loop.html |
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-setTimeout-sourceUrl-dedicated-worker-loop.html |
@@ -13,13 +13,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 }) |
@@ -39,7 +39,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"); |
debuggerEnableRequestId = sendCommandToWorker("Debugger.enable", {}); |