Changeset 164131 in webkit
- Timestamp:
- Feb 14, 2014 1:29:02 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 3 deleted
- 63 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig
r163674 r164131 157 157 ENABLE_RESOLUTION_MEDIA_QUERY = ; 158 158 ENABLE_SCRIPTED_SPEECH = ; 159 ENABLE_SHADOW_DOM = ;160 159 ENABLE_SHARED_WORKERS = ENABLE_SHARED_WORKERS; 161 160 ENABLE_SPEECH_SYNTHESIS = $(ENABLE_SPEECH_SYNTHESIS_$(PLATFORM_NAME)); … … 199 198 ENABLE_LLINT_C_LOOP = ; 200 199 201 FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_BLOB) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS_SHAPE_INSIDE) $(ENABLE_CSS_STICKY_POSITION) $(ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED) $(ENABLE_CSS3_CONDITIONAL_RULES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_HIGH_DPI_CANVAS) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_PLUGIN_PROXY_FOR_VIDEO) $(ENABLE_PROGRESS_ELEMENT) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_SCRIPTED_SPEECH) $(ENABLE_SHA DOW_DOM) $(ENABLE_SHARED_WORKERS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBPIXEL_LAYOUT) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(FEATURE_DEFINES_$(PLATFORM_NAME));200 FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_BLOB) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS_SHAPE_INSIDE) $(ENABLE_CSS_STICKY_POSITION) $(ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED) $(ENABLE_CSS3_CONDITIONAL_RULES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_HIGH_DPI_CANVAS) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_PLUGIN_PROXY_FOR_VIDEO) $(ENABLE_PROGRESS_ELEMENT) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_SCRIPTED_SPEECH) $(ENABLE_SHARED_WORKERS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBPIXEL_LAYOUT) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(FEATURE_DEFINES_$(PLATFORM_NAME)); -
trunk/Source/WTF/wtf/FeatureDefines.h
r163701 r164131 701 701 #endif 702 702 703 #if !defined(ENABLE_SHADOW_DOM)704 #define ENABLE_SHADOW_DOM 0705 #endif706 707 703 #if !defined(ENABLE_SHARED_WORKERS) 708 704 #define ENABLE_SHARED_WORKERS 0 -
trunk/Source/WebCore/CMakeLists.txt
r164076 r164131 387 387 dom/RequestAnimationFrameCallback.idl 388 388 dom/SecurityPolicyViolationEvent.idl 389 dom/ShadowRoot.idl390 389 dom/StringCallback.idl 391 390 dom/Text.idl -
trunk/Source/WebCore/ChangeLog
r164130 r164131 1 2014-02-14 Andreas Kling <akling@apple.com> 2 3 Purge remaining ENABLE(SHADOW_DOM) cruft. 4 <https://webkit.org/b/128827> 5 6 Remove the remaining 8.8 million lines of Shadow DOM code to align 7 with goals for intent to ship 60fps on mobile in 2014. 8 9 Reviewed by Antti Koivisto. 10 1 11 2014-02-13 Jer Noble <jer.noble@apple.com> 2 12 -
trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig
r163674 r164131 157 157 ENABLE_RESOLUTION_MEDIA_QUERY = ; 158 158 ENABLE_SCRIPTED_SPEECH = ; 159 ENABLE_SHADOW_DOM = ;160 159 ENABLE_SHARED_WORKERS = ENABLE_SHARED_WORKERS; 161 160 ENABLE_SPEECH_SYNTHESIS = $(ENABLE_SPEECH_SYNTHESIS_$(PLATFORM_NAME)); … … 199 198 ENABLE_LLINT_C_LOOP = ; 200 199 201 FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_BLOB) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS_SHAPE_INSIDE) $(ENABLE_CSS_STICKY_POSITION) $(ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED) $(ENABLE_CSS3_CONDITIONAL_RULES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_HIGH_DPI_CANVAS) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_PLUGIN_PROXY_FOR_VIDEO) $(ENABLE_PROGRESS_ELEMENT) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_SCRIPTED_SPEECH) $(ENABLE_SHA DOW_DOM) $(ENABLE_SHARED_WORKERS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBPIXEL_LAYOUT) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(FEATURE_DEFINES_$(PLATFORM_NAME));200 FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_BLOB) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS_SHAPE_INSIDE) $(ENABLE_CSS_STICKY_POSITION) $(ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED) $(ENABLE_CSS3_CONDITIONAL_RULES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_HIGH_DPI_CANVAS) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_PLUGIN_PROXY_FOR_VIDEO) $(ENABLE_PROGRESS_ELEMENT) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_SCRIPTED_SPEECH) $(ENABLE_SHARED_WORKERS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBPIXEL_LAYOUT) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(FEATURE_DEFINES_$(PLATFORM_NAME)); -
trunk/Source/WebCore/DerivedSources.cpp
r163974 r164131 289 289 #include "JSScriptProfile.cpp" 290 290 #include "JSScriptProfileNode.cpp" 291 #include "JSShadowRoot.cpp"292 291 #include "JSSharedWorker.cpp" 293 292 #include "JSSharedWorkerGlobalScope.cpp" -
trunk/Source/WebCore/DerivedSources.make
r163974 r164131 300 300 $(WebCore)/dom/RangeException.idl \ 301 301 $(WebCore)/dom/RequestAnimationFrameCallback.idl \ 302 $(WebCore)/dom/ShadowRoot.idl \303 302 $(WebCore)/dom/StringCallback.idl \ 304 303 $(WebCore)/dom/Text.idl \ … … 941 940 endif 942 941 943 ifeq ($(findstring ENABLE_SHADOW_DOM,$(FEATURE_DEFINES)), ENABLE_SHADOW_DOM)944 HTML_FLAGS := $(HTML_FLAGS) ENABLE_SHADOW_DOM=1945 endif946 947 942 ifeq ($(findstring ENABLE_ENCRYPTED_MEDIA,$(FEATURE_DEFINES)), ENABLE_ENCRYPTED_MEDIA) 948 943 HTML_FLAGS := $(HTML_FLAGS) ENABLE_ENCRYPTED_MEDIA=1 -
trunk/Source/WebCore/GNUmakefile.list.am
r164035 r164131 642 642 DerivedSources/WebCore/JSSecurityPolicyViolationEvent.cpp \ 643 643 DerivedSources/WebCore/JSSecurityPolicyViolationEvent.h \ 644 DerivedSources/WebCore/JSShadowRoot.cpp \645 DerivedSources/WebCore/JSShadowRoot.h \646 644 DerivedSources/WebCore/JSSharedWorkerGlobalScope.cpp \ 647 645 DerivedSources/WebCore/JSSharedWorkerGlobalScope.h \ … … 1398 1396 $(WebCore)/dom/RequestAnimationFrameCallback.idl \ 1399 1397 $(WebCore)/dom/SecurityPolicyViolationEvent.idl \ 1400 $(WebCore)/dom/ShadowRoot.idl \1401 1398 $(WebCore)/dom/StringCallback.idl \ 1402 1399 $(WebCore)/dom/Text.idl \ -
trunk/Source/WebCore/PlatformGTK.cmake
r164076 r164131 535 535 dom/ProcessingInstruction.idl 536 536 dom/Range.idl 537 dom/ShadowRoot.idl538 537 dom/Text.idl 539 538 dom/Touch.idl -
trunk/Source/WebCore/WebCore.exp.in
r164110 r164131 2986 2986 #endif 2987 2987 2988 #if ENABLE(SHADOW_DOM)2989 __ZN7WebCore4toJSEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPNS_10ShadowRootE2990 #endif2991 2992 2988 #if ENABLE(SPEECH_SYNTHESIS) 2993 2989 __ZN7WebCore15SpeechSynthesis22setPlatformSynthesizerEN3WTF10PassOwnPtrINS_25PlatformSpeechSynthesizerEEE -
trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
r164035 r164131 3768 3768 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild> 3769 3769 </ClCompile> 3770 <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\WebCore\DerivedSources\JSShadowRoot.cpp">3771 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>3772 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>3773 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'">true</ExcludedFromBuild>3774 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'">true</ExcludedFromBuild>3775 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'">true</ExcludedFromBuild>3776 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|x64'">true</ExcludedFromBuild>3777 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>3778 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>3779 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'">true</ExcludedFromBuild>3780 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'">true</ExcludedFromBuild>3781 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>3782 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>3783 </ClCompile>3784 3770 <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\WebCore\DerivedSources\JSSharedWorker.cpp"> 3785 3771 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> … … 18167 18153 <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSRGBColor.h" /> 18168 18154 <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSScreen.h" /> 18169 <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\WebCore\DerivedSources\JSShadowRoot.h" />18170 18155 <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\WebCore\DerivedSources\JSSharedWorker.h" /> 18171 18156 <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\WebCore\DerivedSources\JSSharedWorkerGlobalScope.h" /> -
trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
r164035 r164131 5828 5828 <Filter>DerivedSources</Filter> 5829 5829 </ClCompile> 5830 <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\WebCore\DerivedSources\JSShadowRoot.cpp">5831 <Filter>DerivedSources</Filter>5832 </ClCompile>5833 5830 <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\WebCore\DerivedSources\JSSharedWorker.cpp"> 5834 5831 <Filter>DerivedSources</Filter> … … 13590 13587 </ClInclude> 13591 13588 <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSScreen.h"> 13592 <Filter>DerivedSources</Filter>13593 </ClInclude>13594 <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\WebCore\DerivedSources\JSShadowRoot.h">13595 13589 <Filter>DerivedSources</Filter> 13596 13590 </ClInclude> -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r164051 r164131 1657 1657 4A0DA2FE129B241900AB61E1 /* FormAssociatedElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4A0DA2FC129B241900AB61E1 /* FormAssociatedElement.cpp */; }; 1658 1658 4A0DA2FF129B241900AB61E1 /* FormAssociatedElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 4A0DA2FD129B241900AB61E1 /* FormAssociatedElement.h */; settings = {ATTRIBUTES = (Private, ); }; }; 1659 4A1E71A614E106AC00626F9D /* JSShadowRoot.h in Headers */ = {isa = PBXBuildFile; fileRef = 4A1E71A414E106AC00626F9D /* JSShadowRoot.h */; };1660 1659 4A38BF5014FE1C0900612512 /* WebSocketDeflateFramer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4A38BF4E14FE1C0900612512 /* WebSocketDeflateFramer.cpp */; }; 1661 1660 4A38BF5114FE1C0900612512 /* WebSocketDeflateFramer.h in Headers */ = {isa = PBXBuildFile; fileRef = 4A38BF4F14FE1C0900612512 /* WebSocketDeflateFramer.h */; }; … … 3674 3673 A723F77B1484CA4C008C6DBE /* PlatformExportMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = A723F77A1484CA4C008C6DBE /* PlatformExportMacros.h */; settings = {ATTRIBUTES = (Private, ); }; }; 3675 3674 A72763BF16689BFB002FCACB /* UserActionElementSet.h in Headers */ = {isa = PBXBuildFile; fileRef = A72763BE16689BFB002FCACB /* UserActionElementSet.h */; settings = {ATTRIBUTES = (Private, ); }; }; 3676 A72B66A7169AD88D0034130C /* DOMShadowRoot.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = A7F73ED9169AD7AA00CBAA4B /* DOMShadowRoot.h */; };3677 3675 A72EA3BB1585CF55004FAA26 /* RefCountedSupplement.h in Headers */ = {isa = PBXBuildFile; fileRef = A72EA3BA1585CF55004FAA26 /* RefCountedSupplement.h */; settings = {ATTRIBUTES = (Private, ); }; }; 3678 3676 A73F95FE12C97BFE0031AAF9 /* RoundedRect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A73F95FC12C97BFE0031AAF9 /* RoundedRect.cpp */; }; … … 6684 6682 858C39BC0AA905EF00B187A4 /* DOMRect.h in Copy Generated Headers */, 6685 6683 855D358D0AD707CC0019AAC7 /* DOMRGBColor.h in Copy Generated Headers */, 6686 A72B66A7169AD88D0034130C /* DOMShadowRoot.h in Copy Generated Headers */,6687 6684 850657A00AAB4A8E002D15C0 /* DOMStyleSheet.h in Copy Generated Headers */, 6688 6685 850657A10AAB4A8E002D15C0 /* DOMStyleSheetList.h in Copy Generated Headers */, … … 8537 8534 4A0DA2FC129B241900AB61E1 /* FormAssociatedElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FormAssociatedElement.cpp; sourceTree = "<group>"; }; 8538 8535 4A0DA2FD129B241900AB61E1 /* FormAssociatedElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FormAssociatedElement.h; sourceTree = "<group>"; }; 8539 4A1E71A414E106AC00626F9D /* JSShadowRoot.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSShadowRoot.h; sourceTree = "<group>"; };8540 8536 4A38BF4E14FE1C0900612512 /* WebSocketDeflateFramer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebSocketDeflateFramer.cpp; sourceTree = "<group>"; }; 8541 8537 4A38BF4F14FE1C0900612512 /* WebSocketDeflateFramer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebSocketDeflateFramer.h; sourceTree = "<group>"; }; … … 10717 10713 A7D6B3470F61104500B79FD1 /* WorkerScriptLoader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WorkerScriptLoader.h; path = workers/WorkerScriptLoader.h; sourceTree = "<group>"; }; 10718 10714 A7D6B3480F61104500B79FD1 /* WorkerScriptLoader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WorkerScriptLoader.cpp; path = workers/WorkerScriptLoader.cpp; sourceTree = "<group>"; }; 10719 A7DB418114CE1F0A00A2E316 /* ShadowRoot.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ShadowRoot.idl; sourceTree = "<group>"; };10720 10715 A7DBF8DB1276919C006B6008 /* TextCheckingHelper.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TextCheckingHelper.cpp; sourceTree = "<group>"; }; 10721 10716 A7DBF8DC1276919C006B6008 /* TextCheckingHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TextCheckingHelper.h; sourceTree = "<group>"; }; … … 10728 10723 A7F1F4C017148BDB00CD4852 /* StorageUsageCallback.idl */ = {isa = PBXFileReference; lastKnownFileType = text; name = StorageUsageCallback.idl; path = Modules/quota/StorageUsageCallback.idl; sourceTree = SOURCE_ROOT; }; 10729 10724 A7F1F4C117148BDB00CD4852 /* WorkerNavigatorStorageQuota.idl */ = {isa = PBXFileReference; lastKnownFileType = text; name = WorkerNavigatorStorageQuota.idl; path = Modules/quota/WorkerNavigatorStorageQuota.idl; sourceTree = SOURCE_ROOT; }; 10730 A7F73ED9169AD7AA00CBAA4B /* DOMShadowRoot.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMShadowRoot.h; sourceTree = "<group>"; };10731 A7F73EDA169AD7AA00CBAA4B /* DOMShadowRoot.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMShadowRoot.mm; sourceTree = "<group>"; };10732 10725 A80A38FD0E50CC8200A25EBC /* PatternCG.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PatternCG.cpp; sourceTree = "<group>"; }; 10733 10726 A80D67070E9E9DEB00E420F0 /* GraphicsContextPlatformPrivateCG.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GraphicsContextPlatformPrivateCG.h; sourceTree = "<group>"; }; … … 16346 16339 85F56A780A98CE3700ADB60A /* DOMProcessingInstruction.h */, 16347 16340 85F56A790A98CE3700ADB60A /* DOMProcessingInstruction.mm */, 16348 A7F73ED9169AD7AA00CBAA4B /* DOMShadowRoot.h */,16349 A7F73EDA169AD7AA00CBAA4B /* DOMShadowRoot.mm */,16350 16341 85ACA99A0A9B575900671E90 /* DOMText.h */, 16351 16342 85ACA99B0A9B575900671E90 /* DOMText.mm */, … … 18769 18760 4998AECB13F9D6C90090B1AA /* JSRequestAnimationFrameCallback.cpp */, 18770 18761 4998AECC13F9D6C90090B1AA /* JSRequestAnimationFrameCallback.h */, 18771 4A1E71A414E106AC00626F9D /* JSShadowRoot.h */,18772 18762 75415D50129AB2D2003AD669 /* JSSpeechInputEvent.h */, 18773 18763 75415D52129AB2D2003AD669 /* JSSpeechInputResult.h */, … … 22150 22140 A6D169611346B49B000EB770 /* ShadowRoot.cpp */, 22151 22141 A6D169631346B4C1000EB770 /* ShadowRoot.h */, 22152 A7DB418114CE1F0A00A2E316 /* ShadowRoot.idl */,22153 22142 31741AAB16635E45008A5B7E /* SimulatedClickOptions.h */, 22154 22143 D01A27AB10C9BFD800026A42 /* SpaceSplitString.cpp */, … … 24294 24283 9FA37EFB1172FDA600C4CD55 /* JSScriptProfile.h in Headers */, 24295 24284 9FA37EFD1172FDA600C4CD55 /* JSScriptProfileNode.h in Headers */, 24296 4A1E71A614E106AC00626F9D /* JSShadowRoot.h in Headers */,24297 24285 41D07A7F0FF935CA0095EDCE /* JSSharedWorker.h in Headers */, 24298 24286 41D1690610238B66009BC827 /* JSSharedWorkerGlobalScope.h in Headers */, -
trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp
r163427 r164131 73 73 #if ENABLE(VIDEO_TRACK) 74 74 , m_isVideoTrackEnabled(true) 75 #endif76 #if ENABLE(SHADOW_DOM)77 , m_isShadowDOMEnabled(false)78 , m_isAuthorShadowDOMForAnyElementEnabled(false)79 75 #endif 80 76 #if ENABLE(INPUT_TYPE_DATE) -
trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h
r163436 r164131 177 177 #endif 178 178 179 #if ENABLE(SHADOW_DOM)180 bool shadowDOMEnabled() const { return m_isShadowDOMEnabled; }181 void setShadowDOMEnabled(bool isEnabled) { m_isShadowDOMEnabled = isEnabled; }182 183 bool authorShadowDOMForAnyElementEnabled() const { return m_isAuthorShadowDOMForAnyElementEnabled; }184 void setAuthorShadowDOMForAnyElementEnabled(bool isEnabled) { m_isAuthorShadowDOMForAnyElementEnabled = isEnabled; }185 #endif186 187 179 #if ENABLE(INPUT_TYPE_DATE) 188 180 bool inputTypeDateEnabled() const { return m_isInputTypeDateEnabled; } … … 272 264 #endif 273 265 274 #if ENABLE(SHADOW_DOM)275 bool m_isShadowDOMEnabled;276 bool m_isAuthorShadowDOMForAnyElementEnabled;277 #endif278 279 266 #if ENABLE(INPUT_TYPE_DATE) 280 267 bool m_isInputTypeDateEnabled; -
trunk/Source/WebCore/bindings/gobject/GNUmakefile.am
r164076 r164131 247 247 DerivedSources/webkitdom/WebKitDOMScreen.cpp \ 248 248 DerivedSources/webkitdom/WebKitDOMScreenPrivate.h \ 249 DerivedSources/webkitdom/WebKitDOMShadowRoot.cpp \250 DerivedSources/webkitdom/WebKitDOMShadowRootPrivate.h \251 249 DerivedSources/webkitdom/WebKitDOMStorage.cpp \ 252 250 DerivedSources/webkitdom/WebKitDOMStorageInfo.cpp \ … … 413 411 DerivedSources/webkitdom/WebKitDOMNavigator.h \ 414 412 DerivedSources/webkitdom/WebKitDOMScreen.h \ 415 DerivedSources/webkitdom/WebKitDOMShadowRoot.h \416 413 DerivedSources/webkitdom/WebKitDOMWebKitPoint.h \ 417 414 DerivedSources/webkitdom/WebKitDOMWebKitNamedFlow.h \ -
trunk/Source/WebCore/css/StyleResolver.cpp
r164035 r164131 463 463 if (currentNode->renderStyle() == parentStyle && currentNode->lastChild() 464 464 && currentNode->isElementNode() && !parentElementPreventsSharing(toElement(currentNode)) 465 #if ENABLE(SHADOW_DOM)466 && !toElement(currentNode)->authorShadowRoot()467 #endif468 465 ) { 469 466 // Adjust for unused reserved tries. -
trunk/Source/WebCore/dom/Element.cpp
r163746 r164131 1513 1513 ensureUserAgentShadowRoot(); 1514 1514 1515 #if ENABLE(SHADOW_DOM) 1516 if (RuntimeEnabledFeatures::sharedFeatures().authorShadowDOMForAnyElementEnabled()) { 1517 addShadowRoot(ShadowRoot::create(document(), ShadowRoot::AuthorShadowRoot)); 1518 return shadowRoot(); 1519 } 1520 #endif 1521 1522 // Since some elements recreates shadow root dynamically, multiple shadow 1523 // subtrees won't work well in that element. Until they are fixed, we disable 1524 // adding author shadow root for them. 1525 if (!areAuthorShadowsAllowed()) { 1526 ec = HIERARCHY_REQUEST_ERR; 1527 return 0; 1528 } 1529 addShadowRoot(ShadowRoot::create(document(), ShadowRoot::AuthorShadowRoot)); 1530 1531 return shadowRoot(); 1532 } 1533 1534 ShadowRoot* Element::authorShadowRoot() const 1535 { 1536 ShadowRoot* shadowRoot = this->shadowRoot(); 1537 if (shadowRoot->type() == ShadowRoot::AuthorShadowRoot) 1538 return shadowRoot; 1539 return 0; 1515 ec = HIERARCHY_REQUEST_ERR; 1516 return nullptr; 1540 1517 } 1541 1518 … … 1546 1523 return shadowRoot; 1547 1524 } 1548 return 0;1525 return nullptr; 1549 1526 } 1550 1527 -
trunk/Source/WebCore/dom/Element.h
r163853 r164131 324 324 ShadowRoot* shadowRoot() const; 325 325 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionCode&); 326 ShadowRoot* authorShadowRoot() const;327 328 bool hasAuthorShadowRoot() const { return authorShadowRoot(); }329 326 330 327 ShadowRoot* userAgentShadowRoot() const; … … 606 603 void resetNeedsNodeRenderingTraversalSlowPath(); 607 604 608 virtual bool areAuthorShadowsAllowed() const { return true; }609 605 virtual void didAddUserAgentShadowRoot(ShadowRoot*) { } 610 606 virtual bool alwaysCreateUserAgentShadowRoot() const { return false; } -
trunk/Source/WebCore/dom/Element.idl
r163092 r164131 116 116 readonly attribute Element nextElementSibling; 117 117 readonly attribute unsigned long childElementCount; 118 119 // ShadowAware API120 #if defined(ENABLE_SHADOW_DOM) && ENABLE_SHADOW_DOM && defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT121 [Reflect=pseudo, ImplementedAs=pseudo] attribute DOMString webkitPseudo;122 [ImplementedAs=createShadowRoot, RaisesException] ShadowRoot webkitCreateShadowRoot();123 [ImplementedAs=authorShadowRoot] readonly attribute ShadowRoot webkitShadowRoot;124 [ImplementedAs=insertionParentForBinding] readonly attribute Node webkitInsertionParent;125 #endif126 118 127 119 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT -
trunk/Source/WebCore/dom/Position.cpp
r163703 r164131 95 95 , m_isLegacyEditingPosition(true) 96 96 { 97 #if ENABLE(SHADOW_DOM)98 ASSERT((m_anchorNode && RuntimeEnabledFeatures::sharedFeatures().shadowDOMEnabled()) || !m_anchorNode || !m_anchorNode->isShadowRoot() || m_anchorNode == containerNode());99 #else100 97 ASSERT(!m_anchorNode || !m_anchorNode->isShadowRoot() || m_anchorNode == containerNode()); 101 #endif102 98 ASSERT(!m_anchorNode || !m_anchorNode->isPseudoElement()); 103 99 } … … 109 105 , m_isLegacyEditingPosition(false) 110 106 { 111 #if ENABLE(SHADOW_DOM)112 ASSERT((m_anchorNode && RuntimeEnabledFeatures::sharedFeatures().shadowDOMEnabled()) || !m_anchorNode || !m_anchorNode->isShadowRoot() || m_anchorNode == containerNode());113 #else114 107 ASSERT(!m_anchorNode || !m_anchorNode->isShadowRoot() || m_anchorNode == containerNode()); 115 #endif116 117 108 ASSERT(!m_anchorNode || !m_anchorNode->isPseudoElement()); 118 119 109 ASSERT(anchorType != PositionIsOffsetInAnchor); 120 110 ASSERT(!((anchorType == PositionIsBeforeChildren || anchorType == PositionIsAfterChildren) … … 128 118 , m_isLegacyEditingPosition(false) 129 119 { 130 #if ENABLE(SHADOW_DOM)131 ASSERT((m_anchorNode && RuntimeEnabledFeatures::sharedFeatures().shadowDOMEnabled())132 || !m_anchorNode || !editingIgnoresContent(m_anchorNode.get()) || !m_anchorNode->isShadowRoot());133 #else134 120 ASSERT(!m_anchorNode || !editingIgnoresContent(m_anchorNode.get()) || !m_anchorNode->isShadowRoot()); 135 #endif136 137 121 ASSERT(!m_anchorNode || !m_anchorNode->isPseudoElement()); 138 139 122 ASSERT(anchorType == PositionIsOffsetInAnchor); 140 123 } … … 896 879 ContainerNode* Position::findParent(const Node* node) 897 880 { 898 // FIXME: See http://web.ug/82697899 900 #if ENABLE(SHADOW_DOM)901 if (RuntimeEnabledFeatures::sharedFeatures().shadowDOMEnabled())902 return node->parentNode();903 #endif904 905 881 return node->nonShadowBoundaryParentNode(); 906 882 } -
trunk/Source/WebCore/dom/ShadowRoot.h
r162158 r164131 40 40 class ShadowRoot final : public DocumentFragment, public TreeScope { 41 41 public: 42 // FIXME: We will support multiple shadow subtrees, however current implementation does not work well43 // if a shadow root is dynamically created. So we prohibit multiple shadow subtrees44 // in several elements for a while.45 // See https://bugs.webkit.org/show_bug.cgi?id=77503 and related bugs.46 42 enum ShadowRootType { 47 43 UserAgentShadowRoot = 0, 48 AuthorShadowRoot49 44 }; 50 45 -
trunk/Source/WebCore/dom/Text.idl
r161876 r164131 29 29 readonly attribute DOMString wholeText; 30 30 [RaisesException] Text replaceWholeText([Default=Undefined] optional DOMString content); 31 // ShadowAware API32 #if defined(ENABLE_SHADOW_DOM) && ENABLE_SHADOW_DOM && defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT33 [ImplementedAs=insertionParentForBinding] readonly attribute Node webkitInsertionParent;34 #endif35 36 31 }; 37 32 -
trunk/Source/WebCore/dom/TreeScope.cpp
r163719 r164131 319 319 return m_selection.get(); 320 320 321 // FIXME: The correct selection in Shadow DOM requires that Position can have a ShadowRoot322 // as a container. It is now enabled only if runtime Shadow DOM feature is enabled.323 // See https://bugs.webkit.org/show_bug.cgi?id=82697324 #if ENABLE(SHADOW_DOM)325 if (RuntimeEnabledFeatures::sharedFeatures().shadowDOMEnabled()) {326 m_selection = DOMSelection::create(this);327 return m_selection.get();328 }329 #endif330 331 321 if (this != &rootNode()->document()) 332 322 return rootNode()->document().getSelection(); -
trunk/Source/WebCore/html/HTMLCanvasElement.cpp
r163844 r164131 133 133 } 134 134 135 bool HTMLCanvasElement::areAuthorShadowsAllowed() const136 {137 return false;138 }139 140 135 bool HTMLCanvasElement::canContainRangeEndPoint() const 141 136 { -
trunk/Source/WebCore/html/HTMLCanvasElement.h
r162451 r164131 153 153 virtual RenderPtr<RenderElement> createElementRenderer(PassRef<RenderStyle>) override; 154 154 virtual void willAttachRenderers() override; 155 virtual bool areAuthorShadowsAllowed() const override;156 155 157 156 virtual bool canContainRangeEndPoint() const override; -
trunk/Source/WebCore/html/HTMLFieldSetElement.h
r162158 r164131 54 54 virtual bool recalcWillValidate() const override { return false; } 55 55 virtual void childrenChanged(const ChildChange&) override; 56 virtual bool areAuthorShadowsAllowed() const override { return false; }57 56 58 57 static void invalidateDisabledStateUnder(Element*); -
trunk/Source/WebCore/html/HTMLFrameElementBase.h
r162139 r164131 64 64 virtual bool isFrameElementBase() const override { return true; } 65 65 66 virtual bool areAuthorShadowsAllowed() const override { return false; }67 68 66 bool viewSourceMode() const { return m_viewSource; } 69 67 -
trunk/Source/WebCore/html/HTMLImageElement.h
r163415 r164131 92 92 93 93 private: 94 virtual bool areAuthorShadowsAllowed() const override { return false; }95 96 94 virtual void parseAttribute(const QualifiedName&, const AtomicString&) override; 97 95 virtual bool isPresentationAttribute(const QualifiedName&) const override; -
trunk/Source/WebCore/html/HTMLInputElement.h
r163958 r164131 338 338 enum AutoCompleteSetting { Uninitialized, On, Off }; 339 339 340 // FIXME: Author shadows should be allowed341 // https://bugs.webkit.org/show_bug.cgi?id=92608342 virtual bool areAuthorShadowsAllowed() const override { return false; }343 344 340 virtual void didAddUserAgentShadowRoot(ShadowRoot*) override; 345 341 -
trunk/Source/WebCore/html/HTMLKeygenElement.h
r162180 r164131 40 40 HTMLKeygenElement(const QualifiedName&, Document&, HTMLFormElement*); 41 41 42 virtual bool areAuthorShadowsAllowed() const override { return false; }43 44 42 virtual bool canStartSelection() const override { return false; } 45 43 -
trunk/Source/WebCore/html/HTMLMediaElement.h
r163816 r164131 462 462 463 463 virtual bool alwaysCreateUserAgentShadowRoot() const override { return true; } 464 virtual bool areAuthorShadowsAllowed() const override { return false; }465 464 466 465 virtual bool hasCustomFocusLogic() const override; -
trunk/Source/WebCore/html/HTMLMeterElement.cpp
r161643 r164131 60 60 RenderPtr<RenderElement> HTMLMeterElement::createElementRenderer(PassRef<RenderStyle> style) 61 61 { 62 if ( hasAuthorShadowRoot() ||!document().page()->theme().supportsMeter(style.get().appearance()))62 if (!document().page()->theme().supportsMeter(style.get().appearance())) 63 63 return RenderElement::createFor(*this, std::move(style)); 64 64 -
trunk/Source/WebCore/html/HTMLMeterElement.h
r162158 r164131 67 67 virtual ~HTMLMeterElement(); 68 68 69 virtual bool areAuthorShadowsAllowed() const override { return false; }70 69 RenderMeter* renderMeter() const; 71 70 -
trunk/Source/WebCore/html/HTMLPlugInElement.h
r162158 r164131 115 115 bool dispatchBeforeLoadEvent(const String& sourceURL); // Not implemented, generates a compile error if subclasses call this by mistake. 116 116 117 virtual bool areAuthorShadowsAllowed() const override { return false; }118 119 117 virtual RenderWidget* renderWidgetForJSBindings() const = 0; 120 118 -
trunk/Source/WebCore/html/HTMLProgressElement.cpp
r161643 r164131 61 61 RenderPtr<RenderElement> HTMLProgressElement::createElementRenderer(PassRef<RenderStyle> style) 62 62 { 63 if (!style.get().hasAppearance() || hasAuthorShadowRoot())63 if (!style.get().hasAppearance()) 64 64 return RenderElement::createFor(*this, std::move(style)); 65 65 -
trunk/Source/WebCore/html/HTMLProgressElement.h
r162158 r164131 51 51 virtual ~HTMLProgressElement(); 52 52 53 virtual bool areAuthorShadowsAllowed() const override { return false; }54 53 virtual bool shouldAppearIndeterminate() const override; 55 54 virtual bool supportLabels() const override { return true; } -
trunk/Source/WebCore/html/HTMLSelectElement.h
r162158 r164131 191 191 192 192 virtual void childrenChanged(const ChildChange&) override; 193 virtual bool areAuthorShadowsAllowed() const override { return false; }194 193 195 194 // TypeAheadDataSource functions. -
trunk/Source/WebCore/html/HTMLTextAreaElement.h
r162158 r164131 69 69 70 70 virtual void didAddUserAgentShadowRoot(ShadowRoot*) override; 71 virtual bool areAuthorShadowsAllowed() const override { return false; }72 71 73 72 void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) const; -
trunk/Source/WebCore/html/shadow/MeterShadowElement.cpp
r161181 r164131 70 70 bool MeterInnerElement::rendererIsNeeded(const RenderStyle& style) 71 71 { 72 if (meterElement()->hasAuthorShadowRoot())73 return HTMLDivElement::rendererIsNeeded(style);74 75 72 auto render = meterElement()->renderer(); 76 73 return render && !render->theme().supportsMeter(render->style().appearance()) && HTMLDivElement::rendererIsNeeded(style); -
trunk/Source/WebCore/html/shadow/ProgressShadowElement.cpp
r161181 r164131 69 69 bool ProgressInnerElement::rendererIsNeeded(const RenderStyle& style) 70 70 { 71 if (progressElement()->hasAuthorShadowRoot())72 return HTMLDivElement::rendererIsNeeded(style);73 74 71 RenderObject* progressRenderer = progressElement()->renderer(); 75 72 return progressRenderer && !progressRenderer->style().hasAppearance() && HTMLDivElement::rendererIsNeeded(style); -
trunk/Source/WebCore/svg/SVGElement.h
r164123 r164131 169 169 friend class SVGElementInstance; 170 170 171 // FIXME: Author shadows should be allowed172 // https://bugs.webkit.org/show_bug.cgi?id=77938173 virtual bool areAuthorShadowsAllowed() const override { return false; }174 175 171 virtual RenderStyle* computedStyle(PseudoId = NOPSEUDO) override final; 176 172 virtual bool willRecalcStyle(Style::Change) override; -
trunk/Source/WebCore/testing/InternalSettings.cpp
r164053 r164131 69 69 : m_originalCSSExclusionsEnabled(RuntimeEnabledFeatures::sharedFeatures().cssExclusionsEnabled()) 70 70 , m_originalCSSShapesEnabled(RuntimeEnabledFeatures::sharedFeatures().cssShapesEnabled()) 71 #if ENABLE(SHADOW_DOM)72 , m_originalShadowDOMEnabled(RuntimeEnabledFeatures::sharedFeatures().shadowDOMEnabled())73 , m_originalAuthorShadowDOMForAnyElementEnabled(RuntimeEnabledFeatures::sharedFeatures().authorShadowDOMForAnyElementEnabled())74 #endif75 71 , m_originalEditingBehavior(settings.editingBehaviorType()) 76 72 #if ENABLE(TEXT_AUTOSIZING) … … 103 99 RuntimeEnabledFeatures::sharedFeatures().setCSSExclusionsEnabled(m_originalCSSExclusionsEnabled); 104 100 RuntimeEnabledFeatures::sharedFeatures().setCSSShapesEnabled(m_originalCSSShapesEnabled); 105 #if ENABLE(SHADOW_DOM)106 RuntimeEnabledFeatures::sharedFeatures().setShadowDOMEnabled(m_originalShadowDOMEnabled);107 RuntimeEnabledFeatures::sharedFeatures().setAuthorShadowDOMForAnyElementEnabled(m_originalAuthorShadowDOMForAnyElementEnabled);108 #endif109 101 settings.setEditingBehaviorType(m_originalEditingBehavior); 110 102 … … 225 217 } 226 218 227 static bool urlIsWhitelistedForSetShadowDOMEnabled(const String& url)228 {229 // This check is just for preventing fuzzers from crashing because of unintended API calls.230 // You can list your test if needed.231 return notFound != url.find("fast/dom/shadow/content-shadow-unknown.html")232 || notFound != url.find("fast/dom/shadow/insertion-points-with-shadow-disabled.html");233 }234 235 void InternalSettings::setShadowDOMEnabled(bool enabled, ExceptionCode& ec)236 {237 if (!urlIsWhitelistedForSetShadowDOMEnabled(page()->mainFrame().document()->url().string())) {238 ec = INVALID_ACCESS_ERR;239 return;240 }241 242 #if ENABLE(SHADOW_DOM)243 RuntimeEnabledFeatures::sharedFeatures().setShadowDOMEnabled(enabled);244 #else245 // Even SHADOW_DOM is off, InternalSettings allows setShadowDOMEnabled(false) to246 // have broader test coverage. But it cannot be setShadowDOMEnabled(true).247 if (enabled)248 ec = INVALID_ACCESS_ERR;249 #endif250 }251 252 void InternalSettings::setAuthorShadowDOMForAnyElementEnabled(bool isEnabled)253 {254 #if ENABLE(SHADOW_DOM)255 RuntimeEnabledFeatures::sharedFeatures().setAuthorShadowDOMForAnyElementEnabled(isEnabled);256 #else257 UNUSED_PARAM(isEnabled);258 #endif259 }260 261 219 void InternalSettings::setTouchEventEmulationEnabled(bool enabled, ExceptionCode& ec) 262 220 { -
trunk/Source/WebCore/testing/InternalSettings.h
r164053 r164131 55 55 bool m_originalCSSExclusionsEnabled; 56 56 bool m_originalCSSShapesEnabled; 57 #if ENABLE(SHADOW_DOM)58 bool m_originalShadowDOMEnabled;59 bool m_originalAuthorShadowDOMForAnyElementEnabled;60 #endif61 57 EditingBehaviorType m_originalEditingBehavior; 62 58 … … 108 104 void setUsesOverlayScrollbars(bool enabled, ExceptionCode&); 109 105 void setTouchEventEmulationEnabled(bool enabled, ExceptionCode&); 110 void setShadowDOMEnabled(bool enabled, ExceptionCode&);111 void setAuthorShadowDOMForAnyElementEnabled(bool);112 106 void setStandardFontFamily(const String& family, const String& script, ExceptionCode&); 113 107 void setSerifFontFamily(const String& family, const String& script, ExceptionCode&); -
trunk/Source/WebCore/testing/InternalSettings.idl
r164053 r164131 30 30 [RaisesException] void setMockScrollbarsEnabled(boolean enabled); 31 31 [RaisesException] void setTouchEventEmulationEnabled(boolean enabled); 32 [RaisesException] void setShadowDOMEnabled(boolean enabled);33 void setAuthorShadowDOMForAnyElementEnabled(boolean isEnabled);34 32 [RaisesException] void setStandardFontFamily(DOMString family, DOMString script); 35 33 [RaisesException] void setSerifFontFamily(DOMString family, DOMString script); -
trunk/Source/WebCore/testing/Internals.cpp
r163739 r164131 530 530 } 531 531 532 Internals::ShadowRootIfShadowDOMEnabledOrNode* Internals::ensureShadowRoot(Element* host, ExceptionCode& ec)532 Node* Internals::ensureShadowRoot(Element* host, ExceptionCode& ec) 533 533 { 534 534 if (!host) { … … 543 543 } 544 544 545 Internals::ShadowRootIfShadowDOMEnabledOrNode* Internals::createShadowRoot(Element* host, ExceptionCode& ec)545 Node* Internals::createShadowRoot(Element* host, ExceptionCode& ec) 546 546 { 547 547 if (!host) { … … 552 552 } 553 553 554 Internals::ShadowRootIfShadowDOMEnabledOrNode* Internals::shadowRoot(Element* host, ExceptionCode& ec)554 Node* Internals::shadowRoot(Element* host, ExceptionCode& ec) 555 555 { 556 556 if (!host) { … … 571 571 case ShadowRoot::UserAgentShadowRoot: 572 572 return String("UserAgentShadowRoot"); 573 case ShadowRoot::AuthorShadowRoot:574 return String("AuthorShadowRoot");575 573 default: 576 574 ASSERT_NOT_REACHED(); -
trunk/Source/WebCore/testing/Internals.h
r163390 r164131 56 56 class Range; 57 57 class ScriptExecutionContext; 58 class ShadowRoot;59 58 class MallocStatistics; 60 59 class SerializedScriptValue; … … 81 80 PassRefPtr<CSSComputedStyleDeclaration> computedStyleIncludingVisitedInfo(Node*, ExceptionCode&) const; 82 81 83 #if ENABLE(SHADOW_DOM) 84 typedef ShadowRoot ShadowRootIfShadowDOMEnabledOrNode; 85 #else 86 typedef Node ShadowRootIfShadowDOMEnabledOrNode; 87 #endif 88 ShadowRootIfShadowDOMEnabledOrNode* ensureShadowRoot(Element* host, ExceptionCode&); 89 ShadowRootIfShadowDOMEnabledOrNode* createShadowRoot(Element* host, ExceptionCode&); 90 ShadowRootIfShadowDOMEnabledOrNode* shadowRoot(Element* host, ExceptionCode&); 82 Node* ensureShadowRoot(Element* host, ExceptionCode&); 83 Node* createShadowRoot(Element* host, ExceptionCode&); 84 Node* shadowRoot(Element* host, ExceptionCode&); 91 85 String shadowRootType(const Node*, ExceptionCode&) const; 92 86 Element* includerFor(Node*, ExceptionCode&); -
trunk/Source/WebCore/testing/Internals.idl
r163390 r164131 36 36 [RaisesException] CSSStyleDeclaration computedStyleIncludingVisitedInfo(Node node); 37 37 38 #if defined(ENABLE_SHADOW_DOM) && ENABLE_SHADOW_DOM39 [RaisesException] ShadowRoot ensureShadowRoot(Element host);40 [RaisesException] ShadowRoot createShadowRoot(Element host);41 [RaisesException] ShadowRoot shadowRoot(Element host);42 #else43 38 [RaisesException] Node ensureShadowRoot(Element host); 44 39 [RaisesException] Node createShadowRoot(Element host); 45 40 [RaisesException] Node shadowRoot(Element host); 46 #endif 41 47 42 [RaisesException] DOMString shadowRootType(Node root); 48 43 [RaisesException] Element includerFor(Node node); -
trunk/Source/WebKit/efl/ewk/ewk_settings.cpp
r162837 r164131 257 257 Eina_Bool ewk_settings_shadow_dom_enable_get() 258 258 { 259 #if ENABLE(SHADOW_DOM)260 return WebCore::RuntimeEnabledFeatures::sharedFeatures().shadowDOMEnabled();261 #else262 259 return false; 263 #endif264 260 } 265 261 266 262 Eina_Bool ewk_settings_shadow_dom_enable_set(Eina_Bool enable) 267 263 { 268 #if ENABLE(SHADOW_DOM)269 enable = !!enable;270 WebCore::RuntimeEnabledFeatures::sharedFeatures().setShadowDOMEnabled(enable);271 return true;272 #else273 264 UNUSED_PARAM(enable); 274 265 return false; 275 #endif276 266 } 277 267 -
trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp
r163739 r164131 587 587 } 588 588 589 void DumpRenderTreeSupportGtk::setShadowDOMEnabled(bool enabled)590 {591 #if ENABLE(SHADOW_DOM)592 RuntimeEnabledFeatures::sharedFeatures().setShadowDOMEnabled(enabled);593 #endif594 }595 596 589 void DumpRenderTreeSupportGtk::deliverAllMutationsIfNecessary() 597 590 { -
trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h
r163427 r164131 106 106 static void setCSSRegionsEnabled(WebKitWebView*, bool enabled); 107 107 static void setExperimentalContentSecurityPolicyFeaturesEnabled(bool); 108 static void setShadowDOMEnabled(bool);109 108 110 109 static void deliverAllMutationsIfNecessary(); -
trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig
r163674 r164131 157 157 ENABLE_RESOLUTION_MEDIA_QUERY = ; 158 158 ENABLE_SCRIPTED_SPEECH = ; 159 ENABLE_SHADOW_DOM = ;160 159 ENABLE_SHARED_WORKERS = ENABLE_SHARED_WORKERS; 161 160 ENABLE_SPEECH_SYNTHESIS = $(ENABLE_SPEECH_SYNTHESIS_$(PLATFORM_NAME)); … … 199 198 ENABLE_LLINT_C_LOOP = ; 200 199 201 FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_BLOB) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS_SHAPE_INSIDE) $(ENABLE_CSS_STICKY_POSITION) $(ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED) $(ENABLE_CSS3_CONDITIONAL_RULES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_HIGH_DPI_CANVAS) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_PLUGIN_PROXY_FOR_VIDEO) $(ENABLE_PROGRESS_ELEMENT) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_SCRIPTED_SPEECH) $(ENABLE_SHA DOW_DOM) $(ENABLE_SHARED_WORKERS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBPIXEL_LAYOUT) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(FEATURE_DEFINES_$(PLATFORM_NAME));200 FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_BLOB) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS_SHAPE_INSIDE) $(ENABLE_CSS_STICKY_POSITION) $(ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED) $(ENABLE_CSS3_CONDITIONAL_RULES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_HIGH_DPI_CANVAS) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_PLUGIN_PROXY_FOR_VIDEO) $(ENABLE_PROGRESS_ELEMENT) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_SCRIPTED_SPEECH) $(ENABLE_SHARED_WORKERS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBPIXEL_LAYOUT) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(FEATURE_DEFINES_$(PLATFORM_NAME)); -
trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig
r163674 r164131 157 157 ENABLE_RESOLUTION_MEDIA_QUERY = ; 158 158 ENABLE_SCRIPTED_SPEECH = ; 159 ENABLE_SHADOW_DOM = ;160 159 ENABLE_SHARED_WORKERS = ENABLE_SHARED_WORKERS; 161 160 ENABLE_SPEECH_SYNTHESIS = $(ENABLE_SPEECH_SYNTHESIS_$(PLATFORM_NAME)); … … 199 198 ENABLE_LLINT_C_LOOP = ; 200 199 201 FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_BLOB) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS_SHAPE_INSIDE) $(ENABLE_CSS_STICKY_POSITION) $(ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED) $(ENABLE_CSS3_CONDITIONAL_RULES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_HIGH_DPI_CANVAS) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_PLUGIN_PROXY_FOR_VIDEO) $(ENABLE_PROGRESS_ELEMENT) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_SCRIPTED_SPEECH) $(ENABLE_SHA DOW_DOM) $(ENABLE_SHARED_WORKERS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBPIXEL_LAYOUT) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(FEATURE_DEFINES_$(PLATFORM_NAME));200 FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_BLOB) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS_SHAPE_INSIDE) $(ENABLE_CSS_STICKY_POSITION) $(ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED) $(ENABLE_CSS3_CONDITIONAL_RULES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_HIGH_DPI_CANVAS) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_PLUGIN_PROXY_FOR_VIDEO) $(ENABLE_PROGRESS_ELEMENT) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_SCRIPTED_SPEECH) $(ENABLE_SHARED_WORKERS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBPIXEL_LAYOUT) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(FEATURE_DEFINES_$(PLATFORM_NAME)); -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp
r163427 r164131 325 325 } 326 326 327 void WKBundleSetShadowDOMEnabled(WKBundleRef bundleRef, bool enabled)328 {329 toImpl(bundleRef)->setShadowDOMEnabled(enabled);330 }331 332 327 void WKBundleDispatchPendingLoadRequests(WKBundleRef bundleRef) 333 328 { -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePrivate.h
r163427 r164131 104 104 WK_EXPORT void WKBundleSetTabKeyCyclesThroughElements(WKBundleRef bundle, WKBundlePageRef page, bool enabled); 105 105 WK_EXPORT void WKBundleSetSerialLoadingEnabled(WKBundleRef bundle, bool enabled); 106 WK_EXPORT void WKBundleSetShadowDOMEnabled(WKBundleRef bundle, bool enabled);107 106 WK_EXPORT void WKBundleDispatchPendingLoadRequests(WKBundleRef bundle); 108 107 -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp
r163427 r164131 71 71 #include <WebCore/UserGestureIndicator.h> 72 72 73 #if ENABLE( SHADOW_DOM) || ENABLE(CSS_REGIONS) || ENABLE(CSS_COMPOSITING)73 #if ENABLE(CSS_REGIONS) || ENABLE(CSS_COMPOSITING) 74 74 #include <WebCore/RuntimeEnabledFeatures.h> 75 75 #endif … … 627 627 } 628 628 629 void InjectedBundle::setShadowDOMEnabled(bool enabled)630 {631 #if ENABLE(SHADOW_DOM)632 RuntimeEnabledFeatures::sharedFeatures().setShadowDOMEnabled(enabled);633 #else634 UNUSED_PARAM(enabled);635 #endif636 }637 638 629 void InjectedBundle::setCSSRegionsEnabled(bool enabled) 639 630 { -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h
r163427 r164131 165 165 void setTabKeyCyclesThroughElements(WebPage*, bool enabled); 166 166 void setSerialLoadingEnabled(bool); 167 void setShadowDOMEnabled(bool);168 167 void setCSSRegionsEnabled(bool); 169 168 void setCSSCompositingEnabled(bool); -
trunk/Source/autotools/SetupWebKitFeatures.m4
r164024 r164131 153 153 ENABLE_REQUEST_ANIMATION_FRAME=1 \ 154 154 ENABLE_SCRIPTED_SPEECH=0 \ 155 ENABLE_SHADOW_DOM=0 \156 155 ENABLE_SHARED_WORKERS=1 \ 157 156 ENABLE_SMOOTH_SCROLLING=1 \ -
trunk/Source/cmake/OptionsGTK.cmake
r164024 r164131 64 64 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_REQUEST_ANIMATION_FRAME ON) 65 65 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SECCOMP_FILTERS OFF) 66 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SHADOW_DOM OFF)67 66 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SHARED_WORKERS ON) 68 67 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SPELLCHECK ON) -
trunk/Tools/ChangeLog
r164105 r164131 1 2014-02-14 Andreas Kling <akling@apple.com> 2 3 Purge remaining ENABLE(SHADOW_DOM) cruft. 4 <https://webkit.org/b/128827> 5 6 Reviewed by Antti Koivisto. 7 8 * DumpRenderTree/gtk/DumpRenderTree.cpp: 9 (resetDefaultsToConsistentValues): 10 * Scripts/webkitperl/FeatureList.pm: 11 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: 12 (WTR::InjectedBundle::beginTesting): 13 1 14 2014-02-13 Brent Fulgham <bfulgham@apple.com> 2 15 -
trunk/Tools/DumpRenderTree/gtk/DumpRenderTree.cpp
r163797 r164131 546 546 DumpRenderTreeSupportGtk::setCSSRegionsEnabled(webView, true); 547 547 DumpRenderTreeSupportGtk::setExperimentalContentSecurityPolicyFeaturesEnabled(true); 548 DumpRenderTreeSupportGtk::setShadowDOMEnabled(true);549 548 550 549 if (gTestRunner) { -
trunk/Tools/Scripts/webkitperl/FeatureList.pm
r163749 r164131 126 126 $scriptedSpeechSupport, 127 127 $seccompFiltersSupport, 128 $shadowDOMSupport,129 128 $sharedWorkersSupport, 130 129 $sqlDatabaseSupport, … … 399 398 define => "ENABLE_SCRIPTED_SPEECH", default => 0, value => \$scriptedSpeechSupport }, 400 399 401 { option => "shadow-dom", desc => "Toggle Shadow DOM support",402 define => "ENABLE_SHADOW_DOM", default => 0, value => \$shadowDOMSupport },403 404 400 { option => "shared-workers", desc => "Toggle Shared Workers support", 405 401 define => "ENABLE_SHARED_WORKERS", default => (isAppleWebKit() || isGtk() || isEfl()), value => \$sharedWorkersSupport }, -
trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp
r163821 r164131 253 253 WKBundleSetAlwaysAcceptCookies(m_bundle, false); 254 254 WKBundleSetSerialLoadingEnabled(m_bundle, false); 255 WKBundleSetShadowDOMEnabled(m_bundle, true);256 255 WKBundleSetCacheModel(m_bundle, 1 /*CacheModelDocumentBrowser*/); 257 256
Note: See TracChangeset
for help on using the changeset viewer.