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

Unified Diff: LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html

Issue 279313003: Create Document exitPointerLock and pointerLockElement API methods. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: merge Created 6 years, 7 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/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();
}

Powered by Google App Engine
This is Rietveld 408576698