| Index: chrome/test/data/extensions/platform_apps/web_view/download/guest.html
|
| diff --git a/chrome/test/data/extensions/platform_apps/web_view/download/guest.html b/chrome/test/data/extensions/platform_apps/web_view/download/guest.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..87565a1cdd0472e40eaa547ecd1316951f8c707f
|
| --- /dev/null
|
| +++ b/chrome/test/data/extensions/platform_apps/web_view/download/guest.html
|
| @@ -0,0 +1,26 @@
|
| +<!--
|
| + * Copyright 2013 The Chromium Authors. All rights reserved. Use of this
|
| + * source code is governed by a BSD-style license that can be found in the
|
| + * LICENSE file.
|
| +-->
|
| +<html>
|
| + <head>
|
| + <script type="text/javascript">
|
| + function startDownload(elementId) {
|
| + document.getElementById(elementId).click();
|
| + }
|
| + </script>
|
| + </head>
|
| + <body>
|
| + <div>This is guest that initiates download.</div>
|
| + <a href="expect-deny.zip"
|
| + download="download"
|
| + id="download-link-1">Embedder is expected to deny this download link.</a>
|
| + <a href="expect-allow.zip"
|
| + download="download"
|
| + id="download-link-2">Embedder is expected to allow this download link.</a>
|
| + <a href="expect-ignore.zip"
|
| + download="download"
|
| + id="download-link-3">Embedder is expected to ignore this download link (which is equivalent of denying).</a>
|
| + </body>
|
| +</html>
|
|
|