mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1140658 - Part 6: Randomize the URL of the ServiceWorker script in order to work around bug 1141256 for now
This commit is contained in:
parent
b2c3d38b97
commit
b2ac00aa59
@ -28,7 +28,7 @@ function serviceWorkerTestExec(testFile) {
|
||||
document.body.appendChild(iframe);
|
||||
}
|
||||
|
||||
navigator.serviceWorker.register("worker_wrapper.js", {scope: "."})
|
||||
navigator.serviceWorker.register("worker_wrapper.js" + "?" + (Math.random()), {scope: "."})
|
||||
.then(function(registration) {
|
||||
if (registration.installing) {
|
||||
registration.installing.onstatechange = function(e) {
|
||||
|
Loading…
Reference in New Issue
Block a user