What steps will reproduce the problem?
1.Bundle a file within a chrome extension.
2.Load your extension as Unpacked.
3.Try to get the file with
var url = chrome.extension.getUrl(filename); // such as 'manifest.json'
console.log('requested url: ' + url);
goog.net.XhrIo.send(url,
function(e) {
console.log('status: ' + e.target.getStatus());
console.log('success: ' + e.target.isSuccess());
console.log('contents: ' + e.target.getResponseText());
});
What is the expected output? What do you see instead?
I see success: false
I expect to see success: true
All the other output is correct. It still retrieves the file and I can access
it.
What version of the product are you using? On what operating system?
I am working on Corp Linux and Chrome.
Please provide any additional information below.
Thanks,
Jason Stredwick
Original issue reported on code.google.com by jasonstr...@google.com on 1 Nov 2010 at 10:55
Original issue reported on code.google.com by
jasonstr...@google.com
on 1 Nov 2010 at 10:55