aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/client.rs
diff options
context:
space:
mode:
authorbors-servo <servo-ops@mozilla.com>2020-05-21 01:22:31 -0400
committerGitHub <noreply@github.com>2020-05-21 01:22:31 -0400
commitb22e34fb74ae5353e2fa2abe171cbbb6ee77931b (patch)
tree2bd36e6c120c3c4fdec68517c0456f4ac8a4b725 /components/script/dom/client.rs
parentf02aba1ed2bb38067cf4c32726e8612a48d40ca9 (diff)
parentbd31860c5dd3a3adcb5ada96c43be88ba73935af (diff)
downloadservo-b22e34fb74ae5353e2fa2abe171cbbb6ee77931b.tar.gz
servo-b22e34fb74ae5353e2fa2abe171cbbb6ee77931b.zip
Auto merge of #26317 - gterzian:fix_job_queue, r=asajeffrey
ServiceWorker: restructure Job Queue, Register flow, to better match spec <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #26108 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'components/script/dom/client.rs')
-rw-r--r--components/script/dom/client.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/client.rs b/components/script/dom/client.rs
index 53c692d5591..2768ee7c9ba 100644
--- a/components/script/dom/client.rs
+++ b/components/script/dom/client.rs
@@ -47,6 +47,7 @@ impl Client {
self.active_worker.get()
}
+ #[allow(dead_code)]
pub fn set_controller(&self, worker: &ServiceWorker) {
self.active_worker.set(Some(worker));
}