Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion shared/AppInsightsCore/src/utils/EnvUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ export function useXDomainRequest(): boolean | undefined {
* Checks if XMLHttpRequest is supported
* @returns True if supported, otherwise false
*/
/*#__NO_SIDE_EFFECTS__*/
// Do not mark this function as side-effect-free. Rollup can remove capability checks
// guarded by this return value, which prevents XHR instrumentation from being installed.
export function isXhrSupported(): boolean {
let isSupported = false;
try {
Expand Down