Open hthetiot opened 6 years ago
This PR includes dist/ files. Please remove these. Follow up question, should the latest released dist/ file from the last release be on the develop branch? I would lean towards no, but I'm ok with it if that is better...
@dpwspoon Done
Need to fix failing test
Uncaught Failed to read the 'responseText' property from 'XMLHttpRequest': The value is only accessible if the object's 'responseType' is '' or 'text' (was 'json')
Need to fix karma tests
@hthetiot Please change it to run in the worker by default (or confirm that it already does)
Please see travis failures.
We should consider piping/post-messaging the logging over into the main tab.
Note about gzip xhr support:
@jitsni Need to check with you for the possible related issue with encoding on http2.js
Still having issues with gzip test-server using websocket + http2
@johnnykahalawai Merged with last http2-cache.js changes from develop.
@tejaede For testing you can use:
Note: Worker and ArrayBuffer enabled by default or can be disabled with this:
XMLHttpRequest.configuration.useTransferable = false;
XMLHttpRequest.configuration.useWorker = false;
More Example: https://github.com/kaazing/http2-cache.js/blob/features/workerSupport/integration-test/http2-worker-itest.js#L342
cc @dpwspoon
LGTM
Todo
Usage:
Test result
Reviewer note
Main commit is ece50afdab0170a83dd7629eedbcd8de01bc15e5 Previous commit to this one are in #88
configuration init worker handler
addConfig handler
sendViaChannel handler
Browser Support
Tested: Chrome, Firefox, Opera, Safari, IE.
Tests results
Test:
With gzip