<!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 &lt;achristensen@webkit.org&gt; 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  &lt;achristensen@webkit.org&gt;
+
+        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  &lt;bjonesbe@adobe.com&gt;
</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 &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-PASS message is &quot;inner-iframe.html onwebkitpointerlockchange, document.webkitPointerLockElement = [object HTMLBodyElement]&quot;
</del><ins>+PASS message is &quot;inner-iframe.html onpointerlockchange, document.pointerLockElement = [object HTMLBodyElement]&quot;
</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([&quot;eval&quot;, 'document.body.webkitRequestPointerLock()'], &quot;*&quot;);
</del><ins>+          iframe.contentWindow.postMessage([&quot;eval&quot;, 'document.body.requestPointerLock()'], &quot;*&quot;);
</ins><span class="cx">           window.onmessage = function (messageEvent) {
</span><span class="cx">               message = messageEvent.data;
</span><del>-              shouldBeEqualToString(&quot;message&quot;, &quot;inner-iframe.html onwebkitpointerlockchange, document.webkitPointerLockElement = [object HTMLBodyElement]&quot;);
</del><ins>+              shouldBeEqualToString(&quot;message&quot;, &quot;inner-iframe.html onpointerlockchange, document.pointerLockElement = [object HTMLBodyElement]&quot;);
</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 &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-PASS message is &quot;inner-iframe.html onwebkitpointerlockerror&quot;
</del><ins>+PASS message is &quot;inner-iframe.html onpointerlockerror&quot;
</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 &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-PASS message is &quot;inner-iframe.html onwebkitpointerlockchange, document.webkitPointerLockElement = [object HTMLBodyElement]&quot;
</del><ins>+PASS message is &quot;inner-iframe.html onpointerlockchange, document.pointerLockElement = [object HTMLBodyElement]&quot;
</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([&quot;pass message down&quot;, &quot;eval&quot;, 'document.body.webkitRequestPointerLock()'], &quot;*&quot;);
</del><ins>+          iframe.contentWindow.postMessage([&quot;pass message down&quot;, &quot;eval&quot;, 'document.body.requestPointerLock()'], &quot;*&quot;);
</ins><span class="cx">           window.onmessage = function (messageEvent) {
</span><span class="cx">               message = messageEvent.data;
</span><del>-              shouldBeEqualToString(&quot;message&quot;, &quot;inner-iframe.html onwebkitpointerlockchange, document.webkitPointerLockElement = [object HTMLBodyElement]&quot;);
</del><ins>+              shouldBeEqualToString(&quot;message&quot;, &quot;inner-iframe.html onpointerlockchange, document.pointerLockElement = [object HTMLBodyElement]&quot;);
</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 &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-PASS message is &quot;inner-iframe.html onwebkitpointerlockerror&quot;
</del><ins>+PASS message is &quot;inner-iframe.html onpointerlockerror&quot;
</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([&quot;pass message down&quot;, &quot;eval&quot;, 'document.body.webkitRequestPointerLock()'], &quot;*&quot;);
</del><ins>+          iframe.contentWindow.postMessage([&quot;pass message down&quot;, &quot;eval&quot;, 'document.body.requestPointerLock()'], &quot;*&quot;);
</ins><span class="cx">           window.onmessage = function (messageEvent) {
</span><span class="cx">               message = messageEvent.data;
</span><del>-              shouldBeEqualToString(&quot;message&quot;, &quot;inner-iframe.html onwebkitpointerlockerror&quot;);
</del><ins>+              shouldBeEqualToString(&quot;message&quot;, &quot;inner-iframe.html onpointerlockerror&quot;);
</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([&quot;eval&quot;, 'document.body.webkitRequestPointerLock()'], &quot;*&quot;);
</del><ins>+          iframe.contentWindow.postMessage([&quot;eval&quot;, 'document.body.requestPointerLock()'], &quot;*&quot;);
</ins><span class="cx">           window.onmessage = function (messageEvent) {
</span><span class="cx">               message = messageEvent.data;
</span><del>-              shouldBeEqualToString(&quot;message&quot;, &quot;inner-iframe.html onwebkitpointerlockerror&quot;);
</del><ins>+              shouldBeEqualToString(&quot;message&quot;, &quot;inner-iframe.html onpointerlockerror&quot;);
</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 &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</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 &quot;inner-iframe.html document.webkitPointerLockElement = null&quot;
</del><ins>+PASS onpointerlockchange received after: Lock targetDiv1.
+PASS document.pointerLockElement is targetDiv1
+PASS message is &quot;inner-iframe.html document.pointerLockElement = null&quot;
</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">   &lt;iframe src=&quot;http://localhost:8080/resources/pointer-lock/inner-iframe.html&quot; onload=&quot;doNextStepWithUserGesture()&quot;&gt;&lt;/iframe&gt;
</span><span class="cx"> &lt;/div&gt;
</span><span class="cx"> &lt;script&gt;
</span><del>-    description(&quot;Test iframe from different origin can not access webkitPointerLockElement.&quot;)
</del><ins>+    description(&quot;Test iframe from different origin can not access pointerLockElement.&quot;)
</ins><span class="cx">     window.jsTestIsAsync = true;
</span><span class="cx"> 
</span><span class="cx">     targetDiv1 = document.getElementById(&quot;target1&quot;);
</span><span class="lines">@@ -19,18 +19,18 @@
</span><span class="cx">     todo = [
</span><span class="cx">       function () {
</span><span class="cx">           expectOnlyChangeEvent(&quot;Lock targetDiv1.&quot;);
</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(&quot;document.webkitPointerLockElement&quot;, &quot;targetDiv1&quot;);
</del><ins>+          shouldBe(&quot;document.pointerLockElement&quot;, &quot;targetDiv1&quot;);
</ins><span class="cx">           doNextStep();
</span><span class="cx">       },
</span><span class="cx">       function () {
</span><del>-          iframe.contentWindow.postMessage([&quot;eval&quot;, 'parent.postMessage(thisFileName() + &quot; document.webkitPointerLockElement = &quot; + document.webkitPointerLockElement, &quot;*&quot;)'], &quot;*&quot;);
</del><ins>+          iframe.contentWindow.postMessage([&quot;eval&quot;, 'parent.postMessage(thisFileName() + &quot; document.pointerLockElement = &quot; + document.pointerLockElement, &quot;*&quot;)'], &quot;*&quot;);
</ins><span class="cx">           window.onmessage = function (messageEvent) {
</span><span class="cx">               message = messageEvent.data;
</span><del>-              shouldBeEqualToString(&quot;message&quot;, &quot;inner-iframe.html document.webkitPointerLockElement = null&quot;);
</del><ins>+              shouldBeEqualToString(&quot;message&quot;, &quot;inner-iframe.html document.pointerLockElement = null&quot;);
</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 &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</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 &quot;inner-iframe.html document.webkitPointerLockElement = null&quot;
</del><ins>+PASS onpointerlockchange received after: Lock targetDiv1.
+PASS document.pointerLockElement is targetDiv1
+PASS message is &quot;inner-iframe.html document.pointerLockElement = null&quot;
</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">   &lt;iframe src=&quot;../resources/pointer-lock/inner-iframe.html&quot; onload=&quot;doNextStepWithUserGesture()&quot;&gt;&lt;/iframe&gt;
</span><span class="cx"> &lt;/div&gt;
</span><span class="cx"> &lt;script&gt;
</span><del>-    description(&quot;Test iframe from same origin can not access webkitPointerLockElement.&quot;)
</del><ins>+    description(&quot;Test iframe from same origin can not access pointerLockElement.&quot;)
</ins><span class="cx">     window.jsTestIsAsync = true;
</span><span class="cx"> 
</span><span class="cx">     targetDiv1 = document.getElementById(&quot;target1&quot;);
</span><span class="lines">@@ -19,18 +19,18 @@
</span><span class="cx">     todo = [
</span><span class="cx">       function () {
</span><span class="cx">           expectOnlyChangeEvent(&quot;Lock targetDiv1.&quot;);
</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(&quot;document.webkitPointerLockElement&quot;, &quot;targetDiv1&quot;);
</del><ins>+          shouldBe(&quot;document.pointerLockElement&quot;, &quot;targetDiv1&quot;);
</ins><span class="cx">           doNextStep();
</span><span class="cx">       },
</span><span class="cx">       function () {
</span><del>-          iframe.contentWindow.postMessage([&quot;eval&quot;, 'parent.postMessage(thisFileName() + &quot; document.webkitPointerLockElement = &quot; + document.webkitPointerLockElement, &quot;*&quot;)'], &quot;*&quot;);
</del><ins>+          iframe.contentWindow.postMessage([&quot;eval&quot;, 'parent.postMessage(thisFileName() + &quot; document.pointerLockElement = &quot; + document.pointerLockElement, &quot;*&quot;)'], &quot;*&quot;);
</ins><span class="cx">           window.onmessage = function (messageEvent) {
</span><span class="cx">               message = messageEvent.data;
</span><del>-              shouldBeEqualToString(&quot;message&quot;, &quot;inner-iframe.html document.webkitPointerLockElement = null&quot;);
</del><ins>+              shouldBeEqualToString(&quot;message&quot;, &quot;inner-iframe.html document.pointerLockElement = null&quot;);
</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 &quot;inner-iframe.html onwebkitpointerlockerror&quot;
</del><ins>+PASS onpointerlockchange received after: Lock targetDiv1.
+PASS document.pointerLockElement is targetDiv1
+PASS message is &quot;inner-iframe.html onpointerlockerror&quot;
</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(&quot;Lock targetDiv1.&quot;);
</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(&quot;document.webkitPointerLockElement&quot;, &quot;targetDiv1&quot;);
</del><ins>+          shouldBe(&quot;document.pointerLockElement&quot;, &quot;targetDiv1&quot;);
</ins><span class="cx">           doNextStep();
</span><span class="cx">       },
</span><span class="cx">       function () {
</span><del>-          iframe.contentWindow.postMessage([&quot;eval&quot;, 'document.body.webkitRequestPointerLock()'], &quot;*&quot;);
</del><ins>+          iframe.contentWindow.postMessage([&quot;eval&quot;, 'document.body.requestPointerLock()'], &quot;*&quot;);
</ins><span class="cx">           window.onmessage = function (messageEvent) {
</span><span class="cx">               message = messageEvent.data;
</span><del>-              shouldBeEqualToString(&quot;message&quot;, &quot;inner-iframe.html onwebkitpointerlockerror&quot;);
</del><ins>+              shouldBeEqualToString(&quot;message&quot;, &quot;inner-iframe.html onpointerlockerror&quot;);
</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([&quot;eval&quot;, 'document.webkitExitPointerLock()'], &quot;*&quot;);
</del><ins>+          iframe.contentWindow.postMessage([&quot;eval&quot;, 'document.exitPointerLock()'], &quot;*&quot;);
</ins><span class="cx">           window.onmessage = function (messageEvent) {
</span><del>-              testFailed(&quot;webkitExitPointerLock from a document that doesn't have a lock caused an event &quot; + messageEvent.data);
</del><ins>+              testFailed(&quot;exitPointerLock from a document that doesn't have a lock caused an event &quot; + 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() + &quot; onwebkitpointerlockchange, document.webkitPointerLockElement = &quot; + document.webkitPointerLockElement, &quot;*&quot;);
</del><ins>+document.onpointerlockchange = function () {
+    parent.postMessage(thisFileName() + &quot; onpointerlockchange, document.pointerLockElement = &quot; + document.pointerLockElement, &quot;*&quot;);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-document.onwebkitpointerlockerror = function () {
-    parent.postMessage(thisFileName() + &quot; onwebkitpointerlockerror&quot;, &quot;*&quot;);
</del><ins>+document.onpointerlockerror = function () {
+    parent.postMessage(thisFileName() + &quot; onpointerlockerror&quot;, &quot;*&quot;);
</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(&quot;     &quot; + message);
</span><span class="cx">     targetDocument = targetDocument !== undefined ? targetDocument : document;
</span><del>-    eventExpected(&quot;onwebkitpointerlockchange&quot;, message, 1, targetDocument);
-    eventExpected(&quot;onwebkitpointerlockerror&quot;, message, 0, targetDocument);
</del><ins>+    eventExpected(&quot;onpointerlockchange&quot;, message, 1, targetDocument);
+    eventExpected(&quot;onpointerlockerror&quot;, message, 0, targetDocument);
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> function expectOnlyErrorEvent(message, targetDocument) {
</span><span class="cx">     debug(&quot;     &quot; + message);
</span><span class="cx">     targetDocument = targetDocument !== undefined ? targetDocument : document;
</span><del>-    eventExpected(&quot;onwebkitpointerlockchange&quot;, message, 0, targetDocument);
-    eventExpected(&quot;onwebkitpointerlockerror&quot;, message, 1, targetDocument);
</del><ins>+    eventExpected(&quot;onpointerlockchange&quot;, message, 0, targetDocument);
+    eventExpected(&quot;onpointerlockerror&quot;, message, 1, targetDocument);
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> function expectNoEvents(message, targetDocument) {
</span><span class="cx">     debug(&quot;     &quot; + message);
</span><span class="cx">     targetDocument = targetDocument !== undefined ? targetDocument : document;
</span><del>-    eventExpected(&quot;onwebkitpointerlockchange&quot;, message, 0, targetDocument);
-    eventExpected(&quot;onwebkitpointerlockerror&quot;, message, 0, targetDocument);
</del><ins>+    eventExpected(&quot;onpointerlockchange&quot;, message, 0, targetDocument);
+    eventExpected(&quot;onpointerlockerror&quot;, 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(&quot;     Locking targetdiv1.&quot;)
</span><del>-            targetdiv1.webkitRequestPointerLock();
-            document.onwebkitpointerlockchange = function () {
-                document.onwebkitpointerlockchange = null;
-                testPassed(&quot;document.onwebkitpointerlockchange event received.&quot;);
</del><ins>+            targetdiv1.requestPointerLock();
+            document.onpointerlockchange = function () {
+                document.onpointerlockchange = null;
+                testPassed(&quot;document.onpointerlockchange event received.&quot;);
</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(&quot;Didn't crash&quot;);
</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 &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</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 = &quot;&quot;;
</span><del>-    document.onwebkitpointerlockchange = function ()
</del><ins>+    document.onpointerlockchange = function ()
</ins><span class="cx">         {
</span><del>-            testPassed(&quot;document.onwebkitpointerlockchange event received.&quot;);
-            shouldBe(&quot;document.webkitPointerLockElement&quot;, expectedTargetToBeLockedString);
</del><ins>+            testPassed(&quot;document.onpointerlockchange event received.&quot;);
+            shouldBe(&quot;document.pointerLockElement&quot;, expectedTargetToBeLockedString);
</ins><span class="cx">             doNextStepWithUserGesture();
</span><span class="cx">         };
</span><del>-    document.onwebkitpointerlockerror =
-        function () { testFailed(&quot;document.onwebkitpointerlockerror event received.&quot;); finishJSTest(); };
</del><ins>+    document.onpointerlockerror =
+        function () { testFailed(&quot;document.onpointerlockerror event received.&quot;); finishJSTest(); };
</ins><span class="cx"> 
</span><span class="cx">     var expectTarget1Unlock = false;
</span><del>-    targetdiv1.addEventListener(&quot;webkitpointerlocklost&quot;,
</del><ins>+    targetdiv1.addEventListener(&quot;pointerlocklost&quot;,
</ins><span class="cx">         function () { shouldBe(&quot;expectTarget1Unlock&quot;, &quot;true&quot;); });
</span><span class="cx"> 
</span><span class="cx">     var expectTarget2Unlock = false;
</span><del>-    targetdiv2.addEventListener(&quot;webkitpointerlocklost&quot;,
</del><ins>+    targetdiv2.addEventListener(&quot;pointerlocklost&quot;,
</ins><span class="cx">         function () { shouldBe(&quot;expectTarget2Unlock&quot;, &quot;true&quot;); });
</span><span class="cx"> 
</span><span class="cx">     todo = [
</span><span class="cx">         function () {
</span><del>-            shouldBe(&quot;document.webkitPointerLockElement&quot;, &quot;null&quot;);
</del><ins>+            shouldBe(&quot;document.pointerLockElement&quot;, &quot;null&quot;);
</ins><span class="cx">             debug(&quot;     Locking targetdiv1.&quot;)
</span><del>-            targetdiv1.webkitRequestPointerLock();
</del><ins>+            targetdiv1.requestPointerLock();
</ins><span class="cx">             expectedTargetToBeLockedString = &quot;targetdiv1&quot;;
</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(&quot;     Locking targetdiv1, again.&quot;)
</span><del>-            targetdiv1.webkitRequestPointerLock();
</del><ins>+            targetdiv1.requestPointerLock();
</ins><span class="cx">             expectedTargetToBeLockedString = &quot;targetdiv1&quot;;
</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(&quot;     Locking targetdiv2.&quot;)
</span><span class="cx">             expectTarget1Unlock = true;
</span><del>-            targetdiv2.webkitRequestPointerLock();
</del><ins>+            targetdiv2.requestPointerLock();
</ins><span class="cx">             expectedTargetToBeLockedString = &quot;targetdiv2&quot;;
</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(&quot;Remove targetDiv1 from document, and try to lock it.&quot;);
</span><span class="cx">             targetDiv1.parentElement.removeChild(targetDiv1);
</span><span class="cx">             shouldBe(&quot;targetDiv1.parentElement&quot;, &quot;null&quot;);
</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 &amp; immediately lock target2. (main document handler)
</span><span class="cx">      Remove iframe &amp; immediately lock target2. (iframe handler)
</span><del>-PASS document.webkitPointerLockElement is null
-PASS onwebkitpointerlockchange received after: Remove iframe &amp; immediately lock target2. (main document handler)
</del><ins>+PASS document.pointerLockElement is null
+PASS onpointerlockchange received after: Remove iframe &amp; 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(&quot;Lock target in iframe. (main document handler)&quot;);
</span><span class="cx">             expectOnlyChangeEvent(&quot;Lock target in iframe. (iframe handler)&quot;, 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(&quot;targetIframe1.contentDocument.webkitPointerLockElement&quot;, &quot;targetDiv1&quot;);
</del><ins>+            shouldBe(&quot;targetIframe1.contentDocument.pointerLockElement&quot;, &quot;targetDiv1&quot;);
</ins><span class="cx">             shouldBe(&quot;targetDiv1.parentElement.parentElement&quot;, &quot;targetIframe1.contentDocument.body&quot;);
</span><span class="cx">             expectOnlyChangeEvent(&quot;Remove iframe &amp; immediately lock target2. (main document handler)&quot;);
</span><span class="cx">             expectNoEvents(&quot;Remove iframe &amp; immediately lock target2. (iframe handler)&quot;, targetIframe1.contentDocument);
</span><span class="cx">             targetIframe1.parentElement.removeChild(targetIframe1);
</span><del>-            targetDiv2.webkitRequestPointerLock();
-            shouldBe(&quot;document.webkitPointerLockElement&quot;, &quot;null&quot;);
</del><ins>+            targetDiv2.requestPointerLock();
+            shouldBe(&quot;document.pointerLockElement&quot;, &quot;null&quot;);
</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 &amp; immediately lock target2. (main document handler)
</span><span class="cx">      Remove targetDiv1's parent from iframe &amp; 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 &amp; immediately lock target2. (main document handler)
-PASS onwebkitpointerlockchange received after: Remove targetDiv1's parent from iframe &amp; immediately lock target2. (iframe handler)
</del><ins>+PASS onpointerlockerror received after: Remove targetDiv1's parent from iframe &amp; immediately lock target2. (main document handler)
+PASS onpointerlockchange received after: Remove targetDiv1's parent from iframe &amp; 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(&quot;Lock target in iframe. (main document handler).&quot;);
</span><span class="cx">             expectOnlyChangeEvent(&quot;Lock target in iframe. (iframe handler)&quot;, 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(&quot;targetIframe1.contentDocument.webkitPointerLockElement&quot;, &quot;targetDiv1&quot;);
</del><ins>+            shouldBe(&quot;targetIframe1.contentDocument.pointerLockElement&quot;, &quot;targetDiv1&quot;);
</ins><span class="cx">             shouldBe(&quot;targetDiv1.parentElement.parentElement&quot;, &quot;targetIframe1.contentDocument.body&quot;);
</span><span class="cx">             expectOnlyErrorEvent(&quot;Remove targetDiv1's parent from iframe &amp; immediately lock target2. (main document handler)&quot;);
</span><span class="cx">             expectOnlyChangeEvent(&quot;Remove targetDiv1's parent from iframe &amp; immediately lock target2. (iframe handler)&quot;, targetIframe1.contentDocument);
</span><span class="cx">             targetDiv1.parentElement.parentElement.removeChild(targetDiv1.parentElement);
</span><del>-            targetDiv2.webkitRequestPointerLock();
-            shouldBe(&quot;document.webkitPointerLockElement&quot;, &quot;null&quot;);
</del><ins>+            targetDiv2.requestPointerLock();
+            shouldBe(&quot;document.pointerLockElement&quot;, &quot;null&quot;);
</ins><span class="cx">             shouldBe(&quot;targetDiv1.parentElement.parentElement&quot;, &quot;null&quot;);
</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"> &lt;body&gt;
</span><span class="cx"> &lt;script&gt;
</span><span class="cx">     var mouseEvent = document.createEvent(&quot;MouseEvent&quot;);
</span><del>-    shouldBeDefined(&quot;mouseEvent.webkitMovementX&quot;);
-    shouldBeDefined(&quot;mouseEvent.webkitMovementY&quot;);
</del><ins>+    shouldBeDefined(&quot;mouseEvent.movementX&quot;);
+    shouldBeDefined(&quot;mouseEvent.movementY&quot;);
</ins><span class="cx"> &lt;/script&gt;
</span><span class="cx"> &lt;script src=&quot;../http/tests/resources/js-test-post.js&quot;&gt;&lt;/script&gt;
</span><span class="cx"> &lt;/body&gt;
</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 &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</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 = &quot;&quot;;
</span><del>-    document.onwebkitpointerlockchange = function ()
</del><ins>+    document.onpointerlockchange = function ()
</ins><span class="cx">         {
</span><del>-            testPassed(&quot;document.onwebkitpointerlockchange event received.&quot;);
-            shouldBe(&quot;document.webkitPointerLockElement&quot;, expectedTargetToBeLockedString);
</del><ins>+            testPassed(&quot;document.onpointerlockchange event received.&quot;);
+            shouldBe(&quot;document.pointerLockElement&quot;, expectedTargetToBeLockedString);
</ins><span class="cx">             doNextStep();
</span><span class="cx">         };
</span><del>-    document.onwebkitpointerlockerror =
-        function () { testFailed(&quot;document.onwebkitpointerlockerror event received.&quot;); finishJSTest(); };
</del><ins>+    document.onpointerlockerror =
+        function () { testFailed(&quot;document.onpointerlockerror event received.&quot;); finishJSTest(); };
</ins><span class="cx"> 
</span><span class="cx">     function eventNotExpected(e) {
</span><span class="cx">         testFailed(&quot;Unexpected event &quot; + e.type + &quot; on &quot; + 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 = &quot;targetdiv1&quot;;
</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(&quot;     With a lock in place send a click.&quot;)
</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 = &quot;targetdiv2&quot;;
</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(&quot;     With a lock in place send a click.&quot;)
</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 &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</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"> &lt;script&gt;
</span><span class="cx">     description(&quot;Basic API existence test for Pointer Lock.&quot;)
</span><span class="cx"> 
</span><del>-    shouldBeDefined(&quot;document.onwebkitpointerlockchange&quot;);
-    shouldBeDefined(&quot;document.onwebkitpointerlockerror&quot;);
-    shouldBeDefined(&quot;document.webkitExitPointerLock&quot;);
-    shouldEvaluateTo(&quot;document.webkitPointerLockElement&quot;, null);
</del><ins>+    shouldBeDefined(&quot;document.onpointerlockchange&quot;);
+    shouldBeDefined(&quot;document.onpointerlockerror&quot;);
+    shouldBeDefined(&quot;document.exitPointerLock&quot;);
+    shouldEvaluateTo(&quot;document.pointerLockElement&quot;, null);
</ins><span class="cx">     element = document.createElement();
</span><del>-    shouldBeDefined(&quot;element.webkitRequestPointerLock&quot;);
</del><ins>+    shouldBeDefined(&quot;element.requestPointerLock&quot;);
</ins><span class="cx"> &lt;/script&gt;
</span><span class="cx"> &lt;script src=&quot;../http/tests/resources/js-test-post.js&quot;&gt;&lt;/script&gt;
</span><span class="cx"> &lt;/body&gt;
</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 &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</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">   &lt;div id=&quot;target1&quot;&gt;&lt;/div&gt;
</span><span class="cx"> &lt;/div&gt;
</span><span class="cx"> &lt;script&gt;
</span><del>-    description(&quot;Test that webkitpointerlockchange event is dispatched when lock is lost.&quot;)
</del><ins>+    description(&quot;Test that pointerlockchange event is dispatched when lock is lost.&quot;)
</ins><span class="cx">     window.jsTestIsAsync = true;
</span><span class="cx">     shouldBeDefined(&quot;window.testRunner&quot;);
</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(&quot;Lock targetDiv1.&quot;);
</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(&quot;document.webkitPointerLockElement&quot;, &quot;targetDiv1&quot;);
</del><ins>+            shouldBe(&quot;document.pointerLockElement&quot;, &quot;targetDiv1&quot;);
</ins><span class="cx">             expectOnlyChangeEvent(&quot;Host initiated unlock.&quot;);
</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(&quot;document.webkitPointerLockElement&quot;, &quot;null&quot;);
</del><ins>+            shouldBe(&quot;document.pointerLockElement&quot;, &quot;null&quot;);
</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(&quot;Unlock.&quot;);
</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(&quot;Lock targetDiv1.&quot;);
</span><del>-            targetDiv1.webkitRequestPointerLock();
</del><ins>+            targetDiv1.requestPointerLock();
</ins><span class="cx">         },
</span><span class="cx">         function () {
</span><span class="cx">             expectOnlyChangeEvent(&quot;Unlock again.&quot;);
</span><del>-            document.webkitExitPointerLock();
</del><ins>+            document.exitPointerLock();
</ins><span class="cx">         },
</span><span class="cx">         function () {
</span><span class="cx">             expectOnlyChangeEvent(&quot;Lock targetDiv1 again.&quot;);
</span><del>-            targetDiv1.webkitRequestPointerLock();
</del><ins>+            targetDiv1.requestPointerLock();
</ins><span class="cx">         },
</span><span class="cx">         function () {
</span><span class="cx">             expectOnlyChangeEvent(&quot;Lock targetDiv2.&quot;);
</span><del>-            targetDiv2.webkitRequestPointerLock();
</del><ins>+            targetDiv2.requestPointerLock();
</ins><span class="cx">         },
</span><span class="cx">         function () {
</span><span class="cx">             expectOnlyChangeEvent(&quot;Lock targetDiv2 again.&quot;);
</span><del>-            targetDiv2.webkitRequestPointerLock();
</del><ins>+            targetDiv2.requestPointerLock();
</ins><span class="cx">         },
</span><span class="cx">         function () {
</span><span class="cx">             expectOnlyChangeEvent(&quot;Unlock targetDiv2.&quot;);
</span><del>-            document.webkitExitPointerLock();
</del><ins>+            document.exitPointerLock();
</ins><span class="cx">         },
</span><span class="cx">         function () {
</span><span class="cx">             targetIframe1.src = &quot;about:blank&quot;;
</span><span class="lines">@@ -61,25 +61,25 @@
</span><span class="cx">         function () {
</span><span class="cx">             expectNoEvents(&quot;Lock targetIframe1.&quot;);
</span><span class="cx">             expectOnlyChangeEvent(&quot;Lock targetIframe1 (handler for iframe1).&quot;, 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(&quot;Lock targetIframe2.&quot;);
</span><span class="cx">             expectNoEvents(&quot;Lock targetIframe2 (handler for iframe1).&quot;, targetIframe1.contentDocument);
</span><span class="cx">             expectOnlyErrorEvent(&quot;Lock targetIframe2 (handler for iframe2).&quot;, 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(&quot;Unlock targetIframe2.&quot;);
</span><span class="cx">             expectOnlyChangeEvent(&quot;Unlock targetIframe2 (handler for iframe1).&quot;, targetIframe1.contentDocument);
</span><span class="cx">             expectNoEvents(&quot;Unlock targetIframe2 (handler for iframe2).&quot;, 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(&quot;testRunner.setPointerLockWillFailSynchronously&quot;);
</span><span class="cx">             testRunner.setPointerLockWillFailSynchronously();
</span><span class="cx">             expectOnlyErrorEvent(&quot;Lock with synchronous failure.&quot;);
</span><del>-            targetDiv1.webkitRequestPointerLock();
</del><ins>+            targetDiv1.requestPointerLock();
</ins><span class="cx">         },
</span><span class="cx">         function () {
</span><span class="cx">             shouldBeDefined(&quot;testRunner.setPointerLockWillRespondAsynchronously&quot;);
</span><span class="lines">@@ -87,7 +87,7 @@
</span><span class="cx">             shouldBeDefined(&quot;testRunner.didNotAcquirePointerLock&quot;);
</span><span class="cx">             testRunner.setPointerLockWillRespondAsynchronously();
</span><span class="cx">             expectOnlyErrorEvent(&quot;Lock with asynchronous failure.&quot;);
</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(&quot;Lock with asynchronous success.&quot;);
</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 &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</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(&quot;document.webkitPointerLockElement&quot;, &quot;null&quot;);
</del><ins>+            shouldBe(&quot;document.pointerLockElement&quot;, &quot;null&quot;);
</ins><span class="cx">             testRunner.setPointerLockWillRespondAsynchronously();
</span><span class="cx">             expectOnlyChangeEvent(&quot;Lock.&quot;);
</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(&quot;document.webkitPointerLockElement&quot;, &quot;null&quot;);
</del><ins>+            shouldBe(&quot;document.pointerLockElement&quot;, &quot;null&quot;);
</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(&quot;document.webkitPointerLockElement&quot;, &quot;targetDiv1&quot;);
</del><ins>+            shouldBe(&quot;document.pointerLockElement&quot;, &quot;targetDiv1&quot;);
</ins><span class="cx">             expectOnlyChangeEvent(&quot;Unlock.&quot;);
</span><del>-            document.webkitExitPointerLock();
-            shouldBe(&quot;document.webkitPointerLockElement&quot;, &quot;targetDiv1&quot;);
</del><ins>+            document.exitPointerLock();
+            shouldBe(&quot;document.pointerLockElement&quot;, &quot;targetDiv1&quot;);
</ins><span class="cx">             // doNextStep called from event handler set with expect...
</span><span class="cx">         },
</span><span class="cx">         function () {
</span><del>-            shouldBe(&quot;document.webkitPointerLockElement&quot;, &quot;null&quot;);
</del><ins>+            shouldBe(&quot;document.pointerLockElement&quot;, &quot;null&quot;);
</ins><span class="cx">             doNextStep();
</span><span class="cx">         },
</span><span class="cx">     ];
</span></span></pre>
</div>
</div>

</body>
</html>