wiki:FeatureFlags

Version 124 (modified by akling@apple.com, 11 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

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. See EnableFormFeatures.

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_EXCLUSIONS

CSS Exclusions and Shapes Module Level 3. Meta tracking bug. Under development. Contributors: betravis, hansmuller, bemjb, Zoltan Horvath (Zoltan), and others.

CSS_FILTERS

CSS_GRID_LAYOUT

http://dev.w3.org/csswg/css-grid/. Announcement. Contributors: none.

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_REGIONS

CSS Regions specification CSS Regions meta bug Under development.

CSS_SHADERS

aka CSS Custom Filters. Custom Filter section of CSS Filter Effects specification. CSS Shaders meta bug. Under development. Contributors: achicu, mvujovic, michelangelo, and others. Reviewers: dino, krit.

CSS_STICKY_POSITION

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

CSS_TRANSFORMS_ANIMATIONS_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. Contributors: none.

CSS3_CONDITIONAL_RULES

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

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_TEXT_LINE_BREAK

CSS line-break property. Meta Bug. Contributors: gasubic.

CURSOR_VISIBILITY

https://bugs.webkit.org/show_bug.cgi?id=107601 Under development.

CUSTOM_ELEMENTS

https://bugs.webkit.org/show_bug.cgi?id=99688.

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

DELETION_UI

DETAILS_ELEMENT

<details> and <summary> support. Stable.

DEVICE_ORIENTATION

DIALOG_ELEMENT

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

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.

ENCRYPTED_MEDIA_V2

Bug1 Bug2.

EVENT_MODE_METATAGS

FAST_MOBILE_SCROLLING

FILE_SYSTEM

Contributors: none.

FILTERS

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

FONT_LOAD_EVENTS

CSS Font Load Events Module. Announcement. Meta bug. Under development.

FTPDIR

FULLSCREEN_API

GAMEPAD

GEOLOCATION

GESTURE_EVENTS

GLOBAL_FASTMALLOC_NEW

Part of the Custom Allocation Framework. Contributors: Zoltan Horvath (Zoltan)

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

Shipped in GTK+ and EFL ports.

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.

See EnableFormFeatures.

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. See EnableFormFeatures.

INPUT_TYPE_DATETIME_INCOMPLETE

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

INPUT_TYPE_DATETIMELOCAL

<input type=datetime-local> support. See EnableFormFeatures.

INPUT_TYPE_MONTH

<input type=month> support. See EnableFormFeatures.

INPUT_TYPE_TIME

<input type=time> support. See EnableFormFeatures.

INPUT_TYPE_WEEK

<input type=week> support. See EnableFormFeatures.

INSPECTOR

Backend Web Inspector support. Stable. For the front-end: contributors: Roland Takacs (rtakacs).

JAVASCRIPT_DEBUGGER

LEGACY_CSS_VENDOR_PREFIXES

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

LEGACY_NOTIFICATIONS

Contributors: none.

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 and Blackberry ports supports this feature partially.

NOSNIFF

Master bug.

NOTIFICATIONS

OPENCL

Enable OpenCL based optimizations.

OPENTYPE_VERTICAL

ORIENTATION_EVENTS

PAGE_POPUP

Internal API to provide HTML-capable popup. This is needed for ENABLE_CALENDAR_PICKER. This needs ChromeClient implementation.

PAGE_VISIBILITY_API

PAN_SCROLLING

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

RUBBER_BANDING

SATURATED_LAYOUT_ARITHMETIC

SCRIPTED_SPEECH

Under development.

SHADOW_DOM

Shadow DOM support. Experimental. Contributors: none.

SHARED_WORKERS

SMOOTH_SCROLLING

SPELLCHECK

SPEECH_SYNTHESIS

Announcement. Meta Bug. Under development.

SQL_DATABASE

STREAM

Streams API. Meta Bug.

STYLE_SCOPED

<style scoped> support. Experimental.

SUBPIXEL_LAYOUT

LayoutUnit Meta Bug for Enabling on All Platforms Contributors: None

I would volunteer to help with issues here - but my understanding is far from the level of Levi and Emil. (Dominik Röttsches (drott))

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. Contributors: none. 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

VIEWSOURCE_ATTRIBUTE

iframe/@viewsource. Bug

VIEW_MODE_CSS_MEDIA

Bug.

WEBGL

WEB_ARCHIVE

WEB_AUDIO

WEB_INTENTS

WEB_SOCKETS

WebSocket support. Stable.

WEB_TIMING

Contributors: none.

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

PURGEABLE_MEMORY

Mac

WEBDOM

Blackberry