mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
API: document which Preferences are experimental or enabled by default (#44171)
Referred users to ```https://book.servo.org/design-documentation/experimental-features.html``` documentation for ```Preferences``` and ```EXPERIMENTAL_PREFS``` Testing: No testing required, build was successful. Fixes: #43706 --------- Signed-off-by: Sabb <sarafaabbas@gmail.com> Signed-off-by: Abbas Olanrewaju Sarafa <109840351+sabbCodes@users.noreply.github.com> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
committed by
GitHub
parent
0260fe8869
commit
316e6215a4
@@ -25,6 +25,11 @@ use url::Url;
|
||||
|
||||
use crate::VERSION;
|
||||
|
||||
/// Preferences enabled when servoshell is launched with the `--enable-experimental-web-platform-features` flag.
|
||||
///
|
||||
/// These preferences are disabled by default but activated in experimental mode.
|
||||
/// For more details, see the
|
||||
/// [experimental features documentation](https://book.servo.org/design-documentation/experimental-features.html).
|
||||
pub(crate) static EXPERIMENTAL_PREFS: &[&str] = &[
|
||||
"dom_async_clipboard_enabled",
|
||||
"dom_exec_command_enabled",
|
||||
|
||||
Reference in New Issue
Block a user