Chromium Code Reviews| Index: chrome/test/data/extensions/api_test/webrequest_hosted_app/index.html |
| diff --git a/chrome/test/data/extensions/api_test/webrequest_hosted_app/index.html b/chrome/test/data/extensions/api_test/webrequest_hosted_app/index.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..024d301dc3fa24a492c3c1325551b46f8cbe606e |
| --- /dev/null |
| +++ b/chrome/test/data/extensions/api_test/webrequest_hosted_app/index.html |
| @@ -0,0 +1,12 @@ |
| +<!-- |
| + * Copyright 2015 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. |
| +--> |
| +<script> |
| +console.assert(chrome.app.isInstalled, 'This page should be a hosted app.'); |
| + |
| +fetch('./index.html').catch(function() { |
|
not at google - send to devlin
2015/09/08 16:09:20
fetch? this doesn't rely on my recent patch, right
robwu
2015/09/08 17:19:48
fetch works fine because this page is served at ht
|
| + console.error('fetch unexpectedly failed!'); |
| +}); |
| +</script> |