[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 13:33:53 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit e6af180738e59bc5d431f038fd0f6b7c820b460d
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Sep 20 16:48:51 2010 +0000

    2010-09-20  Adam Barth  <abarth at webkit.org>
    
            Reviewed by Alexey Proskuryakov.
    
            script element created with html element as parent
            https://bugs.webkit.org/show_bug.cgi?id=17023
    
            The underlying bug is fixed by the HTML5 parser.  We have lots of tests
            for the resulting DOM in this case, but we don't have a test for what
            the DOM looks like to a script running inline at that time.  Since
            that's how the test case attached to the bug was written, it seems
            worth adding.
    
            * fast/parser/parent-of-script-before-head-expected.txt: Added.
            * fast/parser/parent-of-script-before-head.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67857 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 87014a3..0f9c738 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,19 @@
+2010-09-20  Adam Barth  <abarth at webkit.org>
+
+        Reviewed by Alexey Proskuryakov.
+
+        script element created with html element as parent
+        https://bugs.webkit.org/show_bug.cgi?id=17023
+
+        The underlying bug is fixed by the HTML5 parser.  We have lots of tests
+        for the resulting DOM in this case, but we don't have a test for what
+        the DOM looks like to a script running inline at that time.  Since
+        that's how the test case attached to the bug was written, it seems
+        worth adding.
+
+        * fast/parser/parent-of-script-before-head-expected.txt: Added.
+        * fast/parser/parent-of-script-before-head.html: Added.
+
 2010-09-20  Dimitri Glazkov  <dglazkov at chromium.org>
 
         Move a few more xp-specific results to win-xp and clean up test expectations.
diff --git a/LayoutTests/editing/selection/5136696-expected.txt b/LayoutTests/fast/parser/parent-of-script-before-head-expected.txt
similarity index 100%
copy from LayoutTests/editing/selection/5136696-expected.txt
copy to LayoutTests/fast/parser/parent-of-script-before-head-expected.txt
diff --git a/LayoutTests/fast/parser/parent-of-script-before-head.html b/LayoutTests/fast/parser/parent-of-script-before-head.html
new file mode 100644
index 0000000..6f8e253
--- /dev/null
+++ b/LayoutTests/fast/parser/parent-of-script-before-head.html
@@ -0,0 +1,10 @@
+<!doctype html>
+<script>
+if (window.layoutTestController)
+    layoutTestController.dumpAsText();
+
+if (document.getElementsByTagName("script")[0].parentNode.tagName.toUpperCase() == "HEAD")
+    document.write("PASS")
+else
+    document.write("FAIL")
+</script>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list