cordova-plugin-wkwebview-engine icon indicating copy to clipboard operation
cordova-plugin-wkwebview-engine copied to clipboard

iframe xhr polyfill incorrect path

Open Zorgatone opened this issue 9 years ago • 2 comments

If i'm executing javascript code in an iframe, and I try to load assets using AJAX within that frame, the XHR polyfill won't load the correct url (relative to the iframe href path), and instead will try to look into the root folder

Zorgatone avatar Sep 01 '16 12:09 Zorgatone

@Zorgatone can you provide a full repo reproducing the issue?

It feels like it is multi variable problem I can't resolve without a complete example

manucorporat avatar Sep 12 '16 17:09 manucorporat

@Zorgatone for the interim, you can transform paths in xhr.js._wk_open() as required.

michaelpeterlee avatar Dec 21 '16 02:12 michaelpeterlee