question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ref(browser): Remove XHR transport from default bundle

See original GitHub issue

Problem Statement

fetch is supported in all browsers supported by the browser SDK.

Solution Brainstorm

Can this be removed from the default bundle (along with the fetch detection) and only offered as an optional transport?

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
AbhiPrasadcommented, Oct 11, 2022

If you’re referencing the page in our docs, that’s because prior to 5.7.0 we required polyfills for IE11 support. After 5.7.0 we refactor the SDK to no longer require polyfills, see: https://github.com/getsentry/sentry-javascript/pull/2243.

0reactions
AbhiPrasadcommented, Nov 2, 2022

Going to backlog this - will eventually happen but will take a while.

Read more comments on GitHub >

github_iconTop Results From Across the Web

XMLHttpRequest - Web APIs - MDN Web Docs
Chrome Edge XMLHttpRequest Full support. Chrome1. Toggle history Full support. Edge12... XMLHttpRequest() constructor Full support. Chrome1. Toggle history Full support. Edge12... abort Full support. Chrome1. Toggle...
Read more >
dojo/request/xhr — The Dojo Toolkit - Reference Guide
It is the default provider for browser based platforms. Introduction¶. dojo/request/xhr deprecates dojo/_base/xhr and is part of Dojo's Request API.
Read more >
jQuery has deprecated synchronous XMLHTTPRequest
The default is async: true , so if you never use this option at all, ... The solution is to disable the "Browser...
Read more >
engine.io-client-test-sourcemap | Yarn - Package Manager
IO, the implementation of transport-based cross-browser/cross-device ... prevent ws from being added to the bundle; added jsonp fix for when no <script> is ......
Read more >
transport.read - API Reference - Kendo UI DataSource
If set to false , the request result will not be cached by the browser. Setting cache to false will only work correctly...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found