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

Side by Side Diff: chrome/test/data/android/keygen.html

Issue 1432573002: Adding <keygen> Content Setting (Android UI) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@keygen_ui
Patch Set: Fixing android typos. Created 5 years 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
OLDNEW
(Empty)
1 <html>
2
3 <head>
4 <title>Test page for key generation</title>
5
6 <script>
7 var keygen = false;
8
9 function runKeygen() {
10 if (window.location.search.indexOf('?') == -1) {
11 document.getElementById('test_form').submit();
12 } else {
13 keygen = (window.location.search.indexOf('?key=MIIC') == 0)
Finnur 2015/12/11 17:53:05 What's this used for? Should it be removed?
svaldez 2015/12/11 18:13:10 This verifies that the keygen element has either b
Finnur 2015/12/11 18:29:29 My point was that I don't see any code adding/chec
Finnur 2015/12/11 20:08:56 How this works should probably be documented in a
14 }
15 }
16
17 function didKeygen() {
18 return keygen;
19 }
20 </script>
21 </head>
22
23 <body onload="runKeygen()">
24 This page tries to use a keygen element when it is loaded.
25 <form id='test_form'>
26 <keygen name='key'>
27 </form>
28 </body>
29
30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698