diff options
Diffstat (limited to 'Tools/Scripts/webkitperl/FeatureList.pm')
-rw-r--r-- | Tools/Scripts/webkitperl/FeatureList.pm | 276 |
1 files changed, 130 insertions, 146 deletions
diff --git a/Tools/Scripts/webkitperl/FeatureList.pm b/Tools/Scripts/webkitperl/FeatureList.pm index 0e39102ed..81264636a 100644 --- a/Tools/Scripts/webkitperl/FeatureList.pm +++ b/Tools/Scripts/webkitperl/FeatureList.pm @@ -42,51 +42,49 @@ BEGIN { } my ( - $threeDRenderingSupport, + $threeDTransformsSupport, $accelerated2DCanvasSupport, + $allInOneBuild, + $arrowfunctionSyntax, + $attachmentElementSupport, $batteryStatusSupport, - $blobSupport, $canvasPathSupport, $canvasProxySupport, $channelMessagingSupport, + $classSyntax, + $templateLiteralSyntax, $cspNextSupport, - $css3ConditionalRulesSupport, $css3TextSupport, $css3TextLineBreakSupport, $css4ImagesSupport, $cssBoxDecorationBreakSupport, $cssDeviceAdaptation, - $cssExclusionsSupport, - $cssFiltersSupport, + $cssGridLayoutSupport, $cssImageOrientationSupport, $cssImageResolutionSupport, $cssImageSetSupport, $cssRegionsSupport, - $cssShadersSupport, $cssShapesSupport, - $cssStickyPositionSupport, $cssCompositingSupport, - $cssAnimationsTransformsUnprefixedSupport, - $cssVariablesSupport, + $customElementsSupport, $customSchemeHandlerSupport, $dataTransferItemsSupport, $datalistElementSupport, $detailsElementSupport, $deviceOrientationSupport, - $dialogElementSupport, $directoryUploadSupport, $dom4EventsConstructor, $downloadAttributeSupport, - $fileSystemSupport, - $filtersSupport, + $fetchAPISupport, $fontLoadEventsSupport, $ftpDirSupport, $fullscreenAPISupport, $gamepadSupport, + $generatorsSupport, $geolocationSupport, + $hardwareConcurrencySupport, $highDPICanvasSupport, $icondatabaseSupport, - $iframeSeamlessSupport, $indexedDatabaseSupport, $inputSpeechSupport, $inputTypeColorSupport, @@ -96,8 +94,8 @@ my ( $inputTypeMonthSupport, $inputTypeTimeSupport, $inputTypeWeekSupport, - $inspectorSupport, - $javascriptDebuggerSupport, + $intlSupport, + $jitSupport, $legacyNotificationsSupport, $legacyVendorPrefixSupport, $legacyWebAudioSupport, @@ -110,36 +108,34 @@ my ( $mediaStreamSupport, $meterElementSupport, $mhtmlSupport, - $microdataSupport, + $modulesSupport, $mouseCursorScaleSupport, $netscapePluginAPISupport, - $networkInfoSupport, $nosniffSupport, $notificationsSupport, $orientationEventsSupport, $pageVisibilityAPISupport, $performanceTimelineSupport, - $progressElementSupport, + $promiseSupport, $proximityEventsSupport, $quotaSupport, $resolutionMediaQuerySupport, $registerProtocolHandlerSupport, $requestAnimationFrameSupport, $resourceTimingSupport, + $samplingProfilerSupport, $scriptedSpeechSupport, $seccompFiltersSupport, $shadowDOMSupport, - $sharedWorkersSupport, - $sqlDatabaseSupport, + $streamsAPISupport, $styleScopedSupport, - $suidLinuxSandbox, + $subtleCrypto, $svgDOMObjCBindingsSupport, $svgFontsSupport, - $svgSupport, $systemMallocSupport, $templateElementSupport, $textAutosizingSupport, - $tiledBackingStoreSupport, + $threadedCompositorSupport, $threadedHTMLParserSupport, $touchEventsSupport, $touchSliderSupport, @@ -149,26 +145,38 @@ my ( $videoSupport, $videoTrackSupport, $webglSupport, + $webAssemblySupport, + $webAnimationsSupport, $webAudioSupport, + $webReplaySupport, $webSocketsSupport, $webTimingSupport, - $workersSupport, - $xhrTimeoutSupport, $xsltSupport, + $ftlJITSupport, ); +prohibitUnknownPort(); + +sub isQtGstreamer { return isQt() && !isAnyWindows() && !isDarwin() } + my @features = ( { option => "3d-rendering", desc => "Toggle 3D Rendering support", - define => "ENABLE_3D_RENDERING", default => (isAppleMacWebKit() || isGtk() || isEfl()), value => \$threeDRenderingSupport }, + define => "ENABLE_3D_TRANSFORMS", default => (isAppleMacWebKit() || isIOSWebKit() || isGtk() || isEfl()), value => \$threeDTransformsSupport }, { option => "accelerated-2d-canvas", desc => "Toggle Accelerated 2D Canvas support", - define => "ENABLE_ACCELERATED_2D_CANVAS", default => 0, value => \$accelerated2DCanvasSupport }, + define => "ENABLE_ACCELERATED_2D_CANVAS", default => isGtk(), value => \$accelerated2DCanvasSupport }, - { option => "battery-status", desc => "Toggle Battery Status support", - define => "ENABLE_BATTERY_STATUS", default => (isEfl() || isBlackBerry()), value => \$batteryStatusSupport }, + { option => "allinone-build", desc => "Toggle all-in-one build", + define => "ENABLE_ALLINONE_BUILD", default => isWindows() || isQt(), value => \$allInOneBuild }, + + { option => "arrowfunction-syntax", desc => "Toggle ES6 arrow function syntax support", + define => "ENABLE_ES6_ARROWFUNCTION_SYNTAX", default => 1, value => \$arrowfunctionSyntax }, + + { option => "attachment-element", desc => "Toggle Attachment Element support", + define => "ENABLE_ATTACHMENT_ELEMENT", default => 0, value => \$attachmentElementSupport }, - { option => "blob", desc => "Toggle Blob support", - define => "ENABLE_BLOB", default => (isAppleMacWebKit() || isGtk() || isBlackBerry() || isEfl()), value => \$blobSupport }, + { option => "battery-status", desc => "Toggle Battery Status support", + define => "ENABLE_BATTERY_STATUS", default => isEfl(), value => \$batteryStatusSupport }, { option => "canvas-path", desc => "Toggle Canvas Path support", define => "ENABLE_CANVAS_PATH", default => 1, value => \$canvasPathSupport }, @@ -179,23 +187,29 @@ my @features = ( { option => "channel-messaging", desc => "Toggle Channel Messaging support", define => "ENABLE_CHANNEL_MESSAGING", default => 1, value => \$channelMessagingSupport }, + { option => "class-syntax", desc => "Toggle ES6 class syntax support", + define => "ENABLE_ES6_CLASS_SYNTAX", default => 1, value => \$classSyntax }, + + { option => "generators", desc => "Toggle ES6 generators support", + define => "ENABLE_ES6_GENERATORS", default => 1, value => \$generatorsSupport }, + + { option => "modules", desc => "Toggle ES6 modules support", + define => "ENABLE_ES6_MODULES", default => 0, value => \$modulesSupport }, + + { option => "template-literal-syntax", desc => "Toggle ES6 template literal syntax support", + define => "ENABLE_ES6_TEMPLATE_LITERAL_SYNTAX", default => 1, value => \$templateLiteralSyntax }, + { option => "csp-next", desc => "Toggle Content Security Policy 1.1 support", define => "ENABLE_CSP_NEXT", default => isGtk(), value => \$cspNextSupport }, { option => "css-device-adaptation", desc => "Toggle CSS Device Adaptation support", define => "ENABLE_CSS_DEVICE_ADAPTATION", default => isEfl(), value => \$cssDeviceAdaptation }, - { option => "css-exclusions", desc => "Toggle CSS Exclusions support", - define => "ENABLE_CSS_EXCLUSIONS", default => 1, value => \$cssExclusionsSupport }, - { option => "css-shapes", desc => "Toggle CSS Shapes support", define => "ENABLE_CSS_SHAPES", default => 1, value => \$cssShapesSupport }, - { option => "css-filters", desc => "Toggle CSS Filters support", - define => "ENABLE_CSS_FILTERS", default => isAppleWebKit() || isBlackBerry(), value => \$cssFiltersSupport }, - - { option => "css3-conditional-rules", desc => "Toggle CSS3 Conditional Rules support (i.e. \@supports)", - define => "ENABLE_CSS3_CONDITIONAL_RULES", default => 0, value => \$css3ConditionalRulesSupport }, + { option => "css-grid-layout", desc => "Toggle CSS Grid Layout support", + define => "ENABLE_CSS_GRID_LAYOUT", default => 1, value => \$cssGridLayoutSupport }, { option => "css3-text", desc => "Toggle CSS3 Text support", define => "ENABLE_CSS3_TEXT", default => (isEfl() || isGtk()), value => \$css3TextSupport }, @@ -207,37 +221,28 @@ my @features = ( define => "ENABLE_CSS_BOX_DECORATION_BREAK", default => 1, value => \$cssBoxDecorationBreakSupport }, { option => "css-image-orientation", desc => "Toggle CSS image-orientation support", - define => "ENABLE_CSS_IMAGE_ORIENTATION", default => isGtk(), value => \$cssImageOrientationSupport }, + define => "ENABLE_CSS_IMAGE_ORIENTATION", default => (isEfl() || isGtk()), value => \$cssImageOrientationSupport }, { option => "css-image-resolution", desc => "Toggle CSS image-resolution support", - define => "ENABLE_CSS_IMAGE_RESOLUTION", default => (isBlackBerry() || isGtk()), value => \$cssImageResolutionSupport }, + define => "ENABLE_CSS_IMAGE_RESOLUTION", default => isGtk(), value => \$cssImageResolutionSupport }, { option => "css-image-set", desc => "Toggle CSS image-set support", - define => "ENABLE_CSS_IMAGE_SET", default => (isEfl() || isGtk()), value => \$cssImageSetSupport }, + define => "ENABLE_CSS_IMAGE_SET", default => (isEfl() || isGtk() || isQt()), value => \$cssImageSetSupport }, { option => "css-regions", desc => "Toggle CSS Regions support", define => "ENABLE_CSS_REGIONS", default => 1, value => \$cssRegionsSupport }, - { option => "css-shaders", desc => "Toggle CSS Shaders support", - define => "ENABLE_CSS_SHADERS", default => isAppleMacWebKit(), value => \$cssShadersSupport }, - - { option => "css-sticky-position", desc => "Toggle CSS sticky position support", - define => "ENABLE_CSS_STICKY_POSITION", default => (isGtk() || isEfl()), value => \$cssStickyPositionSupport }, - { option => "css-compositing", desc => "Toggle CSS Compositing support", define => "ENABLE_CSS_COMPOSITING", default => isAppleWebKit(), value => \$cssCompositingSupport }, - { option => "css-transforms-animations-unprefixed", desc => "Toggle support for unprefixed CSS animations and transforms", - define => "ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED", default => 1, value => \$cssAnimationsTransformsUnprefixedSupport }, - - { option => "css-variables", desc => "Toggle CSS Variable support", - define => "ENABLE_CSS_VARIABLES", default => (isBlackBerry() || isEfl() || isGtk()), value => \$cssVariablesSupport }, + { option => "custom-elements", desc => "Toggle custom elements support", + define => "ENABLE_CUSTOM_ELEMENTS", default => (isAppleMacWebKit() || isIOSWebKit()), value => \$customElementsSupport }, { option => "custom-scheme-handler", desc => "Toggle Custom Scheme Handler support", - define => "ENABLE_CUSTOM_SCHEME_HANDLER", default => (isBlackBerry() || isEfl()), value => \$customSchemeHandlerSupport }, + define => "ENABLE_CUSTOM_SCHEME_HANDLER", default => isEfl(), value => \$customSchemeHandlerSupport }, { option => "datalist-element", desc => "Toggle Datalist Element support", - define => "ENABLE_DATALIST_ELEMENT", default => isEfl(), value => \$datalistElementSupport }, + define => "ENABLE_DATALIST_ELEMENT", default => (isEfl() || isQt()), value => \$datalistElementSupport }, { option => "data-transfer-items", desc => "Toggle Data Transfer Items support", define => "ENABLE_DATA_TRANSFER_ITEMS", default => 0, value => \$dataTransferItemsSupport }, @@ -246,58 +251,46 @@ my @features = ( define => "ENABLE_DETAILS_ELEMENT", default => 1, value => \$detailsElementSupport }, { option => "device-orientation", desc => "Toggle Device Orientation support", - define => "ENABLE_DEVICE_ORIENTATION", default => isBlackBerry(), value => \$deviceOrientationSupport }, - - { option => "dialog-element", desc => "Toggle Dialog Element support", - define => "ENABLE_DIALOG_ELEMENT", default => 0, value => \$dialogElementSupport }, - - { option => "directory-upload", desc => "Toggle Directory Upload support", - define => "ENABLE_DIRECTORY_UPLOAD", default => 0, value => \$directoryUploadSupport }, + define => "ENABLE_DEVICE_ORIENTATION", default => (isIOSWebKit() || isQt()), value => \$deviceOrientationSupport }, { option => "dom4-events-constructor", desc => "Expose DOM4 Events constructors", - define => "ENABLE_DOM4_EVENTS_CONSTRUCTOR", default => (isAppleWebKit() || isGtk() || isEfl()), value => \$dom4EventsConstructor }, + define => "ENABLE_DOM4_EVENTS_CONSTRUCTOR", default => (isAppleWebKit() || isGtk() || isEfl() || isQt()), value => \$dom4EventsConstructor }, { option => "download-attribute", desc => "Toggle Download Attribute support", - define => "ENABLE_DOWNLOAD_ATTRIBUTE", default => (isBlackBerry() || isEfl()), value => \$downloadAttributeSupport }, + define => "ENABLE_DOWNLOAD_ATTRIBUTE", default => (isEfl() || isQt()), value => \$downloadAttributeSupport }, - { option => "file-system", desc => "Toggle File System support", - define => "ENABLE_FILE_SYSTEM", default => isBlackBerry(), value => \$fileSystemSupport }, - - { option => "filters", desc => "Toggle Filters support", - define => "ENABLE_FILTERS", default => (isAppleWebKit() || isGtk() || isEfl() || isBlackBerry()), value => \$filtersSupport }, + { option => "fetch-api", desc => "Toggle Fetch API support", + define => "ENABLE_FETCH_API", default => 1, value => \$fetchAPISupport }, { option => "font-load-events", desc => "Toggle Font Load Events support", define => "ENABLE_FONT_LOAD_EVENTS", default => 0, value => \$fontLoadEventsSupport }, { option => "ftpdir", desc => "Toggle FTP Directory support", - define => "ENABLE_FTPDIR", default => !isWinCE(), value => \$ftpDirSupport }, + define => "ENABLE_FTPDIR", default => !isQt(), value => \$ftpDirSupport }, { option => "fullscreen-api", desc => "Toggle Fullscreen API support", - define => "ENABLE_FULLSCREEN_API", default => (isAppleMacWebKit() || isEfl() || isGtk() || isBlackBerry()), value => \$fullscreenAPISupport }, + define => "ENABLE_FULLSCREEN_API", default => (isAppleMacWebKit() || isEfl() || isGtk()), value => \$fullscreenAPISupport }, { option => "gamepad", desc => "Toggle Gamepad support", - define => "ENABLE_GAMEPAD", default => (isEfl() || isGtk()), value => \$gamepadSupport }, + define => "ENABLE_GAMEPAD", default => 0, value => \$gamepadSupport }, { option => "geolocation", desc => "Toggle Geolocation support", - define => "ENABLE_GEOLOCATION", default => (isAppleWebKit() || isGtk() || isBlackBerry()), value => \$geolocationSupport }, + define => "ENABLE_GEOLOCATION", default => (isAppleWebKit() || isIOSWebKit() || isGtk() || isEfl() || isQt()), value => \$geolocationSupport }, { option => "high-dpi-canvas", desc => "Toggle High DPI Canvas support", define => "ENABLE_HIGH_DPI_CANVAS", default => (isAppleWebKit()), value => \$highDPICanvasSupport }, { option => "icon-database", desc => "Toggle Icondatabase support", - define => "ENABLE_ICONDATABASE", default => 1, value => \$icondatabaseSupport }, - - { option => "iframe-seamless", desc => "Toggle iframe seamless attribute support", - define => "ENABLE_IFRAME_SEAMLESS", default => 1, value => \$iframeSeamlessSupport }, + define => "ENABLE_ICONDATABASE", default => !isIOSWebKit(), value => \$icondatabaseSupport }, { option => "indexed-database", desc => "Toggle Indexed Database support", - define => "ENABLE_INDEXED_DATABASE", default => (isGtk() || isEfl()), value => \$indexedDatabaseSupport }, + define => "ENABLE_INDEXED_DATABASE", default => (isEfl() || isGtk() || isQt()), value => \$indexedDatabaseSupport }, { option => "input-speech", desc => "Toggle Input Speech support", define => "ENABLE_INPUT_SPEECH", default => 0, value => \$inputSpeechSupport }, { option => "input-type-color", desc => "Toggle Input Type Color support", - define => "ENABLE_INPUT_TYPE_COLOR", default => (isBlackBerry() || isEfl()), value => \$inputTypeColorSupport }, + define => "ENABLE_INPUT_TYPE_COLOR", default => (isEfl() || isGtk() || isQt()), value => \$inputTypeColorSupport }, { option => "input-type-date", desc => "Toggle Input Type Date support", define => "ENABLE_INPUT_TYPE_DATE", default => 0, value => \$inputTypeDateSupport }, @@ -317,77 +310,71 @@ my @features = ( { option => "input-type-week", desc => "Toggle Input Type Week support", define => "ENABLE_INPUT_TYPE_WEEK", default => 0, value => \$inputTypeWeekSupport }, - { option => "inspector", desc => "Toggle Inspector support", - define => "ENABLE_INSPECTOR", default => !isWinCE(), value => \$inspectorSupport }, - - { option => "javascript-debugger", desc => "Toggle JavaScript Debugger support", - define => "ENABLE_JAVASCRIPT_DEBUGGER", default => 1, value => \$javascriptDebuggerSupport }, + { option => "intl", desc => "Toggle Intl support", + define => "ENABLE_INTL", default => 1, value => \$intlSupport }, { option => "legacy-notifications", desc => "Toggle Legacy Notifications support", - define => "ENABLE_LEGACY_NOTIFICATIONS", default => isBlackBerry(), value => \$legacyNotificationsSupport }, + define => "ENABLE_LEGACY_NOTIFICATIONS", default => 0, value => \$legacyNotificationsSupport }, { option => "legacy-vendor-prefixes", desc => "Toggle Legacy Vendor Prefix support", define => "ENABLE_LEGACY_VENDOR_PREFIXES", default => 1, value => \$legacyVendorPrefixSupport }, { option => "legacy-web-audio", desc => "Toggle Legacy Web Audio support", - define => "ENABLE_LEGACY_WEB_AUDIO", default => 1, value => \$legacyWebAudioSupport }, + define => "ENABLE_LEGACY_WEB_AUDIO", default => (!isQt() || isQtGstreamer()) , value => \$legacyWebAudioSupport }, { option => "link-prefetch", desc => "Toggle Link Prefetch support", - define => "ENABLE_LINK_PREFETCH", default => (isGtk() || isEfl()), value => \$linkPrefetchSupport }, + define => "ENABLE_LINK_PREFETCH", default => (isGtk() || isEfl() || isQt()), value => \$linkPrefetchSupport }, + + { option => "jit", desc => "Enable just-in-time JavaScript support", + define => "ENABLE_JIT", default => 1, value => \$jitSupport }, { option => "mathml", desc => "Toggle MathML support", - define => "ENABLE_MATHML", default => !isBlackBerry(), value => \$mathmlSupport }, + define => "ENABLE_MATHML", default => 1, value => \$mathmlSupport }, { option => "media-capture", desc => "Toggle Media Capture support", define => "ENABLE_MEDIA_CAPTURE", default => isEfl(), value => \$mediaCaptureSupport }, { option => "media-source", desc => "Toggle Media Source support", - define => "ENABLE_MEDIA_SOURCE", default => 0, value => \$mediaSourceSupport }, + define => "ENABLE_MEDIA_SOURCE", default => (isGtk() || isEfl() || isQtGstreamer()), value => \$mediaSourceSupport }, { option => "media-statistics", desc => "Toggle Media Statistics support", define => "ENABLE_MEDIA_STATISTICS", default => 0, value => \$mediaStatisticsSupport }, { option => "media-stream", desc => "Toggle Media Stream support", - define => "ENABLE_MEDIA_STREAM", default => isBlackBerry(), value => \$mediaStreamSupport }, + define => "ENABLE_MEDIA_STREAM", default => 0, value => \$mediaStreamSupport }, { option => "meter-element", desc => "Toggle Meter Element support", define => "ENABLE_METER_ELEMENT", default => !isAppleWinWebKit(), value => \$meterElementSupport }, { option => "mhtml", desc => "Toggle MHTML support", - define => "ENABLE_MHTML", default => (isGtk() || isEfl()), value => \$mhtmlSupport }, - - { option => "microdata", desc => "Toggle Microdata support", - define => "ENABLE_MICRODATA", default => (isEfl() || isBlackBerry() || isGtk()), value => \$microdataSupport }, + define => "ENABLE_MHTML", default => (isGtk() || isEfl() || isQt()), value => \$mhtmlSupport }, { option => "mouse-cursor-scale", desc => "Toggle Scaled mouse cursor support", define => "ENABLE_MOUSE_CURSOR_SCALE", default => isEfl(), value => \$mouseCursorScaleSupport }, { option => "navigator-content-utils", desc => "Toggle Navigator Content Utils support", - define => "ENABLE_NAVIGATOR_CONTENT_UTILS", default => (isBlackBerry() || isEfl()), value => \$registerProtocolHandlerSupport }, + define => "ENABLE_NAVIGATOR_CONTENT_UTILS", default => isEfl(), value => \$registerProtocolHandlerSupport }, - { option => "netscape-plugin-api", desc => "Toggle Netscape Plugin API support", - define => "ENABLE_NETSCAPE_PLUGIN_API", default => 1, value => \$netscapePluginAPISupport }, + { option => "navigator-hardware-concurrency", desc => "Toggle Navigator hardware concurrenct support", + define => "ENABLE_NAVIGATOR_HWCONCURRENCY", default => 1, value => \$hardwareConcurrencySupport }, - { option => "network-info", desc => "Toggle Network Info support", - define => "ENABLE_NETWORK_INFO", default => (isEfl() || isBlackBerry()), value => \$networkInfoSupport }, + { option => "netscape-plugin-api", desc => "Toggle Netscape Plugin API support", + define => "ENABLE_NETSCAPE_PLUGIN_API", default => (!isIOSWebKit() && !(isQt() && isDarwin())), value => \$netscapePluginAPISupport }, { option => "nosniff", desc => "Toggle support for 'X-Content-Type-Options: nosniff'", - define => "ENABLE_NOSNIFF", default => 0, value => \$nosniffSupport }, + define => "ENABLE_NOSNIFF", default => isEfl(), value => \$nosniffSupport }, { option => "notifications", desc => "Toggle Notifications support", - define => "ENABLE_NOTIFICATIONS", default => isBlackBerry(), value => \$notificationsSupport }, + define => "ENABLE_NOTIFICATIONS", default => (isGtk() || isQt()), value => \$notificationsSupport }, { option => "orientation-events", desc => "Toggle Orientation Events support", - define => "ENABLE_ORIENTATION_EVENTS", default => isBlackBerry(), value => \$orientationEventsSupport }, - - { option => "page-visibility-api", desc => "Toggle Page Visibility API support", - define => "ENABLE_PAGE_VISIBILITY_API", default => (isBlackBerry() || isEfl() || isGtk()), value => \$pageVisibilityAPISupport }, + define => "ENABLE_ORIENTATION_EVENTS", default => isIOSWebKit(), value => \$orientationEventsSupport }, { option => "performance-timeline", desc => "Toggle Performance Timeline support", define => "ENABLE_PERFORMANCE_TIMELINE", default => isGtk(), value => \$performanceTimelineSupport }, - { option => "progress-element", desc => "Toggle Progress Element support", - define => "ENABLE_PROGRESS_ELEMENT", default => 1, value => \$progressElementSupport }, + { option => "promises", desc => "Toggle Promise support", + define => "ENABLE_PROMISES", default => 1, value => \$promiseSupport }, { option => "proximity-events", desc => "Toggle Proximity Events support", define => "ENABLE_PROXIMITY_EVENTS", default => 0, value => \$proximityEventsSupport }, @@ -402,7 +389,10 @@ my @features = ( define => "ENABLE_RESOURCE_TIMING", default => isGtk(), value => \$resourceTimingSupport }, { option => "request-animation-frame", desc => "Toggle Request Animation Frame support", - define => "ENABLE_REQUEST_ANIMATION_FRAME", default => (isAppleMacWebKit() || isGtk() || isEfl() || isBlackBerry()), value => \$requestAnimationFrameSupport }, + define => "ENABLE_REQUEST_ANIMATION_FRAME", default => 1, value => \$requestAnimationFrameSupport }, + + { option => "sampling-profiler", desc => "Toggle JSC Sampling Profiler", + define => "ENABLE_SAMPLING_PROFILER", default => 1, value => \$samplingProfilerSupport }, { option => "seccomp-filters", desc => "Toggle Seccomp Filter sandbox", define => "ENABLE_SECCOMP_FILTERS", default => 0, value => \$seccompFiltersSupport }, @@ -411,46 +401,34 @@ my @features = ( define => "ENABLE_SCRIPTED_SPEECH", default => 0, value => \$scriptedSpeechSupport }, { option => "shadow-dom", desc => "Toggle Shadow DOM support", - define => "ENABLE_SHADOW_DOM", default => 0, value => \$shadowDOMSupport }, - - { option => "shared-workers", desc => "Toggle Shared Workers support", - define => "ENABLE_SHARED_WORKERS", default => (isAppleWebKit() || isGtk() || isBlackBerry() || isEfl()), value => \$sharedWorkersSupport }, - - { option => "sql-database", desc => "Toggle SQL Database support", - define => "ENABLE_SQL_DATABASE", default => 1, value => \$sqlDatabaseSupport }, - - { option => "style-scoped", desc => "Toggle Style Scoped support", - define => "ENABLE_STYLE_SCOPED", default => (isBlackBerry() || isGtk()), value => \$styleScopedSupport }, + define => "ENABLE_SHADOW_DOM", default => (isAppleMacWebKit() || isIOSWebKit()), value => \$shadowDOMSupport }, - { option => "suid-linux-sandbox", desc => "Toggle suid sandbox for linux", - define => "ENABLE_SUID_SANDBOX_LINUX", default => 0, value => \$suidLinuxSandbox }, + { option => "streams-api", desc => "Toggle Streams API support", + define => "ENABLE_STREAMS_API", default => 1, value => \$streamsAPISupport }, - { option => "svg", desc => "Toggle SVG support", - define => "ENABLE_SVG", default => 1, value => \$svgSupport }, + { option => "subtle-crypto", desc => "Toggle WebCrypto Subtle-Crypto support", + define => "ENABLE_SUBTLE_CRYPTO", default => (isGtk() || isEfl() || isAppleMacWebKit() || isIOSWebKit()), value => \$subtleCrypto }, { option => "svg-fonts", desc => "Toggle SVG Fonts support", define => "ENABLE_SVG_FONTS", default => 1, value => \$svgFontsSupport }, - { option => "system-malloc", desc => "Toggle system allocator instead of TCmalloc", - define => "USE_SYSTEM_MALLOC", default => (isBlackBerry() || isWinCE()), value => \$systemMallocSupport }, + { option => "system-malloc", desc => "Toggle system allocator instead of bmalloc", + define => "USE_SYSTEM_MALLOC", default => 0, value => \$systemMallocSupport }, { option => "template-element", desc => "Toggle HTMLTemplateElement support", - define => "ENABLE_TEMPLATE_ELEMENT", default => (isEfl() || isGtk()), value => \$templateElementSupport }, + define => "ENABLE_TEMPLATE_ELEMENT", default => 1, value => \$templateElementSupport }, - { option => "text-autosizing", desc => "Toggle Text Autosizing support", - define => "ENABLE_TEXT_AUTOSIZING", default => isBlackBerry(), value => \$textAutosizingSupport }, - - { option => "tiled-backing-store", desc => "Toggle Tiled Backing Store support", - define => "WTF_USE_TILED_BACKING_STORE", default => isEfl(), value => \$tiledBackingStoreSupport }, + { option => "threaded-compositor", desc => "Toggle threaded compositor support", + define => "ENABLE_THREADED_COMPOSITOR", default => 0, value => \$threadedCompositorSupport }, - { option => "threaded-html-parser", desc => "Toggle threaded HTML parser support", - define => "ENABLE_THREADED_HTML_PARSER", default => 0, value => \$threadedHTMLParserSupport }, + { option => "text-autosizing", desc => "Toggle Text Autosizing support", + define => "ENABLE_TEXT_AUTOSIZING", default => 0, value => \$textAutosizingSupport }, { option => "touch-events", desc => "Toggle Touch Events support", - define => "ENABLE_TOUCH_EVENTS", default => (isBlackBerry() || isEfl()), value => \$touchEventsSupport }, + define => "ENABLE_TOUCH_EVENTS", default => (isIOSWebKit() || isEfl() || isGtk() || isQt()), value => \$touchEventsSupport }, { option => "touch-slider", desc => "Toggle Touch Slider support", - define => "ENABLE_TOUCH_SLIDER", default => isBlackBerry(), value => \$touchSliderSupport }, + define => "ENABLE_TOUCH_SLIDER", default => isEfl(), value => \$touchSliderSupport }, { option => "touch-icon-loading", desc => "Toggle Touch Icon Loading Support", define => "ENABLE_TOUCH_ICON_LOADING", default => 0, value => \$touchIconLoadingSupport }, @@ -459,34 +437,40 @@ my @features = ( define => "ENABLE_USER_TIMING", default => isGtk(), value => \$userTimingSupport }, { option => "vibration", desc => "Toggle Vibration support", - define => "ENABLE_VIBRATION", default => (isEfl() || isBlackBerry()), value => \$vibrationSupport }, + define => "ENABLE_VIBRATION", default => isEfl(), value => \$vibrationSupport }, { option => "video", desc => "Toggle Video support", - define => "ENABLE_VIDEO", default => (isAppleWebKit() || isGtk() || isBlackBerry() || isEfl()), value => \$videoSupport }, + define => "ENABLE_VIDEO", default => (isAppleWebKit() || isGtk() || isEfl() || isQt()), value => \$videoSupport }, { option => "video-track", desc => "Toggle Video Track support", - define => "ENABLE_VIDEO_TRACK", default => (isAppleWebKit() || isGtk() || isEfl() || isBlackBerry()), value => \$videoTrackSupport }, + define => "ENABLE_VIDEO_TRACK", default => (isAppleWebKit() || isGtk() || isEfl() || isQt()), value => \$videoTrackSupport }, { option => "webgl", desc => "Toggle WebGL support", - define => "ENABLE_WEBGL", default => (isAppleMacWebKit() || isGtk() || isEfl()), value => \$webglSupport }, + define => "ENABLE_WEBGL", default => (isAppleMacWebKit() || isIOSWebKit() || isGtk() || isEfl()), value => \$webglSupport }, + + { option => "webassembly", desc => "Toggle WebAssembly support", + define => "ENABLE_WEBASSEMBLY", default => 0, value => \$webAssemblySupport }, + + { option => "web-animations", desc => "Toggle Web Animations support", + define => "ENABLE_WEB_ANIMATIONS", default => 0, value => \$webAnimationsSupport }, { option => "web-audio", desc => "Toggle Web Audio support", - define => "ENABLE_WEB_AUDIO", default => (isEfl() || isGtk()), value => \$webAudioSupport }, + define => "ENABLE_WEB_AUDIO", default => (isEfl() || isGtk() || isQtGstreamer()), value => \$webAudioSupport }, + + { option => "web-replay", desc => "Toggle Web Replay support", + define => "ENABLE_WEB_REPLAY", default => isAppleMacWebKit(), value => \$webReplaySupport }, { option => "web-sockets", desc => "Toggle Web Sockets support", define => "ENABLE_WEB_SOCKETS", default => 1, value => \$webSocketsSupport }, { option => "web-timing", desc => "Toggle Web Timing support", - define => "ENABLE_WEB_TIMING", default => (isBlackBerry() || isGtk() || isEfl()), value => \$webTimingSupport }, - - { option => "workers", desc => "Toggle Workers support", - define => "ENABLE_WORKERS", default => (isAppleWebKit() || isGtk() || isBlackBerry() || isEfl()), value => \$workersSupport }, - - { option => "xhr-timeout", desc => "Toggle XHR Timeout support", - define => "ENABLE_XHR_TIMEOUT", default => (isEfl() || isGtk() || isAppleMacWebKit()), value => \$xhrTimeoutSupport }, + define => "ENABLE_WEB_TIMING", default => (isGtk() || isEfl() || isQt()), value => \$webTimingSupport }, { option => "xslt", desc => "Toggle XSLT support", define => "ENABLE_XSLT", default => 1, value => \$xsltSupport }, + + { option => "ftl-jit", desc => "Toggle FTLJIT support", + define => "ENABLE_FTL_JIT", default => (isX86_64() && (isGtk() || isEfl()) || (isQt() && !isAnyWindows())) , value => \$ftlJITSupport }, ); sub getFeatureOptionList() |