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

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

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-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/events/constructors/keyboard-event-constructor-expected.txt b/third_party/WebKit/LayoutTests/fast/events/constructors/keyboard-event-constructor-expected.txt
index 4139ce2c4a8652719675f6cc8fc389b271f2f69f..cf4de96de540826c6dea901c1e9d2908c8a51716 100644
--- a/third_party/WebKit/LayoutTests/fast/events/constructors/keyboard-event-constructor-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/events/constructors/keyboard-event-constructor-expected.txt
@@ -1,4 +1,3 @@
-CONSOLE WARNING: 'KeyboardEvent.keyLocation' is deprecated and will be removed in M50, around April 2016. Please use 'KeyboardEvent.location' instead. See https://www.chromestatus.com/features/4997403308457984 for more details.
This tests the constructor for the KeyboardEvent DOM class.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -79,10 +78,6 @@ PASS new KeyboardEvent('eventType', { location: KeyboardEvent.DOM_KEY_LOCATION_S
PASS new KeyboardEvent('eventType', { location: KeyboardEvent.DOM_KEY_LOCATION_LEFT }).location is KeyboardEvent.DOM_KEY_LOCATION_LEFT
PASS new KeyboardEvent('eventType', { location: 4294967294 }).location is 4294967294
PASS new KeyboardEvent('eventType', { location: 4294967295 }).location is 4294967295
-PASS new KeyboardEvent('eventType', { keyLocation: 0 }).keyLocation is 0
-PASS new KeyboardEvent('eventType', { keyLocation: 1 }).keyLocation is 1
-PASS new KeyboardEvent('eventType', { keyLocation: 1 }).location is 1
-PASS new KeyboardEvent('eventType', { location: 1 }).keyLocation is 1
PASS new KeyboardEvent('eventType', { location: 9007199254740991 }).location is 4294967295
PASS new KeyboardEvent('eventType', { location: 18446744073709551615 }).location is KeyboardEvent.DOM_KEY_LOCATION_STANDARD
PASS new KeyboardEvent('eventType', { location: 12345678901234567890 }).location is 3944679424

Powered by Google App Engine
This is Rietveld 408576698