[
https://issues.apache.org/jira/browse/CB-10145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Frederik Wessberg resolved CB-10145.
------------------------------------
Resolution: Duplicate
> HTMLImports is not working, rendering the webcomponents.js polyfill useless.
> ----------------------------------------------------------------------------
>
> Key: CB-10145
> URL: https://issues.apache.org/jira/browse/CB-10145
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin WKWebViewEngine
> Affects Versions: 4.0.0
> Environment: iPhone 5s, iOS 9.1, Cordova v.5.4.1
> Reporter: Frederik Wessberg
>
> Using Cordova-ios 4.0.0 from the master branch with the
> cordova-plugin-wkwebview-engine does not support HTMLImports with the
> webcomponents.js polyfill. This worked on UIWebview. The polyfill works fine
> in Safari. This makes development using the Polymer framework practically
> impossible.
> EDIT: It works, but only with http*:// urls. See
> https://issues.apache.org/jira/browse/CB-10143 for details.
> Check out this repo I made for a working and not working example:
> https://github.com/dlmma/HTMLImportsTest
> The only difference between index.html (not working) and index_working.html
> (working) is that the file is loaded from a server with CORS-enabled headers
> in the working one.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]