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

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

Issue 299693002: Add option to open the DevTools window for ServiceWorker on start in serviceworker-internals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 7 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 017ac08e896bb60708b2667b45343196590af7da..b36406d25f7e5442c2cc84f0ceaeb4beff4dbe84 100644
--- a/content/browser/resources/service_worker/serviceworker_internals.html
+++ b/content/browser/resources/service_worker/serviceworker_internals.html
@@ -99,9 +99,18 @@
<div transclude="serviceworker-version-template"></div>
</div>
</div>
+ <div id="serviceworker-options-template">
+ <div>
+ <span>
+ <input type="checkbox" class="debug_on_start" jsvalues=".checked:$this.debug_on_start">
+ </span>
+ <span>Opens the DevTools window for ServiceWorker on start for debugging.</span>
+ </div>
+ </div>
</div>
- <h1>ServiceWorker registrations</h1>
+ <h1>ServiceWorker</h1>
<div class="content">
+ <div id="serviceworker-options"></div>
<div id="serviceworker-list"></div>
</div>
<script src="chrome://resources/js/util.js"></script>

Powered by Google App Engine
This is Rietveld 408576698