2 <title>register
</title>
3 <script src=
"test-helpers.js"></script>
6 navigator
.serviceWorker
.register('empty-worker.js', {scope
: 'scope-register'})
9 registration
.unregister().then(() => {
10 window
.parent
.postMessage('OK', '*');
14 window
.parent
.postMessage('FAIL: ' + error
.name
, '*');
17 window
.parent
.postMessage('ERROR: ' + error
.name
, '*');