Skip to content
  • mjs@apple.com's avatar
    WebCore: · 2a58f429
    mjs@apple.com authored
            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
    2a58f429