wiki:FeatureFlags

Version 95 (modified by Laszlo Gombos, 12 years ago) ( diff )

Remove SPEECH_INPUT - see 141092

List of ENABLE flags

3D_PLUGIN

3D_RENDERING

8BIT_TEXTRUN

Turns on code to create 8 bit TextRun's. The features requires that text rendering code can handle both 8 and 16 bit TextRun's.

ACCELERATED_2D_CANVAS

ACCELERATED_OVERFLOW_SCROLLING

BATTERY_STATUS

Battery Status API

BLOB

CANVAS_PATH

CALENDAR_PICKER

Calendar picker UI built in WebCore. It's implemented with HTML+JavaScript, and supports type=date, type=datetime, type=datetime-local, type=month, and type=week. This feature requires ENABLE_PAGE_POPUP.

CHANNEL_MESSAGING

CONTEXT_MENUS

CSP_NEXT

Content-Security-Policy 1.1. Announcement. http://webkit.org/b/85558.

CSS_BOX_DECORATION_BREAK

box-decoration-break CSS property. http://webkit.org/b/27576.

CSS_COMPOSITING

Compositing and Blending. Announcement. http://webkit.org/b/91908. Under development.

CSS_FILTERS

CSS3_TEXT

CSS3 Text Decoration specification. Announcement. Master bug Under development.

CSS3 text-align-last specification Announcement. Master bug Under development.

CSS3 text-justify specification Master bug Under development.

CSS3_CONDITIONAL_RULES

CSS3 @supports rule. @supports in the css3-conditional specification. Announcement. https://webkit.org/b/86146.

CSS_IMAGE_ORIENTATION

image-orientation CSS property. Announcement. http://webkit.org/b/89052

CSS_IMAGE_RESOLUTION

image-resolution CSS property. Announcement. http://webkit.org/b/85262

CSS_IMAGE_SET

image-set CSS property.

CSS_SHADERS

CSS_STICKY_POSITION

CSS position:sticky. Announcement. http://webkit.org/b/90046.

CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED

Announcement. http://webkit.org/b/93136 Under development as they are few things to do before shipping them. Enabled by default in trunk.

CSS_VARIABLES

CSS Variables Module. Announcement. Under development.

CUSTOM_SCHEME_HANDLER

isProtocolHandlerRegistered() and unregisterProtocolHandler() of Custom scheme and content handlers.

DASHBOARD_SUPPORT

DATALIST_ELEMENT

<datalist> support. Stable. Need platform-specific implementation.

DATA_TRANSFER_ITEMS

DATE_AND_TIME_INPUT_TYPES

An alias of ENABLE(INPUT_TYPE_DATE) || ENABLE(INPUT_TYPE_DATETIME) || ENABLE(INPUT_TYPE_DATETIMELOCAL) || ENABLE(INPUT_TYPE_MONTH) || ENABLE(INPUT_TYPE_TIME) || ENABLE(INPUT_TYPE_WEEK). We shouldn't enable/disable this flag explicitly.

DEBUG_MATH_LAYOUT

DETAILS_ELEMENT

<details> and <summary> support. Stable.

DEVICE_ORIENTATION

DIALOG_ELEMENT

<dialog> support. Announcement. http://webkit.org/b/84635. Under development.

DIRECTORY_UPLOAD

<input type=file webkitdirectory> support. Experimental.

DOM4_EVENTS_CONSTRUCTOR

Constructor support for DOM events. Meta bug.

DOWNLOAD_ATTRIBUTE

DRAG_SUPPORT

DRAGGABLE_REGION

Currently only supported in chromium port. http://lists.webkit.org/pipermail/webkit-dev/2012-June/021257.html

ENCRYPTED_MEDIA

Encrypted Media Extensions. Announcement.

EVENT_MODE_METATAGS

FAST_MOBILE_SCROLLING

FILE_SYSTEM

FILTERS

Image filter implementation. SVG Filter feature is available if ENABLE(SVG) && ENABLE(FILTERS).

FTPDIR

FULLSCREEN_API

GAMEPAD

