Index: LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock.html |
diff --git a/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock.html b/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock.html |
index f45c3add28cde9d9605f961009fc831331bd65a0..c9d8a6b67174a34ceec51e2a6c3e312cd0eb3fca 100644 |
--- a/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock.html |
+++ b/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock.html |
@@ -18,7 +18,7 @@ |
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 onpointerlockerror"); |