Exceptionless.JavaScript icon indicating copy to clipboard operation
Exceptionless.JavaScript copied to clipboard

Ability to send in events synchronously

Open niemyjski opened this issue 9 years ago • 4 comments

We need to send in events synchronously to ensure unit tests calling process(true) works as well as giving us the ability to submit events on the unload event.

https://github.com/exceptionless/Exceptionless.JavaScript/issues/59

niemyjski avatar Oct 11 '16 03:10 niemyjski

About that, I just noted the following

exceptionless.js:411 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.

Edit: appears to be related to the TraceKit.computeStackTrace function. Not sure what to make of it but it's an annoying warning that I'd like to silence, if possible.

Edit 2: this could be a separate issue...

leidegre avatar Oct 04 '17 09:10 leidegre

Yeah, that is coming from TraceKit, would you mind taking a closer look into this. I think it could be that trace kit builds up requests for processing source files, perhaps this needs to be disabled

niemyjski avatar Oct 05 '17 12:10 niemyjski

I've only seen it once, I'll keep an eye open and if I see it again, I'll open a new issue?

leidegre avatar Oct 06 '17 04:10 leidegre

Yeah, please let us know if you see it again

niemyjski avatar Oct 06 '17 21:10 niemyjski

This should be resolved as we rewrote all of our http stack in v2 release. If you are still running into this please let us know.

niemyjski avatar Feb 21 '23 13:02 niemyjski