Reviewed by Darin Adler.
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Nov 2010 08:55:45 +0000 (08:55 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Nov 2010 08:55:45 +0000 (08:55 +0000)
commitdeb021f0652d6227c677d4d990639f714223a6ea
treea0015ffbc11e5ab3344418e75bd36190f4e5d12e
parent44274a7164d577dd83a640155f8f70d87c08e1f6
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=49860
        CSS style rules don't GC protect objects reachable as their properties

        Test: fast/dom/StyleSheet/gc-rule-children-wrappers.html

        * Android.jscbindings.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSBindingsAllInOne.cpp:
        Added new files, sorted appropriate sections for easier adding.

        * bindings/js/JSCSSFontFaceRuleCustom.cpp: Added.
        (WebCore::JSCSSFontFaceRule::markChildren):
        * bindings/js/JSCSSImportRuleCustom.cpp: Added.
        (WebCore::JSCSSImportRule::markChildren):
        * bindings/js/JSCSSMediaRuleCustom.cpp: Added.
        (WebCore::JSCSSMediaRule::markChildren):
        * bindings/js/JSCSSPageRuleCustom.cpp: Added.
        (WebCore::JSCSSPageRule::markChildren):
        * bindings/js/JSCSSStyleRuleCustom.cpp: Added.
        (WebCore::JSCSSStyleRule::markChildren):
        * bindings/js/JSWebKitCSSKeyframeRuleCustom.cpp: Added.
        (WebCore::JSWebKitCSSKeyframeRule::markChildren):
        * bindings/js/JSWebKitCSSKeyframesRuleCustom.cpp: Added.
        (WebCore::JSWebKitCSSKeyframesRule::markChildren):
        Mark objects reachable through these ones.

        * css/CSSFontFaceRule.idl:
        * css/CSSImportRule.idl:
        * css/CSSMediaRule.idl:
        * css/CSSPageRule.idl:
        * css/CSSStyleRule.idl:
        * css/WebKitCSSKeyframeRule.idl:
        * css/WebKitCSSKeyframesRule.idl:
        Added CustomMarkFunction IDL attribute.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@72590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
26 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/dom/StyleSheet/gc-rule-children-wrappers-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/StyleSheet/gc-rule-children-wrappers.html [new file with mode: 0644]
WebCore/Android.jscbindings.mk
WebCore/CMakeLists.txt
WebCore/ChangeLog
WebCore/GNUmakefile.am
WebCore/WebCore.gypi
WebCore/WebCore.pro
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/js/JSBindingsAllInOne.cpp
WebCore/bindings/js/JSCSSFontFaceRuleCustom.cpp [new file with mode: 0644]
WebCore/bindings/js/JSCSSImportRuleCustom.cpp [new file with mode: 0644]
WebCore/bindings/js/JSCSSMediaRuleCustom.cpp [new file with mode: 0644]
WebCore/bindings/js/JSCSSPageRuleCustom.cpp [new file with mode: 0644]
WebCore/bindings/js/JSCSSStyleRuleCustom.cpp [new file with mode: 0644]
WebCore/bindings/js/JSWebKitCSSKeyframeRuleCustom.cpp [new file with mode: 0644]
WebCore/bindings/js/JSWebKitCSSKeyframesRuleCustom.cpp [new file with mode: 0644]
WebCore/css/CSSFontFaceRule.idl
WebCore/css/CSSImportRule.idl
WebCore/css/CSSMediaRule.idl
WebCore/css/CSSPageRule.idl
WebCore/css/CSSStyleRule.idl
WebCore/css/WebKitCSSKeyframeRule.idl
WebCore/css/WebKitCSSKeyframesRule.idl