Index: telemetry/telemetry/internal/browser/wait_for_serviceworker_registration.js |
diff --git a/telemetry/telemetry/internal/browser/wait_for_serviceworker_registration.js b/telemetry/telemetry/internal/browser/wait_for_serviceworker_registration.js |
index 796d770cea28bfacf9d3c4d86100e88768c7f9c1..5f60dce70f62bbcc7afb7a6326975eb78feee98e 100644 |
--- a/telemetry/telemetry/internal/browser/wait_for_serviceworker_registration.js |
+++ b/telemetry/telemetry/internal/browser/wait_for_serviceworker_registration.js |
@@ -7,6 +7,10 @@ |
/** |
* @fileoverview This file provides a JavaScript helper function that |
* determines whether service worker registration has completed. |
+ * After tracking service worker events and catching notifications are enabled |
+ * (in InspectorServiceWorker._OnNotification), these ServiceWorker registration |
+ * state should be operated there. |
+ * TODO: move ServiceWorker state operations to InspectorServiceWorker |
*/ |
(function() { |
// Make executing this code idempotent. |