<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[170897] trunk/LayoutTests</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/170897">170897</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2014-07-08 15:36:24 -0700 (Tue, 08 Jul 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>Remove webkit prefix from pointer lock tests.
https://bugs.webkit.org/show_bug.cgi?id=134744
Patch by Alex Christensen <achristensen@webkit.org> on 2014-07-08
Reviewed by Brady Eidson.
* http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock-expected.txt:
* http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html:
* http/tests/pointer-lock/iframe-sandboxed-expected.txt:
* http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock-expected.txt:
* http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html:
* http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock-expected.txt:
* http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock.html:
* http/tests/pointer-lock/iframe-sandboxed.html:
* http/tests/pointer-lock/pointerlockelement-different-origin-expected.txt:
* http/tests/pointer-lock/pointerlockelement-different-origin.html:
* http/tests/pointer-lock/pointerlockelement-same-origin-expected.txt:
* http/tests/pointer-lock/pointerlockelement-same-origin.html:
* http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents-expected.txt:
* http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents.html:
* http/tests/resources/pointer-lock/iframe-common.js:
(document.onpointerlockchange):
(document.onpointerlockerror):
(document.onwebkitpointerlockchange): Deleted.
(document.onwebkitpointerlockerror): Deleted.
* http/tests/resources/pointer-lock/pointer-lock-test-harness.js:
(expectOnlyChangeEvent):
(expectOnlyErrorEvent):
(expectNoEvents):
* pointer-lock/bug90391-move-then-window-open-crash-expected.txt:
* pointer-lock/bug90391-move-then-window-open-crash.html:
* pointer-lock/lock-already-locked-expected.txt:
* pointer-lock/lock-already-locked.html:
* pointer-lock/lock-element-not-in-dom-expected.txt:
* pointer-lock/lock-element-not-in-dom.html:
* pointer-lock/locked-element-iframe-removed-from-dom-expected.txt:
* pointer-lock/locked-element-iframe-removed-from-dom.html:
* pointer-lock/locked-element-removed-from-dom-expected.txt:
* pointer-lock/locked-element-removed-from-dom.html:
* pointer-lock/mouse-event-api-expected.txt:
* pointer-lock/mouse-event-api.html:
* pointer-lock/mouse-event-delivery-expected.txt:
* pointer-lock/mouse-event-delivery.html:
* pointer-lock/pointer-lock-api-expected.txt:
* pointer-lock/pointer-lock-api.html:
* pointer-lock/pointerlockchange-event-on-lock-lost-expected.txt:
* pointer-lock/pointerlockchange-event-on-lock-lost.html:
* pointer-lock/pointerlockchange-pointerlockerror-events-expected.txt:
* pointer-lock/pointerlockchange-pointerlockerror-events.html:
* pointer-lock/pointerlockelement-null-when-pending-expected.txt:
* pointer-lock/pointerlockelement-null-when-pending.html:
Remove webkit prefix on pointer lock functions and events.
This should have been done in <a href="http://trac.webkit.org/projects/webkit/changeset/170585">r170585</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestshttptestspointerlockiframesandboxedallowpointerlockexpectedtxt">trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestspointerlockiframesandboxedallowpointerlockhtml">trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html</a></li>
<li><a href="#trunkLayoutTestshttptestspointerlockiframesandboxedexpectedtxt">trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestspointerlockiframesandboxednestedallowpointerlockexpectedtxt">trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestspointerlockiframesandboxednestedallowpointerlockhtml">trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html</a></li>
<li><a href="#trunkLayoutTestshttptestspointerlockiframesandboxednesteddisallowthenallowpointerlockexpectedtxt">trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestspointerlockiframesandboxednesteddisallowthenallowpointerlockhtml">trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock.html</a></li>
<li><a href="#trunkLayoutTestshttptestspointerlockiframesandboxedhtml">trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed.html</a></li>
<li><a href="#trunkLayoutTestshttptestspointerlockpointerlockelementdifferentoriginexpectedtxt">trunk/LayoutTests/http/tests/pointer-lock/pointerlockelement-different-origin-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestspointerlockpointerlockelementdifferentoriginhtml">trunk/LayoutTests/http/tests/pointer-lock/pointerlockelement-different-origin.html</a></li>
<li><a href="#trunkLayoutTestshttptestspointerlockpointerlockelementsameoriginexpectedtxt">trunk/LayoutTests/http/tests/pointer-lock/pointerlockelement-same-origin-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestspointerlockpointerlockelementsameoriginhtml">trunk/LayoutTests/http/tests/pointer-lock/pointerlockelement-same-origin.html</a></li>
<li><a href="#trunkLayoutTestshttptestspointerlockrequestPointerLockcannottransferbetweendocumentsexpectedtxt">trunk/LayoutTests/http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestspointerlockrequestPointerLockcannottransferbetweendocumentshtml">trunk/LayoutTests/http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents.html</a></li>
<li><a href="#trunkLayoutTestshttptestsresourcespointerlockiframecommonjs">trunk/LayoutTests/http/tests/resources/pointer-lock/iframe-common.js</a></li>
<li><a href="#trunkLayoutTestshttptestsresourcespointerlockpointerlocktestharnessjs">trunk/LayoutTests/http/tests/resources/pointer-lock/pointer-lock-test-harness.js</a></li>
<li><a href="#trunkLayoutTestspointerlockbug90391movethenwindowopencrashexpectedtxt">trunk/LayoutTests/pointer-lock/bug90391-move-then-window-open-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestspointerlockbug90391movethenwindowopencrashhtml">trunk/LayoutTests/pointer-lock/bug90391-move-then-window-open-crash.html</a></li>
<li><a href="#trunkLayoutTestspointerlocklockalreadylockedexpectedtxt">trunk/LayoutTests/pointer-lock/lock-already-locked-expected.txt</a></li>
<li><a href="#trunkLayoutTestspointerlocklockalreadylockedhtml">trunk/LayoutTests/pointer-lock/lock-already-locked.html</a></li>
<li><a href="#trunkLayoutTestspointerlocklockelementnotindomexpectedtxt">trunk/LayoutTests/pointer-lock/lock-element-not-in-dom-expected.txt</a></li>
<li><a href="#trunkLayoutTestspointerlocklockelementnotindomhtml">trunk/LayoutTests/pointer-lock/lock-element-not-in-dom.html</a></li>
<li><a href="#trunkLayoutTestspointerlocklockedelementiframeremovedfromdomexpectedtxt">trunk/LayoutTests/pointer-lock/locked-element-iframe-removed-from-dom-expected.txt</a></li>
<li><a href="#trunkLayoutTestspointerlocklockedelementiframeremovedfromdomhtml">trunk/LayoutTests/pointer-lock/locked-element-iframe-removed-from-dom.html</a></li>
<li><a href="#trunkLayoutTestspointerlocklockedelementremovedfromdomexpectedtxt">trunk/LayoutTests/pointer-lock/locked-element-removed-from-dom-expected.txt</a></li>
<li><a href="#trunkLayoutTestspointerlocklockedelementremovedfromdomhtml">trunk/LayoutTests/pointer-lock/locked-element-removed-from-dom.html</a></li>
<li><a href="#trunkLayoutTestspointerlockmouseeventapiexpectedtxt">trunk/LayoutTests/pointer-lock/mouse-event-api-expected.txt</a></li>
<li><a href="#trunkLayoutTestspointerlockmouseeventapihtml">trunk/LayoutTests/pointer-lock/mouse-event-api.html</a></li>
<li><a href="#trunkLayoutTestspointerlockmouseeventdeliveryexpectedtxt">trunk/LayoutTests/pointer-lock/mouse-event-delivery-expected.txt</a></li>
<li><a href="#trunkLayoutTestspointerlockmouseeventdeliveryhtml">trunk/LayoutTests/pointer-lock/mouse-event-delivery.html</a></li>
<li><a href="#trunkLayoutTestspointerlockpointerlockapiexpectedtxt">trunk/LayoutTests/pointer-lock/pointer-lock-api-expected.txt</a></li>
<li><a href="#trunkLayoutTestspointerlockpointerlockapihtml">trunk/LayoutTests/pointer-lock/pointer-lock-api.html</a></li>
<li><a href="#trunkLayoutTestspointerlockpointerlockchangeeventonlocklostexpectedtxt">trunk/LayoutTests/pointer-lock/pointerlockchange-event-on-lock-lost-expected.txt</a></li>
<li><a href="#trunkLayoutTestspointerlockpointerlockchangeeventonlocklosthtml">trunk/LayoutTests/pointer-lock/pointerlockchange-event-on-lock-lost.html</a></li>
<li><a href="#trunkLayoutTestspointerlockpointerlockchangepointerlockerroreventsexpectedtxt">trunk/LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events-expected.txt</a></li>
<li><a href="#trunkLayoutTestspointerlockpointerlockchangepointerlockerroreventshtml">trunk/LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events.html</a></li>
<li><a href="#trunkLayoutTestspointerlockpointerlockelementnullwhenpendingexpectedtxt">trunk/LayoutTests/pointer-lock/pointerlockelement-null-when-pending-expected.txt</a></li>
<li><a href="#trunkLayoutTestspointerlockpointerlockelementnullwhenpendinghtml">trunk/LayoutTests/pointer-lock/pointerlockelement-null-when-pending.html</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/ChangeLog        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -1,3 +1,58 @@
</span><ins>+2014-07-08 Alex Christensen <achristensen@webkit.org>
+
+ Remove webkit prefix from pointer lock tests.
+ https://bugs.webkit.org/show_bug.cgi?id=134744
+
+ Reviewed by Brady Eidson.
+
+ * http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock-expected.txt:
+ * http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html:
+ * http/tests/pointer-lock/iframe-sandboxed-expected.txt:
+ * http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock-expected.txt:
+ * http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html:
+ * http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock-expected.txt:
+ * http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock.html:
+ * http/tests/pointer-lock/iframe-sandboxed.html:
+ * http/tests/pointer-lock/pointerlockelement-different-origin-expected.txt:
+ * http/tests/pointer-lock/pointerlockelement-different-origin.html:
+ * http/tests/pointer-lock/pointerlockelement-same-origin-expected.txt:
+ * http/tests/pointer-lock/pointerlockelement-same-origin.html:
+ * http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents-expected.txt:
+ * http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents.html:
+ * http/tests/resources/pointer-lock/iframe-common.js:
+ (document.onpointerlockchange):
+ (document.onpointerlockerror):
+ (document.onwebkitpointerlockchange): Deleted.
+ (document.onwebkitpointerlockerror): Deleted.
+ * http/tests/resources/pointer-lock/pointer-lock-test-harness.js:
+ (expectOnlyChangeEvent):
+ (expectOnlyErrorEvent):
+ (expectNoEvents):
+ * pointer-lock/bug90391-move-then-window-open-crash-expected.txt:
+ * pointer-lock/bug90391-move-then-window-open-crash.html:
+ * pointer-lock/lock-already-locked-expected.txt:
+ * pointer-lock/lock-already-locked.html:
+ * pointer-lock/lock-element-not-in-dom-expected.txt:
+ * pointer-lock/lock-element-not-in-dom.html:
+ * pointer-lock/locked-element-iframe-removed-from-dom-expected.txt:
+ * pointer-lock/locked-element-iframe-removed-from-dom.html:
+ * pointer-lock/locked-element-removed-from-dom-expected.txt:
+ * pointer-lock/locked-element-removed-from-dom.html:
+ * pointer-lock/mouse-event-api-expected.txt:
+ * pointer-lock/mouse-event-api.html:
+ * pointer-lock/mouse-event-delivery-expected.txt:
+ * pointer-lock/mouse-event-delivery.html:
+ * pointer-lock/pointer-lock-api-expected.txt:
+ * pointer-lock/pointer-lock-api.html:
+ * pointer-lock/pointerlockchange-event-on-lock-lost-expected.txt:
+ * pointer-lock/pointerlockchange-event-on-lock-lost.html:
+ * pointer-lock/pointerlockchange-pointerlockerror-events-expected.txt:
+ * pointer-lock/pointerlockchange-pointerlockerror-events.html:
+ * pointer-lock/pointerlockelement-null-when-pending-expected.txt:
+ * pointer-lock/pointerlockelement-null-when-pending.html:
+ Remove webkit prefix on pointer lock functions and events.
+ This should have been done in r170585.
+
</ins><span class="cx"> 2014-07-08 Bem Jones-Bey <bjonesbe@adobe.com>
</span><span class="cx">
</span><span class="cx"> Ensure we compute the height of replaced elements to 'auto' when appropriate.
</span></span></pre></div>
<a id="trunkLayoutTestshttptestspointerlockiframesandboxedallowpointerlockexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -3,7 +3,7 @@
</span><span class="cx"> On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
</span><span class="cx">
</span><span class="cx">
</span><del>-PASS message is "inner-iframe.html onwebkitpointerlockchange, document.webkitPointerLockElement = [object HTMLBodyElement]"
</del><ins>+PASS message is "inner-iframe.html onpointerlockchange, document.pointerLockElement = [object HTMLBodyElement]"
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestshttptestspointerlockiframesandboxedallowpointerlockhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -18,10 +18,10 @@
</span><span class="cx">
</span><span class="cx"> todo = [
</span><span class="cx"> function () {
</span><del>- iframe.contentWindow.postMessage(["eval", 'document.body.webkitRequestPointerLock()'], "*");
</del><ins>+ iframe.contentWindow.postMessage(["eval", 'document.body.requestPointerLock()'], "*");
</ins><span class="cx"> window.onmessage = function (messageEvent) {
</span><span class="cx"> message = messageEvent.data;
</span><del>- shouldBeEqualToString("message", "inner-iframe.html onwebkitpointerlockchange, document.webkitPointerLockElement = [object HTMLBodyElement]");
</del><ins>+ shouldBeEqualToString("message", "inner-iframe.html onpointerlockchange, document.pointerLockElement = [object HTMLBodyElement]");
</ins><span class="cx"> window.onmessage = null;
</span><span class="cx"> doNextStep();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestshttptestspointerlockiframesandboxedexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
</span><span class="cx">
</span><span class="cx">
</span><del>-PASS message is "inner-iframe.html onwebkitpointerlockerror"
</del><ins>+PASS message is "inner-iframe.html onpointerlockerror"
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestshttptestspointerlockiframesandboxednestedallowpointerlockexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -3,7 +3,7 @@
</span><span class="cx"> On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
</span><span class="cx">
</span><span class="cx">
</span><del>-PASS message is "inner-iframe.html onwebkitpointerlockchange, document.webkitPointerLockElement = [object HTMLBodyElement]"
</del><ins>+PASS message is "inner-iframe.html onpointerlockchange, document.pointerLockElement = [object HTMLBodyElement]"
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestshttptestspointerlockiframesandboxednestedallowpointerlockhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -18,10 +18,10 @@
</span><span class="cx">
</span><span class="cx"> todo = [
</span><span class="cx"> function () {
</span><del>- iframe.contentWindow.postMessage(["pass message down", "eval", 'document.body.webkitRequestPointerLock()'], "*");
</del><ins>+ iframe.contentWindow.postMessage(["pass message down", "eval", 'document.body.requestPointerLock()'], "*");
</ins><span class="cx"> window.onmessage = function (messageEvent) {
</span><span class="cx"> message = messageEvent.data;
</span><del>- shouldBeEqualToString("message", "inner-iframe.html onwebkitpointerlockchange, document.webkitPointerLockElement = [object HTMLBodyElement]");
</del><ins>+ shouldBeEqualToString("message", "inner-iframe.html onpointerlockchange, document.pointerLockElement = [object HTMLBodyElement]");
</ins><span class="cx"> window.onmessage = null;
</span><span class="cx"> doNextStep();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestshttptestspointerlockiframesandboxednesteddisallowthenallowpointerlockexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
</span><span class="cx">
</span><span class="cx">
</span><del>-PASS message is "inner-iframe.html onwebkitpointerlockerror"
</del><ins>+PASS message is "inner-iframe.html onpointerlockerror"
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestshttptestspointerlockiframesandboxednesteddisallowthenallowpointerlockhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -18,10 +18,10 @@
</span><span class="cx">
</span><span class="cx"> todo = [
</span><span class="cx"> function () {
</span><del>- iframe.contentWindow.postMessage(["pass message down", "eval", 'document.body.webkitRequestPointerLock()'], "*");
</del><ins>+ iframe.contentWindow.postMessage(["pass message down", "eval", 'document.body.requestPointerLock()'], "*");
</ins><span class="cx"> window.onmessage = function (messageEvent) {
</span><span class="cx"> message = messageEvent.data;
</span><del>- shouldBeEqualToString("message", "inner-iframe.html onwebkitpointerlockerror");
</del><ins>+ shouldBeEqualToString("message", "inner-iframe.html onpointerlockerror");
</ins><span class="cx"> window.onmessage = null;
</span><span class="cx"> doNextStep();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestshttptestspointerlockiframesandboxedhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/http/tests/pointer-lock/iframe-sandboxed.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -18,10 +18,10 @@
</span><span class="cx">
</span><span class="cx"> todo = [
</span><span class="cx"> function () {
</span><del>- iframe.contentWindow.postMessage(["eval", 'document.body.webkitRequestPointerLock()'], "*");
</del><ins>+ iframe.contentWindow.postMessage(["eval", 'document.body.requestPointerLock()'], "*");
</ins><span class="cx"> window.onmessage = function (messageEvent) {
</span><span class="cx"> message = messageEvent.data;
</span><del>- shouldBeEqualToString("message", "inner-iframe.html onwebkitpointerlockerror");
</del><ins>+ shouldBeEqualToString("message", "inner-iframe.html onpointerlockerror");
</ins><span class="cx"> window.onmessage = null;
</span><span class="cx"> doNextStep();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestshttptestspointerlockpointerlockelementdifferentoriginexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/pointer-lock/pointerlockelement-different-origin-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/pointer-lock/pointerlockelement-different-origin-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/http/tests/pointer-lock/pointerlockelement-different-origin-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -1,12 +1,12 @@
</span><del>-Test iframe from different origin can not access webkitPointerLockElement.
</del><ins>+Test iframe from different origin can not access pointerLockElement.
</ins><span class="cx">
</span><span class="cx"> On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> Lock targetDiv1.
</span><del>-PASS onwebkitpointerlockchange received after: Lock targetDiv1.
-PASS document.webkitPointerLockElement is targetDiv1
-PASS message is "inner-iframe.html document.webkitPointerLockElement = null"
</del><ins>+PASS onpointerlockchange received after: Lock targetDiv1.
+PASS document.pointerLockElement is targetDiv1
+PASS message is "inner-iframe.html document.pointerLockElement = null"
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestshttptestspointerlockpointerlockelementdifferentoriginhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/pointer-lock/pointerlockelement-different-origin.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/pointer-lock/pointerlockelement-different-origin.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/http/tests/pointer-lock/pointerlockelement-different-origin.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -10,7 +10,7 @@
</span><span class="cx"> <iframe src="http://localhost:8080/resources/pointer-lock/inner-iframe.html" onload="doNextStepWithUserGesture()"></iframe>
</span><span class="cx"> </div>
</span><span class="cx"> <script>
</span><del>- description("Test iframe from different origin can not access webkitPointerLockElement.")
</del><ins>+ description("Test iframe from different origin can not access pointerLockElement.")
</ins><span class="cx"> window.jsTestIsAsync = true;
</span><span class="cx">
</span><span class="cx"> targetDiv1 = document.getElementById("target1");
</span><span class="lines">@@ -19,18 +19,18 @@
</span><span class="cx"> todo = [
</span><span class="cx"> function () {
</span><span class="cx"> expectOnlyChangeEvent("Lock targetDiv1.");
</span><del>- targetDiv1.webkitRequestPointerLock();
</del><ins>+ targetDiv1.requestPointerLock();
</ins><span class="cx"> // doNextStep called by event handler.
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><del>- shouldBe("document.webkitPointerLockElement", "targetDiv1");
</del><ins>+ shouldBe("document.pointerLockElement", "targetDiv1");
</ins><span class="cx"> doNextStep();
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><del>- iframe.contentWindow.postMessage(["eval", 'parent.postMessage(thisFileName() + " document.webkitPointerLockElement = " + document.webkitPointerLockElement, "*")'], "*");
</del><ins>+ iframe.contentWindow.postMessage(["eval", 'parent.postMessage(thisFileName() + " document.pointerLockElement = " + document.pointerLockElement, "*")'], "*");
</ins><span class="cx"> window.onmessage = function (messageEvent) {
</span><span class="cx"> message = messageEvent.data;
</span><del>- shouldBeEqualToString("message", "inner-iframe.html document.webkitPointerLockElement = null");
</del><ins>+ shouldBeEqualToString("message", "inner-iframe.html document.pointerLockElement = null");
</ins><span class="cx"> window.onmessage = null;
</span><span class="cx"> doNextStep();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestshttptestspointerlockpointerlockelementsameoriginexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/pointer-lock/pointerlockelement-same-origin-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/pointer-lock/pointerlockelement-same-origin-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/http/tests/pointer-lock/pointerlockelement-same-origin-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -1,12 +1,12 @@
</span><del>-Test iframe from same origin can not access webkitPointerLockElement.
</del><ins>+Test iframe from same origin can not access pointerLockElement.
</ins><span class="cx">
</span><span class="cx"> On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> Lock targetDiv1.
</span><del>-PASS onwebkitpointerlockchange received after: Lock targetDiv1.
-PASS document.webkitPointerLockElement is targetDiv1
-PASS message is "inner-iframe.html document.webkitPointerLockElement = null"
</del><ins>+PASS onpointerlockchange received after: Lock targetDiv1.
+PASS document.pointerLockElement is targetDiv1
+PASS message is "inner-iframe.html document.pointerLockElement = null"
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestshttptestspointerlockpointerlockelementsameoriginhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/pointer-lock/pointerlockelement-same-origin.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/pointer-lock/pointerlockelement-same-origin.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/http/tests/pointer-lock/pointerlockelement-same-origin.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -10,7 +10,7 @@
</span><span class="cx"> <iframe src="../resources/pointer-lock/inner-iframe.html" onload="doNextStepWithUserGesture()"></iframe>
</span><span class="cx"> </div>
</span><span class="cx"> <script>
</span><del>- description("Test iframe from same origin can not access webkitPointerLockElement.")
</del><ins>+ description("Test iframe from same origin can not access pointerLockElement.")
</ins><span class="cx"> window.jsTestIsAsync = true;
</span><span class="cx">
</span><span class="cx"> targetDiv1 = document.getElementById("target1");
</span><span class="lines">@@ -19,18 +19,18 @@
</span><span class="cx"> todo = [
</span><span class="cx"> function () {
</span><span class="cx"> expectOnlyChangeEvent("Lock targetDiv1.");
</span><del>- targetDiv1.webkitRequestPointerLock();
</del><ins>+ targetDiv1.requestPointerLock();
</ins><span class="cx"> // doNextStep called by event handler.
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><del>- shouldBe("document.webkitPointerLockElement", "targetDiv1");
</del><ins>+ shouldBe("document.pointerLockElement", "targetDiv1");
</ins><span class="cx"> doNextStep();
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><del>- iframe.contentWindow.postMessage(["eval", 'parent.postMessage(thisFileName() + " document.webkitPointerLockElement = " + document.webkitPointerLockElement, "*")'], "*");
</del><ins>+ iframe.contentWindow.postMessage(["eval", 'parent.postMessage(thisFileName() + " document.pointerLockElement = " + document.pointerLockElement, "*")'], "*");
</ins><span class="cx"> window.onmessage = function (messageEvent) {
</span><span class="cx"> message = messageEvent.data;
</span><del>- shouldBeEqualToString("message", "inner-iframe.html document.webkitPointerLockElement = null");
</del><ins>+ shouldBeEqualToString("message", "inner-iframe.html document.pointerLockElement = null");
</ins><span class="cx"> window.onmessage = null;
</span><span class="cx"> doNextStep();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestshttptestspointerlockrequestPointerLockcannottransferbetweendocumentsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -4,9 +4,9 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> Lock targetDiv1.
</span><del>-PASS onwebkitpointerlockchange received after: Lock targetDiv1.
-PASS document.webkitPointerLockElement is targetDiv1
-PASS message is "inner-iframe.html onwebkitpointerlockerror"
</del><ins>+PASS onpointerlockchange received after: Lock targetDiv1.
+PASS document.pointerLockElement is targetDiv1
+PASS message is "inner-iframe.html onpointerlockerror"
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestshttptestspointerlockrequestPointerLockcannottransferbetweendocumentshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -19,26 +19,26 @@
</span><span class="cx"> todo = [
</span><span class="cx"> function () {
</span><span class="cx"> expectOnlyChangeEvent("Lock targetDiv1.");
</span><del>- targetDiv1.webkitRequestPointerLock();
</del><ins>+ targetDiv1.requestPointerLock();
</ins><span class="cx"> // doNextStep called by event handler.
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><del>- shouldBe("document.webkitPointerLockElement", "targetDiv1");
</del><ins>+ shouldBe("document.pointerLockElement", "targetDiv1");
</ins><span class="cx"> doNextStep();
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><del>- iframe.contentWindow.postMessage(["eval", 'document.body.webkitRequestPointerLock()'], "*");
</del><ins>+ iframe.contentWindow.postMessage(["eval", 'document.body.requestPointerLock()'], "*");
</ins><span class="cx"> window.onmessage = function (messageEvent) {
</span><span class="cx"> message = messageEvent.data;
</span><del>- shouldBeEqualToString("message", "inner-iframe.html onwebkitpointerlockerror");
</del><ins>+ shouldBeEqualToString("message", "inner-iframe.html onpointerlockerror");
</ins><span class="cx"> window.onmessage = null;
</span><span class="cx"> doNextStep();
</span><span class="cx"> }
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><del>- iframe.contentWindow.postMessage(["eval", 'document.webkitExitPointerLock()'], "*");
</del><ins>+ iframe.contentWindow.postMessage(["eval", 'document.exitPointerLock()'], "*");
</ins><span class="cx"> window.onmessage = function (messageEvent) {
</span><del>- testFailed("webkitExitPointerLock from a document that doesn't have a lock caused an event " + messageEvent.data);
</del><ins>+ testFailed("exitPointerLock from a document that doesn't have a lock caused an event " + messageEvent.data);
</ins><span class="cx"> finishJSTest();
</span><span class="cx"> }
</span><span class="cx"> doNextStep();
</span></span></pre></div>
<a id="trunkLayoutTestshttptestsresourcespointerlockiframecommonjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/resources/pointer-lock/iframe-common.js (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/resources/pointer-lock/iframe-common.js        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/http/tests/resources/pointer-lock/iframe-common.js        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -18,10 +18,10 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>-document.onwebkitpointerlockchange = function () {
- parent.postMessage(thisFileName() + " onwebkitpointerlockchange, document.webkitPointerLockElement = " + document.webkitPointerLockElement, "*");
</del><ins>+document.onpointerlockchange = function () {
+ parent.postMessage(thisFileName() + " onpointerlockchange, document.pointerLockElement = " + document.pointerLockElement, "*");
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-document.onwebkitpointerlockerror = function () {
- parent.postMessage(thisFileName() + " onwebkitpointerlockerror", "*");
</del><ins>+document.onpointerlockerror = function () {
+ parent.postMessage(thisFileName() + " onpointerlockerror", "*");
</ins><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestshttptestsresourcespointerlockpointerlocktestharnessjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/resources/pointer-lock/pointer-lock-test-harness.js (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/resources/pointer-lock/pointer-lock-test-harness.js        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/http/tests/resources/pointer-lock/pointer-lock-test-harness.js        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -68,21 +68,21 @@
</span><span class="cx"> function expectOnlyChangeEvent(message, targetDocument) {
</span><span class="cx"> debug(" " + message);
</span><span class="cx"> targetDocument = targetDocument !== undefined ? targetDocument : document;
</span><del>- eventExpected("onwebkitpointerlockchange", message, 1, targetDocument);
- eventExpected("onwebkitpointerlockerror", message, 0, targetDocument);
</del><ins>+ eventExpected("onpointerlockchange", message, 1, targetDocument);
+ eventExpected("onpointerlockerror", message, 0, targetDocument);
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> function expectOnlyErrorEvent(message, targetDocument) {
</span><span class="cx"> debug(" " + message);
</span><span class="cx"> targetDocument = targetDocument !== undefined ? targetDocument : document;
</span><del>- eventExpected("onwebkitpointerlockchange", message, 0, targetDocument);
- eventExpected("onwebkitpointerlockerror", message, 1, targetDocument);
</del><ins>+ eventExpected("onpointerlockchange", message, 0, targetDocument);
+ eventExpected("onpointerlockerror", message, 1, targetDocument);
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> function expectNoEvents(message, targetDocument) {
</span><span class="cx"> debug(" " + message);
</span><span class="cx"> targetDocument = targetDocument !== undefined ? targetDocument : document;
</span><del>- eventExpected("onwebkitpointerlockchange", message, 0, targetDocument);
- eventExpected("onwebkitpointerlockerror", message, 0, targetDocument);
</del><ins>+ eventExpected("onpointerlockchange", message, 0, targetDocument);
+ eventExpected("onpointerlockerror", message, 0, targetDocument);
</ins><span class="cx"> };
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestspointerlockbug90391movethenwindowopencrashexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/bug90391-move-then-window-open-crash-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/bug90391-move-then-window-open-crash-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/bug90391-move-then-window-open-crash-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> Locking targetdiv1.
</span><del>-PASS document.onwebkitpointerlockchange event received.
</del><ins>+PASS document.onpointerlockchange event received.
</ins><span class="cx"> Sending mouse move events.
</span><span class="cx"> Calling window.open.
</span><span class="cx"> PASS Didn't crash
</span></span></pre></div>
<a id="trunkLayoutTestspointerlockbug90391movethenwindowopencrashhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/bug90391-move-then-window-open-crash.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/bug90391-move-then-window-open-crash.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/bug90391-move-then-window-open-crash.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -17,10 +17,10 @@
</span><span class="cx"> todo = [
</span><span class="cx"> function () {
</span><span class="cx"> debug(" Locking targetdiv1.")
</span><del>- targetdiv1.webkitRequestPointerLock();
- document.onwebkitpointerlockchange = function () {
- document.onwebkitpointerlockchange = null;
- testPassed("document.onwebkitpointerlockchange event received.");
</del><ins>+ targetdiv1.requestPointerLock();
+ document.onpointerlockchange = function () {
+ document.onpointerlockchange = null;
+ testPassed("document.onpointerlockchange event received.");
</ins><span class="cx"> doNextStep();
</span><span class="cx"> };
</span><span class="cx"> },
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx"> gc();
</span><span class="cx"> window.open();
</span><span class="cx"> testPassed("Didn't crash");
</span><del>- document.webkitExitPointerLock();
</del><ins>+ document.exitPointerLock();
</ins><span class="cx"> doNextStep();
</span><span class="cx"> },
</span><span class="cx"> ];
</span></span></pre></div>
<a id="trunkLayoutTestspointerlocklockalreadylockedexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/lock-already-locked-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/lock-already-locked-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/lock-already-locked-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -3,16 +3,16 @@
</span><span class="cx"> On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
</span><span class="cx">
</span><span class="cx">
</span><del>-PASS document.webkitPointerLockElement is null
</del><ins>+PASS document.pointerLockElement is null
</ins><span class="cx"> Locking targetdiv1.
</span><del>-PASS document.onwebkitpointerlockchange event received.
-PASS document.webkitPointerLockElement is targetdiv1
</del><ins>+PASS document.onpointerlockchange event received.
+PASS document.pointerLockElement is targetdiv1
</ins><span class="cx"> Locking targetdiv1, again.
</span><del>-PASS document.onwebkitpointerlockchange event received.
-PASS document.webkitPointerLockElement is targetdiv1
</del><ins>+PASS document.onpointerlockchange event received.
+PASS document.pointerLockElement is targetdiv1
</ins><span class="cx"> Locking targetdiv2.
</span><del>-PASS document.onwebkitpointerlockchange event received.
-PASS document.webkitPointerLockElement is targetdiv2
</del><ins>+PASS document.onpointerlockchange event received.
+PASS document.pointerLockElement is targetdiv2
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestspointerlocklockalreadylockedhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/lock-already-locked.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/lock-already-locked.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/lock-already-locked.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -18,43 +18,43 @@
</span><span class="cx">
</span><span class="cx"> // Expect change event only for all transitions below.
</span><span class="cx"> expectedTargetToBeLockedString = "";
</span><del>- document.onwebkitpointerlockchange = function ()
</del><ins>+ document.onpointerlockchange = function ()
</ins><span class="cx"> {
</span><del>- testPassed("document.onwebkitpointerlockchange event received.");
- shouldBe("document.webkitPointerLockElement", expectedTargetToBeLockedString);
</del><ins>+ testPassed("document.onpointerlockchange event received.");
+ shouldBe("document.pointerLockElement", expectedTargetToBeLockedString);
</ins><span class="cx"> doNextStepWithUserGesture();
</span><span class="cx"> };
</span><del>- document.onwebkitpointerlockerror =
- function () { testFailed("document.onwebkitpointerlockerror event received."); finishJSTest(); };
</del><ins>+ document.onpointerlockerror =
+ function () { testFailed("document.onpointerlockerror event received."); finishJSTest(); };
</ins><span class="cx">
</span><span class="cx"> var expectTarget1Unlock = false;
</span><del>- targetdiv1.addEventListener("webkitpointerlocklost",
</del><ins>+ targetdiv1.addEventListener("pointerlocklost",
</ins><span class="cx"> function () { shouldBe("expectTarget1Unlock", "true"); });
</span><span class="cx">
</span><span class="cx"> var expectTarget2Unlock = false;
</span><del>- targetdiv2.addEventListener("webkitpointerlocklost",
</del><ins>+ targetdiv2.addEventListener("pointerlocklost",
</ins><span class="cx"> function () { shouldBe("expectTarget2Unlock", "true"); });
</span><span class="cx">
</span><span class="cx"> todo = [
</span><span class="cx"> function () {
</span><del>- shouldBe("document.webkitPointerLockElement", "null");
</del><ins>+ shouldBe("document.pointerLockElement", "null");
</ins><span class="cx"> debug(" Locking targetdiv1.")
</span><del>- targetdiv1.webkitRequestPointerLock();
</del><ins>+ targetdiv1.requestPointerLock();
</ins><span class="cx"> expectedTargetToBeLockedString = "targetdiv1";
</span><del>- // doNextStep() called by onwebkitpointerlockchange handler.
</del><ins>+ // doNextStep() called by onpointerlockchange handler.
</ins><span class="cx"> },
</span><span class="cx"> function () {
</span><span class="cx"> debug(" Locking targetdiv1, again.")
</span><del>- targetdiv1.webkitRequestPointerLock();
</del><ins>+ targetdiv1.requestPointerLock();
</ins><span class="cx"> expectedTargetToBeLockedString = "targetdiv1";
</span><del>- // doNextStep() called by onwebkitpointerlockchange handler.
</del><ins>+ // doNextStep() called by onpointerlockchange handler.
</ins><span class="cx"> },
</span><span class="cx"> function () {
</span><span class="cx"> debug(" Locking targetdiv2.")
</span><span class="cx"> expectTarget1Unlock = true;
</span><del>- targetdiv2.webkitRequestPointerLock();
</del><ins>+ targetdiv2.requestPointerLock();
</ins><span class="cx"> expectedTargetToBeLockedString = "targetdiv2";
</span><del>- // doNextStep() called by onwebkitpointerlockchange handler.
</del><ins>+ // doNextStep() called by onpointerlockchange handler.
</ins><span class="cx"> },
</span><span class="cx"> ];
</span><span class="cx"> doNextStepWithUserGesture();
</span></span></pre></div>
<a id="trunkLayoutTestspointerlocklockelementnotindomexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/lock-element-not-in-dom-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/lock-element-not-in-dom-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/lock-element-not-in-dom-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -6,7 +6,7 @@
</span><span class="cx"> PASS targetDiv1.parentElement is not null
</span><span class="cx"> Remove targetDiv1 from document, and try to lock it.
</span><span class="cx"> PASS targetDiv1.parentElement is null
</span><del>-PASS onwebkitpointerlockerror received after: Remove targetDiv1 from document, and try to lock it.
</del><ins>+PASS onpointerlockerror received after: Remove targetDiv1 from document, and try to lock it.
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestspointerlocklockelementnotindomhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/lock-element-not-in-dom.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/lock-element-not-in-dom.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/lock-element-not-in-dom.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -20,7 +20,7 @@
</span><span class="cx"> expectOnlyErrorEvent("Remove targetDiv1 from document, and try to lock it.");
</span><span class="cx"> targetDiv1.parentElement.removeChild(targetDiv1);
</span><span class="cx"> shouldBe("targetDiv1.parentElement", "null");
</span><del>- targetDiv1.webkitRequestPointerLock();
</del><ins>+ targetDiv1.requestPointerLock();
</ins><span class="cx"> // doNextStep called by event handler.
</span><span class="cx"> },
</span><span class="cx"> ];
</span></span></pre></div>
<a id="trunkLayoutTestspointerlocklockedelementiframeremovedfromdomexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/locked-element-iframe-removed-from-dom-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/locked-element-iframe-removed-from-dom-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/locked-element-iframe-removed-from-dom-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -5,13 +5,13 @@
</span><span class="cx">
</span><span class="cx"> Lock target in iframe. (main document handler)
</span><span class="cx"> Lock target in iframe. (iframe handler)
</span><del>-PASS onwebkitpointerlockchange received after: Lock target in iframe. (iframe handler)
-PASS targetIframe1.contentDocument.webkitPointerLockElement is targetDiv1
</del><ins>+PASS onpointerlockchange received after: Lock target in iframe. (iframe handler)
+PASS targetIframe1.contentDocument.pointerLockElement is targetDiv1
</ins><span class="cx"> PASS targetDiv1.parentElement.parentElement is targetIframe1.contentDocument.body
</span><span class="cx"> Remove iframe & immediately lock target2. (main document handler)
</span><span class="cx"> Remove iframe & immediately lock target2. (iframe handler)
</span><del>-PASS document.webkitPointerLockElement is null
-PASS onwebkitpointerlockchange received after: Remove iframe & immediately lock target2. (main document handler)
</del><ins>+PASS document.pointerLockElement is null
+PASS onpointerlockchange received after: Remove iframe & immediately lock target2. (main document handler)
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestspointerlocklockedelementiframeremovedfromdomhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/locked-element-iframe-removed-from-dom.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/locked-element-iframe-removed-from-dom.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/locked-element-iframe-removed-from-dom.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -28,17 +28,17 @@
</span><span class="cx"> targetDiv1 = targetIframe1.contentDocument.body.firstChild.firstChild
</span><span class="cx"> expectNoEvents("Lock target in iframe. (main document handler)");
</span><span class="cx"> expectOnlyChangeEvent("Lock target in iframe. (iframe handler)", targetIframe1.contentDocument);
</span><del>- targetDiv1.webkitRequestPointerLock();
</del><ins>+ targetDiv1.requestPointerLock();
</ins><span class="cx"> // doNextStep called by event handler.
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><del>- shouldBe("targetIframe1.contentDocument.webkitPointerLockElement", "targetDiv1");
</del><ins>+ shouldBe("targetIframe1.contentDocument.pointerLockElement", "targetDiv1");
</ins><span class="cx"> shouldBe("targetDiv1.parentElement.parentElement", "targetIframe1.contentDocument.body");
</span><span class="cx"> expectOnlyChangeEvent("Remove iframe & immediately lock target2. (main document handler)");
</span><span class="cx"> expectNoEvents("Remove iframe & immediately lock target2. (iframe handler)", targetIframe1.contentDocument);
</span><span class="cx"> targetIframe1.parentElement.removeChild(targetIframe1);
</span><del>- targetDiv2.webkitRequestPointerLock();
- shouldBe("document.webkitPointerLockElement", "null");
</del><ins>+ targetDiv2.requestPointerLock();
+ shouldBe("document.pointerLockElement", "null");
</ins><span class="cx"> // doNextStep called by event handler.
</span><span class="cx"> },
</span><span class="cx"> ];
</span></span></pre></div>
<a id="trunkLayoutTestspointerlocklockedelementremovedfromdomexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/locked-element-removed-from-dom-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/locked-element-removed-from-dom-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/locked-element-removed-from-dom-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -5,15 +5,15 @@
</span><span class="cx">
</span><span class="cx"> Lock target in iframe. (main document handler).
</span><span class="cx"> Lock target in iframe. (iframe handler)
</span><del>-PASS onwebkitpointerlockchange received after: Lock target in iframe. (iframe handler)
-PASS targetIframe1.contentDocument.webkitPointerLockElement is targetDiv1
</del><ins>+PASS onpointerlockchange received after: Lock target in iframe. (iframe handler)
+PASS targetIframe1.contentDocument.pointerLockElement is targetDiv1
</ins><span class="cx"> PASS targetDiv1.parentElement.parentElement is targetIframe1.contentDocument.body
</span><span class="cx"> Remove targetDiv1's parent from iframe & immediately lock target2. (main document handler)
</span><span class="cx"> Remove targetDiv1's parent from iframe & immediately lock target2. (iframe handler)
</span><del>-PASS document.webkitPointerLockElement is null
</del><ins>+PASS document.pointerLockElement is null
</ins><span class="cx"> PASS targetDiv1.parentElement.parentElement is null
</span><del>-PASS onwebkitpointerlockerror received after: Remove targetDiv1's parent from iframe & immediately lock target2. (main document handler)
-PASS onwebkitpointerlockchange received after: Remove targetDiv1's parent from iframe & immediately lock target2. (iframe handler)
</del><ins>+PASS onpointerlockerror received after: Remove targetDiv1's parent from iframe & immediately lock target2. (main document handler)
+PASS onpointerlockchange received after: Remove targetDiv1's parent from iframe & immediately lock target2. (iframe handler)
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestspointerlocklockedelementremovedfromdomhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/locked-element-removed-from-dom.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/locked-element-removed-from-dom.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/locked-element-removed-from-dom.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -28,17 +28,17 @@
</span><span class="cx"> targetDiv1 = targetIframe1.contentDocument.body.firstChild.firstChild
</span><span class="cx"> expectNoEvents("Lock target in iframe. (main document handler).");
</span><span class="cx"> expectOnlyChangeEvent("Lock target in iframe. (iframe handler)", targetIframe1.contentDocument);
</span><del>- targetDiv1.webkitRequestPointerLock();
</del><ins>+ targetDiv1.requestPointerLock();
</ins><span class="cx"> // doNextStep called by event handler.
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><del>- shouldBe("targetIframe1.contentDocument.webkitPointerLockElement", "targetDiv1");
</del><ins>+ shouldBe("targetIframe1.contentDocument.pointerLockElement", "targetDiv1");
</ins><span class="cx"> shouldBe("targetDiv1.parentElement.parentElement", "targetIframe1.contentDocument.body");
</span><span class="cx"> expectOnlyErrorEvent("Remove targetDiv1's parent from iframe & immediately lock target2. (main document handler)");
</span><span class="cx"> expectOnlyChangeEvent("Remove targetDiv1's parent from iframe & immediately lock target2. (iframe handler)", targetIframe1.contentDocument);
</span><span class="cx"> targetDiv1.parentElement.parentElement.removeChild(targetDiv1.parentElement);
</span><del>- targetDiv2.webkitRequestPointerLock();
- shouldBe("document.webkitPointerLockElement", "null");
</del><ins>+ targetDiv2.requestPointerLock();
+ shouldBe("document.pointerLockElement", "null");
</ins><span class="cx"> shouldBe("targetDiv1.parentElement.parentElement", "null");
</span><span class="cx"> // doNextStep called by event handler.
</span><span class="cx"> },
</span></span></pre></div>
<a id="trunkLayoutTestspointerlockmouseeventapiexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/mouse-event-api-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/mouse-event-api-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/mouse-event-api-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><del>-PASS mouseEvent.webkitMovementX is defined.
-PASS mouseEvent.webkitMovementY is defined.
</del><ins>+PASS mouseEvent.movementX is defined.
+PASS mouseEvent.movementY is defined.
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestspointerlockmouseeventapihtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/mouse-event-api.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/mouse-event-api.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/mouse-event-api.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -6,8 +6,8 @@
</span><span class="cx"> <body>
</span><span class="cx"> <script>
</span><span class="cx"> var mouseEvent = document.createEvent("MouseEvent");
</span><del>- shouldBeDefined("mouseEvent.webkitMovementX");
- shouldBeDefined("mouseEvent.webkitMovementY");
</del><ins>+ shouldBeDefined("mouseEvent.movementX");
+ shouldBeDefined("mouseEvent.movementY");
</ins><span class="cx"> </script>
</span><span class="cx"> <script src="../http/tests/resources/js-test-post.js"></script>
</span><span class="cx"> </body>
</span></span></pre></div>
<a id="trunkLayoutTestspointerlockmouseeventdeliveryexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/mouse-event-delivery-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/mouse-event-delivery-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/mouse-event-delivery-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -3,13 +3,13 @@
</span><span class="cx"> On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
</span><span class="cx">
</span><span class="cx">
</span><del>-PASS document.onwebkitpointerlockchange event received.
-PASS document.webkitPointerLockElement is targetdiv1
</del><ins>+PASS document.onpointerlockchange event received.
+PASS document.pointerLockElement is targetdiv1
</ins><span class="cx"> With a lock in place send a click.
</span><span class="cx"> PASS event type: mousedown, target: target1, received on: target1
</span><span class="cx"> PASS event type: mousedown, target: target1, received on: body
</span><del>-PASS document.onwebkitpointerlockchange event received.
-PASS document.webkitPointerLockElement is targetdiv2
</del><ins>+PASS document.onpointerlockchange event received.
+PASS document.pointerLockElement is targetdiv2
</ins><span class="cx"> With a lock in place send a click.
</span><span class="cx"> PASS event type: mousedown, target: target2, received on: target2
</span><span class="cx"> PASS event type: mousedown, target: target2, received on: body
</span></span></pre></div>
<a id="trunkLayoutTestspointerlockmouseeventdeliveryhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/mouse-event-delivery.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/mouse-event-delivery.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/mouse-event-delivery.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -18,14 +18,14 @@
</span><span class="cx">
</span><span class="cx"> // Expect change event only for all transitions below.
</span><span class="cx"> expectedTargetToBeLockedString = "";
</span><del>- document.onwebkitpointerlockchange = function ()
</del><ins>+ document.onpointerlockchange = function ()
</ins><span class="cx"> {
</span><del>- testPassed("document.onwebkitpointerlockchange event received.");
- shouldBe("document.webkitPointerLockElement", expectedTargetToBeLockedString);
</del><ins>+ testPassed("document.onpointerlockchange event received.");
+ shouldBe("document.pointerLockElement", expectedTargetToBeLockedString);
</ins><span class="cx"> doNextStep();
</span><span class="cx"> };
</span><del>- document.onwebkitpointerlockerror =
- function () { testFailed("document.onwebkitpointerlockerror event received."); finishJSTest(); };
</del><ins>+ document.onpointerlockerror =
+ function () { testFailed("document.onpointerlockerror event received."); finishJSTest(); };
</ins><span class="cx">
</span><span class="cx"> function eventNotExpected(e) {
</span><span class="cx"> testFailed("Unexpected event " + e.type + " on " + e.currentTarget.id);
</span><span class="lines">@@ -37,9 +37,9 @@
</span><span class="cx">
</span><span class="cx"> todo = [
</span><span class="cx"> function () {
</span><del>- targetdiv1.webkitRequestPointerLock();
</del><ins>+ targetdiv1.requestPointerLock();
</ins><span class="cx"> expectedTargetToBeLockedString = "targetdiv1";
</span><del>- // doNextStep() called by onwebkitpointerlockchange handler.
</del><ins>+ // doNextStep() called by onpointerlockchange handler.
</ins><span class="cx"> },
</span><span class="cx"> function () {
</span><span class="cx"> debug(" With a lock in place send a click.")
</span><span class="lines">@@ -54,9 +54,9 @@
</span><span class="cx"> doNextStepWithUserGesture();
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><del>- targetdiv2.webkitRequestPointerLock();
</del><ins>+ targetdiv2.requestPointerLock();
</ins><span class="cx"> expectedTargetToBeLockedString = "targetdiv2";
</span><del>- // doNextStep() called by onwebkitpointerlockchange handler.
</del><ins>+ // doNextStep() called by onpointerlockchange handler.
</ins><span class="cx"> },
</span><span class="cx"> function () {
</span><span class="cx"> debug(" With a lock in place send a click.")
</span></span></pre></div>
<a id="trunkLayoutTestspointerlockpointerlockapiexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/pointer-lock-api-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/pointer-lock-api-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/pointer-lock-api-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -3,11 +3,11 @@
</span><span class="cx"> On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
</span><span class="cx">
</span><span class="cx">
</span><del>-PASS document.onwebkitpointerlockchange is defined.
-PASS document.onwebkitpointerlockerror is defined.
-PASS document.webkitExitPointerLock is defined.
-PASS document.webkitPointerLockElement is null
-PASS element.webkitRequestPointerLock is defined.
</del><ins>+PASS document.onpointerlockchange is defined.
+PASS document.onpointerlockerror is defined.
+PASS document.exitPointerLock is defined.
+PASS document.pointerLockElement is null
+PASS element.requestPointerLock is defined.
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestspointerlockpointerlockapihtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/pointer-lock-api.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/pointer-lock-api.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/pointer-lock-api.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -7,12 +7,12 @@
</span><span class="cx"> <script>
</span><span class="cx"> description("Basic API existence test for Pointer Lock.")
</span><span class="cx">
</span><del>- shouldBeDefined("document.onwebkitpointerlockchange");
- shouldBeDefined("document.onwebkitpointerlockerror");
- shouldBeDefined("document.webkitExitPointerLock");
- shouldEvaluateTo("document.webkitPointerLockElement", null);
</del><ins>+ shouldBeDefined("document.onpointerlockchange");
+ shouldBeDefined("document.onpointerlockerror");
+ shouldBeDefined("document.exitPointerLock");
+ shouldEvaluateTo("document.pointerLockElement", null);
</ins><span class="cx"> element = document.createElement();
</span><del>- shouldBeDefined("element.webkitRequestPointerLock");
</del><ins>+ shouldBeDefined("element.requestPointerLock");
</ins><span class="cx"> </script>
</span><span class="cx"> <script src="../http/tests/resources/js-test-post.js"></script>
</span><span class="cx"> </body>
</span></span></pre></div>
<a id="trunkLayoutTestspointerlockpointerlockchangeeventonlocklostexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/pointerlockchange-event-on-lock-lost-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/pointerlockchange-event-on-lock-lost-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/pointerlockchange-event-on-lock-lost-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -1,15 +1,15 @@
</span><del>-Test that webkitpointerlockchange event is dispatched when lock is lost.
</del><ins>+Test that pointerlockchange event is dispatched when lock is lost.
</ins><span class="cx">
</span><span class="cx"> On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> PASS window.testRunner is defined.
</span><span class="cx"> Lock targetDiv1.
</span><del>-PASS onwebkitpointerlockchange received after: Lock targetDiv1.
-PASS document.webkitPointerLockElement is targetDiv1
</del><ins>+PASS onpointerlockchange received after: Lock targetDiv1.
+PASS document.pointerLockElement is targetDiv1
</ins><span class="cx"> Host initiated unlock.
</span><del>-PASS onwebkitpointerlockchange received after: Host initiated unlock.
-PASS document.webkitPointerLockElement is null
</del><ins>+PASS onpointerlockchange received after: Host initiated unlock.
+PASS document.pointerLockElement is null
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestspointerlockpointerlockchangeeventonlocklosthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/pointerlockchange-event-on-lock-lost.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/pointerlockchange-event-on-lock-lost.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/pointerlockchange-event-on-lock-lost.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> <div id="target1"></div>
</span><span class="cx"> </div>
</span><span class="cx"> <script>
</span><del>- description("Test that webkitpointerlockchange event is dispatched when lock is lost.")
</del><ins>+ description("Test that pointerlockchange event is dispatched when lock is lost.")
</ins><span class="cx"> window.jsTestIsAsync = true;
</span><span class="cx"> shouldBeDefined("window.testRunner");
</span><span class="cx">
</span><span class="lines">@@ -18,17 +18,17 @@
</span><span class="cx"> todo = [
</span><span class="cx"> function () {
</span><span class="cx"> expectOnlyChangeEvent("Lock targetDiv1.");
</span><del>- targetDiv1.webkitRequestPointerLock();
</del><ins>+ targetDiv1.requestPointerLock();
</ins><span class="cx"> // doNextStep called by event handler.
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><del>- shouldBe("document.webkitPointerLockElement", "targetDiv1");
</del><ins>+ shouldBe("document.pointerLockElement", "targetDiv1");
</ins><span class="cx"> expectOnlyChangeEvent("Host initiated unlock.");
</span><span class="cx"> testRunner.didLosePointerLock();
</span><span class="cx"> // doNextStep called by event handler.
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><del>- shouldBe("document.webkitPointerLockElement", "null");
</del><ins>+ shouldBe("document.pointerLockElement", "null");
</ins><span class="cx"> doNextStep();
</span><span class="cx"> },
</span><span class="cx"> ];
</span></span></pre></div>
<a id="trunkLayoutTestspointerlockpointerlockchangepointerlockerroreventsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -5,38 +5,38 @@
</span><span class="cx">
</span><span class="cx"> Unlock.
</span><span class="cx"> Lock targetDiv1.
</span><del>-PASS onwebkitpointerlockchange received after: Lock targetDiv1.
</del><ins>+PASS onpointerlockchange received after: Lock targetDiv1.
</ins><span class="cx"> Unlock again.
</span><del>-PASS onwebkitpointerlockchange received after: Unlock again.
</del><ins>+PASS onpointerlockchange received after: Unlock again.
</ins><span class="cx"> Lock targetDiv1 again.
</span><del>-PASS onwebkitpointerlockchange received after: Lock targetDiv1 again.
</del><ins>+PASS onpointerlockchange received after: Lock targetDiv1 again.
</ins><span class="cx"> Lock targetDiv2.
</span><del>-PASS onwebkitpointerlockchange received after: Lock targetDiv2.
</del><ins>+PASS onpointerlockchange received after: Lock targetDiv2.
</ins><span class="cx"> Lock targetDiv2 again.
</span><del>-PASS onwebkitpointerlockchange received after: Lock targetDiv2 again.
</del><ins>+PASS onpointerlockchange received after: Lock targetDiv2 again.
</ins><span class="cx"> Unlock targetDiv2.
</span><del>-PASS onwebkitpointerlockchange received after: Unlock targetDiv2.
</del><ins>+PASS onpointerlockchange received after: Unlock targetDiv2.
</ins><span class="cx"> Lock targetIframe1.
</span><span class="cx"> Lock targetIframe1 (handler for iframe1).
</span><del>-PASS onwebkitpointerlockchange received after: Lock targetIframe1 (handler for iframe1).
</del><ins>+PASS onpointerlockchange received after: Lock targetIframe1 (handler for iframe1).
</ins><span class="cx"> Lock targetIframe2.
</span><span class="cx"> Lock targetIframe2 (handler for iframe1).
</span><span class="cx"> Lock targetIframe2 (handler for iframe2).
</span><del>-PASS onwebkitpointerlockerror received after: Lock targetIframe2 (handler for iframe2).
</del><ins>+PASS onpointerlockerror received after: Lock targetIframe2 (handler for iframe2).
</ins><span class="cx"> Unlock targetIframe2.
</span><span class="cx"> Unlock targetIframe2 (handler for iframe1).
</span><span class="cx"> Unlock targetIframe2 (handler for iframe2).
</span><del>-PASS onwebkitpointerlockchange received after: Unlock targetIframe2 (handler for iframe1).
</del><ins>+PASS onpointerlockchange received after: Unlock targetIframe2 (handler for iframe1).
</ins><span class="cx"> PASS testRunner.setPointerLockWillFailSynchronously is defined.
</span><span class="cx"> Lock with synchronous failure.
</span><del>-PASS onwebkitpointerlockerror received after: Lock with synchronous failure.
</del><ins>+PASS onpointerlockerror received after: Lock with synchronous failure.
</ins><span class="cx"> PASS testRunner.setPointerLockWillRespondAsynchronously is defined.
</span><span class="cx"> PASS testRunner.didAcquirePointerLock is defined.
</span><span class="cx"> PASS testRunner.didNotAcquirePointerLock is defined.
</span><span class="cx"> Lock with asynchronous failure.
</span><del>-PASS onwebkitpointerlockerror received after: Lock with asynchronous failure.
</del><ins>+PASS onpointerlockerror received after: Lock with asynchronous failure.
</ins><span class="cx"> Lock with asynchronous success.
</span><del>-PASS onwebkitpointerlockchange received after: Lock with asynchronous success.
</del><ins>+PASS onpointerlockchange received after: Lock with asynchronous success.
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestspointerlockpointerlockchangepointerlockerroreventshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -23,32 +23,32 @@
</span><span class="cx"> todo = [
</span><span class="cx"> function () {
</span><span class="cx"> expectNoEvents("Unlock.");
</span><del>- document.webkitExitPointerLock();
</del><ins>+ document.exitPointerLock();
</ins><span class="cx"> doNextStepWithUserGesture();
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><span class="cx"> expectOnlyChangeEvent("Lock targetDiv1.");
</span><del>- targetDiv1.webkitRequestPointerLock();
</del><ins>+ targetDiv1.requestPointerLock();
</ins><span class="cx"> },
</span><span class="cx"> function () {
</span><span class="cx"> expectOnlyChangeEvent("Unlock again.");
</span><del>- document.webkitExitPointerLock();
</del><ins>+ document.exitPointerLock();
</ins><span class="cx"> },
</span><span class="cx"> function () {
</span><span class="cx"> expectOnlyChangeEvent("Lock targetDiv1 again.");
</span><del>- targetDiv1.webkitRequestPointerLock();
</del><ins>+ targetDiv1.requestPointerLock();
</ins><span class="cx"> },
</span><span class="cx"> function () {
</span><span class="cx"> expectOnlyChangeEvent("Lock targetDiv2.");
</span><del>- targetDiv2.webkitRequestPointerLock();
</del><ins>+ targetDiv2.requestPointerLock();
</ins><span class="cx"> },
</span><span class="cx"> function () {
</span><span class="cx"> expectOnlyChangeEvent("Lock targetDiv2 again.");
</span><del>- targetDiv2.webkitRequestPointerLock();
</del><ins>+ targetDiv2.requestPointerLock();
</ins><span class="cx"> },
</span><span class="cx"> function () {
</span><span class="cx"> expectOnlyChangeEvent("Unlock targetDiv2.");
</span><del>- document.webkitExitPointerLock();
</del><ins>+ document.exitPointerLock();
</ins><span class="cx"> },
</span><span class="cx"> function () {
</span><span class="cx"> targetIframe1.src = "about:blank";
</span><span class="lines">@@ -61,25 +61,25 @@
</span><span class="cx"> function () {
</span><span class="cx"> expectNoEvents("Lock targetIframe1.");
</span><span class="cx"> expectOnlyChangeEvent("Lock targetIframe1 (handler for iframe1).", targetIframe1.contentDocument);
</span><del>- targetIframe1.contentDocument.body.webkitRequestPointerLock();
</del><ins>+ targetIframe1.contentDocument.body.requestPointerLock();
</ins><span class="cx"> },
</span><span class="cx"> function () {
</span><span class="cx"> expectNoEvents("Lock targetIframe2.");
</span><span class="cx"> expectNoEvents("Lock targetIframe2 (handler for iframe1).", targetIframe1.contentDocument);
</span><span class="cx"> expectOnlyErrorEvent("Lock targetIframe2 (handler for iframe2).", targetIframe2.contentDocument);
</span><del>- targetIframe2.contentDocument.body.webkitRequestPointerLock();
</del><ins>+ targetIframe2.contentDocument.body.requestPointerLock();
</ins><span class="cx"> },
</span><span class="cx"> function () {
</span><span class="cx"> expectNoEvents("Unlock targetIframe2.");
</span><span class="cx"> expectOnlyChangeEvent("Unlock targetIframe2 (handler for iframe1).", targetIframe1.contentDocument);
</span><span class="cx"> expectNoEvents("Unlock targetIframe2 (handler for iframe2).", targetIframe2.contentDocument);
</span><del>- targetIframe1.contentDocument.webkitExitPointerLock();
</del><ins>+ targetIframe1.contentDocument.exitPointerLock();
</ins><span class="cx"> },
</span><span class="cx"> function () {
</span><span class="cx"> shouldBeDefined("testRunner.setPointerLockWillFailSynchronously");
</span><span class="cx"> testRunner.setPointerLockWillFailSynchronously();
</span><span class="cx"> expectOnlyErrorEvent("Lock with synchronous failure.");
</span><del>- targetDiv1.webkitRequestPointerLock();
</del><ins>+ targetDiv1.requestPointerLock();
</ins><span class="cx"> },
</span><span class="cx"> function () {
</span><span class="cx"> shouldBeDefined("testRunner.setPointerLockWillRespondAsynchronously");
</span><span class="lines">@@ -87,7 +87,7 @@
</span><span class="cx"> shouldBeDefined("testRunner.didNotAcquirePointerLock");
</span><span class="cx"> testRunner.setPointerLockWillRespondAsynchronously();
</span><span class="cx"> expectOnlyErrorEvent("Lock with asynchronous failure.");
</span><del>- targetDiv1.webkitRequestPointerLock();
</del><ins>+ targetDiv1.requestPointerLock();
</ins><span class="cx"> doNextStep();
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><span class="lines">@@ -96,7 +96,7 @@
</span><span class="cx"> function () {
</span><span class="cx"> testRunner.setPointerLockWillRespondAsynchronously();
</span><span class="cx"> expectOnlyChangeEvent("Lock with asynchronous success.");
</span><del>- targetDiv1.webkitRequestPointerLock();
</del><ins>+ targetDiv1.requestPointerLock();
</ins><span class="cx"> doNextStep();
</span><span class="cx"> },
</span><span class="cx"> function () {
</span></span></pre></div>
<a id="trunkLayoutTestspointerlockpointerlockelementnullwhenpendingexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/pointerlockelement-null-when-pending-expected.txt (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/pointerlockelement-null-when-pending-expected.txt        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/pointerlockelement-null-when-pending-expected.txt        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -3,15 +3,15 @@
</span><span class="cx"> On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
</span><span class="cx">
</span><span class="cx">
</span><del>-PASS document.webkitPointerLockElement is null
</del><ins>+PASS document.pointerLockElement is null
</ins><span class="cx"> Lock.
</span><del>-PASS document.webkitPointerLockElement is null
-PASS onwebkitpointerlockchange received after: Lock.
-PASS document.webkitPointerLockElement is targetDiv1
</del><ins>+PASS document.pointerLockElement is null
+PASS onpointerlockchange received after: Lock.
+PASS document.pointerLockElement is targetDiv1
</ins><span class="cx"> Unlock.
</span><del>-PASS document.webkitPointerLockElement is targetDiv1
-PASS onwebkitpointerlockchange received after: Unlock.
-PASS document.webkitPointerLockElement is null
</del><ins>+PASS document.pointerLockElement is targetDiv1
+PASS onpointerlockchange received after: Unlock.
+PASS document.pointerLockElement is null
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestspointerlockpointerlockelementnullwhenpendinghtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/pointerlockelement-null-when-pending.html (170896 => 170897)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/pointerlockelement-null-when-pending.html        2014-07-08 22:24:41 UTC (rev 170896)
+++ trunk/LayoutTests/pointer-lock/pointerlockelement-null-when-pending.html        2014-07-08 22:36:24 UTC (rev 170897)
</span><span class="lines">@@ -16,26 +16,26 @@
</span><span class="cx">
</span><span class="cx"> todo = [
</span><span class="cx"> function () {
</span><del>- shouldBe("document.webkitPointerLockElement", "null");
</del><ins>+ shouldBe("document.pointerLockElement", "null");
</ins><span class="cx"> testRunner.setPointerLockWillRespondAsynchronously();
</span><span class="cx"> expectOnlyChangeEvent("Lock.");
</span><del>- targetDiv1.webkitRequestPointerLock();
</del><ins>+ targetDiv1.requestPointerLock();
</ins><span class="cx"> doNextStep();
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><del>- shouldBe("document.webkitPointerLockElement", "null");
</del><ins>+ shouldBe("document.pointerLockElement", "null");
</ins><span class="cx"> testRunner.didAcquirePointerLock();
</span><span class="cx"> // doNextStep called from event handler set with expect...
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><del>- shouldBe("document.webkitPointerLockElement", "targetDiv1");
</del><ins>+ shouldBe("document.pointerLockElement", "targetDiv1");
</ins><span class="cx"> expectOnlyChangeEvent("Unlock.");
</span><del>- document.webkitExitPointerLock();
- shouldBe("document.webkitPointerLockElement", "targetDiv1");
</del><ins>+ document.exitPointerLock();
+ shouldBe("document.pointerLockElement", "targetDiv1");
</ins><span class="cx"> // doNextStep called from event handler set with expect...
</span><span class="cx"> },
</span><span class="cx"> function () {
</span><del>- shouldBe("document.webkitPointerLockElement", "null");
</del><ins>+ shouldBe("document.pointerLockElement", "null");
</ins><span class="cx"> doNextStep();
</span><span class="cx"> },
</span><span class="cx"> ];
</span></span></pre>
</div>
</div>
</body>
</html>