<!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>[202929] 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/202929">202929</a></dd>
<dt>Author</dt> <dd>ryanhaddad@apple.com</dd>
<dt>Date</dt> <dd>2016-07-07 13:53:41 -0700 (Thu, 07 Jul 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Unreviewed, rolling out <a href="http://trac.webkit.org/projects/webkit/changeset/202905">r202905</a> and <a href="http://trac.webkit.org/projects/webkit/changeset/202911">r202911</a>.
https://bugs.webkit.org/show_bug.cgi?id=159522

This test is fails on El Capitan and Sierra WK1 (Requested by
ryanhaddad on #webkit).

Reverted changesets:

&quot;Add a test for media control dropoff&quot;
https://bugs.webkit.org/show_bug.cgi?id=151287
http://trac.webkit.org/changeset/202905

&quot;Add a test for media control dropoff&quot;
https://bugs.webkit.org/show_bug.cgi?id=151287
http://trac.webkit.org/changeset/202911

Patch by Commit Queue &lt;commit-queue@webkit.org&gt; on 2016-07-07</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesmediacontrolsmediaControlsApplejs">trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.js</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsmediacontrolsinlineelementsdropofforderexpectedtxt">trunk/LayoutTests/media/controls/inline-elements-dropoff-order-expected.txt</a></li>
<li><a href="#trunkLayoutTestsmediacontrolsinlineelementsdropofforderhtml">trunk/LayoutTests/media/controls/inline-elements-dropoff-order.html</a></li>
<li>trunk/LayoutTests/platform/mac-elcapitan/media/controls/</li>
<li>trunk/LayoutTests/platform/mac-yosemite/media/controls/</li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (202928 => 202929)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-07-07 20:13:58 UTC (rev 202928)
+++ trunk/LayoutTests/ChangeLog        2016-07-07 20:53:41 UTC (rev 202929)
</span><span class="lines">@@ -1,3 +1,21 @@
</span><ins>+2016-07-07  Commit Queue  &lt;commit-queue@webkit.org&gt;
+
+        Unreviewed, rolling out r202905 and r202911.
+        https://bugs.webkit.org/show_bug.cgi?id=159522
+
+        This test is fails on El Capitan and Sierra WK1 (Requested by
+        ryanhaddad on #webkit).
+
+        Reverted changesets:
+
+        &quot;Add a test for media control dropoff&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=151287
+        http://trac.webkit.org/changeset/202905
+
+        &quot;Add a test for media control dropoff&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=151287
+        http://trac.webkit.org/changeset/202911
+
</ins><span class="cx"> 2016-07-07  Benjamin Poulain  &lt;benjamin@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         [JSC] Array.prototype.includes uses ToInt32 instead of ToInteger on the index argument
</span></span></pre></div>
<a id="trunkLayoutTestsmediacontrolsinlineelementsdropofforderexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/media/controls/inline-elements-dropoff-order-expected.txt (202928 => 202929)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/media/controls/inline-elements-dropoff-order-expected.txt        2016-07-07 20:13:58 UTC (rev 202928)
+++ trunk/LayoutTests/media/controls/inline-elements-dropoff-order-expected.txt        2016-07-07 20:53:41 UTC (rev 202929)
</span><span class="lines">@@ -1,359 +0,0 @@
</span><del>-Test control element visibility at different element widths.
-
-This test only runs in DRT!
-
-
-EVENT: error
-PASS: We are using the Apple idiom
-
-*** Test the controls layout without video ***
-
-* Width 60px:
-PASS: Play Button is visible
-PASS: Status Display is visible
-PASS: Rewind Button is not visible
-PASS: Mute Box is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Caption Button is not visible
-PASS: Fullscreen Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 90px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Status Display is visible
-PASS: Mute Box is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Caption Button is not visible
-PASS: Fullscreen Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 200px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Status Display is visible
-PASS: Mute Box is visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Caption Button is not visible
-PASS: Fullscreen Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-
-*** Test the controls layout with video ***
-
-EVENT: canplaythrough
-* Width 60px:
-PASS: Play Button is visible
-PASS: Rewind Button is not visible
-PASS: Status Display is not visible
-PASS: Mute Box is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Caption Button is not visible
-PASS: Fullscreen Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 90px:
-PASS: Play Button is visible
-PASS: Fullscreen Button is visible
-PASS: Rewind Button is not visible
-PASS: Status Display is not visible
-PASS: Mute Box is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Caption Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 120px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Fullscreen Button is visible
-PASS: Status Display is not visible
-PASS: Mute Box is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Caption Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 150px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Mute Box is visible
-PASS: Fullscreen Button is visible
-PASS: Status Display is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Caption Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 200px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Mute Box is visible
-PASS: Picture-in-picture Button is visible
-PASS: Fullscreen Button is visible
-PASS: Status Display is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Caption Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 400px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Timeline is visible
-PASS: Current Time is visible
-PASS: Thumbnail Track is visible
-PASS: Time Remaining is visible
-PASS: Mute Box is visible
-PASS: Picture-in-picture Button is visible
-PASS: Fullscreen Button is visible
-PASS: Status Display is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Caption Button is not visible
-
-
-*** Test the controls layout with video and a caption track ***
-
-* Width 60px:
-PASS: Play Button is visible
-PASS: Rewind Button is not visible
-PASS: Status Display is not visible
-PASS: Mute Box is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Caption Button is not visible
-PASS: Fullscreen Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 90px:
-PASS: Play Button is visible
-PASS: Fullscreen Button is visible
-PASS: Rewind Button is not visible
-PASS: Status Display is not visible
-PASS: Mute Box is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Caption Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 120px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Fullscreen Button is visible
-PASS: Status Display is not visible
-PASS: Mute Box is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Caption Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 150px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Mute Box is visible
-PASS: Fullscreen Button is visible
-PASS: Status Display is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Caption Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 180px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Mute Box is visible
-PASS: Caption Button is visible
-PASS: Fullscreen Button is visible
-PASS: Status Display is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 200px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Mute Box is visible
-PASS: Caption Button is visible
-PASS: Picture-in-picture Button is visible
-PASS: Fullscreen Button is visible
-PASS: Status Display is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 400px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Current Time is visible
-PASS: Timeline is visible
-PASS: Thumbnail Track is visible
-PASS: Time Remaining is visible
-PASS: Mute Box is visible
-PASS: Caption Button is visible
-PASS: Picture-in-picture Button is visible
-PASS: Fullscreen Button is visible
-PASS: Status Display is not visible
-PASS: AppleTV Device Picker is not visible
-
-
-*** Test the controls layout with video, a caption track, and AppleTV ***
-
-* Width 60px:
-PASS: Play Button is visible
-PASS: Rewind Button is not visible
-PASS: Status Display is not visible
-PASS: Mute Box is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Caption Button is not visible
-PASS: Fullscreen Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 90px:
-PASS: Play Button is visible
-PASS: Fullscreen Button is visible
-PASS: Rewind Button is not visible
-PASS: Status Display is not visible
-PASS: Mute Box is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Caption Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 120px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Fullscreen Button is visible
-PASS: Status Display is not visible
-PASS: Mute Box is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Caption Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 150px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Mute Box is visible
-PASS: Fullscreen Button is visible
-PASS: Status Display is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Caption Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 180px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Mute Box is visible
-PASS: Caption Button is visible
-PASS: Fullscreen Button is visible
-PASS: Status Display is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Picture-in-picture Button is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 200px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Mute Box is visible
-PASS: Caption Button is visible
-PASS: Picture-in-picture Button is visible
-PASS: Fullscreen Button is visible
-PASS: Status Display is not visible
-PASS: AppleTV Device Picker is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 350px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Mute Box is visible
-PASS: AppleTV Device Picker is visible
-PASS: Caption Button is visible
-PASS: Picture-in-picture Button is visible
-PASS: Fullscreen Button is visible
-PASS: Status Display is not visible
-PASS: Timeline is not visible
-PASS: Current Time is not visible
-PASS: Thumbnail Track is not visible
-PASS: Time Remaining is not visible
-
-* Width 400px:
-PASS: Play Button is visible
-PASS: Rewind Button is visible
-PASS: Current Time is visible
-PASS: Timeline is visible
-PASS: Thumbnail Track is visible
-PASS: Time Remaining is visible
-PASS: Mute Box is visible
-PASS: AppleTV Device Picker is visible
-PASS: Caption Button is visible
-PASS: Picture-in-picture Button is visible
-PASS: Fullscreen Button is visible
-PASS: Status Display is not visible
-
-
-Testing finished.
-
</del></span></pre></div>
<a id="trunkLayoutTestsmediacontrolsinlineelementsdropofforderhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/media/controls/inline-elements-dropoff-order.html (202928 => 202929)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/media/controls/inline-elements-dropoff-order.html        2016-07-07 20:13:58 UTC (rev 202928)
+++ trunk/LayoutTests/media/controls/inline-elements-dropoff-order.html        2016-07-07 20:53:41 UTC (rev 202929)
</span><span class="lines">@@ -1,160 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-    &lt;head&gt;
-        &lt;script src=&quot;../media-file.js&quot;&gt;&lt;/script&gt;
-        &lt;script src=&quot;controls-test-helpers.js&quot;&gt;&lt;/script&gt;
-        &lt;script&gt;
-
-            const allButtons = [
-                &quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Status Display&quot;, &quot;Mute Box&quot;, &quot;AppleTV Device Picker&quot;, 
-                &quot;Picture-in-picture Button&quot;, &quot;Caption Button&quot;, &quot;Fullscreen Button&quot;, &quot;Timeline&quot;, 
-                &quot;Current Time&quot;, &quot;Thumbnail Track&quot;, &quot;Time Remaining&quot;
-            ];
-            const tester = new ControlsTest(&quot;non-existent-media-file&quot;, &quot;error&quot;)
-                .whenReady(setup)
-                .start();
-
-            function setup()
-            {
-                internals.settings.setAllowsPictureInPictureMediaPlayback(true);
-
-                tester.test(&quot;We are using the Apple idiom&quot;)
-                    .value(tester.currentState.idiom)
-                    .isEqualTo(&quot;apple&quot;);
-                tester.startNewSection(&quot;*** Test the controls layout without video ***&quot;);
-                runTestsWithoutVideo();
-            }
-
-            function testControls(data, nextTest)
-            {
-                if (!data.length) {
-                    if (typeof nextTest === &quot;function&quot;)
-                        nextTest();
-                    else
-                        tester.end();
-                    return;
-                }
-                
-                const test = data.shift();
-                
-                if (typeof tester.media.webkitSupportsPresentationMode !== &quot;function&quot; || !tester.media.webkitSupportsPresentationMode('picture-in-picture'))
-                    test.visible = test.visible.filter(name =&gt; name.indexOf(&quot;Picture-in-picture Button&quot;) === -1);
-                if (!internals.setMockMediaPlaybackTargetPickerState)
-                    test.visible = test.visible.filter(name =&gt; name.indexOf(&quot;AppleTV Device Picker&quot;) === -1);
-
-                tester.media.style.width = test.width + &quot;px&quot;;
-                window.setTimeout( () =&gt; {
-                    tester.logMessage(`* Width ${tester.media.style.width}:`);
-
-                    const isVisible = (state, name) =&gt; { 
-                        if (state === null || typeof state.className !== &quot;string&quot;)
-                            return false;
-                        return state.className.indexOf(&quot;dropped&quot;) === -1 &amp;&amp; state.className.indexOf(&quot;hidden&quot;) === -1;
-                    }
-
-                    test.visible.forEach(name =&gt; {
-                        const state = tester.stateForControlsElement(name, true);
-                        tester.test(`${name} is visible`)
-                            .value(isVisible(state))
-                            .isTrue();
-                    });
-
-                    allButtons.filter(name =&gt; test.visible.indexOf(name) === -1).forEach(name =&gt; {
-                        const state = tester.stateForControlsElement(name, true);
-                        tester.test(`${name} is not visible`)
-                            .value(isVisible(state))
-                            .isFalse();
-                    });
-
-                    tester.logBlankLine();
-                    testControls(data, nextTest);
-                }, 100);
-            }
-
-            function runTestsWithoutVideo()
-            {
-                const setupNextTest = () =&gt; {
-                    tester.resetEventTrigger(&quot;canplaythrough&quot;)
-                        .whenReady(runTestsWithVideo)
-                        .media.src = findMediaFile(&quot;video&quot;, &quot;../content/test&quot;);
-                    tester.startNewSection(&quot;*** Test the controls layout with video ***&quot;);
-                };
-
-                const data = [
-                    { width: 60, visible : [&quot;Play Button&quot;, &quot;Status Display&quot;] },
-                    { width: 90, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Status Display&quot;] },
-                    { width: 200, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Status Display&quot;, &quot;Mute Box&quot;] },
-                ];
-                testControls(data, setupNextTest);
-            }
-
-            function runTestsWithVideo()
-            {
-                const setupNextTest = () =&gt; {
-                    tester.startNewSection(&quot;*** Test the controls layout with video and a caption track ***&quot;)
-                    const track = document.createElement(&quot;track&quot;);
-                    track.kind = &quot;captions&quot;;
-                    track.src = `data:text/vtt,${encodeURIComponent(&quot;WEBVTT\n\n00:00:00.000 --&gt; 00:00:01.000\nCaption 1\n&quot;)}`;
-                    tester.media.appendChild(track);
-                    
-                    runTestsWithTextTrack();
-                };
-
-                const data = [
-                    { width: 60,  visible : [&quot;Play Button&quot;] },
-                    { width: 90,  visible : [&quot;Play Button&quot;, &quot;Fullscreen Button&quot;] },
-                    { width: 120, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Fullscreen Button&quot;] },
-                    { width: 150, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Mute Box&quot;, &quot;Fullscreen Button&quot;] },
-                    { width: 200, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Mute Box&quot;, &quot;Picture-in-picture Button&quot;, &quot;Fullscreen Button&quot;] },
-                    { width: 400, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Timeline&quot;, &quot;Current Time&quot;, &quot;Thumbnail Track&quot;, &quot;Time Remaining&quot;, &quot;Mute Box&quot;, &quot;Picture-in-picture Button&quot;, &quot;Fullscreen Button&quot;] },
-                ];
-
-                testControls(data, setupNextTest);
-            }
-
-            function runTestsWithTextTrack()
-            {
-                const setupNextTest = () =&gt; {
-                    tester.startNewSection(&quot;*** Test the controls layout with video, a caption track, and AppleTV ***&quot;);
-                    internals.setMockMediaPlaybackTargetPickerState(&quot;Sleepy TV&quot;, &quot;DeviceAvailable&quot;);
-                    runTestsWithVideoAndAppleTV();
-                };
-
-                const data = [
-                    { width: 60,  visible : [&quot;Play Button&quot;] },
-                    { width: 90,  visible : [&quot;Play Button&quot;, &quot;Fullscreen Button&quot;] },
-                    { width: 120, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Fullscreen Button&quot;] },
-                    { width: 150, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Mute Box&quot;, &quot;Fullscreen Button&quot;] },
-                    { width: 180, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Mute Box&quot;, &quot;Caption Button&quot;, &quot;Fullscreen Button&quot;] },
-                    { width: 200, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Mute Box&quot;, &quot;Caption Button&quot;, &quot;Picture-in-picture Button&quot;, &quot;Fullscreen Button&quot;] },
-                    { width: 400, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Current Time&quot;, &quot;Timeline&quot;, &quot;Thumbnail Track&quot;, &quot;Time Remaining&quot;, &quot;Mute Box&quot;, &quot;Caption Button&quot;, &quot;Picture-in-picture Button&quot;, &quot;Fullscreen Button&quot;] },
-                ];
-                
-                testControls(data, internals.setMockMediaPlaybackTargetPickerState ? setupNextTest : null);
-            }
-
-            function runTestsWithVideoAndAppleTV()
-            {
-                const data = [
-                    { width: 60,  visible : [&quot;Play Button&quot;] },
-                    { width: 90,  visible : [&quot;Play Button&quot;, &quot;Fullscreen Button&quot;] },
-                    { width: 120, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Fullscreen Button&quot;] },
-                    { width: 150, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Mute Box&quot;, &quot;Fullscreen Button&quot;] },
-                    { width: 180, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Mute Box&quot;, &quot;Caption Button&quot;, &quot;Fullscreen Button&quot;] },
-                    { width: 200, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Mute Box&quot;, &quot;Caption Button&quot;, &quot;Picture-in-picture Button&quot;, &quot;Fullscreen Button&quot;] },
-                    { width: 350, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Mute Box&quot;, &quot;AppleTV Device Picker&quot;, &quot;Caption Button&quot;, &quot;Picture-in-picture Button&quot;, &quot;Fullscreen Button&quot;] },
-                    { width: 400, visible : [&quot;Play Button&quot;, &quot;Rewind Button&quot;, &quot;Current Time&quot;, &quot;Timeline&quot;, &quot;Thumbnail Track&quot;, &quot;Time Remaining&quot;, &quot;Mute Box&quot;, &quot;AppleTV Device Picker&quot;, &quot;Caption Button&quot;, &quot;Picture-in-picture Button&quot;, &quot;Fullscreen Button&quot;] },
-                ];
-
-                testControls(data);
-            }
-
-
-        &lt;/script&gt;
-    &lt;/head&gt;
-    &lt;body&gt;
-        &lt;p&gt;Test control element visibility at different element widths.&lt;/p&gt;
-        &lt;p&gt;This test only runs in DRT!&lt;/p&gt;
-        &lt;video controls&gt;&lt;/video&gt;
-    &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (202928 => 202929)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-07-07 20:13:58 UTC (rev 202928)
+++ trunk/Source/WebCore/ChangeLog        2016-07-07 20:53:41 UTC (rev 202929)
</span><span class="lines">@@ -1,3 +1,21 @@
</span><ins>+2016-07-07  Commit Queue  &lt;commit-queue@webkit.org&gt;
+
+        Unreviewed, rolling out r202905 and r202911.
+        https://bugs.webkit.org/show_bug.cgi?id=159522
+
+        This test is fails on El Capitan and Sierra WK1 (Requested by
+        ryanhaddad on #webkit).
+
+        Reverted changesets:
+
+        &quot;Add a test for media control dropoff&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=151287
+        http://trac.webkit.org/changeset/202905
+
+        &quot;Add a test for media control dropoff&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=151287
+        http://trac.webkit.org/changeset/202911
+
</ins><span class="cx"> 2016-07-07  Antoine Quint  &lt;graouts@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         &lt;img&gt; with a wide gamut PDF does not display using a wide gamut color space
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediacontrolsmediaControlsApplejs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.js (202928 => 202929)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.js        2016-07-07 20:13:58 UTC (rev 202928)
+++ trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.js        2016-07-07 20:53:41 UTC (rev 202929)
</span><span class="lines">@@ -2288,37 +2288,33 @@
</span><span class="cx">             {
</span><span class="cx">                 name: &quot;Show Controls&quot;,
</span><span class="cx">                 object: this.showControlsButton,
</span><del>-                extraProperties: [&quot;hidden&quot;],
</del><ins>+                extraProperties: [&quot;hidden&quot;]
</ins><span class="cx">             },
</span><span class="cx">             {
</span><span class="cx">                 name: &quot;Status Display&quot;,
</span><span class="cx">                 object: this.controls.statusDisplay,
</span><span class="cx">                 styleValues: [&quot;display&quot;],
</span><del>-                extraProperties: [&quot;textContent&quot;],
</del><ins>+                extraProperties: [&quot;textContent&quot;]
</ins><span class="cx">             },
</span><span class="cx">             {
</span><span class="cx">                 name: &quot;Play Button&quot;,
</span><del>-                object: this.controls.playButton,
-                extraProperties: [&quot;hidden&quot;],
</del><ins>+                object: this.controls.playButton
</ins><span class="cx">             },
</span><span class="cx">             {
</span><span class="cx">                 name: &quot;Rewind Button&quot;,
</span><del>-                object: this.controls.rewindButton,
-                extraProperties: [&quot;hidden&quot;],
</del><ins>+                object: this.controls.rewindButton
</ins><span class="cx">             },
</span><span class="cx">             {
</span><span class="cx">                 name: &quot;Timeline Box&quot;,
</span><del>-                object: this.controls.timelineBox,
</del><ins>+                object: this.controls.timelineBox
</ins><span class="cx">             },
</span><span class="cx">             {
</span><span class="cx">                 name: &quot;Mute Box&quot;,
</span><del>-                object: this.controls.muteBox,
-                extraProperties: [&quot;hidden&quot;],
</del><ins>+                object: this.controls.muteBox
</ins><span class="cx">             },
</span><span class="cx">             {
</span><span class="cx">                 name: &quot;Fullscreen Button&quot;,
</span><del>-                object: this.controls.fullscreenButton,
-                extraProperties: [&quot;hidden&quot;],
</del><ins>+                object: this.controls.fullscreenButton
</ins><span class="cx">             },
</span><span class="cx">             {
</span><span class="cx">                 name: &quot;AppleTV Device Picker&quot;,
</span><span class="lines">@@ -2330,36 +2326,10 @@
</span><span class="cx">                 name: &quot;Picture-in-picture Button&quot;,
</span><span class="cx">                 object: this.controls.pictureInPictureButton,
</span><span class="cx">                 extraProperties: [&quot;parentElement&quot;],
</span><del>-                extraProperties: [&quot;hidden&quot;],
</del><span class="cx">             },
</span><span class="cx">             {
</span><del>-                name: &quot;Caption Button&quot;,
-                object: this.controls.captionButton,
-                extraProperties: [&quot;hidden&quot;],
-            },
-            {
-                name: &quot;Timeline&quot;,
-                object: this.controls.timeline,
-                extraProperties: [&quot;hidden&quot;],
-            },
-            {
-                name: &quot;Current Time&quot;,
-                object: this.controls.currentTime,
-                extraProperties: [&quot;hidden&quot;],
-            },
-            {
-                name: &quot;Thumbnail Track&quot;,
-                object: this.controls.thumbnailTrack,
-                extraProperties: [&quot;hidden&quot;],
-            },
-            {
-                name: &quot;Time Remaining&quot;,
-                object: this.controls.remainingTime,
-                extraProperties: [&quot;hidden&quot;],
-            },
-            {
</del><span class="cx">                 name: &quot;Track Menu&quot;,
</span><del>-                object: this.captionMenu,
</del><ins>+                object: this.captionMenu
</ins><span class="cx">             },
</span><span class="cx">             {
</span><span class="cx">                 name: &quot;Inline playback placeholder&quot;,
</span></span></pre>
</div>
</div>

</body>
</html>