mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Initial work on job queues for service workers
This commit is contained in:
@@ -46,9 +46,9 @@ impl ServiceWorker {
|
||||
}
|
||||
|
||||
pub fn install_serviceworker(global: &GlobalScope,
|
||||
script_url: ServoUrl,
|
||||
scope_url: ServoUrl,
|
||||
skip_waiting: bool) -> Root<ServiceWorker> {
|
||||
script_url: ServoUrl,
|
||||
scope_url: ServoUrl,
|
||||
skip_waiting: bool) -> Root<ServiceWorker> {
|
||||
reflect_dom_object(box ServiceWorker::new_inherited(script_url.as_str(),
|
||||
skip_waiting,
|
||||
scope_url), global, Wrap)
|
||||
|
||||
Reference in New Issue
Block a user