Setting a boolean in xhr shim error handler
Merge pull request #435 from avoidwork/edge

Minor change