Sandy
Sandy

Reputation: 11687

Microsoft Edge Console error on pasting a variable while debugging

This may be a basic problem but its getting on my nerves now. I was exploring Microsoft Edge. While debugging, I am pasting a variable in console tab to explore its value and below is the error ('SecurityError') that I see.

enter image description here

I could see the value in watch and all that's not I am looking for. I want to go to console tab to run some functions on the object tp explore more on that part. Its just annoying. I am unable to get through it. Could anyone help here? Thanks.

Upvotes: 0

Views: 1015

Answers (1)

Haibara Ai
Haibara Ai

Reputation: 10897

browser.tabs can only be accessed in extension context, such as background page. However, you're calling it in content scripts (I know it from another question), which obviously will get nothing.

Upvotes: 2

Related Questions