Last Comment Bug 448717 - Firefox improperly names html file type "Firefox Document"
: Firefox improperly names html file type "Firefox Document"
Status: RESOLVED FIXED
:
Product: Firefox
Classification: Client Software
Component: Installer (show other bugs)
: unspecified
: x86 Windows XP
: -- trivial (vote)
: Firefox 10
Assigned To: Javi Rueda
:
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-31 16:52 PDT by Gary X.
Modified: 2011-10-21 02:05 PDT (History)
7 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Patch for bug 448717 (1.92 KB, patch)
2011-09-09 13:51 PDT, Javi Rueda
robert.strong.bugs: review-
Details | Diff | Splinter Review
Patch for bug 448717 (1.95 KB, patch)
2011-10-14 14:44 PDT, Javi Rueda
robert.strong.bugs: review+
Details | Diff | Splinter Review

Description Gary X. 2008-07-31 16:52:42 PDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16

After you make Firefox the default browser on a Windows PC, any file with ".htm" or ".html" extension is listed as file type "Firefox Document" in Windows Explorer.

Well HTML is not a proprietary format owned by Firefox. It is a standard and well known document format, and Firefox just happens to be one agent capable of rendering it. There is no such type as "Firefox document".

Internet Explorer is behaves much better in this regard. If you make IE the default browser, html files are listed as type "HTML Document", which is what they are.

Reproducible: Always

Steps to Reproduce:
1. Make FF the default system browser
2. Go to Windows Explore and view the Detail listing of a directory containing a file with .html extension

Actual Results:  
html file is listed as type "Firefox Document"

Expected Results:  
html file should be listed as "HTML document"
Comment 1 Tyler Downer [:Tyler] 2008-08-25 12:32:51 PDT
I see this too, but I am not sure if it would be INVALID or not.
Comment 2 Michal 'hramrach' Suchanek 2011-02-21 04:13:11 PST
This is not invalid, this is a minor issue with the way Firefox registers its file handling in Windows.

The name can be changed, obviously.
Comment 3 Javi Rueda 2011-06-20 06:37:55 PDT
Google Chrome also changes the description of the filetype. I have not tested Opera but assuming it does it too. I think the same: file type is "HTML Document" whatever program is associated with it.
Comment 5 Javi Rueda 2011-09-09 13:51:53 PDT
Created attachment 559563 [details] [diff] [review]
Patch for bug 448717
Comment 6 Jim Mathies [:jimm] 2011-10-03 11:00:19 PDT
Comment on attachment 559563 [details] [diff] [review]
Patch for bug 448717

I think we want it named this way, but I should default to rob strong as I'm sure he knows the history behind it. Switching reviewers.
Comment 7 Robert Strong [:rstrong] (use needinfo to contact me) 2011-10-12 15:19:23 PDT
Comment on attachment 559563 [details] [diff] [review]
Patch for bug 448717

iirc this was name Firefox Document historically. I don't have a problem with this change but I kind of want UX's input on this since it does show up in Windows UI.

btw: Just took a look at Chrome and it uses Chrome HTML Document.

faaborg, just wanted to get your ok for this change and the patch author should be able to provide you with additional info such as what parts of the Windows UI this text displays in. Thanks
Comment 8 Alex Faaborg [:faaborg] (Firefox UX) 2011-10-12 17:10:43 PDT
I'm not sure if this was considered all that carefully to begin with, but the one UX aspect is that we want users to have an expectation of what application is currently associated, and will be used by default to open the document.  I recommend we go with:

Firefox HTML Document

that way the user both knows what kind of document it is (if they want to use the "open with" context command, and what application is currently the default).

One could argue that obfuscating who is the system default is in some ways more nefarious than pretending to take ownership of an open format (not that we meant to do that intentionally).
Comment 9 Michal 'hramrach' Suchanek 2011-10-13 05:36:13 PDT
And it becomes more so when another application registers itself for opening the HTML files but does not change the name.
Comment 10 Javi Rueda 2011-10-14 02:59:11 PDT
(In reply to Robert Strong [:rstrong] (do not email) from comment #7)
> Comment on attachment 559563 [details] [diff] [review] [diff] [details] [review]
> Patch for bug 448717
> 
> iirc this was name Firefox Document historically. I don't have a problem
> with this change but I kind of want UX's input on this since it does show up
> in Windows UI.
> 
> btw: Just took a look at Chrome and it uses Chrome HTML Document.
> 
In this case, Chrome does it, but Internet Explorer doesn't.

> faaborg, just wanted to get your ok for this change and the patch author
> should be able to provide you with additional info such as what parts of the
> Windows UI this text displays in. Thanks


The text is displayed as a description for the file type in the Windows Explorer. Also it is shown at the Open/Save file dialogs in some views (as the "Detailed" one).
Comment 11 Robert Strong [:rstrong] (use needinfo to contact me) 2011-10-14 11:52:29 PDT
(In reply to Javi Rueda from comment #10)
> (In reply to Robert Strong [:rstrong] (do not email) from comment #7)
> > Comment on attachment 559563 [details] [diff] [review] [diff] [details] [review] [diff] [details] [review]
> > Patch for bug 448717
> > 
> > iirc this was name Firefox Document historically. I don't have a problem
> > with this change but I kind of want UX's input on this since it does show up
> > in Windows UI.
> > 
> > btw: Just took a look at Chrome and it uses Chrome HTML Document.
> > 
> In this case, Chrome does it, but Internet Explorer doesn't.
Right

> > faaborg, just wanted to get your ok for this change and the patch author
> > should be able to provide you with additional info such as what parts of the
> > Windows UI this text displays in. Thanks
> 
> 
> The text is displayed as a description for the file type in the Windows
> Explorer. Also it is shown at the Open/Save file dialogs in some views (as
> the "Detailed" one).
faaborg would like to change it to Firefox HTML Document per comment #8
Comment 12 Robert Strong [:rstrong] (use needinfo to contact me) 2011-10-14 11:53:30 PDT
Comment on attachment 559563 [details] [diff] [review]
Patch for bug 448717

minusing per comment #8 from faaborg
Comment 13 Javi Rueda 2011-10-14 14:44:09 PDT
Created attachment 567186 [details] [diff] [review]
Patch for bug 448717

Replaces the branded "Document" with the branded "HTML Document".
Comment 14 Javi Rueda 2011-10-18 13:41:09 PDT
Thank you for the review, Robert.
Comment 15 Robert Strong [:rstrong] (use needinfo to contact me) 2011-10-18 13:42:32 PDT
No problem Javi and thanks for the patch and your patience with me finishing the review!
Comment 17 Marco Bonardo [::mak] 2011-10-21 02:05:01 PDT
https://hg.mozilla.org/mozilla-central/rev/a4d50bd80534

Note You need to log in before you can comment on or make changes to this bug.