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

Side by Side Diff: chrome/test/data/extensions/api_test/extension_resource_request_policy/web_accessible/xhr_accessible_resource.html

Issue 9152022: Add Access-Control-Allow-Origin: * header for extension resources specifically listed as web acce... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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 <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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698