Closed Bug 354159 Opened 18 years ago Closed 18 years ago

errors not displayed in XMLHttpRequest callback functions

Categories

(Toolkit Graveyard :: Error Console, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: miken32, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060913 BonEcho/2.0b2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060913 BonEcho/2.0b2

Testcase will be attached momentarily.  I'm using the Yahoo UI library to perform an XMLHttpRequest call.  When completed successfully, a callback function is invoked.  No errors are reported in the console for this callback function.  Tested in 1.5.07 and the current nightly of 2.0

Reproducible: Always

Steps to Reproduce:
1. Load the attached testcase
2. Click the indicated area
3. Look at the error console

Actual Results:  
No errors reported

Expected Results:  
Should be several fatal errors.
Attached file testcase
Keywords: testcase
This happens because Yahoo's libraries uses try..catch to intercept all errors in your callback function. Not a Firefox bug.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
Product: Firefox → Toolkit
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: