aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 9fe4b10e9b6..695b837e9ad 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -318,10 +318,6 @@ pub struct ScriptThread {
/// won't be loaded
userscripts_path: Option<String>,
- /// Replace unpaired surrogates in DOM strings with U+FFFD.
- /// See <https://github.com/servo/servo/issues/6564>
- replace_surrogates: bool,
-
/// An optional string allowing the user agent to be set for testing.
user_agent: Cow<'static, str>,
@@ -957,7 +953,6 @@ impl ScriptThread {
local_script_source: opts.local_script_source.clone(),
unminify_css: opts.unminify_css,
userscripts_path: opts.userscripts.clone(),
- replace_surrogates: opts.debug.replace_surrogates,
user_agent,
player_context: state.player_context,
node_ids: Default::default(),
@@ -3146,7 +3141,6 @@ impl ScriptThread {
self.unminify_css,
self.local_script_source.clone(),
self.userscripts_path.clone(),
- self.replace_surrogates,
self.user_agent.clone(),
self.player_context.clone(),
#[cfg(feature = "webgpu")]