Index: chrome/browser/resources/net_internals/index.html |
diff --git a/chrome/browser/resources/net_internals/index.html b/chrome/browser/resources/net_internals/index.html |
index f3beb00b83210a4f5caccbd064531d836d1d8dd3..0c8668d56572f8f4bd634361c4198980d48640ec 100644 |
--- a/chrome/browser/resources/net_internals/index.html |
+++ b/chrome/browser/resources/net_internals/index.html |
@@ -14,6 +14,7 @@ found in the LICENSE file. |
<script src="dataview.js"></script> |
<script src="httpcacheview.js"></script> |
<script src="testview.js"></script> |
+ <script src="hstsview.js"></script> |
<script src="main.js"></script> |
<script src="dnsview.js"></script> |
<script src="eventsview.js"></script> |
@@ -44,6 +45,7 @@ found in the LICENSE file. |
<!-- Tab is only shown on Windows --> |
<li><a href="#serviceProviders" id=serviceProvidersTab style="display: none;">SPIs</a></li> |
<li><a href="#tests" id=testTab>Tests</a></li> |
+ <li><a href="#hsts" id=hstsTab>HSTS</a></li> |
</ul> |
<div style="clear: both;"></div> |
</div> |
@@ -349,6 +351,41 @@ function displayHelpForBugDump() { |
<div id=testSummary></div> |
</div> |
+ <!-- HSTS tab --> |
+ <div id=hstsTabContent> |
+ <h4>Add domain</h4> |
eroman
2011/02/16 20:12:45
Please add some text to this tab which explains wh
agl
2011/02/16 22:46:22
Done.
|
+ |
+ <p>Input a domain name to add it to the HSTS set:</p> |
eroman
2011/02/16 20:12:45
are these changes going to persist beyond the sess
agl
2011/02/16 22:46:22
Yes.
eroman
2011/02/17 00:48:28
I wander if there is a way to show all the overrid
agl
2011/02/17 17:21:30
I'm not too worried. Also the domains are stored a
|
+ <form id=hstsAddForm> |
+ Domain: <input type=text id=hstsAddInput type="url" |
+ placeholder="example.com"/><br/> |
eroman
2011/02/16 20:12:45
what is placeholder for?
agl
2011/02/16 22:46:22
It causes the entry to have a text 'example' text
|
+ Include subdomains: <input type="checkbox" id=hstsCheckInput /> |
+ <input type=submit value="Add" /> |
+ </form> |
+ |
+ <h4>Delete domain</h4> |
+ |
+ <p> |
+ Input a domain name to delete it from the HSTS set |
+ (<i>you cannot delete preloaded entries</i>): |
+ </p> |
+ <form id=hstsDeleteForm> |
+ Domain: <input type=text id=hstsDeleteInput type="url" |
+ placeholder="example.com"/> |
+ <input type=submit value="Delete" /> |
+ </form> |
+ |
+ <h4>Query domain</h4> |
+ |
+ <p>Input a domain name to query the current HSTS set:</p> |
+ <form id=hstsQueryForm> |
+ Domain: <input type=text id=hstsQueryInput type="url" |
+ placeholder="example.com"/> |
eroman
2011/02/16 20:12:45
what is placeholder?
agl
2011/02/16 22:46:22
ditto
|
+ <input type=submit value="Query" /> |
+ </form> |
+ <div style="margin-top: 1em; margin-left: 2em;" id=hstsQueryOutput></div> |
+ </div> |
+ |
<!-- ================= Events view =================== --> |
<!-- Filter Box: This the top bar which contains the search box. --> |