DOMParser is not defined
error when initializing client in Web Worker
#401
Labels
DOMParser is not defined
error when initializing client in Web Worker
#401
Package Version: 2.0.8
Describe the bug
When initializing a ms-rest-js client within a web worker, an error is thrown:
DOMParser is not defined
. DOMParser is not available within a web worker. This prevents the client from being used from within a web worker.To Reproduce
Steps to reproduce the behavior:
ClientName
,token
, andcustomBaseUri
for valid values--ClientName
should be a client derived frommsRest.ServiceClient
; the other values might be optional depending on the client that is tested)Expected behavior
The client should initialize successfully within a web worker.
Screenshots
Screenshot of error in browser console:
Additional context
N/A
The text was updated successfully, but these errors were encountered: