blob: bc677b4025b5e4c2e98d0a1154f7701318389318 [file] [log] [blame]
<!DOCTYPE html>
<title>Service Worker: File System API is not exposed (and doesn't crash)</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/test-helpers.js"></script>
<script>
promise_test(function(t) {
var scope = 'resources/blank.html'
return service_worker_unregister_and_register(
t, 'resources/no-filesystem.js', scope)
.then(function(registration) {
return wait_for_state(t, registration.installing, 'activated');
})
.then(function() {
return service_worker_unregister_and_done(t, scope);
});
});
</script>