[V8] fast/dom/gc-9.html fails for document.implementation
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Oct 2012 01:53:03 +0000 (01:53 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Oct 2012 01:53:03 +0000 (01:53 +0000)
commit6620c7a82511fa9eb3c24fdc56282b975607e5fe
tree53fd030dce54c060052ced2bf56362e77753ebf1
parentdc7b58b826379a06d812ed4b2417b15be4911fa8
[V8] fast/dom/gc-9.html fails for document.implementation
https://bugs.webkit.org/show_bug.cgi?id=99783

Reviewed by Kentaro Hara.

Source/WebCore:

In order to correctly manage the lifetime of document.implementation,
we need to implement GenerateIsReachable=ImplDocument.

* bindings/scripts/CodeGeneratorV8.pm:
(GenerateVisitDOMWrapper):
* bindings/scripts/IDLAttributes.txt:
* dom/DOMImplementation.idl:

LayoutTests:

* platform/chromium/TestExpectations:
    - TestExpectations claims that this test is "brain damaged", but it
      looks like the test has improved since that comment was written
      and that this test is actually quite valuable.
* platform/chromium/fast/dom/gc-9-expected.txt: Added.
    - This patch adds a Chromium-specific baseline for this test.
      Before this patch, we failed the document.implementation
      subtests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@131838 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/chromium/TestExpectations
LayoutTests/platform/chromium/fast/dom/gc-9-expected.txt [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/bindings/scripts/CodeGeneratorV8.pm
Source/WebCore/bindings/scripts/IDLAttributes.txt
Source/WebCore/dom/DOMImplementation.idl