mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Format script component
This commit is contained in:
parent
2ca7a13473
commit
c37a345dc9
357 changed files with 25485 additions and 18076 deletions
|
@ -19,21 +19,22 @@ pub struct PluginArray {
|
|||
impl PluginArray {
|
||||
pub fn new_inherited() -> PluginArray {
|
||||
PluginArray {
|
||||
reflector_: Reflector::new()
|
||||
reflector_: Reflector::new(),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn new(global: &GlobalScope) -> DomRoot<PluginArray> {
|
||||
reflect_dom_object(Box::new(PluginArray::new_inherited()),
|
||||
global,
|
||||
PluginArrayBinding::Wrap)
|
||||
reflect_dom_object(
|
||||
Box::new(PluginArray::new_inherited()),
|
||||
global,
|
||||
PluginArrayBinding::Wrap,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
impl PluginArrayMethods for PluginArray {
|
||||
// https://html.spec.whatwg.org/multipage/#dom-pluginarray-refresh
|
||||
fn Refresh(&self, _reload: bool) {
|
||||
}
|
||||
fn Refresh(&self, _reload: bool) {}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-pluginarray-length
|
||||
fn Length(&self) -> u32 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue