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

Unified Diff: LayoutTests/http/tests/resources/pointer-lock/iframe-common.js

Issue 266533004: Create unprefixed versions of pointerlockchange & pointerlockerror events. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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: LayoutTests/http/tests/resources/pointer-lock/iframe-common.js
diff --git a/LayoutTests/http/tests/resources/pointer-lock/iframe-common.js b/LayoutTests/http/tests/resources/pointer-lock/iframe-common.js
index 2190747aab753450435397685dcefb6b9432e4ce..34589cd4f36956070157913ad082c90ac478e42b 100644
--- a/LayoutTests/http/tests/resources/pointer-lock/iframe-common.js
+++ b/LayoutTests/http/tests/resources/pointer-lock/iframe-common.js
@@ -18,10 +18,10 @@ window.onmessage = function (messageEvent) {
}
}
-document.onwebkitpointerlockchange = function () {
- parent.postMessage(thisFileName() + " onwebkitpointerlockchange, document.webkitPointerLockElement = " + document.webkitPointerLockElement, "*");
+document.onpointerlockchange = function () {
+ parent.postMessage(thisFileName() + " onpointerlockchange, document.webkitPointerLockElement = " + document.webkitPointerLockElement, "*");
}
-document.onwebkitpointerlockerror = function () {
- parent.postMessage(thisFileName() + " onwebkitpointerlockerror", "*");
+document.onpointerlockerror = function () {
+ parent.postMessage(thisFileName() + " onpointerlockerror", "*");
}

Powered by Google App Engine
This is Rietveld 408576698