marionette.inspector
marionette.inspector copied to clipboard
Inspector should handle local file URLs
Currently, the Inspector will not start given a local file URL. Ember Inspector does work locally; so should the Inspector.
Just going to say it, I have no idea how to do this :)
Could be the content script that doesn't load in that specific url, although file:// is whitelisted, you can set the allowed urls in the content_scripts "matches" property in the manifest.json file:
https://github.com/marionettejs/marionette.inspector/blob/master/extension/manifest.json#L24
If you want the ultimate "run it everywhere" solution, use
"content_scripts": [
{
"matches": ["<all_urls>"],
"match_about_blank": true,
"all_frames": true
/* ... */
}
In the meantime, I suggest documenting this limitation in the README
. I just wasted some time trying to get Inspector to work before finding this issue.
@marfire try out Manuels fix