Index: LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html |
diff --git a/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html b/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html |
index 4afe42cc8cdc9f90187231b26ff46a9e7a7e26f8..318ab17fdde0e119c2684a408074ccb7b223d5a7 100644 |
--- a/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html |
+++ b/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html |
@@ -18,10 +18,10 @@ |
todo = [ |
function () { |
- iframe.contentWindow.postMessage(["eval", 'document.body.webkitRequestPointerLock()'], "*"); |
+ iframe.contentWindow.postMessage(["eval", 'document.body.requestPointerLock()'], "*"); |
window.onmessage = function (messageEvent) { |
message = messageEvent.data; |
- shouldBeEqualToString("message", "inner-iframe.html onpointerlockchange, document.webkitPointerLockElement = [object HTMLBodyElement]"); |
+ shouldBeEqualToString("message", "inner-iframe.html onpointerlockchange, document.pointerLockElement = [object HTMLBodyElement]"); |
window.onmessage = null; |
doNextStep(); |
} |