Closed Bug 384553 Opened 19 years ago Closed 16 years ago

Exception in nsIXMLHttpRequest with special url fragment ("count=")

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: onyshchuk, Unassigned)

Details

(Whiteboard: [CLOSEME 5-15-2010])

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 I you write on own page small javascript fragment as below: ///////////////////////////////////////// try{ var g_xhr = new XMLHttpRequest(); g_xhr.onreadystatechange = my_function1; g_xhr.open("GET", "http://mydomain.com/my_page.php?count=1", true); g_xhr.send(null); }catch(e){ alert(e); } ///////////////////////////////////////// You will see alert as next: ----------------------------------------- [Exception... "Component returned failure code: 0x805e000a [nsIXMLHttpRequest.open]" nsresult: "0x805e000a ()" location: "JS frame :: my_script.js :: my_function2 :: line_num" data: no] ----------------------------------------- Critical url fragment which generate exception is "count=" Reproducible: Always
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME http://www.mozilla.com http://support.mozilla.com/kb/Managing+profiles http://support.mozilla.com/kb/Safe+mode
Whiteboard: [CLOSEME 5-15-2010]
Version: unspecified → 2.0 Branch
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.