For a number of years I have been using inline web workers in Cordova using the cordova-plugin-ionic-webview on iOS which when a web worker is launched provides a self.location. I wanted for performance and maintenance issues to remove that plugin and rely on the built in WKwebview provided in Cordova IOS7.1.1 & soon 8.0.0. Now when the inline worker is now launched self.location is null due i think to being a file reference. Thus any way to work out a path to the importScripts does not work and with Cordova iOS you cannot use external js scripts in workers due to a security issue.
Is there a way to get around this issue?