emscripten/tests/fetch
Simon Cooper 9f8c224b34 Added response headers to fetch API (#8486)
* Added response headers to fetch with flag, and headersreceived callback

* Added test for headers received

* onreadystatechange callback, removed define and responseheaders from fetch struct

* added get_response_headers utility functions

* added header unpacking functions

* Fixes and cleanup

* Fixed tests, fixed header helpers, fixed JS interop

* fixed indentation in Fetch.js

* Altered comment for get_response_headers_length

* Changed ready state comment

* Changed internal fetch_get_response_headers names, added arg names

* Additional header file comments

* Correct mapping of function names
2019-06-21 16:06:16 +03:00
..
cached_xhr.cpp Fix race conditions in browser testing (#8405) 2019-04-08 16:06:18 -07:00
example_async_xhr_to_memory.cpp Add copyright headers to locally authored files (#7116) 2018-09-14 11:08:09 -07:00
example_async_xhr_to_memory_via_indexeddb.cpp Add copyright headers to locally authored files (#7116) 2018-09-14 11:08:09 -07:00
example_idb_delete.cpp Add copyright headers to locally authored files (#7116) 2018-09-14 11:08:09 -07:00
example_idb_store.cpp Add copyright headers to locally authored files (#7116) 2018-09-14 11:08:09 -07:00
example_stream_async_xhr.cpp Add copyright headers to locally authored files (#7116) 2018-09-14 11:08:09 -07:00
example_sync_xhr_to_memory.cpp Add copyright headers to locally authored files (#7116) 2018-09-14 11:08:09 -07:00
example_synchronous_fetch.cpp Fix support for synchronous Fetches in fastcomp Wasm. This uses a JS web worker even when compiled page itself is wasm. Also fix ambiguity bug in scenario when none of _APPEND, _REPLACE or _NO_DOWNLOAD flags is passed - in such scenario _APPEND is assumed. Add tests for both cases. (#8077) 2019-02-14 00:07:50 +02:00
example_waitable_xhr_to_memory.cpp Add copyright headers to locally authored files (#7116) 2018-09-14 11:08:09 -07:00
example_xhr_progress.cpp Add copyright headers to locally authored files (#7116) 2018-09-14 11:08:09 -07:00
headers_received.cpp Added response headers to fetch API (#8486) 2019-06-21 16:06:16 +03:00
idb_delete.cpp Add copyright headers to locally authored files (#7116) 2018-09-14 11:08:09 -07:00
idb_store.cpp Add copyright headers to locally authored files (#7116) 2018-09-14 11:08:09 -07:00
response_headers.cpp Fix race conditions in browser testing (#8405) 2019-04-08 16:06:18 -07:00
stream_file.cpp Fix race conditions in browser testing (#8405) 2019-04-08 16:06:18 -07:00
sync_fetch_in_main_thread.cpp Add copyright headers to locally authored files (#7116) 2018-09-14 11:08:09 -07:00
sync_xhr.cpp Fix race conditions in browser testing (#8405) 2019-04-08 16:06:18 -07:00
to_indexeddb.cpp Fix race conditions in browser testing (#8405) 2019-04-08 16:06:18 -07:00
to_memory.cpp Fix race conditions in browser testing (#8405) 2019-04-08 16:06:18 -07:00