diff options
author | Samson <16504129+sagudev@users.noreply.github.com> | 2023-09-08 14:11:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 12:11:31 +0000 |
commit | 711dbbd4afe161fc334db198357d814e99e5ac57 (patch) | |
tree | 5c0e3a6a18dd26c9e39a47a790c6ec36f0ff8d4d /components/script/script_thread.rs | |
parent | a0cff6a0858e675b805a71238ab96fa295a271f8 (diff) | |
download | servo-711dbbd4afe161fc334db198357d814e99e5ac57.tar.gz servo-711dbbd4afe161fc334db198357d814e99e5ac57.zip |
remove `extern crate` (#30311)
* remove extern crate
* Update components/script_plugins/lib.rs
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
---------
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 6f8c60ad7e7..be456b8d1f7 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -85,7 +85,7 @@ use crate::task_source::TaskSourceName; use crate::webdriver_handlers; use bluetooth_traits::BluetoothRequest; use canvas_traits::webgl::WebGLPipeline; -use crossbeam_channel::{unbounded, Receiver, Sender}; +use crossbeam_channel::{select, unbounded, Receiver, Sender}; use devtools_traits::CSSError; use devtools_traits::{DevtoolScriptControlMsg, DevtoolsPageInfo}; use devtools_traits::{NavigationState, ScriptToDevtoolsControlMsg, WorkerId}; @@ -94,6 +94,7 @@ use euclid::default::{Point2D, Rect}; use euclid::Vector2D; use headers::ReferrerPolicy as ReferrerPolicyHeader; use headers::{HeaderMapExt, LastModified}; +use html5ever::{local_name, namespace_url, ns}; use hyper_serde::Serde; use ipc_channel::ipc::{self, IpcSender}; use ipc_channel::router::ROUTER; |