Bug 88045 - Expando properties on attribute nodes disappear (wrappers are not protected against GC)
Summary: Expando properties on attribute nodes disappear (wrappers are not protected a...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 88062 127480 131881 (view as bug list)
Depends on:
Blocks: 87008 87925
  Show dependency treegraph
 
Reported: 2012-05-31 21:42 PDT by Dominic Cooney
Modified: 2017-01-18 23:39 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominic Cooney 2012-05-31 21:42:49 PDT
See attachment 144983 [details] on bug 87925 for a repro. It appears attribute nodes are being garbage collected too aggressively.
Comment 1 Dominic Cooney 2012-09-11 13:43:52 PDT
*** Bug 88062 has been marked as a duplicate of this bug. ***
Comment 2 Alexey Proskuryakov 2014-04-20 22:59:01 PDT
*** Bug 131881 has been marked as a duplicate of this bug. ***
Comment 3 Alexey Proskuryakov 2014-04-20 22:59:30 PDT
*** Bug 127480 has been marked as a duplicate of this bug. ***
Comment 4 Alexey Proskuryakov 2014-04-20 23:06:31 PDT
Consolidated test expectations in <http://trac.webkit.org/r167583>.

The test for this is fast/dom/gc-attribute-node.html, and it's not a very good test, because it sometimes starts to pass because of memory layout changes. I expect that running the second half of the test asynchronously would make it more reliable, as garbage collection would be more likely to work better.