Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <script> | |
| 2 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 3 // Use of this source code is governed by a BSD-style license that can be | |
| 4 // found in the LICENSE file. | |
| 5 try { | |
| 6 req = new XMLHttpRequest; | |
| 7 req.open("GET", | |
| 8 "chrome-extension://ggmldgjhdenlnjjjmehkomheglpmijnf/test.png", | |
| 9 false); | |
| 10 req.send(); | |
| 11 document.title = 'XHR completed with status: ' + req.status; | |
| 12 } catch (e) { | |
| 13 document.title='XHR failed to load resource'; | |
| 14 } | |
| 15 </script> | |
| OLD | NEW |