Bug Tracker

Opened 6 years ago

Closed 6 years ago

#13236 closed bug (notabug)

Ajax throw error in console when site does not exist in Chrome

Reported by: ferreol.robert@… Owned by: ferreol.robert@…
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.0
Keywords: Cc:
Blocked by: Blocking:

Description

When you make an ajax inquiry to a site that does not respond (or a fake site), you have an error thrown in the console like :

GET https://localhost:1234/echo?echo=alive&_=1358369880353  jquery-1.9.0.js:8475

You also enter in the fail function as expected

See example at http://jsfiddle.net/TXczW/1/ and open the Javascript console

Change History (3)

comment:1 Changed 6 years ago by dmethvin

Owner: set to ferreol.robert@…
Status: newpending

Why is that a problem? The browser's debugger is letting you know important information. It's only showing jQuery as the source because you asked us to make the request.

comment:2 in reply to:  1 Changed 6 years ago by anonymous

I have already an error message via fail function and the message in console is not quite explicit. This message does not block the execution of Jquery.

If you think that is normal to have two alert message, you can close this ticket

Thanks

Replying to dmethvin:

Why is that a problem? The browser's debugger is letting you know important information. It's only showing jQuery as the source because you asked us to make the request.

comment:3 Changed 6 years ago by dmethvin

Resolution: notabug
Status: pendingclosed
Note: See TracTickets for help on using tickets.