Bug Tracker

Modify

Ticket #321 (closed bug: wontfix)

Opened 7 years ago

Last modified 6 years ago

getScript doesn't handle "file not found" errors

Reported by: choan.galvez@… Owned by:
Priority: major Milestone:
Component: ajax Version:
Keywords: getscript 404 Cc:
Blocking: Blocked by:

Description

getScript doesn't handle "file not found" errors, so when a script is not found, it tries to eval the 404 file (HTML).

Change History

comment:1 Changed 7 years ago by joern

So far there is almost no error handling in the jQuery core. I'm not sure if jQuery should handle this.

If it should: What is the best way to detect a 404 error?

comment:2 Changed 7 years ago by joern

  • Status changed from new to closed
  • Resolution set to wontfix

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.