mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Dispatch events to service worker object and refactor html tests
This commit is contained in:
parent
2aa257f603
commit
1b29dfb8ab
11 changed files with 55 additions and 21 deletions
|
@ -1 +1,7 @@
|
|||
console.log("iframe service worker active");
|
||||
self.addEventListener('activate', function(e) {
|
||||
console.log("iframe service worker active");
|
||||
});
|
||||
|
||||
self.addEventListener('fetch', function(e) {
|
||||
console.log("A fetch event detected by /iframe service worker");
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue