Modified img src and srcset encoded URL tests
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Sep 2013 14:43:15 +0000 (14:43 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Sep 2013 14:43:15 +0000 (14:43 +0000)
https://bugs.webkit.org/show_bug.cgi?id=121677

Previous tests have broken the Windows builds, since '?' is not a valid char.
Moved to using '@'

Patch by Yoav Weiss <yoav@yoav.ws> on 2013-09-20
Reviewed by Anders Carlsson.

* fast/hidpi/image-srcset-encoded-expected.txt: Renamed from LayoutTests/fast/hidpi/image-srcset-question-mark-expected.txt.
* fast/hidpi/image-srcset-encoded.html: Renamed from LayoutTests/fast/hidpi/image-srcset-question-mark.html.
* fast/hidpi/resources/image@test.png: Renamed from LayoutTests/fast/hidpi/resources/image?test.png.
* fast/loader/image-src-encoded-expected.txt: Renamed from LayoutTests/fast/loader/image-src-question-mark-expected.txt.
* fast/loader/resources/image@test.png: Renamed from LayoutTests/fast/loader/resources/image?test.png.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156161 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/hidpi/image-srcset-encoded-expected.txt [moved from LayoutTests/fast/hidpi/image-srcset-question-mark-expected.txt with 100% similarity]
LayoutTests/fast/hidpi/image-srcset-encoded.html [moved from LayoutTests/fast/hidpi/image-srcset-question-mark.html with 71% similarity]
LayoutTests/fast/hidpi/resources/image@test.png [moved from LayoutTests/fast/hidpi/resources/image?test.png with 100% similarity]
LayoutTests/fast/loader/image-src-encoded-expected.txt [moved from LayoutTests/fast/loader/image-src-question-mark-expected.txt with 100% similarity]
LayoutTests/fast/loader/resources/image@test.png [moved from LayoutTests/fast/loader/resources/image?test.png with 100% similarity]

index 83fae509c8f229d0105100cfd37e09209217fa30..5f88bb43961bed187a7902a6088b7283146585a5 100644 (file)
@@ -1,3 +1,19 @@
+2013-09-20  Yoav Weiss  <yoav@yoav.ws>
+
+        Modified img src and srcset encoded URL tests
+        https://bugs.webkit.org/show_bug.cgi?id=121677
+
+        Previous tests have broken the Windows builds, since '?' is not a valid char.
+        Moved to using '@'
+
+        Reviewed by Anders Carlsson.
+
+        * fast/hidpi/image-srcset-encoded-expected.txt: Renamed from LayoutTests/fast/hidpi/image-srcset-question-mark-expected.txt.
+        * fast/hidpi/image-srcset-encoded.html: Renamed from LayoutTests/fast/hidpi/image-srcset-question-mark.html.
+        * fast/hidpi/resources/image@test.png: Renamed from LayoutTests/fast/hidpi/resources/image?test.png.
+        * fast/loader/image-src-encoded-expected.txt: Renamed from LayoutTests/fast/loader/image-src-question-mark-expected.txt.
+        * fast/loader/resources/image@test.png: Renamed from LayoutTests/fast/loader/resources/image?test.png.
+
 2013-09-20  Gabor Abraham  <abrhm@inf.u-szeged.hu>
 
         [Qt] Unreviewed gardening. Update tests after r156066 and r156083.
similarity index 71%
rename from LayoutTests/fast/hidpi/image-srcset-question-mark.html
rename to LayoutTests/fast/hidpi/image-srcset-encoded.html
index 8c86753d20c808a45ed7403e48cba0d1d592e0c1..18bfa56fc6ba1b4808b7f066de08b452a471f864 100644 (file)
@@ -2,10 +2,6 @@
     <head>
         <script src="../../resources/js-test-pre.js"></script>
         <script>
-             if (window.testRunner) {
-                 testRunner.dumpAsText();
-             }
-
              addEventListener("load", function() {
                  shouldBeTrue('document.getElementById("foo").clientWidth==25');
              }, false);
@@ -14,6 +10,6 @@
 
     <body id="body">
         <div>This test passes if the image below is displayed.</div>
-        <img id="foo" srcset="resources/image%3Ftest.png">
+        <img id="foo" srcset="resources/image%40test.png">
     </body>
 </html>