Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: LayoutTests/inspector/sources/debugger/async-operation-events.html

Issue 943963002: DevTools: Refactor nits in DebuggerModel event dispatching. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/sources/debugger/async-operation-events.html
diff --git a/LayoutTests/inspector/sources/debugger/async-operation-events.html b/LayoutTests/inspector/sources/debugger/async-operation-events.html
index f2f69a5d0a073a8ea3abaa5c5561146e2f67f6dd..8c56a38afd87e76681ddfb957e582f911512af01 100644
--- a/LayoutTests/inspector/sources/debugger/async-operation-events.html
+++ b/LayoutTests/inspector/sources/debugger/async-operation-events.html
@@ -80,7 +80,7 @@ function test()
function onAsyncOperationStarted(event)
{
- var operation = event.data.operation;
+ var operation = event.data;
var description = asyncOperationDescription(operation);
asyncOperations[operation.id] = description;
InspectorTest.addResult("==> AsyncOperationStarted: " + description);
@@ -88,7 +88,7 @@ function test()
function onAsyncOperationCompleted(event)
{
- var operationId = event.data.operationId;
+ var operationId = event.data;
InspectorTest.addResult("==> AsyncOperationCompleted: " + asyncOperations[operationId]);
delete asyncOperations[operationId];
}

Powered by Google App Engine
This is Rietveld 408576698