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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/constructors/keyboard-event-constructor.html

Issue 1700233002: Remove KeyboardEvent.prototype.keyLocation (alias of location) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/LayoutTests/fast/events/constructors/keyboard-event-constructor.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/constructors/keyboard-event-constructor.html b/third_party/WebKit/LayoutTests/fast/events/constructors/keyboard-event-constructor.html
index 254dbc66293c2e158b0ae72cfde63a841c955f2d..3a9f0d3d05e314ea0bb2d82203d73878da95cb3e 100644
--- a/third_party/WebKit/LayoutTests/fast/events/constructors/keyboard-event-constructor.html
+++ b/third_party/WebKit/LayoutTests/fast/events/constructors/keyboard-event-constructor.html
@@ -116,12 +116,6 @@ shouldBe("new KeyboardEvent('eventType', { location: KeyboardEvent.DOM_KEY_LOCAT
shouldBe("new KeyboardEvent('eventType', { location: 4294967294 }).location", "4294967294");
shouldBe("new KeyboardEvent('eventType', { location: 4294967295 }).location", "4294967295");
-// test for deprecated 'keyLocation'.
-shouldBe("new KeyboardEvent('eventType', { keyLocation: 0 }).keyLocation", "0");
-shouldBe("new KeyboardEvent('eventType', { keyLocation: 1 }).keyLocation", "1");
-shouldBe("new KeyboardEvent('eventType', { keyLocation: 1 }).location", "1");
-shouldBe("new KeyboardEvent('eventType', { location: 1 }).keyLocation", "1");
-
// numbers out of the unsigned long range.
// 2^{53}-1, the largest number that can be exactly represented by double.
shouldBe("new KeyboardEvent('eventType', { location: 9007199254740991 }).location", "4294967295");

Powered by Google App Engine
This is Rietveld 408576698