| Index: third_party/WebKit/LayoutTests/http/tests/background_sync/resources/test-helpers.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/background_sync/resources/test-helpers.js b/third_party/WebKit/LayoutTests/http/tests/background_sync/resources/test-helpers.js
|
| deleted file mode 100644
|
| index da0b7e9fd4499c4cbd2a30096e0382b311efb1af..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/http/tests/background_sync/resources/test-helpers.js
|
| +++ /dev/null
|
| @@ -1,13 +0,0 @@
|
| -// Returns a promise which resolves when all registrations have been cleared
|
| -// from the given background sync manager.
|
| -function clear_registered_syncs(sync_manager) {
|
| - return sync_manager.getRegistrations().then(function(registrations) {
|
| - return Promise.all(
|
| - registrations.map(registration => registration.unregister()));
|
| - });
|
| -}
|
| -
|
| -// Clears all background sync registrations from the sync manager.
|
| -function clear_all_syncs(serviceworker_registration) {
|
| - return clear_registered_syncs(serviceworker_registration.sync);
|
| -}
|
|
|