[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

abarth at webkit.org abarth at webkit.org
Wed Dec 22 14:36:23 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 6e783779761df1f6379a09c7741f4ea3d66ee38a
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Oct 14 00:36:47 2010 +0000

    2010-10-13  Adam Barth  <abarth at webkit.org>
    
            Reviewed by Darin Adler.
    
            Incorrect use of alternate content inside the <object> element
            https://bugs.webkit.org/show_bug.cgi?id=11803
    
            Our current behavior appears to match Firefox and the spec.  Opera
            seems to do what the bug reporter requests, but our current behavior
            seems more sane.
    
            * fast/forms/fallback-content-submission-expected.txt: Added.
            * fast/forms/fallback-content-submission.html: Added.
            * fast/parser/object-with-textarea-fallback-expected.txt: Added.
            * fast/parser/object-with-textarea-fallback.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69720 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 09d5c98..b43c0c2 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,19 @@
+2010-10-13  Adam Barth  <abarth at webkit.org>
+
+        Reviewed by Darin Adler.
+
+        Incorrect use of alternate content inside the <object> element
+        https://bugs.webkit.org/show_bug.cgi?id=11803
+
+        Our current behavior appears to match Firefox and the spec.  Opera
+        seems to do what the bug reporter requests, but our current behavior
+        seems more sane.
+
+        * fast/forms/fallback-content-submission-expected.txt: Added.
+        * fast/forms/fallback-content-submission.html: Added.
+        * fast/parser/object-with-textarea-fallback-expected.txt: Added.
+        * fast/parser/object-with-textarea-fallback.html: Added.
+
 2010-10-13  Chris Evans  <cevans at google.com>
 
         Reviewed by Jian Li.
diff --git a/LayoutTests/fast/forms/fallback-content-submission-expected.txt b/LayoutTests/fast/forms/fallback-content-submission-expected.txt
new file mode 100644
index 0000000..81fdd62
--- /dev/null
+++ b/LayoutTests/fast/forms/fallback-content-submission-expected.txt
@@ -0,0 +1,3 @@
+
+
+PASS
diff --git a/LayoutTests/fast/forms/fallback-content-submission.html b/LayoutTests/fast/forms/fallback-content-submission.html
new file mode 100644
index 0000000..924de25
--- /dev/null
+++ b/LayoutTests/fast/forms/fallback-content-submission.html
@@ -0,0 +1,28 @@
+<form action="resources/success.txt" method="GET" target="tg">
+  <object data="resources/logo.gif" type="image/gif" width="180" height="60">
+    <textarea id="abc" name="abc" rows="5" cols="70">Hello World</textarea>
+  </object>
+</form>
+<iframe name="tg"></iframe>
+<div id="result"></div>
+<script>
+if (window.layoutTestController) {
+    layoutTestController.dumpAsText();
+    layoutTestController.waitUntilDone();
+}
+
+window.onload = function() {
+    document.getElementsByTagName('iframe')[0].addEventListener('load', function () {
+        var expected_search = "?abc=Hello+World";
+        var actual_search = this.contentWindow.location.search;
+        if (expected_search == actual_search)
+            document.getElementById('result').textContent = "PASS";
+        else
+            document.getElementById('result').textContent = "FAIL: actual=" + actual_search;
+        if (window.layoutTestController)
+            layoutTestController.notifyDone();
+    }, false);
+
+    document.getElementsByTagName('form')[0].submit();
+}
+</script>
diff --git a/LayoutTests/fast/parser/object-with-textarea-fallback-expected.txt b/LayoutTests/fast/parser/object-with-textarea-fallback-expected.txt
new file mode 100644
index 0000000..5e9b32a
--- /dev/null
+++ b/LayoutTests/fast/parser/object-with-textarea-fallback-expected.txt
@@ -0,0 +1,18 @@
+| <html>
+|   <head>
+|     <script>
+|       src="../../resources/dump-as-markup.js"
+|     "
+"
+|   <body>
+|     <object>
+|       name="editor1"
+|       type="application/x-xstandard"
+|       "
+"
+|       <textarea>
+|         name="editor1"
+|       "
+"
+|     "
+"
diff --git a/LayoutTests/fast/parser/object-with-textarea-fallback.html b/LayoutTests/fast/parser/object-with-textarea-fallback.html
new file mode 100644
index 0000000..0811b77
--- /dev/null
+++ b/LayoutTests/fast/parser/object-with-textarea-fallback.html
@@ -0,0 +1,4 @@
+<script src="../../resources/dump-as-markup.js"></script>
+<object type="application/x-xstandard" name="editor1">
+<textarea name="editor1"></textarea>
+</object>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list