Chromium Code Reviews

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-3/styles-cancel-editing.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.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/LayoutTests/inspector/elements/styles-3/styles-cancel-editing.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-3/styles-cancel-editing.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-3/styles-cancel-editing.html
index 8c55acfedc10befedda6357e3f249938b9ad4257..6d23361e7951dfbb373f73819d67d2197a47108f 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles-3/styles-cancel-editing.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-3/styles-cancel-editing.html
@@ -30,7 +30,7 @@ function test()
function onStyleApplied()
{
- treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent("U+001B")); // Escape
+ treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent("Escape"));
InspectorTest.waitForStyleApplied(onStyleReverted);
}

Powered by Google App Engine