Changeset 85216 in webkit


Ignore:
Timestamp:
Apr 28, 2011 11:43:54 AM (13 years ago)
Author:
Dimitri Glazkov
Message:

2011-04-28 Dominic Cooney <dominicc@chromium.org>

Reviewed by Geoffrey Garen.

Walk shadow hosts as well as parent nodes when finding opaque roots.
https://bugs.webkit.org/show_bug.cgi?id=59571

Remove expectation of failure.

  • platform/mac/fast/dom/shadow/gc-shadow-expected.txt: Removed.

2011-04-28 Dominic Cooney <dominicc@chromium.org>

Reviewed by Geoffrey Garen.

Walk shadow hosts as well as parent nodes when finding opaque roots.
https://bugs.webkit.org/show_bug.cgi?id=59571

Test: fast/dom/shadow/gc-shadow.html

  • bindings/js/JSDOMBinding.h: (WebCore::root):
Location:
trunk
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r85215 r85216  
     12011-04-28  Dominic Cooney  <dominicc@chromium.org>
     2
     3        Reviewed by Geoffrey Garen.
     4
     5        Walk shadow hosts as well as parent nodes when finding opaque roots.
     6        https://bugs.webkit.org/show_bug.cgi?id=59571
     7
     8        Remove expectation of failure.
     9
     10        * platform/mac/fast/dom/shadow/gc-shadow-expected.txt: Removed.
     11
    1122011-04-28  Dimitri Glazkov  <dglazkov@chromium.org>
    213
  • trunk/Source/WebCore/ChangeLog

    r85214 r85216  
     12011-04-28  Dominic Cooney  <dominicc@chromium.org>
     2
     3        Reviewed by Geoffrey Garen.
     4
     5        Walk shadow hosts as well as parent nodes when finding opaque roots.
     6        https://bugs.webkit.org/show_bug.cgi?id=59571
     7
     8        Test: fast/dom/shadow/gc-shadow.html
     9
     10        * bindings/js/JSDOMBinding.h:
     11        (WebCore::root):
     12
    1132011-04-28  Martin Robinson  <mrobinson@igalia.com>
    214
  • trunk/Source/WebCore/bindings/js/JSDOMBinding.h

    r85127 r85216  
    172172            return node->document();
    173173
    174         while (node->parentNode())
    175             node = node->parentNode();
     174        while (node->parentOrHostNode())
     175            node = node->parentOrHostNode();
    176176        return node;
    177177    }
Note: See TracChangeset for help on using the changeset viewer.