Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1190)

Unified Diff: content/browser/resources/service_worker/serviceworker_internals.html

Issue 205033002: Browser side of new ServiceWorker 'sync' event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: So much rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/resources/service_worker/serviceworker_internals.html
diff --git a/content/browser/resources/service_worker/serviceworker_internals.html b/content/browser/resources/service_worker/serviceworker_internals.html
index cd791c3daecd970c1f05dd8d78e11d6ca3a7487e..00303784e3d54561486f5e8c45293e5112459db6 100644
--- a/content/browser/resources/service_worker/serviceworker_internals.html
+++ b/content/browser/resources/service_worker/serviceworker_internals.html
@@ -59,6 +59,8 @@
jsvalues=".scope:scope;.partition_path:$partition_path">Start</button>
<button href="#" class="unregister"
jsvalues=".scope:scope;.partition_path:$partition_path">Unregister</button>
+ <button href="#" class="sync" jsdisplay="$this.active.running_status == 'RUNNING'"
+ jsvalues=".scope:scope;.partition_path:$partition_path">Sync</button>
<span class="operation-status" style="display: none">Running...</span>
</div>
</div>
@@ -77,4 +79,3 @@
<script src="chrome://resources/js/i18n_template2.js"></script>
</body>
</html>
-

Powered by Google App Engine
This is Rietveld 408576698