Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!-- | |
| 2 * Copyright 2015 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 <script> | |
| 7 console.assert(chrome.app.isInstalled, 'This page should be a hosted app.'); | |
| 8 | |
| 9 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
| |
| 10 console.error('fetch unexpectedly failed!'); | |
| 11 }); | |
| 12 </script> | |
| OLD | NEW |