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

Unified Diff: LayoutTests/pointer-lock/mouse-event-delivery.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/mouse-event-delivery.html
diff --git a/LayoutTests/pointer-lock/mouse-event-delivery.html b/LayoutTests/pointer-lock/mouse-event-delivery.html
index ccd27eab05866dbe3fa12aa4bb2e4ed6abf04bb5..677d625f82805701b01a25ec39325226296d1f62 100644
--- a/LayoutTests/pointer-lock/mouse-event-delivery.html
+++ b/LayoutTests/pointer-lock/mouse-event-delivery.html
@@ -18,14 +18,14 @@
// Expect change event only for all transitions below.
expectedTargetToBeLockedString = "";
- document.onwebkitpointerlockchange = function ()
+ document.onpointerlockchange = function ()
{
- testPassed("document.onwebkitpointerlockchange event received.");
+ testPassed("document.onpointerlockchange event received.");
shouldBe("document.webkitPointerLockElement", expectedTargetToBeLockedString);
doNextStep();
};
- document.onwebkitpointerlockerror =
- function () { testFailed("document.onwebkitpointerlockerror event received."); finishJSTest(); };
+ document.onpointerlockerror =
+ function () { testFailed("document.onpointerlockerror event received."); finishJSTest(); };
function eventNotExpected(e) {
testFailed("Unexpected event " + e.type + " on " + e.currentTarget.id);
@@ -39,7 +39,7 @@
function () {
targetdiv1.webkitRequestPointerLock();
expectedTargetToBeLockedString = "targetdiv1";
- // doNextStep() called by onwebkitpointerlockchange handler.
+ // doNextStep() called by onpointerlockchange handler.
},
function () {
debug(" With a lock in place send a click.")
@@ -56,7 +56,7 @@
function () {
targetdiv2.webkitRequestPointerLock();
expectedTargetToBeLockedString = "targetdiv2";
- // doNextStep() called by onwebkitpointerlockchange handler.
+ // doNextStep() called by onpointerlockchange handler.
},
function () {
debug(" With a lock in place send a click.")

Powered by Google App Engine
This is Rietveld 408576698