Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Violating security check on createElement("object") #412

Closed
AndreyChernykh opened this issue Oct 10, 2015 · 1 comment
Closed

Violating security check on createElement("object") #412

AndreyChernykh opened this issue Oct 10, 2015 · 1 comment

Comments

@AndreyChernykh
Copy link

I use webcomponents in my page for my Microsoft Office Task Pane Application. It uses Internet Explorer & Edge to render the pane. But because of

// webcomponents.js 
var elementsWithFormProperty = [ .... HTMLObjectElement, .... ]

and

// webcomponents.js 
var elements = {
...
object: "HTMLObjectElement",
...

pane shows security warning:

an add-on for this website failed to run. check the security settings

Possible solution:
If the browser is IE, do not create HTMLObjectElement

@TimvdLippe
Copy link
Contributor

Thanks for the issue. It has been a great while since this issue was opened. Sadly, this issue misses a live reproduction with the most recent version of the webcomponents polyfill for us to be able to debug and potentially fix. Versions 1 of the polyfills fix a large amount of issues, probably including this one as well.

Please see the CONTRIBUTING.md for guidelines on filing issues. You can start from this jsBin template as a starting point and link it in the issue template under "Live Demo".

Feel free to file a new issue following these instructions if you can still reproduce this issue with versions 1 of the polyfills. Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants