My favorites | Sign in
Project Home Wiki Issues
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 1084: The Net tab or the Console does not show request when using file:// uri
14 people starred this issue and may be notified of changes. Back to list
Status:  Triaged
Owner:  ----

Sign in to add a comment
Reported by, Aug 19, 2008
What steps will reproduce the problem?
1. Copy the attached files into C:\download\test
2. Enter file:///C:/download/test/Tree.html in Firefox

What is the expected output? What do you see instead?

The alert displays the json from the file countries.json, but the FB
Console or the Net tab does not show the request.

What version of the product are you using? On what operating system?
FF3, FB 1.2b13, Win XP Pro

Please provide any additional information below.

2.4 KB   View   Download
434 bytes   View   Download
Aug 19, 2008
Project Member #1
(No comment was entered for this change.)
Labels: net 1.2
Aug 20, 2008
Project Member #2
The problem is that in case of the local XHR the http-on-modify-request event isn't
fired. The net panels implementation is based on this (and http-on-examine-response)

Notice that the request isn't displayed in LiveHTTPHeader & TamperData either.

I don't know if this is a FF bug or if there is a reason for it. 

I am asking here:

Oct 15, 2008
Project Member #3
Does the new nsiTraceableChannel impact this problem?  Maybe not since its http only...
Oct 22, 2009
Project Member #4
The reply to Honza's question:

there is a reason the topic is named *http*-on-modify-request and not
*allprotocols*-on-modify-request, so this is not a bug from what I see. ;)
You should have the same issue with ftp ;)

I don't know if there is actually a way to get file: (or any other
protocol)... But I guess there is not.
nsIChannelEventSink only receives redirects IIRC.

However some very hackery way may be to override (parts of) IOService or
FileChannel (AsyncOpen comes to mind as a way to wrapping the indented
StreamListener with your own which will then process OnStartRequest or

Oct 23, 2009
Project Member #5
(No comment was entered for this change.)
Cc: odvarko
Jul 2, 2011
I remember there was already a discussion about renaming the Net panel in  issue 1208  to something more general, because by now it's not just showing normal HTTP requests anymore, but also cache reads, which don't produce HTTP requests.
And I believe there were already several requests related to also showing local file system requests inside the requests list.
Of course this would mean some bigger changes to the "Net" panel, because local requests are handled totally different to network requests and don't provide all the information we get from HTTP requests.
Status: Triaged
Labels: Test-case-available
Mar 23, 2013
Project Member #7
(No comment was entered for this change.)
Mar 23, 2013
Project Member #8
(No comment was entered for this change.)
Apr 3, 2013
Project Member #9
(No comment was entered for this change.)
Apr 17, 2013
plz fix this, guys. local debugging sooo hard sometimes
Apr 17, 2013
Project Member #11
Well, the easy workaround is to use a local webserver.
But I agree, this should be implemented. As I mentioned before the hard part is the UI, since it's not the same as when making a network request. You won't have any status code, no domain, no IPs, no timeline, no headers, etc.

Sign in to add a comment

Powered by Google Project Hosting