devtools icon indicating copy to clipboard operation
devtools copied to clipboard

ActiveTab Permissions Difference

Open photodow opened this issue 4 years ago • 1 comments

Detailed description

There are some differences it appears in how ActiveTab permissions are executed between Chrome and Firefox. Chrome for instance will pass permissions into same-origin iframes. Firefox on the other doesn't appear to allow you to access iframes even if it's on the same origin using the activeTab permissions. This helps us validate the page for storybook iframes where storybook itself doesn't have carbon components, but the iframe embedded does. I open up this issue against firefox to look into it. I got a temporary fix in for the time being the following two lines of permissions to the manifest.json file.

https://github.com/carbon-design-system/devtools/blob/master/extension/manifest.json#L9-L10

photodow avatar Jul 21 '20 15:07 photodow

Firefox has listed this as a sev 2, and hasn't touched it in over a year. I'm going to icebox it for now, and we'll see if we ever get a fix for it.

photodow avatar Sep 07 '21 15:09 photodow