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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-1/color-aware-property-value-edit.html

Issue 2045603002: Handle the "key" field as opposed to keyIdentifier field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove initialization of the view 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/styles-1/color-aware-property-value-edit.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-1/color-aware-property-value-edit.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-1/color-aware-property-value-edit.html
index ff3fbaec6ceab95d9f8fc7a30359b830310df4e3..1f0002ab45ae9a0f43e4c3458b41895eb0ca4355 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles-1/color-aware-property-value-edit.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-1/color-aware-property-value-edit.html
@@ -70,8 +70,8 @@ function test()
function kicked()
{
- treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent("U+0009", false, false, true));
- treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent("U+0009"));
+ treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent("Tab", false, false, true));
+ treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent("Tab"));
InspectorTest.addResult(treeElement.valueElement.textContent);
next();
}
@@ -93,7 +93,7 @@ function test()
var treeElement = InspectorTest.getElementStylePropertyTreeItem(propertyName);
treeElement.startEditing(treeElement.valueElement);
InspectorTest.addResult(treeElement.valueElement.textContent);
- treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent("U+001B"));
+ treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent("Escape"));
next();
}
}

Powered by Google App Engine
This is Rietveld 408576698