Bug Tracker

Ticket #196 (reopened )

Opened 2 years ago

Last modified 1 year ago

Please dont shaddow XMLHttpRequest

Reported by: daniel.doubleday@… Assigned to: anonymous
Type: Priority:
Milestone: Component:
Version: Keywords:
Cc: Needs:

Description

This breaks other libraries which distinguish between ie and other via "is defined" checks such as DWR and others.

Please use a factory method instead.

I know that this will break backward compatability but I think the "I know that I'm not alone" approach is worth it.

Attachments

Change History

Changed 2 years ago by joern

  • status changed from new to closed
  • resolution set to worksforme

If we remove the shadowed XMLHttpRequest, I'd have to remove the fixed event object etc. pp. That can't be the right solution either, therefore I close this report.

Changed 2 years ago by john

  • status changed from closed to reopened
  • resolution deleted

I still think we should consider this - this is one area in which we do introduce something into the global namespace, when we really shouldn't.

Note: See TracTickets for help on using tickets.