mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Remove the dom_shadowdom_enabled
preference (#37043)
The preference was enabled by default in early march 2025, but was kept around in case something major breaks (https://github.com/servo/servo/pull/35899#discussion_r1988222297). In the time since, no major bugs have been reported: * https://github.com/servo/servo/issues/36722 is a bug in the UA shadow tree, not the shadow dom itself. It's also independent of the preference. * https://github.com/servo/servo/issues/36273 looks like it *might* be related to the shadow DOM, but it also requires experimental features so it might be caused by something else entirely. Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
1271dbf6ec
commit
e2424fcec7
2 changed files with 1 additions and 3 deletions
|
@ -99,7 +99,6 @@ pub struct Preferences {
|
|||
pub dom_serviceworker_timeout_seconds: i64,
|
||||
pub dom_servo_helpers_enabled: bool,
|
||||
pub dom_servoparser_async_html_tokenizer_enabled: bool,
|
||||
pub dom_shadowdom_enabled: bool,
|
||||
pub dom_svg_enabled: bool,
|
||||
pub dom_testable_crash_enabled: bool,
|
||||
pub dom_testbinding_enabled: bool,
|
||||
|
@ -277,7 +276,6 @@ impl Preferences {
|
|||
dom_serviceworker_timeout_seconds: 60,
|
||||
dom_servo_helpers_enabled: false,
|
||||
dom_servoparser_async_html_tokenizer_enabled: false,
|
||||
dom_shadowdom_enabled: true,
|
||||
dom_svg_enabled: false,
|
||||
dom_testable_crash_enabled: false,
|
||||
dom_testbinding_enabled: false,
|
||||
|
|
|
@ -84,7 +84,7 @@ interface Element : Node {
|
|||
[CEReactions, Throws]
|
||||
undefined insertAdjacentHTML(DOMString position, (TrustedHTML or DOMString) string);
|
||||
|
||||
[Throws, Pref="dom_shadowdom_enabled"] ShadowRoot attachShadow(ShadowRootInit init);
|
||||
[Throws] ShadowRoot attachShadow(ShadowRootInit init);
|
||||
readonly attribute ShadowRoot? shadowRoot;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue