Commit 31bdf571 authored by ap@apple.com's avatar ap@apple.com

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: http://svn.webkit.org/repository/webkit/trunk@72590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e3267dba
2010-11-22 Alexey Proskuryakov <ap@apple.com>
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
* fast/dom/StyleSheet/gc-rule-children-wrappers-expected.txt: Added.
* fast/dom/StyleSheet/gc-rule-children-wrappers.html: Added.
2010-11-23 Csaba Osztrogonác <ossy@webkit.org>
Unreviewed revert r72544 and r72530, because r72527 was reverted.
Test that custom properties on rule style declarations are not lost after GC
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.styleSheets[0].cssRules[0].type is CSSRule.IMPORT_RULE
PASS document.styleSheets[0].cssRules[0].media.foo is 'bar'
PASS document.styleSheets[0].cssRules[0].type is CSSRule.IMPORT_RULE
PASS document.styleSheets[0].cssRules[0].styleSheet.foo is 'bar'
PASS document.styleSheets[0].cssRules[1].type is CSSRule.STYLE_RULE
PASS document.styleSheets[0].cssRules[1].style.foo is 'bar'
PASS document.styleSheets[0].cssRules[2].type is CSSRule.FONT_FACE_RULE
PASS document.styleSheets[0].cssRules[2].style.foo is 'bar'
PASS document.styleSheets[0].cssRules[3].type is CSSRule.MEDIA_RULE
PASS document.styleSheets[0].cssRules[3].cssRules.foo is 'bar'
PASS document.styleSheets[0].cssRules[3].type is CSSRule.MEDIA_RULE
PASS document.styleSheets[0].cssRules[3].media.foo is 'bar'
PASS document.styleSheets[0].cssRules[4].type is CSSRule.WEBKIT_KEYFRAMES_RULE
PASS document.styleSheets[0].cssRules[4].cssRules.foo is 'bar'
PASS document.styleSheets[0].cssRules[4].cssRules[0].type is CSSRule.WEBKIT_KEYFRAME_RULE
PASS document.styleSheets[0].cssRules[4].cssRules[0].style.foo is 'bar'
PASS document.styleSheets[0].cssRules[5].type is CSSRule.PAGE_RULE
PASS document.styleSheets[0].cssRules[5].style.foo is 'bar'
PASS successfullyParsed is true
TEST COMPLETE
<html>
<head>
<style>
@import url("data:text/css,* { color:black; }");
* { color: black }
@font-face {
font-family: 'CustomName';
src: local('Courier');
}
@media all {
* { color: black }
}
@-webkit-keyframes test1 {
from { left: 10px; }
to { left: 20px; }
}
@page { margin: 3cm; }
</style>
<link rel="stylesheet" href="../../js/resources/js-test-style.css">
<script src="../../js/resources/js-test-pre.js"></script>
</head>
<body style="color:black">
<p id="description"></p>
<div id="console"></div>
<script>
description("Test that custom properties on rule style declarations are not lost after GC");
function test(expr, expectedType, testWhat)
{
shouldBe(expr + ".type", expectedType);
eval(expr + "." + testWhat).foo = "bar"
gc();
shouldBe(expr + "." + testWhat + ".foo", "'bar'");
}
test("document.styleSheets[0].cssRules[0]", "CSSRule.IMPORT_RULE", "media");
test("document.styleSheets[0].cssRules[0]", "CSSRule.IMPORT_RULE", "styleSheet");
test("document.styleSheets[0].cssRules[1]", "CSSRule.STYLE_RULE", "style");
test("document.styleSheets[0].cssRules[2]", "CSSRule.FONT_FACE_RULE", "style");
test("document.styleSheets[0].cssRules[3]", "CSSRule.MEDIA_RULE", "cssRules");
test("document.styleSheets[0].cssRules[3]", "CSSRule.MEDIA_RULE", "media");
test("document.styleSheets[0].cssRules[4]", "CSSRule.WEBKIT_KEYFRAMES_RULE", "cssRules");
test("document.styleSheets[0].cssRules[4].cssRules[0]", "CSSRule.WEBKIT_KEYFRAME_RULE", "style");
test("document.styleSheets[0].cssRules[5]", "CSSRule.PAGE_RULE", "style");
successfullyParsed = true;
</script>
<script src="../../js/resources/js-test-post.js"></script>
</body>
</html>
......@@ -62,9 +62,14 @@ LOCAL_SRC_FILES += \
bindings/js/JSAttrCustom.cpp \
bindings/js/JSAudioConstructor.cpp \
bindings/js/JSCDATASectionCustom.cpp \
bindings/js/JSCSSFontFaceRuleCustom.cpp \
bindings/js/JSCSSImportRuleCustom.cpp \
bindings/js/JSCSSMediaRuleCustom.cpp \
bindings/js/JSCSSPageRuleCustom.cpp \
bindings/js/JSCSSRuleCustom.cpp \
bindings/js/JSCSSRuleListCustom.cpp \
bindings/js/JSCSSStyleDeclarationCustom.cpp \
bindings/js/JSCSSStyleRuleCustom.cpp \
bindings/js/JSCSSValueCustom.cpp \
bindings/js/JSCallbackData.cpp \
bindings/js/JSCanvasRenderingContext2DCustom.cpp \
......@@ -88,9 +93,9 @@ LOCAL_SRC_FILES += \
bindings/js/JSDOMWindowBase.cpp \
bindings/js/JSDOMWindowCustom.cpp \
bindings/js/JSDOMWindowShell.cpp \
bindings/js/JSDatabaseCallback.cpp \
bindings/js/JSDataGridColumnListCustom.cpp \
bindings/js/JSDataGridDataSource.cpp \
bindings/js/JSDatabaseCallback.cpp \
bindings/js/JSDedicatedWorkerContextCustom.cpp \
bindings/js/JSDesktopNotificationsCustom.cpp \
bindings/js/JSDeviceMotionEventCustom.cpp \
......@@ -159,6 +164,8 @@ LOCAL_SRC_FILES += \
bindings/js/JSTouchCustom.cpp \
bindings/js/JSTouchListCustom.cpp \
bindings/js/JSTreeWalkerCustom.cpp \
bindings/js/JSWebKitCSSKeyframeRuleCustom.cpp \
bindings/js/JSWebKitCSSKeyframesRuleCustom.cpp \
bindings/js/JSWebKitCSSMatrixCustom.cpp \
bindings/js/JSWebKitPointCustom.cpp \
bindings/js/JSWorkerContextBase.cpp \
......
......@@ -575,40 +575,47 @@ SET(WebCore_SOURCES
bindings/js/DOMWrapperWorld.cpp
bindings/js/GCController.cpp
bindings/js/IDBBindingUtilities.cpp
bindings/js/JavaScriptCallFrame.cpp
bindings/js/JSAttrCustom.cpp
bindings/js/JSCDATASectionCustom.cpp
bindings/js/JSCSSFontFaceRuleCustom.cpp
bindings/js/JSCSSImportRuleCustom.cpp
bindings/js/JSCSSMediaRuleCustom.cpp
bindings/js/JSCSSPageRuleCustom.cpp
bindings/js/JSCSSRuleCustom.cpp
bindings/js/JSCSSRuleListCustom.cpp
bindings/js/JSCSSStyleDeclarationCustom.cpp
bindings/js/JSCSSStyleRuleCustom.cpp
bindings/js/JSCSSValueCustom.cpp
bindings/js/JSCallbackData.cpp
bindings/js/JSCanvasRenderingContext2DCustom.cpp
bindings/js/JSCanvasRenderingContextCustom.cpp
bindings/js/JSCDATASectionCustom.cpp
bindings/js/JSClipboardCustom.cpp
bindings/js/JSConsoleCustom.cpp
bindings/js/JSCoordinatesCustom.cpp
bindings/js/JSCSSRuleCustom.cpp
bindings/js/JSCSSRuleListCustom.cpp
bindings/js/JSCSSStyleDeclarationCustom.cpp
bindings/js/JSCSSValueCustom.cpp
bindings/js/JSCustomPositionCallback.cpp
bindings/js/JSCustomPositionErrorCallback.cpp
bindings/js/JSCustomSQLStatementErrorCallback.cpp
bindings/js/JSCustomVoidCallback.cpp
bindings/js/JSCustomXPathNSResolver.cpp
bindings/js/JSDataGridColumnListCustom.cpp
bindings/js/JSDataGridDataSource.cpp
bindings/js/JSDebugWrapperSet.cpp
bindings/js/JSDedicatedWorkerContextCustom.cpp
bindings/js/JSDeviceMotionEventCustom.cpp
bindings/js/JSDeviceOrientationEventCustom.cpp
bindings/js/JSDocumentCustom.cpp
bindings/js/JSDOMApplicationCacheCustom.cpp
bindings/js/JSDOMBinding.cpp
bindings/js/JSDOMFormDataCustom.cpp
bindings/js/JSDOMGlobalObject.cpp
bindings/js/JSDOMMimeTypeArrayCustom.cpp
bindings/js/JSDOMPluginArrayCustom.cpp
bindings/js/JSDOMPluginCustom.cpp
bindings/js/JSDOMStringMapCustom.cpp
bindings/js/JSDOMWindowBase.cpp
bindings/js/JSDOMWindowCustom.cpp
bindings/js/JSDOMWindowShell.cpp
bindings/js/JSDOMWrapper.cpp
bindings/js/JSDataGridColumnListCustom.cpp
bindings/js/JSDataGridDataSource.cpp
bindings/js/JSDebugWrapperSet.cpp
bindings/js/JSDedicatedWorkerContextCustom.cpp
bindings/js/JSDeviceMotionEventCustom.cpp
bindings/js/JSDeviceOrientationEventCustom.cpp
bindings/js/JSDocumentCustom.cpp
bindings/js/JSElementCustom.cpp
bindings/js/JSEventCustom.cpp
bindings/js/JSEventListener.cpp
......@@ -617,9 +624,6 @@ SET(WebCore_SOURCES
bindings/js/JSExceptionBase.cpp
bindings/js/JSFileReaderCustom.cpp
bindings/js/JSGeolocationCustom.cpp
bindings/js/JSHistoryCustom.cpp
bindings/js/JSIDBAnyCustom.cpp
bindings/js/JSIDBKeyCustom.cpp
bindings/js/JSHTMLAllCollectionCustom.cpp
bindings/js/JSHTMLAppletElementCustom.cpp
bindings/js/JSHTMLCanvasElementCustom.cpp
......@@ -638,6 +642,9 @@ SET(WebCore_SOURCES
bindings/js/JSHTMLOutputElementCustom.cpp
bindings/js/JSHTMLSelectElementCustom.cpp
bindings/js/JSHTMLStyleElementCustom.cpp
bindings/js/JSHistoryCustom.cpp
bindings/js/JSIDBAnyCustom.cpp
bindings/js/JSIDBKeyCustom.cpp
bindings/js/JSImageConstructor.cpp
bindings/js/JSImageDataCustom.cpp
bindings/js/JSInjectedScriptHostCustom.cpp
......@@ -649,7 +656,6 @@ SET(WebCore_SOURCES
bindings/js/JSMessageChannelCustom.cpp
bindings/js/JSMessageEventCustom.cpp
bindings/js/JSMessagePortCustom.cpp
bindings/js/JSDOMMimeTypeArrayCustom.cpp
bindings/js/JSNamedNodeMapCustom.cpp
bindings/js/JSNavigatorCustom.cpp
bindings/js/JSNodeCustom.cpp
......@@ -658,16 +664,14 @@ SET(WebCore_SOURCES
bindings/js/JSNodeIteratorCustom.cpp
bindings/js/JSNodeListCustom.cpp
bindings/js/JSOptionConstructor.cpp
bindings/js/JSDOMPluginArrayCustom.cpp
bindings/js/JSDOMPluginCustom.cpp
bindings/js/JSPluginElementFunctions.cpp
bindings/js/JSPopStateEventCustom.cpp
bindings/js/JSProcessingInstructionCustom.cpp
bindings/js/JSScriptProfileNodeCustom.cpp
bindings/js/JSSharedWorkerCustom.cpp
bindings/js/JSSQLResultSetRowListCustom.cpp
bindings/js/JSSQLTransactionCustom.cpp
bindings/js/JSSQLTransactionSyncCustom.cpp
bindings/js/JSScriptProfileNodeCustom.cpp
bindings/js/JSSharedWorkerCustom.cpp
bindings/js/JSStorageCustom.cpp
bindings/js/JSStyleSheetCustom.cpp
bindings/js/JSStyleSheetListCustom.cpp
......@@ -675,6 +679,8 @@ SET(WebCore_SOURCES
bindings/js/JSTouchCustom.cpp
bindings/js/JSTouchListCustom.cpp
bindings/js/JSTreeWalkerCustom.cpp
bindings/js/JSWebKitCSSKeyframeRuleCustom.cpp
bindings/js/JSWebKitCSSKeyframesRuleCustom.cpp
bindings/js/JSWebKitCSSMatrixCustom.cpp
bindings/js/JSWebKitPointCustom.cpp
bindings/js/JSWebSocketCustom.cpp
......@@ -685,6 +691,7 @@ SET(WebCore_SOURCES
bindings/js/JSXMLHttpRequestCustom.cpp
bindings/js/JSXMLHttpRequestUploadCustom.cpp
bindings/js/JSXSLTProcessorCustom.cpp
bindings/js/JavaScriptCallFrame.cpp
bindings/js/ScheduledAction.cpp
bindings/js/ScriptCachedFrameData.cpp
bindings/js/ScriptCallStackFactory.cpp
......
2010-11-22 Alexey Proskuryakov <ap@apple.com>
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.
2010-11-23 Helder Correia <helder@sencha.com>
Reviewed by Ariya Hidayat.
......@@ -662,25 +662,28 @@ webcore_sources += \
WebCore/bindings/js/GCController.cpp \
WebCore/bindings/js/GCController.h \
WebCore/bindings/js/IDBBindingUtilities.h \
WebCore/bindings/js/JavaScriptCallFrame.cpp \
WebCore/bindings/js/JavaScriptCallFrame.h \
WebCore/bindings/js/JSAttrCustom.cpp \
WebCore/bindings/js/JSAudioConstructor.cpp \
WebCore/bindings/js/JSAudioConstructor.h \
WebCore/bindings/js/JSBinding.h \
WebCore/bindings/js/JSCDATASectionCustom.cpp \
WebCore/bindings/js/JSCSSFontFaceRuleCustom.cpp \
WebCore/bindings/js/JSCSSImportRuleCustom.cpp \
WebCore/bindings/js/JSCSSMediaRuleCustom.cpp \
WebCore/bindings/js/JSCSSPageRuleCustom.cpp \
WebCore/bindings/js/JSCSSRuleCustom.cpp \
WebCore/bindings/js/JSCSSRuleListCustom.cpp \
WebCore/bindings/js/JSCSSStyleDeclarationCustom.cpp \
WebCore/bindings/js/JSCSSStyleDeclarationCustom.h \
WebCore/bindings/js/JSCSSStyleRuleCustom.cpp \
WebCore/bindings/js/JSCSSValueCustom.cpp \
WebCore/bindings/js/JSCallbackData.cpp \
WebCore/bindings/js/JSCallbackData.h \
WebCore/bindings/js/JSCanvasRenderingContext2DCustom.cpp \
WebCore/bindings/js/JSCanvasRenderingContextCustom.cpp \
WebCore/bindings/js/JSCDATASectionCustom.cpp \
WebCore/bindings/js/JSClipboardCustom.cpp \
WebCore/bindings/js/JSConsoleCustom.cpp \
WebCore/bindings/js/JSCoordinatesCustom.cpp \
WebCore/bindings/js/JSCSSRuleCustom.cpp \
WebCore/bindings/js/JSCSSRuleListCustom.cpp \
WebCore/bindings/js/JSCSSStyleDeclarationCustom.cpp \
WebCore/bindings/js/JSCSSStyleDeclarationCustom.h \
WebCore/bindings/js/JSCSSValueCustom.cpp \
WebCore/bindings/js/JSCustomPositionCallback.cpp \
WebCore/bindings/js/JSCustomPositionCallback.h \
WebCore/bindings/js/JSCustomPositionErrorCallback.cpp \
......@@ -690,17 +693,6 @@ webcore_sources += \
WebCore/bindings/js/JSCustomVoidCallback.h \
WebCore/bindings/js/JSCustomXPathNSResolver.cpp \
WebCore/bindings/js/JSCustomXPathNSResolver.h \
WebCore/bindings/js/JSDataGridColumnListCustom.cpp \
WebCore/bindings/js/JSDataGridDataSource.cpp \
WebCore/bindings/js/JSDataGridDataSource.h \
WebCore/bindings/js/JSDebugWrapperSet.cpp \
WebCore/bindings/js/JSDebugWrapperSet.h \
WebCore/bindings/js/JSDedicatedWorkerContextCustom.cpp \
WebCore/bindings/js/JSDeviceMotionEventCustom.cpp \
WebCore/bindings/js/JSDeviceOrientationEventCustom.cpp \
WebCore/bindings/js/JSDirectoryEntryCustom.cpp \
WebCore/bindings/js/JSDirectoryEntrySyncCustom.cpp \
WebCore/bindings/js/JSDocumentCustom.cpp \
WebCore/bindings/js/JSDOMApplicationCacheCustom.cpp \
WebCore/bindings/js/JSDOMBinding.cpp \
WebCore/bindings/js/JSDOMBinding.h \
......@@ -720,6 +712,17 @@ webcore_sources += \
WebCore/bindings/js/JSDOMWindowShell.h \
WebCore/bindings/js/JSDOMWrapper.cpp \
WebCore/bindings/js/JSDOMWrapper.h \
WebCore/bindings/js/JSDataGridColumnListCustom.cpp \
WebCore/bindings/js/JSDataGridDataSource.cpp \
WebCore/bindings/js/JSDataGridDataSource.h \
WebCore/bindings/js/JSDebugWrapperSet.cpp \
WebCore/bindings/js/JSDebugWrapperSet.h \
WebCore/bindings/js/JSDedicatedWorkerContextCustom.cpp \
WebCore/bindings/js/JSDeviceMotionEventCustom.cpp \
WebCore/bindings/js/JSDeviceOrientationEventCustom.cpp \
WebCore/bindings/js/JSDirectoryEntryCustom.cpp \
WebCore/bindings/js/JSDirectoryEntrySyncCustom.cpp \
WebCore/bindings/js/JSDocumentCustom.cpp \
WebCore/bindings/js/JSElementCustom.cpp \
WebCore/bindings/js/JSEntryCustom.cpp \
WebCore/bindings/js/JSEntrySyncCustom.cpp \
......@@ -733,8 +736,6 @@ webcore_sources += \
WebCore/bindings/js/JSExceptionBase.h \
WebCore/bindings/js/JSFileReaderCustom.cpp \
WebCore/bindings/js/JSGeolocationCustom.cpp \
WebCore/bindings/js/JSHistoryCustom.cpp \
WebCore/bindings/js/JSHistoryCustom.h \
WebCore/bindings/js/JSHTMLAllCollectionCustom.cpp \
WebCore/bindings/js/JSHTMLAppletElementCustom.cpp \
WebCore/bindings/js/JSHTMLAppletElementCustom.h \
......@@ -758,6 +759,8 @@ webcore_sources += \
WebCore/bindings/js/JSHTMLSelectElementCustom.cpp \
WebCore/bindings/js/JSHTMLSelectElementCustom.h \
WebCore/bindings/js/JSHTMLStyleElementCustom.cpp \
WebCore/bindings/js/JSHistoryCustom.cpp \
WebCore/bindings/js/JSHistoryCustom.h \
WebCore/bindings/js/JSImageConstructor.cpp \
WebCore/bindings/js/JSImageConstructor.h \
WebCore/bindings/js/JSImageDataCustom.cpp \
......@@ -789,22 +792,24 @@ webcore_sources += \
WebCore/bindings/js/JSPluginElementFunctions.h \
WebCore/bindings/js/JSPopStateEventCustom.cpp \
WebCore/bindings/js/JSProcessingInstructionCustom.cpp \
WebCore/bindings/js/JSScriptProfileNodeCustom.cpp \
WebCore/bindings/js/JSSharedWorkerCustom.cpp \
WebCore/bindings/js/JSSQLResultSetRowListCustom.cpp \
WebCore/bindings/js/JSSQLTransactionCustom.cpp \
WebCore/bindings/js/JSSQLTransactionSyncCustom.cpp \
WebCore/bindings/js/JSSVGElementInstanceCustom.cpp \
WebCore/bindings/js/JSSVGLengthCustom.cpp \
WebCore/bindings/js/JSSVGPathSegCustom.cpp \
WebCore/bindings/js/JSScriptProfileNodeCustom.cpp \
WebCore/bindings/js/JSSharedWorkerCustom.cpp \
WebCore/bindings/js/JSStorageCustom.cpp \
WebCore/bindings/js/JSStorageCustom.h \
WebCore/bindings/js/JSStyleSheetCustom.cpp \
WebCore/bindings/js/JSStyleSheetListCustom.cpp \
WebCore/bindings/js/JSSVGElementInstanceCustom.cpp \
WebCore/bindings/js/JSSVGLengthCustom.cpp \
WebCore/bindings/js/JSSVGPathSegCustom.cpp \
WebCore/bindings/js/JSTextCustom.cpp \
WebCore/bindings/js/JSTouchCustom.cpp \
WebCore/bindings/js/JSTouchListCustom.cpp \
WebCore/bindings/js/JSTreeWalkerCustom.cpp \
WebCore/bindings/js/JSWebKitCSSKeyframeRuleCustom.cpp \
WebCore/bindings/js/JSWebKitCSSKeyframesRuleCustom.cpp \
WebCore/bindings/js/JSWebKitCSSMatrixCustom.cpp \
WebCore/bindings/js/JSWebKitPointCustom.cpp \
WebCore/bindings/js/JSWebSocketCustom.cpp \
......@@ -817,6 +822,8 @@ webcore_sources += \
WebCore/bindings/js/JSXMLHttpRequestCustom.cpp \
WebCore/bindings/js/JSXMLHttpRequestUploadCustom.cpp \
WebCore/bindings/js/JSXSLTProcessorCustom.cpp \
WebCore/bindings/js/JavaScriptCallFrame.cpp \
WebCore/bindings/js/JavaScriptCallFrame.h \
WebCore/bindings/js/ScheduledAction.cpp \
WebCore/bindings/js/ScheduledAction.h \
WebCore/bindings/js/ScriptCachedFrameData.cpp \
......@@ -851,12 +858,12 @@ webcore_sources += \
WebCore/bindings/js/ScriptWrappable.h \
WebCore/bindings/js/SerializedScriptValue.cpp \
WebCore/bindings/js/SerializedScriptValue.h \
WebCore/bindings/js/specialization/JSBindingState.cpp \
WebCore/bindings/js/specialization/JSBindingState.h \
WebCore/bindings/js/StringSourceProvider.h \
WebCore/bindings/js/WebCoreJSClientData.h \
WebCore/bindings/js/WorkerScriptController.cpp \
WebCore/bindings/js/WorkerScriptController.h \
WebCore/bindings/js/specialization/JSBindingState.cpp \
WebCore/bindings/js/specialization/JSBindingState.h \
WebCore/bindings/ScriptControllerBase.cpp \
WebCore/bindings/ScriptControllerBase.h \
WebCore/bridge/Bridge.h \
......
......@@ -551,10 +551,15 @@
'bindings/js/JSClipboardCustom.cpp',
'bindings/js/JSConsoleCustom.cpp',
'bindings/js/JSCoordinatesCustom.cpp',
'bindings/js/JSCSSFontFaceRuleCustom.cpp',
'bindings/js/JSCSSImportRuleCustom.cpp',
'bindings/js/JSCSSMediaRuleCustom.cpp',
'bindings/js/JSCSSPageRuleCustom.cpp',
'bindings/js/JSCSSRuleCustom.cpp',
'bindings/js/JSCSSRuleListCustom.cpp',
'bindings/js/JSCSSStyleDeclarationCustom.cpp',
'bindings/js/JSCSSStyleDeclarationCustom.h',
'bindings/js/JSCSSStyleRuleCustom.cpp',
'bindings/js/JSCSSValueCustom.cpp',
'bindings/js/JSCustomPositionCallback.cpp',
'bindings/js/JSCustomPositionCallback.h',
......@@ -683,6 +688,8 @@
'bindings/js/JSTouchCustom.cpp',
'bindings/js/JSTouchListCustom.cpp',
'bindings/js/JSTreeWalkerCustom.cpp',
'bindings/js/JSWebKitCSSKeyframeRuleCustom.cpp',
'bindings/js/JSWebKitCSSKeyframesRuleCustom.cpp',
'bindings/js/JSWebKitCSSMatrixCustom.cpp',
'bindings/js/JSWebKitPointCustom.cpp',
'bindings/js/JSWebSocketCustom.cpp',
......
......@@ -478,50 +478,60 @@ v8 {
bindings/v8/V8WorkerContextErrorHandler.cpp
} else {
SOURCES += \
bindings/js/GCController.cpp \
bindings/ScriptControllerBase.cpp \
bindings/js/DOMObjectHashTableMap.cpp \
bindings/js/DOMWrapperWorld.cpp \
bindings/js/JSCallbackData.cpp \
bindings/js/GCController.cpp \
bindings/js/JSAttrCustom.cpp \
bindings/js/JSCDATASectionCustom.cpp \
bindings/js/JSCanvasRenderingContextCustom.cpp \
bindings/js/JSCanvasRenderingContext2DCustom.cpp \
bindings/js/JSClipboardCustom.cpp \
bindings/js/JSConsoleCustom.cpp \
bindings/js/JSCSSFontFaceRuleCustom.cpp \
bindings/js/JSCSSImportRuleCustom.cpp \
bindings/js/JSCSSMediaRuleCustom.cpp \
bindings/js/JSCSSPageRuleCustom.cpp \
bindings/js/JSCSSRuleCustom.cpp \
bindings/js/JSCSSRuleListCustom.cpp \
bindings/js/JSCSSStyleDeclarationCustom.cpp \
bindings/js/JSCSSStyleRuleCustom.cpp \
bindings/js/JSCSSValueCustom.cpp \
bindings/js/JSCallbackData.cpp \
bindings/js/JSCanvasRenderingContext2DCustom.cpp \
bindings/js/JSCanvasRenderingContextCustom.cpp \
bindings/js/JSClipboardCustom.cpp \
bindings/js/JSConsoleCustom.cpp \
bindings/js/JSCoordinatesCustom.cpp \
bindings/js/JSCustomPositionCallback.cpp \
bindings/js/JSCustomPositionErrorCallback.cpp \
bindings/js/JSCustomVoidCallback.cpp \
bindings/js/JSCustomXPathNSResolver.cpp \
bindings/js/JSDataGridColumnListCustom.cpp \
bindings/js/JSDataGridDataSource.cpp \
bindings/js/JSDebugWrapperSet.cpp \
bindings/js/JSDesktopNotificationsCustom.cpp \
bindings/js/JSDeviceMotionEventCustom.cpp \
bindings/js/JSDeviceOrientationEventCustom.cpp \
bindings/js/JSDocumentCustom.cpp \
bindings/js/JSDOMBinding.cpp \
bindings/js/JSDOMFormDataCustom.cpp \
bindings/js/JSDOMGlobalObject.cpp \
bindings/js/JSDOMMimeTypeArrayCustom.cpp \
bindings/js/JSDOMPluginArrayCustom.cpp \
bindings/js/JSDOMPluginCustom.cpp \
bindings/js/JSDOMStringMapCustom.cpp \
bindings/js/JSDOMWindowBase.cpp \
bindings/js/JSDOMWindowCustom.cpp \
bindings/js/JSDOMWindowShell.cpp \
bindings/js/JSDOMWrapper.cpp \
bindings/js/JSDataGridColumnListCustom.cpp \
bindings/js/JSDataGridDataSource.cpp \
bindings/js/JSDebugWrapperSet.cpp \
bindings/js/JSDesktopNotificationsCustom.cpp \
bindings/js/JSDeviceMotionEventCustom.cpp \
bindings/js/JSDeviceOrientationEventCustom.cpp \
bindings/js/JSDocumentCustom.cpp \
bindings/js/JSElementCustom.cpp \
bindings/js/JSEventCustom.cpp \
bindings/js/JSEventListener.cpp \
bindings/js/JSEventSourceCustom.cpp \
bindings/js/JSEventTarget.cpp \
bindings/js/JSExceptionBase.cpp \
bindings/js/JSFileReaderCustom.cpp \
bindings/js/JSGeolocationCustom.cpp \
bindings/js/JSHistoryCustom.cpp \
bindings/js/JSHTMLAllCollectionCustom.cpp \
bindings/js/JSHTMLAppletElementCustom.cpp \
bindings/js/JSHTMLCanvasElementCustom.cpp \
bindings/js/JSHTMLAllCollectionCustom.cpp \
bindings/js/JSHTMLCollectionCustom.cpp \
bindings/js/JSHTMLDataGridElementCustom.cpp \
bindings/js/JSHTMLDocumentCustom.cpp \
......@@ -537,11 +547,18 @@ v8 {
bindings/js/JSHTMLOutputElementCustom.cpp \
bindings/js/JSHTMLSelectElementCustom.cpp \
bindings/js/JSHTMLStyleElementCustom.cpp \
bindings/js/JSHistoryCustom.cpp \
bindings/js/JSImageConstructor.cpp \
bindings/js/JSImageDataCustom.cpp \
bindings/js/JSInjectedScriptHostCustom.cpp \
bindings/js/JSInspectorFrontendHostCustom.cpp \
bindings/js/JSLazyEventListener.cpp \
bindings/js/JSLocationCustom.cpp \
bindings/js/JSMainThreadExecState.cpp \
bindings/js/JSMessageChannelCustom.cpp \
bindings/js/JSMessageEventCustom.cpp \
bindings/js/JSMessagePortCustom.cpp \
bindings/js/JSMessagePortCustom.h \
bindings/js/JSNamedNodeMapCustom.cpp \
bindings/js/JSNavigatorCustom.cpp \
bindings/js/JSNodeCustom.cpp \
......@@ -550,6 +567,9 @@ v8 {
bindings/js/JSNodeIteratorCustom.cpp \
bindings/js/JSNodeListCustom.cpp \
bindings/js/JSOptionConstructor.cpp \
bindings/js/JSPluginElementFunctions.cpp \
bindings/js/JSPopStateEventCustom.cpp \
bindings/js/JSProcessingInstructionCustom.cpp \
bindings/js/JSScriptProfileNodeCustom.cpp \
bindings/js/JSStyleSheetCustom.cpp \
bindings/js/JSStyleSheetListCustom.cpp \
......@@ -557,25 +577,14 @@ v8 {
bindings/js/JSTouchCustom.cpp \
bindings/js/JSTouchListCustom.cpp \
bindings/js/JSTreeWalkerCustom.cpp \
bindings/js/JSWebKitCSSKeyframeRuleCustom.cpp \
bindings/js/JSWebKitCSSKeyframesRuleCustom.cpp \
bindings/js/JSWebKitCSSMatrixCustom.cpp \
bindings/js/JSWebKitPointCustom.cpp \
bindings/js/JSWorkerContextErrorHandler.cpp \
bindings/js/JSXMLHttpRequestCustom.cpp \
bindings/js/JSXMLHttpRequestUploadCustom.cpp \
bindings/js/JSDOMPluginCustom.cpp \
bindings/js/JSDOMPluginArrayCustom.cpp \
bindings/js/JSMessageChannelCustom.cpp \
bindings/js/JSMessageEventCustom.cpp \
bindings/js/JSMessagePortCustom.cpp \
bindings/js/JSMessagePortCustom.h \
bindings/js/JSDOMMimeTypeArrayCustom.cpp \
bindings/js/JSDOMBinding.cpp \
bindings/js/JSEventListener.cpp \
bindings/js/JSLazyEventListener.cpp \
bindings/js/JSMainThreadExecState.cpp \
bindings/js/JSPluginElementFunctions.cpp \
bindings/js/JSPopStateEventCustom.cpp \
bindings/js/JSProcessingInstructionCustom.cpp \
bindings/js/JSWorkerContextErrorHandler.cpp \
bindings/js/ScheduledAction.cpp \
bindings/js/ScriptCachedFrameData.cpp \
bindings/js/ScriptCallStackFactory.cpp \
bindings/js/ScriptController.cpp \
......@@ -587,23 +596,21 @@ v8 {
bindings/js/ScriptProfile.cpp \
bindings/js/ScriptState.cpp \
bindings/js/ScriptValue.cpp \
bindings/js/ScheduledAction.cpp \
bindings/js/SerializedScriptValue.cpp \
bindings/js/specialization/JSBindingState.cpp \
bindings/ScriptControllerBase.cpp \
bridge/IdentifierRep.cpp \
bridge/NP_jsobject.cpp \
bridge/npruntime.cpp \
bridge/runtime_array.cpp \
bridge/runtime_method.cpp \
bridge/runtime_object.cpp \
bridge/runtime_root.cpp \
bridge/c/CRuntimeObject.cpp \
bridge/c/c_class.cpp \
bridge/c/c_instance.cpp \
bridge/c/c_runtime.cpp \
bridge/c/c_utility.cpp \
bridge/jsc/BridgeJSC.cpp
bridge/jsc/BridgeJSC.cpp \
bridge/npruntime.cpp \
bridge/runtime_array.cpp \
bridge/runtime_method.cpp \
bridge/runtime_object.cpp \
bridge/runtime_root.cpp
}
SOURCES += \
......
......@@ -54769,6 +54769,214 @@
/>
</FileConfiguration>
</File>
<File
RelativePath="..\bindings\js\JSCSSFontFaceRuleCustom.cpp"
>
<FileConfiguration