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

Side by Side Diff: chrome/test/data/extensions/platform_apps/web_view/download/guest.html

Issue 13037003: permissionrequest API for guest Download. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync @tott Created 7 years, 8 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 <!--
2 * Copyright 2013 The Chromium Authors. All rights reserved. Use of this
3 * source code is governed by a BSD-style license that can be found in the
4 * LICENSE file.
5 -->
6 <html>
7 <head>
8 <script type="text/javascript">
9 function startDownload(elementId) {
10 document.getElementById(elementId).click();
11 }
12 </script>
13 </head>
14 <body>
15 <div>This is guest that initiates download.</div>
16 <a href="expect-deny.zip"
17 download="download"
18 id="download-link-1">Embedder is expected to deny this download link.</a >
19 <a href="expect-allow.zip"
20 download="download"
21 id="download-link-2">Embedder is expected to allow this download link.</ a>
22 <a href="expect-ignore.zip"
23 download="download"
24 id="download-link-3">Embedder is expected to ignore this download link ( which is equivalent of denying).</a>
25 </body>
26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698