<!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:
"Add a test for media control dropoff"
https://bugs.webkit.org/show_bug.cgi?id=151287
http://trac.webkit.org/changeset/202905
"Add a test for media control dropoff"
https://bugs.webkit.org/show_bug.cgi?id=151287
http://trac.webkit.org/changeset/202911
Patch by Commit Queue <commit-queue@webkit.org> 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 <commit-queue@webkit.org>
+
+ 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:
+
+ "Add a test for media control dropoff"
+ https://bugs.webkit.org/show_bug.cgi?id=151287
+ http://trac.webkit.org/changeset/202905
+
+ "Add a test for media control dropoff"
+ https://bugs.webkit.org/show_bug.cgi?id=151287
+ http://trac.webkit.org/changeset/202911
+
</ins><span class="cx"> 2016-07-07 Benjamin Poulain <benjamin@webkit.org>
</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>-<!DOCTYPE html>
-<html>
- <head>
- <script src="../media-file.js"></script>
- <script src="controls-test-helpers.js"></script>
- <script>
-
- const allButtons = [
- "Play Button", "Rewind Button", "Status Display", "Mute Box", "AppleTV Device Picker",
- "Picture-in-picture Button", "Caption Button", "Fullscreen Button", "Timeline",
- "Current Time", "Thumbnail Track", "Time Remaining"
- ];
- const tester = new ControlsTest("non-existent-media-file", "error")
- .whenReady(setup)
- .start();
-
- function setup()
- {
- internals.settings.setAllowsPictureInPictureMediaPlayback(true);
-
- tester.test("We are using the Apple idiom")
- .value(tester.currentState.idiom)
- .isEqualTo("apple");
- tester.startNewSection("*** Test the controls layout without video ***");
- runTestsWithoutVideo();
- }
-
- function testControls(data, nextTest)
- {
- if (!data.length) {
- if (typeof nextTest === "function")
- nextTest();
- else
- tester.end();
- return;
- }
-
- const test = data.shift();
-
- if (typeof tester.media.webkitSupportsPresentationMode !== "function" || !tester.media.webkitSupportsPresentationMode('picture-in-picture'))
- test.visible = test.visible.filter(name => name.indexOf("Picture-in-picture Button") === -1);
- if (!internals.setMockMediaPlaybackTargetPickerState)
- test.visible = test.visible.filter(name => name.indexOf("AppleTV Device Picker") === -1);
-
- tester.media.style.width = test.width + "px";
- window.setTimeout( () => {
- tester.logMessage(`* Width ${tester.media.style.width}:`);
-
- const isVisible = (state, name) => {
- if (state === null || typeof state.className !== "string")
- return false;
- return state.className.indexOf("dropped") === -1 && state.className.indexOf("hidden") === -1;
- }
-
- test.visible.forEach(name => {
- const state = tester.stateForControlsElement(name, true);
- tester.test(`${name} is visible`)
- .value(isVisible(state))
- .isTrue();
- });
-
- allButtons.filter(name => test.visible.indexOf(name) === -1).forEach(name => {
- 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 = () => {
- tester.resetEventTrigger("canplaythrough")
- .whenReady(runTestsWithVideo)
- .media.src = findMediaFile("video", "../content/test");
- tester.startNewSection("*** Test the controls layout with video ***");
- };
-
- const data = [
- { width: 60, visible : ["Play Button", "Status Display"] },
- { width: 90, visible : ["Play Button", "Rewind Button", "Status Display"] },
- { width: 200, visible : ["Play Button", "Rewind Button", "Status Display", "Mute Box"] },
- ];
- testControls(data, setupNextTest);
- }
-
- function runTestsWithVideo()
- {
- const setupNextTest = () => {
- tester.startNewSection("*** Test the controls layout with video and a caption track ***")
- const track = document.createElement("track");
- track.kind = "captions";
- track.src = `data:text/vtt,${encodeURIComponent("WEBVTT\n\n00:00:00.000 --> 00:00:01.000\nCaption 1\n")}`;
- tester.media.appendChild(track);
-
- runTestsWithTextTrack();
- };
-
- const data = [
- { width: 60, visible : ["Play Button"] },
- { width: 90, visible : ["Play Button", "Fullscreen Button"] },
- { width: 120, visible : ["Play Button", "Rewind Button", "Fullscreen Button"] },
- { width: 150, visible : ["Play Button", "Rewind Button", "Mute Box", "Fullscreen Button"] },
- { width: 200, visible : ["Play Button", "Rewind Button", "Mute Box", "Picture-in-picture Button", "Fullscreen Button"] },
- { width: 400, visible : ["Play Button", "Rewind Button", "Timeline", "Current Time", "Thumbnail Track", "Time Remaining", "Mute Box", "Picture-in-picture Button", "Fullscreen Button"] },
- ];
-
- testControls(data, setupNextTest);
- }
-
- function runTestsWithTextTrack()
- {
- const setupNextTest = () => {
- tester.startNewSection("*** Test the controls layout with video, a caption track, and AppleTV ***");
- internals.setMockMediaPlaybackTargetPickerState("Sleepy TV", "DeviceAvailable");
- runTestsWithVideoAndAppleTV();
- };
-
- const data = [
- { width: 60, visible : ["Play Button"] },
- { width: 90, visible : ["Play Button", "Fullscreen Button"] },
- { width: 120, visible : ["Play Button", "Rewind Button", "Fullscreen Button"] },
- { width: 150, visible : ["Play Button", "Rewind Button", "Mute Box", "Fullscreen Button"] },
- { width: 180, visible : ["Play Button", "Rewind Button", "Mute Box", "Caption Button", "Fullscreen Button"] },
- { width: 200, visible : ["Play Button", "Rewind Button", "Mute Box", "Caption Button", "Picture-in-picture Button", "Fullscreen Button"] },
- { width: 400, visible : ["Play Button", "Rewind Button", "Current Time", "Timeline", "Thumbnail Track", "Time Remaining", "Mute Box", "Caption Button", "Picture-in-picture Button", "Fullscreen Button"] },
- ];
-
- testControls(data, internals.setMockMediaPlaybackTargetPickerState ? setupNextTest : null);
- }
-
- function runTestsWithVideoAndAppleTV()
- {
- const data = [
- { width: 60, visible : ["Play Button"] },
- { width: 90, visible : ["Play Button", "Fullscreen Button"] },
- { width: 120, visible : ["Play Button", "Rewind Button", "Fullscreen Button"] },
- { width: 150, visible : ["Play Button", "Rewind Button", "Mute Box", "Fullscreen Button"] },
- { width: 180, visible : ["Play Button", "Rewind Button", "Mute Box", "Caption Button", "Fullscreen Button"] },
- { width: 200, visible : ["Play Button", "Rewind Button", "Mute Box", "Caption Button", "Picture-in-picture Button", "Fullscreen Button"] },
- { width: 350, visible : ["Play Button", "Rewind Button", "Mute Box", "AppleTV Device Picker", "Caption Button", "Picture-in-picture Button", "Fullscreen Button"] },
- { width: 400, visible : ["Play Button", "Rewind Button", "Current Time", "Timeline", "Thumbnail Track", "Time Remaining", "Mute Box", "AppleTV Device Picker", "Caption Button", "Picture-in-picture Button", "Fullscreen Button"] },
- ];
-
- testControls(data);
- }
-
-
- </script>
- </head>
- <body>
- <p>Test control element visibility at different element widths.</p>
- <p>This test only runs in DRT!</p>
- <video controls></video>
- </body>
-</html>
</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 <commit-queue@webkit.org>
+
+ 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:
+
+ "Add a test for media control dropoff"
+ https://bugs.webkit.org/show_bug.cgi?id=151287
+ http://trac.webkit.org/changeset/202905
+
+ "Add a test for media control dropoff"
+ https://bugs.webkit.org/show_bug.cgi?id=151287
+ http://trac.webkit.org/changeset/202911
+
</ins><span class="cx"> 2016-07-07 Antoine Quint <graouts@apple.com>
</span><span class="cx">
</span><span class="cx"> <img> 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: "Show Controls",
</span><span class="cx"> object: this.showControlsButton,
</span><del>- extraProperties: ["hidden"],
</del><ins>+ extraProperties: ["hidden"]
</ins><span class="cx"> },
</span><span class="cx"> {
</span><span class="cx"> name: "Status Display",
</span><span class="cx"> object: this.controls.statusDisplay,
</span><span class="cx"> styleValues: ["display"],
</span><del>- extraProperties: ["textContent"],
</del><ins>+ extraProperties: ["textContent"]
</ins><span class="cx"> },
</span><span class="cx"> {
</span><span class="cx"> name: "Play Button",
</span><del>- object: this.controls.playButton,
- extraProperties: ["hidden"],
</del><ins>+ object: this.controls.playButton
</ins><span class="cx"> },
</span><span class="cx"> {
</span><span class="cx"> name: "Rewind Button",
</span><del>- object: this.controls.rewindButton,
- extraProperties: ["hidden"],
</del><ins>+ object: this.controls.rewindButton
</ins><span class="cx"> },
</span><span class="cx"> {
</span><span class="cx"> name: "Timeline Box",
</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: "Mute Box",
</span><del>- object: this.controls.muteBox,
- extraProperties: ["hidden"],
</del><ins>+ object: this.controls.muteBox
</ins><span class="cx"> },
</span><span class="cx"> {
</span><span class="cx"> name: "Fullscreen Button",
</span><del>- object: this.controls.fullscreenButton,
- extraProperties: ["hidden"],
</del><ins>+ object: this.controls.fullscreenButton
</ins><span class="cx"> },
</span><span class="cx"> {
</span><span class="cx"> name: "AppleTV Device Picker",
</span><span class="lines">@@ -2330,36 +2326,10 @@
</span><span class="cx"> name: "Picture-in-picture Button",
</span><span class="cx"> object: this.controls.pictureInPictureButton,
</span><span class="cx"> extraProperties: ["parentElement"],
</span><del>- extraProperties: ["hidden"],
</del><span class="cx"> },
</span><span class="cx"> {
</span><del>- name: "Caption Button",
- object: this.controls.captionButton,
- extraProperties: ["hidden"],
- },
- {
- name: "Timeline",
- object: this.controls.timeline,
- extraProperties: ["hidden"],
- },
- {
- name: "Current Time",
- object: this.controls.currentTime,
- extraProperties: ["hidden"],
- },
- {
- name: "Thumbnail Track",
- object: this.controls.thumbnailTrack,
- extraProperties: ["hidden"],
- },
- {
- name: "Time Remaining",
- object: this.controls.remainingTime,
- extraProperties: ["hidden"],
- },
- {
</del><span class="cx"> name: "Track Menu",
</span><del>- object: this.captionMenu,
</del><ins>+ object: this.captionMenu
</ins><span class="cx"> },
</span><span class="cx"> {
</span><span class="cx"> name: "Inline playback placeholder",
</span></span></pre>
</div>
</div>
</body>
</html>