Title: [168031] trunk/LayoutTests
Revision
168031
Author
ddkil...@apple.com
Date
2014-04-30 10:41:39 -0700 (Wed, 30 Apr 2014)

Log Message

Move iphone-simulator test results landed in r167402 to the correct directory

* platform/ios-sim/media/media-document-controls-size-expected.txt: Renamed from LayoutTests/platform/iphone-simulator/media/media-document-controls-size-expected.txt.
* platform/ios-sim/media/media-document-controls-size.html: Renamed from LayoutTests/platform/iphone-simulator/media/media-document-controls-size.html.

Modified Paths

Added Paths

Removed Paths

  • trunk/LayoutTests/platform/iphone-simulator/

Diff

Modified: trunk/LayoutTests/ChangeLog (168030 => 168031)


--- trunk/LayoutTests/ChangeLog	2014-04-30 17:30:15 UTC (rev 168030)
+++ trunk/LayoutTests/ChangeLog	2014-04-30 17:41:39 UTC (rev 168031)
@@ -1,3 +1,10 @@
+2014-04-30  David Kilzer  <ddkil...@apple.com>
+
+        Move iphone-simulator test results landed in r167402 to the correct directory
+
+        * platform/ios-sim/media/media-document-controls-size-expected.txt: Renamed from LayoutTests/platform/iphone-simulator/media/media-document-controls-size-expected.txt.
+        * platform/ios-sim/media/media-document-controls-size.html: Renamed from LayoutTests/platform/iphone-simulator/media/media-document-controls-size.html.
+
 2014-04-30  Alexey Proskuryakov  <a...@apple.com>
 
         compositing/repaint/repaint-on-layer-grouping-change.html is flaky

Copied: trunk/LayoutTests/platform/ios-sim/media/media-document-controls-size-expected.txt (from rev 168029, trunk/LayoutTests/platform/iphone-simulator/media/media-document-controls-size-expected.txt) (0 => 168031)


--- trunk/LayoutTests/platform/ios-sim/media/media-document-controls-size-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/ios-sim/media/media-document-controls-size-expected.txt	2014-04-30 17:41:39 UTC (rev 168031)
@@ -0,0 +1,8 @@
+CONSOLE MESSAGE: line 145: Localized string "Start Playback" not found.
+CONSOLE MESSAGE: line 145: Localized string "Choose Wireless Display" not found.
+Test that media documents have accurately sized media.
+
+
+EXPECTED (width == '200px') OK
+EXPECTED (height == '180px') OK
+

Copied: trunk/LayoutTests/platform/ios-sim/media/media-document-controls-size.html (from rev 168029, trunk/LayoutTests/platform/iphone-simulator/media/media-document-controls-size.html) (0 => 168031)


--- trunk/LayoutTests/platform/ios-sim/media/media-document-controls-size.html	                        (rev 0)
+++ trunk/LayoutTests/platform/ios-sim/media/media-document-controls-size.html	2014-04-30 17:41:39 UTC (rev 168031)
@@ -0,0 +1,22 @@
+<p>Test that media documents have accurately sized media.<p>
+<script src="" type="text/_javascript_"></script>
+<script src="" type="text/_javascript_"></script>
+
+<iframe style="width: 200px; height: 180px; border: 0px;" id="container"> </iframe>
+
+<script type="text/_javascript_">
+var iframe = document.getElementById("container");
+var width, height;
+
+function runTest(event) {
+    var video = iframe.contentDocument.querySelector("video");
+    width = window.getComputedStyle(video).width;
+    height = window.getComputedStyle(video).height;
+    testExpected("width", "200px");
+    testExpected("height", "180px");
+    testRunner.notifyDone();
+};
+
+iframe._onload_ = runTest;
+iframe.src = "" + findMediaFile("video", "content/test");
+</script>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to