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

Unified Diff: LayoutTests/inspector-protocol/timeline/timeline-dispatchEvent.html

Issue 366953002: DevTools: Put EventDispatch type into the data object. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated EventDispatch in LocalDOMWindow.cpp + Updated the test Created 6 years, 6 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
« no previous file with comments | « no previous file | Source/core/events/EventDispatcher.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector-protocol/timeline/timeline-dispatchEvent.html
diff --git a/LayoutTests/inspector-protocol/timeline/timeline-dispatchEvent.html b/LayoutTests/inspector-protocol/timeline/timeline-dispatchEvent.html
index 1302ac55f2281c46eacd3c5598957e3e61f04f77..586aad58069f616f3b65641e36fc5e4db02c141c 100644
--- a/LayoutTests/inspector-protocol/timeline/timeline-dispatchEvent.html
+++ b/LayoutTests/inspector-protocol/timeline/timeline-dispatchEvent.html
@@ -46,7 +46,7 @@ function test()
function windowEventFilter(type, e)
{
- return e.name === "EventDispatch" && e.args.type === type;
+ return e.name === "EventDispatch" && e.args.data.type === type;
};
var windowEventNames = [ "click", "beforeunload", "unload", "load" ];
@@ -68,7 +68,7 @@ function test()
{
var formattedEvents = devtoolsEvents.map(function(e)
{
- return e.name + "(" + e.args.type + ")";
+ return e.name + "(" + e.args.data.type + ")";
});
InspectorTest.log("FAIL: " + message + " devtools.timeline events: " + JSON.stringify(formattedEvents, null, 2));
}
« no previous file with comments | « no previous file | Source/core/events/EventDispatcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698