<!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>[209514] trunk</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/209514">209514</a></dd>
<dt>Author</dt> <dd>dino@apple.com</dd>
<dt>Date</dt> <dd>2016-12-07 18:53:41 -0800 (Wed, 07 Dec 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove runtime toggle for pointer-lock
https://bugs.webkit.org/show_bug.cgi?id=165577
&lt;rdar://problems/29566996&gt;

Reviewed by Jon Lee.

Source/WebCore:

Remove any runtime calls to check if pointer-lock is enabled. It's
either compiled in or out.

Covered by existing tests.

* bindings/generic/RuntimeEnabledFeatures.h:
(WebCore::RuntimeEnabledFeatures::setPointerLockEnabled): Deleted.
(WebCore::RuntimeEnabledFeatures::pointerLockEnabled): Deleted.
* dom/Document.idl:
* dom/Element.idl:
* page/Page.h:
* page/PointerLockController.cpp:
(WebCore::PointerLockController::requestPointerLock):
(WebCore::PointerLockController::requestPointerUnlock):
(WebCore::PointerLockController::requestPointerUnlockAndForceCursorVisible):

Source/WebKit/mac:

Remove any runtime calls to check if pointer-lock is enabled. It's
either compiled in or out.

* WebView/WebPreferenceKeysPrivate.h:
* WebView/WebPreferences.mm:
(-[WebPreferences pointerLockEnabled]): Deleted.
(-[WebPreferences setPointerLockEnabled:]): Deleted.
* WebView/WebPreferencesPrivate.h:
* WebView/WebView.mm:
(-[WebView _preferencesChanged:]):

Source/WebKit2:

Remove any runtime calls to check if pointer-lock is enabled. It's
either compiled in or out.

* Shared/WebPreferencesDefinitions.h:
* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetPointerLockEnabled): Deleted.
(WKPreferencesGetPointerLockEnabled): Deleted.
* UIProcess/API/C/WKPreferencesRefPrivate.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):

Tools:

Remove any runtime calls to check if pointer-lock is enabled. It's
either compiled in or out.

* DumpRenderTree/mac/DumpRenderTree.mm:
(resetWebPreferencesToConsistentValues):
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetPreferencesToConsistentValues):

Websites/webkit.org:

No need to have pointer-lock tested.

* experimental-features.html: Also sort the list alphabetically.

LayoutTests:

Remove any runtime calls to check if pointer-lock is enabled. It's
either compiled in or out.

