Closed
Bug 415760
Opened 17 years ago
Closed 15 years ago
Vague error in console and responseXML null when file:///C:/cs.html accesses remote URL http://localhost/test.xml
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: kurienmathew, Unassigned)
Details
(Whiteboard: [CLOSEME 2010-07-30])
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2) Gecko/2007121120 Firefox/3.0b2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2) Gecko/2007121120 Firefox/3.0b2
Vague error in console and responseXML null when file:///C:/cs.html access remote URL
Reproducible: Always
Steps to Reproduce:
1. Copy cs.html to local file system and open in Firefox 3 Beta 2
2. Copy test.xml to root of HTTP server on localhost.
3. Error console shows error in XML originating from remote URL and responseXML null
Actual Results:
Error console shows error in XML originating from remote URL and responseXML null
Expected Results:
No errors in console and page is displays "My Name is: John Resig"
| Reporter | ||
Comment 1•17 years ago
|
||
| Reporter | ||
Comment 2•17 years ago
|
||
Comment 3•17 years ago
|
||
Actually, it should fail as file urls cannot access remote urls without extra privileges. (It should work if enablePrivilege is called)
However, I agree that the error is confusing and should be fixed up.
Comment 4•17 years ago
|
||
Things seem to have improved since beta 2. If you add a call to netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"); in the script, there is no error any more on trunk of today.
Comment 5•15 years ago
|
||
Does this happen in firefox 3.6.6 or later in a fresh profile?
Whiteboard: [CLOSEME 2010-07-30]
Version: unspecified → 3.0 Branch
Comment 6•15 years ago
|
||
No reply, INCOMPLETE. Please retest with Firefox 3.6.8 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•