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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-test.js

Issue 2080963002: Fix inspector layout tests to deal send tab via event sender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-test.js
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-test.js b/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-test.js
index c5b82638c50a02084f738452a033a3d995cffce8..df41f061386635b60f5f1795be211c6a1dde7381 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-test.js
+++ b/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-test.js
@@ -11,7 +11,7 @@ InspectorTest.doAddAttribute = function(testName, dataNodeId, attributeText, nex
function testBody(node, done)
{
var editorElement = InspectorTest.editNodePart(node, "webkit-html-attribute");
- editorElement.dispatchEvent(InspectorTest.createKeyEvent("Tab"));
+ eventSender.keyDown("Tab");
InspectorTest.deprecatedRunAfterPendingDispatches(testContinuation);

Powered by Google App Engine
This is Rietveld 408576698