Common code shared by renderer-side and browser-side for the implementation of
service workers
.