Index: LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html |
diff --git a/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html b/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html |
index a9f921d95856720146b8932ea57061d17b39b2b3..21ac77f54ac35c0097aece1caf6e754a67230455 100644 |
--- a/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html |
+++ b/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html |
@@ -18,10 +18,10 @@ |
todo = [ |
function () { |
- iframe.contentWindow.postMessage(["pass message down", "eval", 'document.body.webkitRequestPointerLock()'], "*"); |
+ iframe.contentWindow.postMessage(["pass message down", "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(); |
} |