Open
Bug 395625
Opened 17 years ago
Updated 2 years ago
Too many error messages for local file XHR reading directory listing
Categories
(Core :: Security, defect)
Tracking
()
NEW
People
(Reporter: BijuMailList, Assigned: dveditz)
References
Details
Attachments
(2 files)
after fix of Bug 209234, Bug 230606 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a8pre) Gecko/2007090905 Minefield/3.0a8pre See attachment: too_many_error.png It is the out put of executing "securitytest.html" (ie attachment 205693 [details], with little modification ) as well as following javascript var url = "file:///D:/work/eval_file"; var a = new XMLHttpRequest(); a.open("GET", url, false); a.send(""); a.responseText Issue I ======= Why there is 3 times (that too warning) Security Error: Content at file:///D:/work/eval.html may not load data from file:///D:/work/eval_file. Issue II ======== Why there is Error: syntax error Source File: file:///D:/work/eval_file Line: 1, Column: 1 Source Code: 300: file:///D:/work/eval_file/ Issue III ========= Why there is also an ugly message = Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send] result = 2147500037 name = NS_ERROR_FAILURE filename = file:///D:/work/eval.html lineNumber = 78 columnNumber = 0 PS: please reclassify if needed...
Comment 1•17 years ago
|
||
I bet a lot of the extra error messages are due to the "cross-site XMLHttpRequest" feature. Bug 394390 also mentions security errors being repeated 3 times.
Updated•17 years ago
|
Summary: To many error msg for local file XHR reading directory listing → Too many error messages for local file XHR reading directory listing
error console for "readother.html" (attachment 125538 [details])
also for DOM read there is no line number listed in ERROR MESSAGE
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•