mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 22:32:51 +00:00
Bug 1446809 - Remove some b2g leftover in a service worker test r=florian
MozReview-Commit-ID: EOLOB3Fe35X --HG-- extra : rebase_source : 8ed0d9fe6a7555c629d37affd3f86e8e7a28fe44 extra : source : 2293192557ef66c43ca38c4366fa819d055844da
This commit is contained in:
parent
659b380e97
commit
f3214f73e0
@ -2,13 +2,6 @@
|
||||
// http://creativecommons.org/publicdomain/zero/1.0/
|
||||
|
||||
function serviceWorkerTestExec(testFile) {
|
||||
var isB2G = !navigator.userAgent.includes("Android") &&
|
||||
/Mobile|Tablet/.test(navigator.userAgent);
|
||||
if (isB2G) {
|
||||
// TODO B2G doesn't support running service workers for now due to bug 1137683.
|
||||
dump("Skipping running the test in SW until bug 1137683 gets fixed.\n");
|
||||
return Promise.resolve();
|
||||
}
|
||||
return new Promise(function(resolve, reject) {
|
||||
function setupSW(registration) {
|
||||
var worker = registration.waiting ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user