Skip to content
  • ap@apple.com's avatar
    Reviewed by Darin Adler. · 31bdf571
    ap@apple.com authored
            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: http://svn.webkit.org/repository/webkit/trunk@72590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    31bdf571