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

Unified Diff: LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-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-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();
}

Powered by Google App Engine
This is Rietveld 408576698