question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blocked script execution

See original GitHub issue

We’re using the Report Generator Azure DevOps add-in with report types set to “HtmlInline_AzurePipelines;Cobertura”. The historical chart functionality isn’t working beyond the initial history chart, and we’re seeing the following error in the browser console:

Blocked script execution in 'https://dev.azure.com/.../_apis/test/CodeCoverage/browse/.../Code%20Coverage%20Report_49600/index.html' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.

From what I’ve read, I gather that this error should not be occurring. Have I misunderstood? Can the error be avoided?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
danielpalmecommented, Jul 1, 2020

One thing you could do: Create a Azure Blob Storage and publish the coverage report to a blob container. Create a SAS token to allow access. Open index.html in your browser and set a bookmark.

0reactions
GaTechThomascommented, Jul 1, 2020

Thank you again for the info. ReportGenerator is fantastic. Unfortunately the download requirement is troublesome for the needs at hand. I understand that the limitation is out of your control. We’ll just have to work around it somehow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Blocked script execution in because the document's frame ...
Blocked script execution in 'URL of website' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.
Read more >
Blocked script execution in 'about:srcdoc' because the ...
Blocked script execution in 'about:srcdoc' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.
Read more >
Blocked script execution in ” because the document's frame ...
Blocked script execution in '<URL>' because the document's frame is sandboxed and the 'allow-scripts' permission is not set. Blocked autofocusing on a <input> ......
Read more >
Blocked Script Execution
Blocked script execution in '<URL>' because the document's frame is sandboxed and the 'allow-scripts' permission is not set. Attaching screenshot.
Read more >
How to set "Allow scripts" permissions?
Blocked script execution in “URL” because the document's frame is sandboxed and the 'allow-scripts' permission is not set.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found