I have created a simple chrome app, testing in Chrome Canary, where I try to inject two images into a div, exactly as suggested in the readme. The div is
I get the error in the title; this happens at the end of the script after the RAL.Queue.start(); it looks like the cleanURL function is being called with empty url. I checked and the loop is going through the two URLs ok, and the div gets two empty
tags appended to it.
My images are valid and declared as in readme
toLoad = { 'images': [
'http://criteeq.net/images/blue-dot.png',
'http://criteeq.net/images/red-dot.png'
] }; // list of image URLs
and I have set permission in the manifest
"permissions": [ "<all_urls>" ],
(NOTE : in the readme the permission is per below, which throws an error (single quotes)
permissions: [ '<all_urls>' ]
also tried
"permissions": [ "http://criteeq.net/*" ],
In Chrome Canary in chrome://extensions if I check Permissions on my app, I get "(appname) has no special permissions", no matter what urls I put in permissions, this seems to be a bug in Chrome (sorry for the tangent).
I have created a simple chrome app, testing in Chrome Canary, where I try to inject two images into a div, exactly as suggested in the readme. The div is
I get the error in the title; this happens at the end of the script after the RAL.Queue.start(); it looks like the cleanURL function is being called with empty url. I checked and the loop is going through the two URLs ok, and the div gets two empty
tags appended to it.
My images are valid and declared as in readme
toLoad = { 'images': [
'http://criteeq.net/images/blue-dot.png',
'http://criteeq.net/images/red-dot.png'
] }; // list of image URLs
and I have set permission in the manifest
"permissions": [ "<all_urls>" ],
(NOTE : in the readme the permission is per below, which throws an error (single quotes)
permissions: [ '<all_urls>' ]
also tried
"permissions": [ "http://criteeq.net/*" ],
In Chrome Canary in chrome://extensions if I check Permissions on my app, I get "(appname) has no special permissions", no matter what urls I put in permissions, this seems to be a bug in Chrome (sorry for the tangent).