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

Unified Diff: LayoutTests/pointer-lock/bug90391-move-then-window-open-crash.html

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/pointer-lock/bug90391-move-then-window-open-crash.html
diff --git a/LayoutTests/pointer-lock/bug90391-move-then-window-open-crash.html b/LayoutTests/pointer-lock/bug90391-move-then-window-open-crash.html
index 32bcc2919eb124c9940098dab60de3ef8f3f25db..075a95acfc74ee620bdff6665eba5828945d77dd 100644
--- a/LayoutTests/pointer-lock/bug90391-move-then-window-open-crash.html
+++ b/LayoutTests/pointer-lock/bug90391-move-then-window-open-crash.html
@@ -18,9 +18,9 @@
function () {
debug(" Locking targetdiv1.")
targetdiv1.webkitRequestPointerLock();
- document.onwebkitpointerlockchange = function () {
- document.onwebkitpointerlockchange = null;
- testPassed("document.onwebkitpointerlockchange event received.");
+ document.onpointerlockchange = function () {
+ document.onpointerlockchange = null;
+ testPassed("document.onpointerlockchange event received.");
doNextStep();
};
},

Powered by Google App Engine
This is Rietveld 408576698