WebCore:
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Mar 2008 07:08:43 +0000 (07:08 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Mar 2008 07:08:43 +0000 (07:08 +0000)
commit2a58f429ec9b56d220d35bbdeda11e020b9aada4
tree0f2fc9535b55b0eaa4612822ff0ee721933a7dd6
parent6d55438c3a2a1cdcdfbef67f07e2b14027ea1556
WebCore:

        Reviewed by Sam and Oliver.

        - fixed http://bugs.webkit.org/show_bug.cgi?id=16289
        - fixed Acid3 tests 26 and 27 (not exactly the same issue but related)

        * bindings/js/JSNodeCustom.cpp:
        (WebCore::JSNode::mark): When marking a node that's in-document,
        mark the owner document if it hasn't been already. This means holding on
        to a single node from an unreferenced document now keeps the whole document alive.

        We are now at 90/100 on Acid3.

LayoutTests:

        Reviewed by Sam and Oliver.

        - test for http://bugs.webkit.org/show_bug.cgi?id=16289
        - test for Acid3 tests 26 and 27 (not exactly the same issue but related)

        * fast/dom/gc-11-expected.txt: Added. Test case from bug 16289.
        * fast/dom/gc-11.html: Added.
        * fast/dom/gc-acid3.html: Added. DOM garbage collection part of Acid3.
        * fast/dom/gc-acid3-expected.txt: Added.
        * fast/dom/gc-6-expected.txt: Updated results. The old assumptions of this test
        were in conflict with the requirements of Acid3.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30790 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/gc-11-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/gc-11.html [new file with mode: 0644]
LayoutTests/fast/dom/gc-6-expected.txt
LayoutTests/fast/dom/gc-acid3-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/gc-acid3.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/bindings/js/JSNodeCustom.cpp