Title: [146685] trunk/LayoutTests
Revision
146685
Author
[email protected]
Date
2013-03-22 17:00:28 -0700 (Fri, 22 Mar 2013)

Log Message

Plugin Snapshotting: Auto-start dominant plugins
​https://bugs.webkit.org/show_bug.cgi?id=113111
<rdar://problem/13475726>

Reviewed by Dean Jackson.

Add a test for http://trac.webkit.org/changeset/146679.

* platform/mac-wk2/plugins/snapshotting/autoplay-dominant-expected.txt: Added.
* plugins/snapshotting/autoplay-dominant.html: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (146684 => 146685)


--- trunk/LayoutTests/ChangeLog	2013-03-22 23:58:42 UTC (rev 146684)
+++ trunk/LayoutTests/ChangeLog	2013-03-23 00:00:28 UTC (rev 146685)
@@ -1,3 +1,16 @@
+2013-03-22  Tim Horton  <[email protected]>
+
+        Plugin Snapshotting: Auto-start dominant plugins
+        ​https://bugs.webkit.org/show_bug.cgi?id=113111
+        <rdar://problem/13475726>
+
+        Reviewed by Dean Jackson.
+
+        Add a test for http://trac.webkit.org/changeset/146679.
+
+        * platform/mac-wk2/plugins/snapshotting/autoplay-dominant-expected.txt: Added.
+        * plugins/snapshotting/autoplay-dominant.html: Added.
+
 2013-03-22  Tony Chang  <[email protected]>
 
         REGRESSION (r146272): layout issues for flex boxes that have -webkit-flex-wrap: wrap

Added: trunk/LayoutTests/platform/mac-wk2/plugins/snapshotting/autoplay-dominant-expected.txt (0 => 146685)


--- trunk/LayoutTests/platform/mac-wk2/plugins/snapshotting/autoplay-dominant-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/mac-wk2/plugins/snapshotting/autoplay-dominant-expected.txt	2013-03-23 00:00:28 UTC (rev 146685)
@@ -0,0 +1,12 @@
+layer at (0,0) size 785x650
+  RenderView at (0,0) size 785x600
+layer at (0,0) size 785x650
+  RenderBlock {HTML} at (0,0) size 785x650
+    RenderBody {BODY} at (8,8) size 769x634
+      RenderBlock {P} at (0,0) size 769x18
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This test's dominant plugin should play automatically"
+      RenderBlock (anonymous) at (0,34) size 769x600
+        RenderText {#text} at (0,0) size 0x0
+layer at (8,42) size 600x600
+  RenderEmbeddedObject {EMBED} at (0,0) size 600x600

Added: trunk/LayoutTests/plugins/snapshotting/autoplay-dominant.html (0 => 146685)


--- trunk/LayoutTests/plugins/snapshotting/autoplay-dominant.html	                        (rev 0)
+++ trunk/LayoutTests/plugins/snapshotting/autoplay-dominant.html	2013-03-23 00:00:28 UTC (rev 146685)
@@ -0,0 +1,12 @@
+<p>This test's dominant plugin should play automatically</p>
+<script>
+if (window.testRunner) {
+    window.internals.settings.setPlugInSnapshottingEnabled(true);
+    window.internals.settings.setMaximumPlugInSnapshotAttempts(0);
+    testRunner.waitUntilDone();
+    setTimeout(function () {
+        testRunner.notifyDone();
+    }, 500);
+}
+</script>
+<embed src="" width="600" height="600"></embed>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to