* platform/mac/TestExpectations: Enable the pointer-lock tests that should work.
* pointer-lock/pointer-lock-api.html: Fix a bad DOM call.
* pointer-lock/pointerlock-interface-disabled-expected.txt: Removed.
* pointer-lock/pointerlock-interface-disabled.html: Removed.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsplatformmacTestExpectations">trunk/LayoutTests/platform/mac/TestExpectations</a></li>
<li><a href="#trunkLayoutTestspointerlocklocklostonescinfullscreenhtml">trunk/LayoutTests/pointer-lock/lock-lost-on-esc-in-fullscreen.html</a></li>
<li><a href="#trunkLayoutTestspointerlockpointerlockapihtml">trunk/LayoutTests/pointer-lock/pointer-lock-api.html</a></li>
<li><a href="#trunkLayoutTestspointerlockpointerlockinterfacehtml">trunk/LayoutTests/pointer-lock/pointerlock-interface.html</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorebindingsgenericRuntimeEnabledFeaturesh">trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h</a></li>
<li><a href="#trunkSourceWebCoredomDocumentidl">trunk/Source/WebCore/dom/Document.idl</a></li>
<li><a href="#trunkSourceWebCoredomElementidl">trunk/Source/WebCore/dom/Element.idl</a></li>
<li><a href="#trunkSourceWebCorepagePageh">trunk/Source/WebCore/page/Page.h</a></li>
<li><a href="#trunkSourceWebCorepagePointerLockControllercpp">trunk/Source/WebCore/page/PointerLockController.cpp</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebPreferenceKeysPrivateh">trunk/Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebPreferencesmm">trunk/Source/WebKit/mac/WebView/WebPreferences.mm</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebPreferencesPrivateh">trunk/Source/WebKit/mac/WebView/WebPreferencesPrivate.h</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebViewmm">trunk/Source/WebKit/mac/WebView/WebView.mm</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2SharedWebPreferencesDefinitionsh">trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICWKPreferencescpp">trunk/Source/WebKit2/UIProcess/API/C/WKPreferences.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICWKPreferencesRefPrivateh">trunk/Source/WebKit2/UIProcess/API/C/WKPreferencesRefPrivate.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebPagecpp">trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsDumpRenderTreemacDumpRenderTreemm">trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm</a></li>
<li><a href="#trunkToolsWebKitTestRunnerTestControllercpp">trunk/Tools/WebKitTestRunner/TestController.cpp</a></li>
<li><a href="#trunkWebsiteswebkitorgChangeLog">trunk/Websites/webkit.org/ChangeLog</a></li>
<li><a href="#trunkWebsiteswebkitorgexperimentalfeatureshtml">trunk/Websites/webkit.org/experimental-features.html</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestspointerlockpointerlockinterfacedisabledexpectedtxt">trunk/LayoutTests/pointer-lock/pointerlock-interface-disabled-expected.txt</a></li>
<li><a href="#trunkLayoutTestspointerlockpointerlockinterfacedisabledhtml">trunk/LayoutTests/pointer-lock/pointerlock-interface-disabled.html</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/LayoutTests/ChangeLog        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -1,3 +1,19 @@
</span><ins>+2016-12-07  Dean Jackson  &lt;dino@apple.com&gt;
+
+        Remove runtime toggle for pointer-lock
+        https://bugs.webkit.org/show_bug.cgi?id=165577
+        &lt;rdar://problems/29566996&gt;
+
+        Reviewed by Jon Lee.
+
+        Remove any runtime calls to check if pointer-lock is enabled. It's
+        either compiled in or out.
+
+        * platform/mac/TestExpectations: Enable the pointer-lock tests that should work.
+        * pointer-lock/pointer-lock-api.html: Fix a bad DOM call.
+        * pointer-lock/pointerlock-interface-disabled-expected.txt: Removed.
+        * pointer-lock/pointerlock-interface-disabled.html: Removed.
+
</ins><span class="cx"> 2016-12-07  Dave Hyatt  &lt;hyatt@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [CSS Parser] Unskip gradients tests
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/TestExpectations (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/TestExpectations        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/LayoutTests/platform/mac/TestExpectations        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -278,8 +278,16 @@
</span><span class="cx"> fast/events/platform-wheelevent-paging-y-in-scrolling-div.html
</span><span class="cx"> fast/events/platform-wheelevent-paging-y-in-scrolling-page.html
</span><span class="cx"> 
</span><del>-# Pointer Lock is not implemented.
-pointer-lock/
</del><ins>+# Pointer Lock can only check some of the API at the moment.
+pointer-lock/bug90391-move-then-window-open-crash.html
+pointer-lock/lock-already-locked.html
+pointer-lock/lock-element-not-in-dom.html
+pointer-lock/locked-element-iframe-removed-from-dom.html
+pointer-lock/locked-element-removed-from-dom.html
+pointer-lock/mouse-event-delivery.html
+pointer-lock/pointerlockchange-event-on-lock-lost.html
+pointer-lock/pointerlockchange-pointerlockerror-events.html
+pointer-lock/pointerlockelement-null-when-pending.html
</ins><span class="cx"> http/tests/pointer-lock/
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/82763 fast/forms/textarea-placeholder-set-attribute.html
</span></span></pre></div>
<a id="trunkLayoutTestspointerlocklocklostonescinfullscreenhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/lock-lost-on-esc-in-fullscreen.html (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/lock-lost-on-esc-in-fullscreen.html        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/LayoutTests/pointer-lock/lock-lost-on-esc-in-fullscreen.html        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-&lt;!DOCTYPE HTML&gt;&lt;!-- webkit-test-runner [ enablePointerLock=true ] --&gt;
</del><ins>+&lt;!DOCTYPE HTML&gt;
</ins><span class="cx"> &lt;html&gt;
</span><span class="cx"> &lt;head&gt;
</span><span class="cx"> &lt;script src=&quot;../http/tests/resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
</span></span></pre></div>
<a id="trunkLayoutTestspointerlockpointerlockapihtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/pointer-lock-api.html (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/pointer-lock-api.html        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/LayoutTests/pointer-lock/pointer-lock-api.html        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -11,7 +11,7 @@
</span><span class="cx">     shouldBeDefined(&quot;document.onpointerlockerror&quot;);
</span><span class="cx">     shouldBeDefined(&quot;document.exitPointerLock&quot;);
</span><span class="cx">     shouldEvaluateTo(&quot;document.pointerLockElement&quot;, null);
</span><del>-    element = document.createElement();
</del><ins>+    element = document.createElement(&quot;div&quot;);
</ins><span class="cx">     shouldBeDefined(&quot;element.requestPointerLock&quot;);
</span><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></pre></div>
<a id="trunkLayoutTestspointerlockpointerlockinterfacedisabledexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/pointer-lock/pointerlock-interface-disabled-expected.txt (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/pointerlock-interface-disabled-expected.txt        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/LayoutTests/pointer-lock/pointerlock-interface-disabled-expected.txt        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-
-PASS Document.prototype.exitPointerLock does not exist 
-PASS Document.prototype.pointerLockElement does not exist 
-PASS Document.prototype.onpointerlockchange does not exist 
-PASS Document.prototype.onpointerlockerror does not exist 
-PASS Element.prototype.requestPointerLock does not exist 
-
</del></span></pre></div>
<a id="trunkLayoutTestspointerlockpointerlockinterfacedisabledhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/pointer-lock/pointerlock-interface-disabled.html (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/pointerlock-interface-disabled.html        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/LayoutTests/pointer-lock/pointerlock-interface-disabled.html        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -1,32 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;&lt;!-- webkit-test-runner [ enablePointerLock=false ] --&gt;
-&lt;head&gt;
-    &lt;title&gt;PointerLock interface tests.&lt;/title&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://w3c.github.io/pointerlock/&quot;&gt;
-    &lt;script src=&quot;../resources/testharness.js&quot;&gt;&lt;/script&gt;
-    &lt;script src=&quot;../resources/testharnessreport.js&quot;&gt;&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;div id=&quot;log&quot;&gt;&lt;/div&gt;
-&lt;script&gt;
-test(function() {
-    assert_false('exitPointerLock' in Document.prototype);
-},'Document.prototype.exitPointerLock does not exist');
-
-test(function() {
-    assert_false('pointerLockElement' in Document.prototype);
-},'Document.prototype.pointerLockElement does not exist');
-
-test(function() {
-    assert_false('onpointerlockchange' in Document.prototype);
-},'Document.prototype.onpointerlockchange does not exist');
-
-test(function() {
-    assert_false('onpointerlockerror' in Document.prototype);
-},'Document.prototype.onpointerlockerror does not exist');
-
-test(function() {
-    assert_false('requestPointerLock' in Element.prototype);
-},'Element.prototype.requestPointerLock does not exist');
-&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestspointerlockpointerlockinterfacehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/pointer-lock/pointerlock-interface.html (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/pointer-lock/pointerlock-interface.html        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/LayoutTests/pointer-lock/pointerlock-interface.html        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-&lt;!DOCTYPE html&gt;&lt;!-- webkit-test-runner [ enablePointerLock=true ] --&gt;
</del><ins>+&lt;!DOCTYPE html&gt;
</ins><span class="cx"> &lt;head&gt;
</span><span class="cx">     &lt;title&gt;PointerLock interface tests.&lt;/title&gt;
</span><span class="cx">     &lt;link rel=&quot;help&quot; href=&quot;https://w3c.github.io/pointerlock/&quot;&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Source/WebCore/ChangeLog        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -1,3 +1,27 @@
</span><ins>+2016-12-07  Dean Jackson  &lt;dino@apple.com&gt;
+
+        Remove runtime toggle for pointer-lock
+        https://bugs.webkit.org/show_bug.cgi?id=165577
+        &lt;rdar://problems/29566996&gt;
+
+        Reviewed by Jon Lee.
+
+        Remove any runtime calls to check if pointer-lock is enabled. It's
+        either compiled in or out.
+
+        Covered by existing tests.
+
+        * bindings/generic/RuntimeEnabledFeatures.h:
+        (WebCore::RuntimeEnabledFeatures::setPointerLockEnabled): Deleted.
+        (WebCore::RuntimeEnabledFeatures::pointerLockEnabled): Deleted.
+        * dom/Document.idl:
+        * dom/Element.idl:
+        * page/Page.h:
+        * page/PointerLockController.cpp:
+        (WebCore::PointerLockController::requestPointerLock):
+        (WebCore::PointerLockController::requestPointerUnlock):
+        (WebCore::PointerLockController::requestPointerUnlockAndForceCursorVisible):
+
</ins><span class="cx"> 2016-12-07  John Wilander  &lt;wilander@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Allow commas in Accept, Accept-Language, and Content-Language request headers for simple CORS
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsgenericRuntimeEnabledFeaturesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -212,11 +212,6 @@
</span><span class="cx">     bool webGL2Enabled() const { return m_isWebGL2Enabled; }
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if ENABLE(POINTER_LOCK)
-    void setPointerLockEnabled(bool isEnabled) { m_isPointerLockEnabled = isEnabled; }
-    bool pointerLockEnabled() const { return m_isPointerLockEnabled; }
-#endif
-
</del><span class="cx"> #if ENABLE(FETCH_API)
</span><span class="cx">     void setFetchAPIEnabled(bool isEnabled) { m_isFetchAPIEnabled = isEnabled; }
</span><span class="cx">     bool fetchAPIEnabled() const { return m_isFetchAPIEnabled; }
</span><span class="lines">@@ -352,10 +347,6 @@
</span><span class="cx">     bool m_isWebGL2Enabled;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if ENABLE(POINTER_LOCK)
-    bool m_isPointerLockEnabled;
-#endif
-
</del><span class="cx"> #if ENABLE(FETCH_API)
</span><span class="cx">     bool m_isFetchAPIEnabled { false };
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.idl (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.idl        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Source/WebCore/dom/Document.idl        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -152,8 +152,8 @@
</span><span class="cx">     void webkitExitFullscreen();
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    [Conditional=POINTER_LOCK, EnabledAtRuntime=PointerLock] void exitPointerLock();
-    [Conditional=POINTER_LOCK, EnabledAtRuntime=PointerLock] readonly attribute Element? pointerLockElement;
</del><ins>+    [Conditional=POINTER_LOCK] void exitPointerLock();
+    [Conditional=POINTER_LOCK] readonly attribute Element? pointerLockElement;
</ins><span class="cx"> 
</span><span class="cx">     [Conditional=CSS_REGIONS] DOMNamedFlowCollection webkitGetNamedFlows();
</span><span class="cx"> 
</span><span class="lines">@@ -202,8 +202,8 @@
</span><span class="cx">     // Unique to Document
</span><span class="cx">     [LenientThis] attribute EventHandler onreadystatechange;
</span><span class="cx">     [NotEnumerable, Conditional=CSP_NEXT] attribute EventHandler onsecuritypolicyviolation;
</span><del>-    [NotEnumerable, Conditional=POINTER_LOCK, EnabledAtRuntime=PointerLock] attribute EventHandler onpointerlockchange;
-    [NotEnumerable, Conditional=POINTER_LOCK, EnabledAtRuntime=PointerLock] attribute EventHandler onpointerlockerror;
</del><ins>+    [NotEnumerable, Conditional=POINTER_LOCK] attribute EventHandler onpointerlockchange;
+    [NotEnumerable, Conditional=POINTER_LOCK] attribute EventHandler onpointerlockerror;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> Document implements ParentNode;
</span></span></pre></div>
<a id="trunkSourceWebCoredomElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Element.idl (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Element.idl        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Source/WebCore/dom/Element.idl        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -128,7 +128,7 @@
</span><span class="cx">     [CEReactions, MayThrowException] void insertAdjacentHTML(DOMString where, DOMString html);
</span><span class="cx">     [MayThrowException] void insertAdjacentText(DOMString where, DOMString text);
</span><span class="cx"> 
</span><del>-    [Conditional=POINTER_LOCK, EnabledAtRuntime=PointerLock] void requestPointerLock();
</del><ins>+    [Conditional=POINTER_LOCK] void requestPointerLock();
</ins><span class="cx"> 
</span><span class="cx">     // CSS Regions API
</span><span class="cx">     [Conditional=CSS_REGIONS] readonly attribute DOMString webkitRegionOverset;
</span></span></pre></div>
<a id="trunkSourceWebCorepagePageh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Page.h (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Page.h        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Source/WebCore/page/Page.h        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -108,7 +108,9 @@
</span><span class="cx"> class PluginData;
</span><span class="cx"> class PluginInfoProvider;
</span><span class="cx"> class PluginViewBase;
</span><ins>+#if ENABLE(POINTER_LOCK)
</ins><span class="cx"> class PointerLockController;
</span><ins>+#endif
</ins><span class="cx"> class ProgressTracker;
</span><span class="cx"> class ProgressTrackerClient;
</span><span class="cx"> class Range;
</span></span></pre></div>
<a id="trunkSourceWebCorepagePointerLockControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/PointerLockController.cpp (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/PointerLockController.cpp        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Source/WebCore/page/PointerLockController.cpp        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -50,9 +50,6 @@
</span><span class="cx"> 
</span><span class="cx"> void PointerLockController::requestPointerLock(Element* target)
</span><span class="cx"> {
</span><del>-    if (!RuntimeEnabledFeatures::sharedFeatures().pointerLockEnabled())
-        return;
-
</del><span class="cx">     if (!target || !target-&gt;inDocument() || m_documentOfRemovedElementWhileWaitingForUnlock) {
</span><span class="cx">         enqueueEvent(eventNames().pointerlockerrorEvent, target);
</span><span class="cx">         return;
</span><span class="lines">@@ -93,15 +90,12 @@
</span><span class="cx">     if (!m_element)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    if (!RuntimeEnabledFeatures::sharedFeatures().pointerLockEnabled())
-        return;
-
</del><span class="cx">     m_page.chrome().client().requestPointerUnlock();
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void PointerLockController::requestPointerUnlockAndForceCursorVisible()
</span><span class="cx"> {
</span><del>-    if (!m_element || !RuntimeEnabledFeatures::sharedFeatures().pointerLockEnabled())
</del><ins>+    if (!m_element)
</ins><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     m_page.chrome().client().requestPointerUnlock();
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Source/WebKit/mac/ChangeLog        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -1,3 +1,22 @@
</span><ins>+2016-12-07  Dean Jackson  &lt;dino@apple.com&gt;
+
+        Remove runtime toggle for pointer-lock
+        https://bugs.webkit.org/show_bug.cgi?id=165577
+        &lt;rdar://problems/29566996&gt;
+
+        Reviewed by Jon Lee.
+
+        Remove any runtime calls to check if pointer-lock is enabled. It's
+        either compiled in or out.
+
+        * WebView/WebPreferenceKeysPrivate.h:
+        * WebView/WebPreferences.mm:
+        (-[WebPreferences pointerLockEnabled]): Deleted.
+        (-[WebPreferences setPointerLockEnabled:]): Deleted.
+        * WebView/WebPreferencesPrivate.h:
+        * WebView/WebView.mm:
+        (-[WebView _preferencesChanged:]):
+
</ins><span class="cx"> 2016-12-06  Alexey Proskuryakov  &lt;ap@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Correct SDKROOT values in xcconfig files
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebPreferenceKeysPrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -172,7 +172,6 @@
</span><span class="cx"> #define WebKitCSSGridLayoutEnabledPreferenceKey @&quot;WebKitCSSGridLayoutEnabled&quot;
</span><span class="cx"> #define WebKitVisualViewportEnabledPreferenceKey @&quot;WebKitVisualViewportEnabled&quot;
</span><span class="cx"> #define WebKitModernMediaControlsEnabledPreferenceKey @&quot;WebKitModernMediaControlsEnabled&quot;
</span><del>-#define WebKitPointerLockEnabledPreferenceKey @&quot;WebKitPointerLockEnabled&quot;
</del><span class="cx"> #define WebKitSubtleCryptoEnabledPreferenceKey @&quot;WebKitSubtleCryptoEnabled&quot;
</span><span class="cx"> 
</span><span class="cx"> #if !TARGET_OS_IPHONE
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebPreferencesmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebPreferences.mm (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebPreferences.mm        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Source/WebKit/mac/WebView/WebPreferences.mm        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -2380,16 +2380,6 @@
</span><span class="cx">     [self _setBoolValue:flag forKey:WebKitAllowsPictureInPictureMediaPlaybackPreferenceKey];
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-- (BOOL)pointerLockEnabled
-{
-    return [self _boolValueForKey:WebKitPointerLockEnabledPreferenceKey];
-}
-
-- (void)setPointerLockEnabled:(BOOL)flag
-{
-    [self _setBoolValue:flag forKey:WebKitPointerLockEnabledPreferenceKey];
-}
-
</del><span class="cx"> - (BOOL)mockScrollbarsEnabled
</span><span class="cx"> {
</span><span class="cx">     return [self _boolValueForKey:WebKitMockScrollbarsEnabledPreferenceKey];
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebPreferencesPrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebPreferencesPrivate.h (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebPreferencesPrivate.h        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Source/WebKit/mac/WebView/WebPreferencesPrivate.h        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -284,9 +284,6 @@
</span><span class="cx"> - (void)setAllowsPictureInPictureMediaPlayback:(BOOL)flag;
</span><span class="cx"> - (BOOL)allowsPictureInPictureMediaPlayback;
</span><span class="cx"> 
</span><del>-- (void)setPointerLockEnabled:(BOOL)flag;
-- (BOOL)pointerLockEnabled;
-
</del><span class="cx"> - (NSString *)pictographFontFamily;
</span><span class="cx"> - (void)setPictographFontFamily:(NSString *)family;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebView.mm        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -2842,10 +2842,6 @@
</span><span class="cx"> 
</span><span class="cx">     RuntimeEnabledFeatures::sharedFeatures().setCustomElementsEnabled([preferences customElementsEnabled]);
</span><span class="cx"> 
</span><del>-#if ENABLE(POINTER_LOCK)
-    RuntimeEnabledFeatures::sharedFeatures().setPointerLockEnabled([preferences pointerLockEnabled]);
-#endif
-
</del><span class="cx"> #if ENABLE(FETCH_API)
</span><span class="cx">     RuntimeEnabledFeatures::sharedFeatures().setFetchAPIEnabled([preferences fetchAPIEnabled]);
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Source/WebKit2/ChangeLog        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -1,3 +1,22 @@
</span><ins>+2016-12-07  Dean Jackson  &lt;dino@apple.com&gt;
+
+        Remove runtime toggle for pointer-lock
+        https://bugs.webkit.org/show_bug.cgi?id=165577
+        &lt;rdar://problems/29566996&gt;
+
+        Reviewed by Jon Lee.
+
+        Remove any runtime calls to check if pointer-lock is enabled. It's
+        either compiled in or out.
+
+        * Shared/WebPreferencesDefinitions.h:
+        * UIProcess/API/C/WKPreferences.cpp:
+        (WKPreferencesSetPointerLockEnabled): Deleted.
+        (WKPreferencesGetPointerLockEnabled): Deleted.
+        * UIProcess/API/C/WKPreferencesRefPrivate.h:
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::updatePreferences):
+
</ins><span class="cx"> 2016-12-07  Eric Carlson  &lt;eric.carlson@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [MediaStream][Mac] Revoke sandbox extensions when capture ends
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedWebPreferencesDefinitionsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -320,7 +320,6 @@
</span><span class="cx">     macro(SubtleCryptoEnabled, subtleCryptoEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, &quot;SubtleCrypto&quot;, &quot;Enable SubtleCrypto support&quot;) \
</span><span class="cx">     macro(WebGL2Enabled, webGL2Enabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, &quot;WebGL 2.0&quot;, &quot;WebGL 2 prototype&quot;) \
</span><span class="cx">     macro(ES6ModulesEnabled, es6ModulesEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, &quot;ES6 Modules&quot;, &quot;Enable ES6 Modules support&quot;) \
</span><del>-    macro(PointerLockEnabled, pointerLockEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, &quot;PointerLock&quot;, &quot;Pointer Lock API support&quot;) \
</del><span class="cx">     \
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(COCOA)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICWKPreferencescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/C/WKPreferences.cpp (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/C/WKPreferences.cpp        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKPreferences.cpp        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -832,16 +832,6 @@
</span><span class="cx">     return toImpl(preferencesRef)-&gt;modernMediaControlsEnabled();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WKPreferencesSetPointerLockEnabled(WKPreferencesRef preferencesRef, bool flag)
-{
-    toImpl(preferencesRef)-&gt;setPointerLockEnabled(flag);
-}
-
-bool WKPreferencesGetPointerLockEnabled(WKPreferencesRef preferencesRef)
-{
-    return toImpl(preferencesRef)-&gt;pointerLockEnabled();
-}
-
</del><span class="cx"> void WKPreferencesSetShowsToolTipOverTruncatedText(WKPreferencesRef preferencesRef, bool flag)
</span><span class="cx"> {
</span><span class="cx">     toImpl(preferencesRef)-&gt;setShowsToolTipOverTruncatedText(flag);
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICWKPreferencesRefPrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/C/WKPreferencesRefPrivate.h (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/C/WKPreferencesRefPrivate.h        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKPreferencesRefPrivate.h        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -209,10 +209,6 @@
</span><span class="cx"> WK_EXPORT bool WKPreferencesGetModernMediaControlsEnabled(WKPreferencesRef preferencesRef);
</span><span class="cx"> 
</span><span class="cx"> // Defaults to false.
</span><del>-WK_EXPORT void WKPreferencesSetPointerLockEnabled(WKPreferencesRef preferencesRef, bool flag);
-WK_EXPORT bool WKPreferencesGetPointerLockEnabled(WKPreferencesRef preferencesRef);
-
-// Defaults to false.
</del><span class="cx"> WK_EXPORT void WKPreferencesSetShowsToolTipOverTruncatedText(WKPreferencesRef preferencesRef, bool flag);
</span><span class="cx"> WK_EXPORT bool WKPreferencesGetShowsToolTipOverTruncatedText(WKPreferencesRef preferencesRef);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebPagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -3185,10 +3185,6 @@
</span><span class="cx">     RuntimeEnabledFeatures::sharedFeatures().setWebGL2Enabled(store.getBoolValueForKey(WebPreferencesKey::webGL2EnabledKey()));
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if ENABLE(POINTER_LOCK)
-    RuntimeEnabledFeatures::sharedFeatures().setPointerLockEnabled(store.getBoolValueForKey(WebPreferencesKey::pointerLockEnabledKey()));
-#endif
-
</del><span class="cx">     settings.setSpringTimingFunctionEnabled(store.getBoolValueForKey(WebPreferencesKey::springTimingFunctionEnabledKey()));
</span><span class="cx"> 
</span><span class="cx">     settings.setVisualViewportEnabled(store.getBoolValueForKey(WebPreferencesKey::visualViewportEnabledKey()));
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Tools/ChangeLog        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -1,3 +1,19 @@
</span><ins>+2016-12-07  Dean Jackson  &lt;dino@apple.com&gt;
+
+        Remove runtime toggle for pointer-lock
+        https://bugs.webkit.org/show_bug.cgi?id=165577
+        &lt;rdar://problems/29566996&gt;
+
+        Reviewed by Jon Lee.
+
+        Remove any runtime calls to check if pointer-lock is enabled. It's
+        either compiled in or out.
+
+        * DumpRenderTree/mac/DumpRenderTree.mm:
+        (resetWebPreferencesToConsistentValues):
+        * WebKitTestRunner/TestController.cpp:
+        (WTR::TestController::resetPreferencesToConsistentValues):
+
</ins><span class="cx"> 2016-12-07  Eric Carlson  &lt;eric.carlson@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [MediaStream][Mac] Revoke sandbox extensions when capture ends
</span></span></pre></div>
<a id="trunkToolsDumpRenderTreemacDumpRenderTreemm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -1000,7 +1000,6 @@
</span><span class="cx"> 
</span><span class="cx">     preferences.intersectionObserverEnabled = options.enableIntersectionObserver;
</span><span class="cx">     preferences.modernMediaControlsEnabled = options.enableModernMediaControls;
</span><del>-    preferences.pointerLockEnabled = options.enablePointerLock;
</del><span class="cx"> 
</span><span class="cx">     [preferences setSubtleCryptoEnabled:YES];
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnerTestControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/TestController.cpp (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/TestController.cpp        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Tools/WebKitTestRunner/TestController.cpp        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -665,7 +665,6 @@
</span><span class="cx">     WKPreferencesSetNeedsSiteSpecificQuirks(preferences, options.needsSiteSpecificQuirks);
</span><span class="cx">     WKPreferencesSetIntersectionObserverEnabled(preferences, options.enableIntersectionObserver);
</span><span class="cx">     WKPreferencesSetModernMediaControlsEnabled(preferences, options.enableModernMediaControls);
</span><del>-    WKPreferencesSetPointerLockEnabled(preferences, options.enablePointerLock);
</del><span class="cx"> 
</span><span class="cx">     static WKStringRef defaultTextEncoding = WKStringCreateWithUTF8CString(&quot;ISO-8859-1&quot;);
</span><span class="cx">     WKPreferencesSetDefaultTextEncodingName(preferences, defaultTextEncoding);
</span></span></pre></div>
<a id="trunkWebsiteswebkitorgChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Websites/webkit.org/ChangeLog (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Websites/webkit.org/ChangeLog        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Websites/webkit.org/ChangeLog        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2016-12-07  Dean Jackson  &lt;dino@apple.com&gt;
+
+        Remove runtime toggle for pointer-lock
+        https://bugs.webkit.org/show_bug.cgi?id=165577
+        &lt;rdar://problems/29566996&gt;
+
+        Reviewed by Jon Lee.
+
+        No need to have pointer-lock tested.
+
+        * experimental-features.html: Also sort the list alphabetically.
+
</ins><span class="cx"> 2016-12-05  Dean Jackson  &lt;dino@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         pointer lock needs to be feature detectable
</span></span></pre></div>
<a id="trunkWebsiteswebkitorgexperimentalfeatureshtml"></a>
<div class="modfile"><h4>Modified: trunk/Websites/webkit.org/experimental-features.html (209513 => 209514)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Websites/webkit.org/experimental-features.html        2016-12-08 02:51:41 UTC (rev 209513)
+++ trunk/Websites/webkit.org/experimental-features.html        2016-12-08 02:53:41 UTC (rev 209514)
</span><span class="lines">@@ -99,10 +99,6 @@
</span><span class="cx">     return window.InputEvent;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-function testPointerLock() {
-    return &quot;exitPointerLock&quot; in Document.prototype;
-}
-
</del><span class="cx"> function testES6Modules() {
</span><span class="cx">     return window.es6modules;
</span><span class="cx"> }
</span><span class="lines">@@ -124,14 +120,13 @@
</span><span class="cx">         &lt;p&gt;These tests do not exercise actual functionality. They are just the most basic check to see if the feature claims to be available.&lt;/p&gt;
</span><span class="cx"> 
</span><span class="cx">         &lt;div class=&quot;test&quot; id=&quot;CSSGrid&quot;&gt;&lt;p&gt;CSS Grid&lt;/p&gt;&lt;/div&gt;
</span><ins>+        &lt;div class=&quot;test&quot; id=&quot;SpringAnimation&quot;&gt;&lt;p&gt;CSS Spring Animations&lt;/p&gt;&lt;/div&gt;
+        &lt;div class=&quot;test&quot; id=&quot;ES6Modules&quot;&gt;&lt;p&gt;ES6 Modules in HTML&lt;/p&gt;&lt;/div&gt;
</ins><span class="cx">         &lt;div class=&quot;test&quot; id=&quot;Gamepad&quot;&gt;&lt;p&gt;Gamepad API&lt;/p&gt;&lt;/div&gt;
</span><ins>+        &lt;div class=&quot;test&quot; id=&quot;FormValidation&quot;&gt;&lt;p&gt;HTML Form Validation&lt;/p&gt;&lt;/div&gt;
+        &lt;div class=&quot;test&quot; id=&quot;InputEvents&quot;&gt;&lt;p&gt;HTML Input Events&lt;/p&gt;&lt;/div&gt;
</ins><span class="cx">         &lt;div class=&quot;test&quot; id=&quot;VariationFonts&quot;&gt;&lt;p&gt;Variation Fonts&lt;/p&gt;&lt;/div&gt;
</span><del>-        &lt;div class=&quot;test&quot; id=&quot;PointerLock&quot;&gt;&lt;p&gt;Mouse Pointer Lock&lt;/p&gt;&lt;/div&gt;
</del><span class="cx">         &lt;div class=&quot;test&quot; id=&quot;WebGL2&quot;&gt;&lt;p&gt;WebGL 2.0&lt;/p&gt;&lt;/div&gt;
</span><del>-        &lt;div class=&quot;test&quot; id=&quot;FormValidation&quot;&gt;&lt;p&gt;HTML Form Validation&lt;/p&gt;&lt;/div&gt;
-        &lt;div class=&quot;test&quot; id=&quot;InputEvents&quot;&gt;&lt;p&gt;HTML Input Events&lt;/p&gt;&lt;/div&gt;
-        &lt;div class=&quot;test&quot; id=&quot;SpringAnimation&quot;&gt;&lt;p&gt;CSS Spring Animations&lt;/p&gt;&lt;/div&gt;
-        &lt;div class=&quot;test&quot; id=&quot;ES6Modules&quot;&gt;&lt;p&gt;ES6 Modules in HTML&lt;/p&gt;&lt;/div&gt;
</del><span class="cx">     &lt;/div&gt;
</span><span class="cx"> &lt;/body&gt;
</span><span class="cx"> &lt;/html&gt;
</span></span></pre>
</div>
</div>

</body>
</html>