| Index: LayoutTests/http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents.html
|
| diff --git a/LayoutTests/http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents.html b/LayoutTests/http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents.html
|
| index 003e6b2c2eaf60aa979db5cca406951b4a03a137..d82b0716920792eaf2f1d19f3e9ea91b9364a832 100644
|
| --- a/LayoutTests/http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents.html
|
| +++ b/LayoutTests/http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents.html
|
| @@ -19,15 +19,15 @@
|
| todo = [
|
| function () {
|
| expectOnlyChangeEvent("Lock targetDiv1.");
|
| - targetDiv1.webkitRequestPointerLock();
|
| + targetDiv1.requestPointerLock();
|
| // doNextStep called by event handler.
|
| },
|
| function () {
|
| - shouldBe("document.webkitPointerLockElement", "targetDiv1");
|
| + shouldBe("document.pointerLockElement", "targetDiv1");
|
| doNextStep();
|
| },
|
| 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 onpointerlockerror");
|
| @@ -36,9 +36,9 @@
|
| }
|
| },
|
| function () {
|
| - iframe.contentWindow.postMessage(["eval", 'document.webkitExitPointerLock()'], "*");
|
| + iframe.contentWindow.postMessage(["eval", 'document.exitPointerLock()'], "*");
|
| window.onmessage = function (messageEvent) {
|
| - testFailed("webkitExitPointerLock from a document that doesn't have a lock caused an event " + messageEvent.data);
|
| + testFailed("exitPointerLock from a document that doesn't have a lock caused an event " + messageEvent.data);
|
| finishJSTest();
|
| }
|
| doNextStep();
|
|
|