GEOLOCATION

GESTURE_EVENTS

GLIB_SUPPORT

GLOBAL_FASTMALLOC_NEW

HIDDEN_PAGE_DOM_TIMER_THROTTLING

http://lists.webkit.org/pipermail/webkit-dev/2012-October/022458.html http://webkit.org/b/98474. Experimental.

HIGH_DPI_CANVAS

ICONDATABASE

IFRAME_SEAMLESS

<iframe seamless> support. http://webkit.org/b/85822

IMAGE_DECODER_DOWN_SAMPLING

INDEXED_DATABASE

INPUT_MULTIPLE_FIELDS_UI

Introduced by http://webkit.org/b/97640 for using multiple fields UI in "date", "datetime", "datetime-local", "month", "time" and "week". This flag was named INPUT_TYPE_TIME_MULTIPLE_FIELDS http://webkit.org/b/88970. Announcement.

This flag provides inline editing UI for these input types. This UI is not suitable for mobile platforms.

INPUT_SPEECH

<input x-webkit-speech> support. Experimental.

INPUT_TYPE_COLOR

<input type=color> support. Stable. Need platform-specific code in ChromeClient.

INPUT_TYPE_DATE

<input type=date> support. If ENABLE_INPUT_MULTIPLE_FIELDS_UI is enabled, ChromeClient::openDateTimeChooser implementation is optional. Otherwise, ChromeClient::openDateTimeChooser implementation is mandatory.

INPUT_TYPE_DATETIME

<input type=datetime> support. The implementation is still useless. Do not enable this.

INPUT_TYPE_DATETIMELOCAL

<input type=datetime-local> support. If ENABLE_INPUT_MULTIPLE_FIELDS_UI is enabled, ChromeClient::openDateTimeChooser implementation is optional. Otherwise, ChromeClient::openDateTimeChooser implementation is mandatory.

INPUT_TYPE_MONTH

<input type=month> support. If ENABLE_INPUT_MULTIPLE_FIELDS_UI is enabled, ChromeClient::openDateTimeChooser implementation is optional. Otherwise, ChromeClient::openDateTimeChooser implementation is mandatory.

INPUT_TYPE_TIME

<input type=time> support. If ENABLE_INPUT_MULTIPLE_FIELDS_UI is enabled, ChromeClient::openDateTimeChooser implementation is optional. Otherwise, ChromeClient::openDateTimeChooser implementation is mandatory.

INPUT_TYPE_WEEK

<input type=week> support. If ENABLE_INPUT_MULTIPLE_FIELDS_UI is enabled, ChromeClient::openDateTimeChooser implementation is optional. Otherwise, ChromeClient::openDateTimeChooser implementation is mandatory.

INSPECTOR

Inspector support. Stable.

JAVASCRIPT_DEBUGGER

LEGACY_CSS_VENDOR_PREFIXES

Support for -khtml- and -apple- vendor prefixes.

LEGACY_NOTIFICATIONS

LEGACY_VENDOR_PREFIXES

Obsolete prefixed APIs should be wrapped by this.

LEGACY_VIEWPORT_ADAPTION

http://webkit.org/b/84871

MATHML

MathML support.

MEDIA_CAPTURE

HTML Media Capture support. Announcement. Support only 'capture' attribute for now.

MEDIA_SOURCE

MEDIA_STATISTICS

MEDIA_STREAM

METER_ELEMENT

<meter> support. Stable.

MHTML

MICRODATA

MOUSE_CURSOR_SCALE

Allows mouse cursors to carry information about the scale of image pixels to logical UI pixels, eg. from -webkit-image-set.

Announcement. specification Master bug

registerProtocolHandler, etc.

NETSCAPE_PLUGIN_API

NETSCAPE_PLUGIN_METADATA_CACHE

NETWORK_INFO

Announcement. EFL port only supports this feature partially.

NOTIFICATIONS

OPENCL

Enable OpenCL based optimizations.

OPENTYPE_VERTICAL

ORIENTATION_EVENTS

PAGE_POPUP

Internal API to provide HTML-capable popup. This is needed for calendar picker UI of <input type=date>. This needs ChromeClient implementation.

PAGE_VISIBILITY_API

PAN_SCROLLING

PARSED_STYLE_SHEET_CACHING

http://webkit.org/b/85413

PLUGIN_PACKAGE_SIMPLE_HASH

PLUGIN_PROXY_FOR_VIDEO

POINTER_LOCK

PROGRESS_ELEMENT

<progress> support. Stable. Need to implement functions of RenderTheme.

PROXIMITY_EVENTS

http://webkit.org/b/92837. Under development.

QUOTA

REPAINT_THROTTLING

REQUEST_ANIMATION_FRAME

REQUEST_AUTOCOMPLETE

Adds an API for interactive autocomplete UI (currently only in chromium port). https://bugs.webkit.org/show_bug.cgi?id=100560 Under development.

RUBBER_BANDING

SATURATED_LAYOUT_ARITHMETIC

SCRIPTED_SPEECH

Under development.

SHADOW_DOM

Shadow DOM support. Experimental.

SHARED_WORKERS

SMOOTH_SCROLLING

SPELLCHECK

SPEECH_SYNTHESIS

Announcement. Meta Bug. Under development.

SQL_DATABASE

STYLE_SCOPED

<style scoped> support. Experimental.

SUBPIXEL_LAYOUT

LayoutUnit

SVG

SVG support. Stable.

SVG_DOM_OBJC_BINDINGS

SVG_FONTS

TEMPLATE_ELEMENT

Spec Meta Bug

TEXT_AUTOSIZING

Announcement. http://webkit.org/b/84186. Under development.

TEXT_CARET

THREADED_HTML_PARSER

Announcement. Meta Bug. Under development.

THREADED_SCROLLING

THREADING_GENERIC

TOUCH_EVENTS

TOUCH_ICON_LOADING

VIBRATION

Vibration API.

VIDEO

<video> and <audio> support. Stable.

VIDEO_TRACK

VIEWPORT

VIEWPORT_REFLOW

WEBGL

WEB_ARCHIVE

WEB_AUDIO

WEB_INTENTS

WEB_SOCKETS

WebSocket support. Stable.

WEB_TIMING

WORKERS

WTF_MALLOC_VALIDATION

XHR_TIMEOUT

See also https://bugs.webkit.org/show_bug.cgi?id=100356 , temporary flag until all network backends have support for setTimeoutInterval (tracked in https://bugs.webkit.org/show_bug.cgi?id=98397)

XSLT


JavaScriptCore flags

ASSEMBLER

ASSEMBLER_WX_EXCLUSIVE

CODEBLOCK_SAMPLING

COMPUTED_GOTO_OPCODES

DEBUG_WITH_BREAKPOINT

DFG_JIT

EXECUTABLE_ALLOCATOR_DEMAND

EXECUTABLE_ALLOCATOR_FIXED

GC_LOGGING

GC_VALIDATION

GGC

JIT

JIT_CONSTANT_BLINDING

JIT_VERBOSE

JIT_VERBOSE_OSR

OPCODE_SAMPLING

OPCODE_STATS

LLINT

META_ALLOCATOR_PROFILE

PARALLEL_GC

REGEXP_TRACING

SAMPLING_COUNTERS

SAMPLING_FLAGS

SAMPLING_REGIONS

SAMPLING_THREAD

SIMPLE_HEAP_PROFILING

VALUE_PROFILER

VERBOSE_VALUE_PROFILE

WRITE_BARRIER_PROFILING

YARR_JIT

YARR_JIT_DEBUG


WebKit2 flags

MEMORY_SAMPLER

PLUGIN_PROCESS

WEB_PROCESS_SANDBOX


Platform-specific flags

BLACKBERRY_CREDENTIAL_PERSIST

Blackberry

BLACKBERRY_DEBUG_MEMORY

Blackberry

JAVASCRIPT_I18N_API

V8-only. Experimental.

PURGEABLE_MEMORY

Mac

WEBDOM

Blackberry

Note: See TracWiki for help on using the wiki.