Skip to content

Commit 0450fb8

Browse files
committed
Add tag to specify the source language as English
1 parent 7de534a commit 0450fb8

File tree

1 file changed

+159
-143
lines changed

1 file changed

+159
-143
lines changed

index.html

Lines changed: 159 additions & 143 deletions
Original file line numberDiff line numberDiff line change
@@ -1,147 +1,163 @@
1-
<!DOCTYPE html>
2-
<html>
3-
4-
<head>
5-
<meta charset="utf-8" />
6-
<meta name="viewport" content="width=device-width, initial-scale=0.6">
7-
<!-- Origin trial token needed for Web USB -->
8-
<meta http-equiv="origin-trial"
9-
content="AsxscPRBb7U1KJIlQrsFrZ3ea0LHwRhNkbqBKsSuLP5y3sqIqnanjKbGk4oe5+/HkownaJhI2wP6m1S70Y8xkQsAAABUeyJvcmlnaW4iOiAiaHR0cHM6Ly9wZXJtaXNzaW9uLnNpdGU6NDQzIiwgImZlYXR1cmUiOiAiV2ViVVNCIiwgImV4cGlyeSI6IDE0NjUzODkxOTd9">
10-
<title>permission.site</title>
11-
<link rel="shortcut icon" href="favicon.ico">
12-
<link rel="apple-touch-icon" href="app-icon.png" />
13-
<link rel="stylesheet" href="style.css">
14-
<script src="index.js"></script>
15-
</head>
16-
17-
<body>
18-
19-
<noscript>
20-
<div class="jswarning">
21-
This site does not function without JavaScript!
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=0.6" />
6+
<!-- Origin trial token needed for Web USB -->
7+
<meta
8+
http-equiv="origin-trial"
9+
content="AsxscPRBb7U1KJIlQrsFrZ3ea0LHwRhNkbqBKsSuLP5y3sqIqnanjKbGk4oe5+/HkownaJhI2wP6m1S70Y8xkQsAAABUeyJvcmlnaW4iOiAiaHR0cHM6Ly9wZXJtaXNzaW9uLnNpdGU6NDQzIiwgImZlYXR1cmUiOiAiV2ViVVNCIiwgImV4cGlyeSI6IDE0NjUzODkxOTd9"
10+
/>
11+
<title>permission.site</title>
12+
<link rel="shortcut icon" href="favicon.ico" />
13+
<link rel="apple-touch-icon" href="app-icon.png" />
14+
<link rel="stylesheet" href="style.css" />
15+
<script src="index.js"></script>
16+
</head>
17+
18+
<body>
19+
<noscript>
20+
<div class="jswarning">
21+
This site does not function without JavaScript!
22+
</div>
23+
</noscript>
24+
25+
<div class="before"></div>
26+
<div class="content">
27+
<div id="toggle-wrapper">
28+
<a
29+
id="toggle"
30+
class="neutral"
31+
href=""
32+
title="Switch between HTTP and HTTPS."
33+
>
34+
<span class="http">HTTP</span>
35+
<div class="switch">
36+
<div class="knob"></div>
37+
</div>
38+
<span class="https">HTTPS</span>
39+
</a>
40+
</div>
41+
42+
<button id="notifications">Notifications</button>
43+
<button id="location">Location</button>
44+
<button id="camera">Camera</button>
45+
<button id="microphone">Microphone</button>
46+
<button id="camera+microphone">Camera + Microphone</button>
47+
<button id="pan-tilt-zoom">Pan-Tilt-Zoom</button>
48+
<button id="pan-tilt-zoom+microphone">Pan-Tilt-Zoom + Microphone</button>
49+
<button id="screenshare">Screen Share</button>
50+
<button id="midi">MIDI</button>
51+
<button id="midi+sysex">MIDI + SysEx</button>
52+
<button id="bluetooth">Bluetooth</button>
53+
<button id="usb">USB</button>
54+
<button id="serial">Serial</button>
55+
<button id="hid">HID</button>
56+
<button id="eme">Encrypted Media (EME)</button>
57+
<button id="idle-detection">Idle Detection</button>
58+
<button id="persistent-storage">Persistent Storage</button>
59+
<button id="protocol-handler">Protocol Handler</button>
60+
<button id="webauthn-attestation">WebAuthn Attestation</button>
61+
<button id="nfc">NFC</button>
62+
<button id="vr">Virtual Reality (VR)</button>
63+
<button id="ar">Augmented Reality (AR)</button>
64+
<button id="orientation">Device Orientation</button>
65+
<button id="motion">Device Motion</button>
66+
67+
<button id="keygen">&lt;keygen&gt;</button>
68+
<div id="keygen-container"></div>
69+
70+
<hr />
71+
72+
<button id="fullscreen">Fullscreen</button>
73+
<button id="pointerlock">Pointer Lock</button>
74+
<button id="keyboardlock">Keyboard Lock</button>
75+
76+
<hr />
77+
78+
<button id="copy">Copy</button>
79+
<button id="download">Auto Download</button>
80+
<button id="popup">Popup</button>
81+
<button id="popup-delayed">Popup (delayed 5 seconds)</button>
82+
83+
<hr />
84+
85+
<p>Async Clipboard API</p>
86+
87+
<button id="read-text">Read text</button>
88+
<button id="write-text">Write text</button>
89+
<br />
90+
<button id="read-text-delayed">Read text (delayed)</button>
91+
<button id="write-text-delayed">Write text (delayed)</button>
92+
93+
<br /><br /><br />
94+
<p>Notes:</p>
95+
<table>
96+
<tr>
97+
<td>Augmented Reality (AR)</td>
98+
<td>
99+
Implemented behind the experimental flag
100+
<code
101+
>chrome://flags/#enable-experimental-web-platform-features</code
102+
>.
103+
</td>
104+
</tr>
105+
<tr>
106+
<td>Encrypted Media (EME)</td>
107+
<td>
108+
May succeed without permission depending on the implementation.<br />
109+
Attempts to use known key systems. (See the source for the list of
110+
supported key systems.)
111+
<!-- Clear Key is not supported because it is not expected to require permissions. -->
112+
</td>
113+
</tr>
114+
<tr>
115+
<td>Async Clipboard</td>
116+
<td>
117+
These buttons test the new
118+
<a href="https://w3c.github.io/clipboard-apis/"
119+
>Async Clipboard API</a
120+
>.
121+
<br />
122+
Note that these tests are different from the "Copy" button on this
123+
page, which uses the old (synchronous)
124+
<code>execCommand</code> method to write to the clipboard.
125+
<br />
126+
This feature is implemented behind the experimental flag
127+
<code
128+
>chrome://flags/#enable-experimental-web-platform-features</code
129+
>.
130+
<br />
131+
To enable the Content Settings UX for setting clipboard permission,
132+
you'll also need to enable
133+
<code>chrome://flags/#clipboard-content-setting</code>
134+
<br />
135+
Note: Only available for secure connections (https).
136+
</td>
137+
</tr>
138+
<tr>
139+
<td>WebAuthn Attestation</td>
140+
<td>
141+
After pressing the button, you may need to touch your security key
142+
before you can see an attestation prompt.
143+
</td>
144+
</tr>
145+
<tr>
146+
<td>Device Orientation/Motion</td>
147+
<td>
148+
May succeed without permission request depending on the
149+
implementation.
150+
</td>
151+
</tr>
152+
</table>
22153
</div>
23-
</noscript>
154+
<div class="after"></div>
24155

