Title: [163467] trunk/LayoutTests
Revision
163467
Author
[email protected]
Date
2014-02-05 12:57:07 -0800 (Wed, 05 Feb 2014)

Log Message

Fix srcset change test flakiness
https://bugs.webkit.org/show_bug.cgi?id=128265

Patch by Yoav Weiss <[email protected]> on 2014-02-05
Reviewed by Alexey Proskuryakov.

* fast/hidpi/image-srcset-change-dynamically-from-js-2x-expected.txt:
* fast/hidpi/image-srcset-change-dynamically-from-js-2x.html:
* platform/gtk-wk2/fast/hidpi/image-srcset-change-dynamically-from-js-2x-expected.txt: Removed.

Modified Paths

Removed Paths

  • trunk/LayoutTests/platform/gtk-wk2/fast/hidpi/

Diff

Modified: trunk/LayoutTests/ChangeLog (163466 => 163467)


--- trunk/LayoutTests/ChangeLog	2014-02-05 20:42:37 UTC (rev 163466)
+++ trunk/LayoutTests/ChangeLog	2014-02-05 20:57:07 UTC (rev 163467)
@@ -1,3 +1,14 @@
+2014-02-05  Yoav Weiss  <[email protected]>
+
+        Fix srcset change test flakiness
+        https://bugs.webkit.org/show_bug.cgi?id=128265
+
+        Reviewed by Alexey Proskuryakov.
+
+        * fast/hidpi/image-srcset-change-dynamically-from-js-2x-expected.txt:
+        * fast/hidpi/image-srcset-change-dynamically-from-js-2x.html:
+        * platform/gtk-wk2/fast/hidpi/image-srcset-change-dynamically-from-js-2x-expected.txt: Removed.
+
 2014-02-04  Myles C. Maxfield  <[email protected]>
 
         Move characterAt index checks from InlineIterator to RenderText

Modified: trunk/LayoutTests/fast/hidpi/image-srcset-change-dynamically-from-js-2x-expected.txt (163466 => 163467)


--- trunk/LayoutTests/fast/hidpi/image-srcset-change-dynamically-from-js-2x-expected.txt	2014-02-05 20:42:37 UTC (rev 163466)
+++ trunk/LayoutTests/fast/hidpi/image-srcset-change-dynamically-from-js-2x-expected.txt	2014-02-05 20:57:07 UTC (rev 163467)
@@ -1,7 +1,3 @@
-blue-100-px-square.png has MIME type image/png
-image-srcset-change-dynamically-from-js-2x.html has MIME type text/html
-srcset-helper.js has MIME type text/_javascript_
-js-test-pre.js has MIME type text/_javascript_
 green-400-px-square.png has MIME type image/png
 PASS document.getElementById("foo").clientWidth==200 is true
 This test passes if this img tag below is a green square when the scale factor is 2. It ensures that attributes can be changed dynamically from _javascript_, and that only the correct resource is loaded.

Modified: trunk/LayoutTests/fast/hidpi/image-srcset-change-dynamically-from-js-2x.html (163466 => 163467)


--- trunk/LayoutTests/fast/hidpi/image-srcset-change-dynamically-from-js-2x.html	2014-02-05 20:42:37 UTC (rev 163466)
+++ trunk/LayoutTests/fast/hidpi/image-srcset-change-dynamically-from-js-2x.html	2014-02-05 20:57:07 UTC (rev 163467)
@@ -5,7 +5,6 @@
 <script>
     if (window.testRunner) {
         testRunner.dumpAsText();
-        testRunner.dumpResourceResponseMIMETypes();
     }
 
     function updateSrc() {
@@ -16,6 +15,8 @@
     }
 
     addEventListener("DOMContentLoaded", function() {
+        if (sessionStorage.pageReloaded)
+            testRunner.dumpResourceResponseMIMETypes();
         updateSrc();
     }, false);
     addEventListener("load", function() {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to