Index: LayoutTests/pointer-lock/pointerlockelement-null-when-pending.html |
diff --git a/LayoutTests/pointer-lock/pointerlockelement-null-when-pending.html b/LayoutTests/pointer-lock/pointerlockelement-null-when-pending.html |
index d82db940cd3e8f4caa075e2c4c702c402021638d..df7e2eb984890be10b45849fbc254905c8f9f91a 100644 |
--- a/LayoutTests/pointer-lock/pointerlockelement-null-when-pending.html |
+++ b/LayoutTests/pointer-lock/pointerlockelement-null-when-pending.html |
@@ -16,26 +16,26 @@ |
todo = [ |
function () { |
- shouldBe("document.webkitPointerLockElement", "null"); |
+ shouldBe("document.pointerLockElement", "null"); |
testRunner.setPointerLockWillRespondAsynchronously(); |
expectOnlyChangeEvent("Lock."); |
targetDiv1.requestPointerLock(); |
doNextStep(); |
}, |
function () { |
- shouldBe("document.webkitPointerLockElement", "null"); |
+ shouldBe("document.pointerLockElement", "null"); |
testRunner.didAcquirePointerLock(); |
// doNextStep called from event handler set with expect... |
}, |
function () { |
- shouldBe("document.webkitPointerLockElement", "targetDiv1"); |
+ shouldBe("document.pointerLockElement", "targetDiv1"); |
expectOnlyChangeEvent("Unlock."); |
- document.webkitExitPointerLock(); |
- shouldBe("document.webkitPointerLockElement", "targetDiv1"); |
+ document.exitPointerLock(); |
+ shouldBe("document.pointerLockElement", "targetDiv1"); |
// doNextStep called from event handler set with expect... |
}, |
function () { |
- shouldBe("document.webkitPointerLockElement", "null"); |
+ shouldBe("document.pointerLockElement", "null"); |
doNextStep(); |
}, |
]; |