25-
<div class="before"></div>
26-
<div class="content">
27-
28-
<div id="toggle-wrapper">
29-
<a id="toggle" class="neutral" href="" title="Switch between HTTP and HTTPS.">
30-
<span class="http">HTTP</span>
31-
<div class="switch">
32-
<div class="knob"></div>
33-
</div>
34-
<span class="https">HTTPS</span>
35-
</a>
156+
<div class="github-fork-ribbon-wrapper right">
157+
<div class="github-fork-ribbon">
158+
<a href="https://github.com/chromium/permission.site">On GitHub</a>
159+
</div>
36160
</div>
37-
38-
<button id="notifications">Notifications</button>
39-
<button id="location">Location</button>
40-
<button id="camera">Camera</button>
41-
<button id="microphone">Microphone</button>
42-
<button id="camera+microphone">Camera + Microphone</button>
43-
<button id="pan-tilt-zoom">Pan-Tilt-Zoom</button>
44-
<button id="pan-tilt-zoom+microphone">Pan-Tilt-Zoom + Microphone</button>
45-
<button id="screenshare">Screen Share</button>
46-
<button id="midi">MIDI</button>
47-
<button id="midi+sysex">MIDI + SysEx</button>
48-
<button id="bluetooth">Bluetooth</button>
49-
<button id="usb">USB</button>
50-
<button id="serial">Serial</button>
51-
<button id="hid">HID</button>
52-
<button id="eme">Encrypted Media (EME)</button>
53-
<button id="idle-detection">Idle Detection</button>
54-
<button id="persistent-storage">Persistent Storage</button>
55-
<button id="protocol-handler">Protocol Handler</button>
56-
<button id="webauthn-attestation">WebAuthn Attestation</button>
57-
<button id="nfc">NFC</button>
58-
<button id="vr">Virtual Reality (VR)</button>
59-
<button id="ar">Augmented Reality (AR)</button>
60-
<button id="orientation">Device Orientation</button>
61-
<button id="motion">Device Motion</button>
62-
63-
<button id="keygen">&lt;keygen&gt;</button>
64-
<div id="keygen-container"></div>
65-
66-
<hr>
67-
68-
<button id="fullscreen">Fullscreen</button>
69-
<button id="pointerlock">Pointer Lock</button>
70-
<button id="keyboardlock">Keyboard Lock</button>
71-
72-
<hr>
73-
74-
<button id="copy">Copy</button>
75-
<button id="download">Auto Download</button>
76-
<button id="popup">Popup</button>
77-
<button id="popup-delayed">Popup (delayed 5 seconds)</button>
78-
79-
<hr>
80-
81-
<p>Async Clipboard API</p>
82-
83-
<button id="read-text">Read text</button>
84-
<button id="write-text">Write text</button>
85-
<br>
86-
<button id="read-text-delayed">Read text (delayed)</button>
87-
<button id="write-text-delayed">Write text (delayed)</button>
88-
89-
<br><br><br>
90-
<p>Notes:</p>
91-
<table>
92-
<tr>
93-
<td>Augmented Reality (AR)</td>
94-
<td>Implemented behind the experimental flag
95-
<code>chrome://flags/#enable-experimental-web-platform-features</code>.</td>
96-
</tr>
97-
<tr>
98-
<td>Encrypted Media (EME)</td>
99-
<td>May succeed without permission depending on the implementation.<br>
100-
Attempts to use known key systems. (See the source for the list of supported key systems.)
101-
<!-- Clear Key is not supported because it is not expected to require permissions. -->
102-
</td>
103-
</tr>
104-
<tr>
105-
<td>Async Clipboard</td>
106-
<td>
107-
These buttons test the new <a href="https://w3c.github.io/clipboard-apis/">Async Clipboard API</a>.
108-
<br>
109-
Note that these tests are different from the "Copy" button on this page, which uses the old
110-
(synchronous) <code>execCommand</code> method to write to the clipboard.
111-
<br>
112-
This feature is implemented behind the experimental flag
113-
<code>chrome://flags/#enable-experimental-web-platform-features</code>.
114-
<br>
115-
To enable the Content Settings UX for setting clipboard permission, you'll also need to enable
116-
<code>chrome://flags/#clipboard-content-setting</code>
117-
<br>
118-
Note: Only available for secure connections (https).
119-
</td>
120-
</tr>
121-
<tr>
122-
<td>WebAuthn Attestation</td>
123-
<td>
124-
After pressing the button, you may need to touch your security key before you can see an attestation prompt.
125-
</td>
126-
</tr>
127-
<tr>
128-
<td>Device Orientation/Motion</td>
129-
<td>
130-
May succeed without permission request depending on the implementation.
131-
</td>
132-
</tr>
133-
</table>
134-
135-
</div>
136-
<div class="after"></div>
137-
138-
<div class="github-fork-ribbon-wrapper right">
139-
<div class="github-fork-ribbon">
140-
<a href="https://github.com/chromium/permission.site">On GitHub</a>
141-
</div>
142-
</div>
143-
<link rel="stylesheet" href="third_party/github.css">
144-
145-
</body>
146-
161+
<link rel="stylesheet" href="third_party/github.css" />
162+
</body>
147163
</html>

0 commit comments

Comments
 (0)