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

Side by Side Diff: content/browser/resources/service_worker/serviceworker_internals.html

Issue 182383008: Create chrome://serviceworker-internals (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html i18n-values="dir:textdirection;">
3 <head>
4 <meta charset="utf-8">
5 <title>ServiceWorker registrations</title>
6 <link rel="stylesheet" href="chrome://resources/css/tabs.css">
7 <link rel="stylesheet" href="chrome://resources/css/widgets.css">
8 <link rel="stylesheet" href="serviceworker_internals.css">
9 </head>
10 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
11 <!-- templates -->
12 <div style="display:none">
13 <div id="serviceworker-version-template" class="serviceworker-version">
14 <div class="serviceworker-status">
15 <span>Status:</span>
16 <span jscontent="$this.status"></span>
17 </div>
18 <div class="serviceworker-pid">
19 <span>Renderer process ID:</span>
20 <span jscontent="$this.process_id"></span>
21 </div>
22 <div class="serviceworker-tid">
23 <span>Renderer thread ID:</span>
24 <span jscontent="$this.thread_id"></span>
25 </div>
26 </div>
27 <div id="serviceworker-list-template"
28 jsvalues="$partition_path:$this.partition_path;.partition_path:$thi s.partition_path">
29 <div class="serviceworker-summary">
30 <span>Instances in: </span>
31 <span jscontent="$this.partition_path"></span>
32 <span jscontent="'(' + $this.registrations.length + ')'"></span>
33 </div>
34 <div class="serviceworker-item" jsselect="$this.registrations">
35 <div class="serviceworker-scope">
36 <span>Scope:</span>
37 <span jscontent="scope"></span>
38 </div>
39 <div class="serviceworker-script_url">
40 <span>Script:</span>
41 <span jscontent="script_url"></span>
42 </div>
43 <div jsselect="$this.active">
44 Active worker:
45 <div transclude="serviceworker-version-template"></div>
46 </div>
47 <div jsselect="$this.pending">
48 Pending worker:
49 <div transclude="serviceworker-version-template"></div>
50 </div>
51 <div class="controls">
52 <button class="stop" jsdisplay="$this.active.status == 'RUNN ING'"
53 jsvalues=".scope:scope;.partition_path:$partition_path">S top</button>
54 <button href="#" class="start" jsdisplay="$this.active.statu s != 'RUNNING'"
55 jsvalues=".scope:scope;.partition_path:$partition_path">S tart</button>
56 <button href="#" class="unregister"
57 jsvalues=".scope:scope;.partition_path:$partition_path">U nregister</button>
58 <span class="operation-status" style="display: none">Running ...</span>
59 </div>
60 </div>
61 </div>
62 </div>
63 <h1>ServiceWorker registrations</h1>
64 <div class="content">
65 <div id="serviceworker-list">
66 </div>
67 <script src="chrome://resources/js/util.js"></script>
68 <script src="chrome://resources/js/cr.js"></script>
69 <script src="serviceworker_internals.js"></script>
70 <script src="chrome://resources/js/load_time_data.js"></script>
71 <script src="chrome://resources/js/jstemplate_compiled.js"></script>
72 <script src="strings.js"></script>
73 <script src="chrome://resources/js/i18n_template2.js"></script>
74 </body>
75 </html>
76
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698