mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
run ./mach fmt and ./mach test-tidy
Signed-off-by: TG <ebiritg@gmail.com>
This commit is contained in:
parent
948998342c
commit
712c7009db
4 changed files with 2 additions and 6 deletions
|
@ -227,7 +227,6 @@ impl NavigatorMethods<crate::DomTypeHolder> for Navigator {
|
|||
*self.global().is_online().lock().unwrap()
|
||||
}
|
||||
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-navigator-plugins
|
||||
fn Plugins(&self) -> DomRoot<PluginArray> {
|
||||
self.plugins
|
||||
|
|
|
@ -399,7 +399,6 @@ pub(crate) struct Window {
|
|||
/// <https://dom.spec.whatwg.org/#window-current-event>
|
||||
current_event: DomRefCell<Option<Dom<Event>>>,
|
||||
|
||||
|
||||
/// Switch offline and online events
|
||||
#[no_trace]
|
||||
#[ignore_malloc_size_of = "Arc<Mutex<bool>> does not implement MallocSizeOf"]
|
||||
|
@ -3068,7 +3067,6 @@ impl Window {
|
|||
inherited_secure_context,
|
||||
unminify_js,
|
||||
is_online,
|
||||
|
||||
),
|
||||
script_chan,
|
||||
layout: RefCell::new(layout),
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
use std::cell::{RefCell, RefMut};
|
||||
use std::default::Default;
|
||||
use std::rc::Rc;
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::time::Duration;
|
||||
|
||||
use base::cross_process_instant::CrossProcessInstant;
|
||||
|
|
|
@ -19,7 +19,6 @@ use crate::dom::webgpu::gpu::GPU;
|
|||
use crate::dom::workerglobalscope::WorkerGlobalScope;
|
||||
use crate::script_runtime::{CanGc, JSContext};
|
||||
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#workernavigator
|
||||
#[dom_struct]
|
||||
pub(crate) struct WorkerNavigator {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue