зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 87ef5029dd10 (bug 1434599) for failing in dom/serviceworkers/test/test_workerupdatefoundevent.html on a CLOSED TREE
This commit is contained in:
Родитель
2990df182c
Коммит
7c3f6909e2
|
@ -341,6 +341,7 @@ tags = openwindow
|
|||
[test_workerUnregister.html]
|
||||
[test_workerUpdate.html]
|
||||
[test_workerupdatefoundevent.html]
|
||||
skip-if = !e10s # Bug 1433276
|
||||
[test_xslt.html]
|
||||
[test_async_waituntil.html]
|
||||
[test_worker_reference_gc_timeout.html]
|
||||
|
|
|
@ -6,9 +6,7 @@
|
|||
registration.onupdatefound = function(e) {
|
||||
clients.matchAll().then(function(clients) {
|
||||
if (!clients.length) {
|
||||
// We don't control any clients when the first update event is fired
|
||||
// because we haven't reached the 'activated' state.
|
||||
return;
|
||||
reject("No clients found");
|
||||
}
|
||||
|
||||
if (registration.scope.match(/updatefoundevent\.html$/)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче