Changeset 119196 in webkit


Ignore:
Timestamp:
May 31, 2012 11:37:02 PM (12 years ago)
Author:
dominicc@chromium.org
Message:

[V8] Expando properties on attribute nodes disappear
https://bugs.webkit.org/show_bug.cgi?id=87925

Source/WebCore:

Reviewed by Adam Barth.

Test: fast/dom/gc-attribute-node.html

  • bindings/v8/V8GCController.cpp:

(WebCore::calculateGroupId): Group attributes like other nodes.

LayoutTests:

Checks in a failing result for JSC; see
<https://bugs.webkit.org/show_bug.cgi?id=88045>.

Reviewed by Adam Barth.

  • fast/dom/gc-attribute-node-expected.txt: Added.
  • fast/dom/gc-attribute-node.html: Added.
  • platform/chromium/fast/dom/gc-attribute-node-expected.txt: Added.
  • platform/mac/fast/dom/gc-attribute-node-expected.txt: Added.
Location:
trunk
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r119195 r119196  
     12012-05-31  Dominic Cooney  <dominicc@chromium.org>
     2
     3        [V8] Expando properties on attribute nodes disappear
     4        https://bugs.webkit.org/show_bug.cgi?id=87925
     5
     6        Checks in a failing result for JSC; see
     7        <https://bugs.webkit.org/show_bug.cgi?id=88045>.
     8
     9        Reviewed by Adam Barth.
     10
     11        * fast/dom/gc-attribute-node-expected.txt: Added.
     12        * fast/dom/gc-attribute-node.html: Added.
     13        * platform/chromium/fast/dom/gc-attribute-node-expected.txt: Added.
     14        * platform/mac/fast/dom/gc-attribute-node-expected.txt: Added.
     15
    1162012-05-31  Alexander Shalamov  <alexander.shalamov@intel.com>
    217
  • trunk/Source/WebCore/ChangeLog

    r119195 r119196  
     12012-05-31  Dominic Cooney  <dominicc@chromium.org>
     2
     3        [V8] Expando properties on attribute nodes disappear
     4        https://bugs.webkit.org/show_bug.cgi?id=87925
     5
     6        Reviewed by Adam Barth.
     7
     8        Test: fast/dom/gc-attribute-node.html
     9
     10        * bindings/v8/V8GCController.cpp:
     11        (WebCore::calculateGroupId): Group attributes like other nodes.
     12
    1132012-05-31  Alexander Shalamov  <alexander.shalamov@intel.com>
    214
  • trunk/Source/WebCore/bindings/v8/V8GCController.cpp

    r118606 r119196  
    307307        if (!root)
    308308            return GroupId();
    309     } else {
    310         while (Node* parent = root->parentOrHostNode())
    311             root = parent;
    312     }
     309    }
     310    while (Node* parent = root->parentOrHostNode())
     311        root = parent;
    313312
    314313    return GroupId(root);
Note: See TracChangeset for help on using the changeset viewer.