Too many error messages for local file XHR reading directory listing

NEW
Assigned to

Status

()

Core
Security
--
minor
11 years ago
11 years ago

People

(Reporter: Biju, Assigned: dveditz)

Tracking

Trunk
x86
Windows XP
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

11 years ago
Created attachment 280308 [details]
too_many_error.png

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

11 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.
Summary: To many error msg for local file XHR reading directory listing → Too many error messages for local file XHR reading directory listing
(Reporter)

Comment 2

11 years ago
Created attachment 280309 [details]
no_line_number.png

error console for "readother.html" (attachment 125538 [details])

also for DOM read there is no line number listed in ERROR MESSAGE
You need to log in before you can comment on or make changes to this bug.