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

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

Open
AndreyChernykh opened this issue Oct 9, 2015 · 2 comments
Open

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

AndreyChernykh opened this issue Oct 9, 2015 · 2 comments

Comments

@AndreyChernykh
Copy link

We are up to using Polymer Dart to create Microsoft Office Task Pane Application. It uses Internet Explorer & Edge to render 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

@jakemac53
Copy link
Contributor

This project just packages up https://github.com/webcomponents/webcomponentsjs as a dart package, I would recommend posting your issue there and then we can update to get the changes once the issue is resolved.

@AndreyChernykh
Copy link
Author

Ok. Done webcomponents/webcomponentsjs#412

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

No branches or pull requests

2 participants