Bug 1188545 - Make skip-waiting-using-registration.html wpt test pass. a=testonly

This commit is contained in:
Catalin Badea 2015-09-30 10:14:33 -04:00
parent 9419647ebb
commit 499f530c65

View File

@ -50,7 +50,9 @@ promise_test(function(t) {
return saw_controllerchanged;
})
.then(function() {
frame.remove();
// XXXcatalinb: Removing the iframe here would terminate the worker
// discarding inflight events.
// frame.remove();
assert_not_equals(sw_registration.active, null,
'Registration active worker should not be null');
fetch_tests_from_worker(sw_registration.active);