wiki:FeatureFlags

Version 75 (modified by rafaelw@chromium.org, 12 years ago) ( diff )

--

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

ANIMATION_API

window.WebKitAnimation support.

ARM_NEON_INTRINSICS

Enable ARM NEON SIMD specific optimizations.

BATTERY_STATUS

Battery Status API

BLOB

CALENDAR_PICKER

A calendar picker UI for <input type=date>. Under development. 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_FLEXBOX

The standard flexible box.

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_VARIABLES

CSS Variables Module. Announcement. Under development.

CUSTOM_SCHEME_HANDLER

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

DASHBOARD_SUPPORT

DATABASE

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).

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.

DOWNLOAD_ATTRIBUTE

DRAG_SUPPORT

DRAGGBALE_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. .

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. API implementation is stable, but the UI is poor. This shouldn't be enabled unless a date control have a richer UI. A calendar picker UI for desktop platforms is under development. In Android port, we apply -webkit-appearance:menulist-button to a date control, and non-WebKit code opens a modal dialog by a click on it.

INPUT_TYPE_DATETIME

<input type=datetime> support. Similar status with INPUT_TYPE_DATE.

INPUT_TYPE_DATETIMELOCAL

<input type=datetime-local> support. Similar status with INPUT_TYPE_DATE.

INPUT_TYPE_MONTH

<input type=month> support. Similar status with INPUT_TYPE_DATE.

INPUT_TYPE_TIME

<input type=time> support. Similar status with INPUT_TYPE_DATE.

INPUT_TYPE_WEEK

<input type=week> support. Similar status with INPUT_TYPE_DATE.

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

MAC_JAVA_BRIDGE

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

MUTATION_OBSERVERS

registerProtocolHandler, etc.

NETSCAPE_PLUGIN_API

NETSCAPE_PLUGIN_METADATA_CACHE

NETWORK_INFO

Announcement. EFL port only supports this feature partially.

NEW_XML

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

SKIA_GPU_CANVAS

SMOOTH_SCROLLING

SPELLCHECK

SQL_DATABASE

STYLE_SCOPED

<style scoped> support. Experimental.

SUBPIXEL_LAYOUT

LayoutUnit

SVG

SVG support. Stable.

SVG_DOM_OBJC_BINDINGS

SVG_FONTS

TEMPLATE_ELEMENT

TEXT_AUTOSIZING

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

TEXT_CARET

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_RESPONSE_BLOB

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

CLASSIC_INTERPRETER

CODEBLOCK_SAMPLING

COMMANDLINE_TYPEDARRAYS

COMPUTED_GOTO_CLASSIC_INTERPRETER

COMPUTED_GOTO_OPCODES

DEBUG_WITH_BREAKPOINT

DFG_JIT

EXECUTABLE_ALLOCATOR_DEMAND

EXECUTABLE_ALLOCATOR_FIXED

GC_LOGGING

GC_VALIDATION

GGC

JIT

JIT_CONSTANT_BLINDING

JIT_USE_SOFT_MODULO

JIT_VERBOSE

JIT_VERBOSE_OSR

OPCODE_SAMPLING

OPCODE_STATS

LLINT

META_ALLOCATOR_PROFILE

PARALLEL_GC

REGEXP_TRACING

RUN_TIME_HEURISTICS

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

SPEECH_INPUT

Qt. INPUT_SPEECH?

WEBDOM

Blackberry

Note: See TracWiki for help on using the wiki.