Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
4.0.0
-
None
-
None
-
iPhone 5s, iOS 9.1, Cordova v.5.4.1
Description
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.
Attachments
Issue Links
- depends upon
-
CB-10143 Local file:// url XmlHttpRequests are not allowed in WKWebViewEngine
-
- Closed
-