Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

Fetch API polyfill not work for file: protocol #5

Closed
Icemic opened this issue Nov 16, 2016 · 3 comments
Closed

Fetch API polyfill not work for file: protocol #5

Icemic opened this issue Nov 16, 2016 · 3 comments

Comments

@Icemic
Copy link
Collaborator

Icemic commented Nov 16, 2016

To solve:

  • Use native fetch in apps (win, macos, crosswalk-android)
  • Use polyfill in crosswalk-ios, but resolve file: with XHR
  • Use native or polyfill in browser
@Icemic
Copy link
Collaborator Author

Icemic commented Nov 16, 2016

See JakeChampion/fetch#92

@Icemic
Copy link
Collaborator Author

Icemic commented Nov 21, 2016

Update:

crosswalk-ios need not to solve any more, for it uses local server to transfer files.

@Icemic
Copy link
Collaborator Author

Icemic commented Dec 7, 2016

resolved using util fetchLocal

@Icemic Icemic closed this as completed Dec 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant