kaazing / http2-cache.js

2 stars 11 forks source link

should fail to load inline configs without effect on future api usage #105

Closed hthetiot closed 6 years ago

hthetiot commented 6 years ago

Invalid config prevents page to load and put the shim in bad state, and prevent any native XHR to be performed.

Example:

XMLHttpRequest.proxy(
    [
        {
            "push": "",
            "transport": "",
            "proxy": []
        }
    ]
);
screen shot 2018-03-13 at 1 14 36 pm
dpwspoon commented 6 years ago

LGTM

tejaede commented 6 years ago

LGTM. Verified with contour