Title: [153916] trunk/LayoutTests
Revision
153916
Author
[email protected]
Date
2013-08-09 17:07:43 -0700 (Fri, 09 Aug 2013)

Log Message

        Merge an encoding test from Blink
        https://bugs.webkit.org/show_bug.cgi?id=116943

        Original patch by Adam Barth.

        * fast/encoding/meta-overrules-auto-expected.txt: Added.
        * fast/encoding/meta-overrules-auto.html: Added.
        * fast/encoding/resources/meta-input-encoding.html: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (153915 => 153916)


--- trunk/LayoutTests/ChangeLog	2013-08-10 00:01:53 UTC (rev 153915)
+++ trunk/LayoutTests/ChangeLog	2013-08-10 00:07:43 UTC (rev 153916)
@@ -1,5 +1,16 @@
 2013-08-09  Alexey Proskuryakov  <[email protected]>
 
+        Merge an encoding test from Blink
+        https://bugs.webkit.org/show_bug.cgi?id=116943
+
+        Original patch by Adam Barth.
+
+        * fast/encoding/meta-overrules-auto-expected.txt: Added.
+        * fast/encoding/meta-overrules-auto.html: Added.
+        * fast/encoding/resources/meta-input-encoding.html: Added.
+
+2013-08-09  Alexey Proskuryakov  <[email protected]>
+
         Tests that dump delegate calls are flaky because of cached redirects
         https://bugs.webkit.org/show_bug.cgi?id=119641
 

Added: trunk/LayoutTests/fast/encoding/meta-overrules-auto-expected.txt (0 => 153916)


--- trunk/LayoutTests/fast/encoding/meta-overrules-auto-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/fast/encoding/meta-overrules-auto-expected.txt	2013-08-10 00:07:43 UTC (rev 153916)
@@ -0,0 +1,7 @@
+This iframe should use UTF-8 because of its meta tag even in spite of this test enabling the encoding detector:
+
+
+--------
+Frame: '<!--framePath //<!--frame0-->-->'
+--------
+UTF-8
Property changes on: trunk/LayoutTests/fast/encoding/meta-overrules-auto-expected.txt
___________________________________________________________________

Added: svn:mime-type

Added: svn:eol-style

Added: trunk/LayoutTests/fast/encoding/meta-overrules-auto.html (0 => 153916)


--- trunk/LayoutTests/fast/encoding/meta-overrules-auto.html	                        (rev 0)
+++ trunk/LayoutTests/fast/encoding/meta-overrules-auto.html	2013-08-10 00:07:43 UTC (rev 153916)
@@ -0,0 +1,12 @@
+<script>
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.dumpChildFramesAsText();
+}
+if (!window.internals)
+    alert("This test requires window.internals");
+window.internals.settings.setUsesEncodingDetector(true);
+</script>
+This iframe should use UTF-8 because of its meta tag even in spite of this test
+enabling the encoding detector:<br>
+<iframe src=""
Property changes on: trunk/LayoutTests/fast/encoding/meta-overrules-auto.html
___________________________________________________________________

Added: svn:mime-type

Added: trunk/LayoutTests/fast/encoding/resources/meta-input-encoding.html (0 => 153916)


--- trunk/LayoutTests/fast/encoding/resources/meta-input-encoding.html	                        (rev 0)
+++ trunk/LayoutTests/fast/encoding/resources/meta-input-encoding.html	2013-08-10 00:07:43 UTC (rev 153916)
@@ -0,0 +1,4 @@
+<meta charset="utf-8">
+<script>
+document.write(document.inputEncoding);
+</script>
Property changes on: trunk/LayoutTests/fast/encoding/resources/meta-input-encoding.html
___________________________________________________________________

Added: svn:mime-type

_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to