dart-archive / web-components

Dart package providing the web components platform polyfills
https://pub.dartlang.org/packages/web_components
BSD 3-Clause "New" or "Revised" License
18 stars 10 forks source link

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

Open AndreyChernykh opened 8 years ago

AndreyChernykh commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

Ok. Done https://github.com/webcomponents/webcomponentsjs/issues/412