My favorites | Sign in
Project Home Downloads Wiki Issues Code Search
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 7192: CSS files served for download, instead of displaying in browser
23 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  abarth@chromium.org
Closed:  Jun 2009
Cc:  anan...@chromium.org
M-3

Restricted
  • Only users with EditIssue permission may comment.


Sign in to add a comment
 
Reported by stormbo...@gmail.com, Jan 29, 2009
Chrome Version       : 2.0.160.0 (8871)
URLs (if applicable) : any CSS file on any webserver

What is the expected result?
CSS files should be displayed in the browser, like this was the behaviour 
earlier and like it is the behaviour of other browsers

What happens instead?
CSS files are served for download with saving dialog - this is an annoying 
thing for web developers

Jan 29, 2009
#1 dhh...@gmail.com
[Confirmed] also in Chrome 2.0.159.0 (Official Build 8621)

Definitely get it back to previous behaviour to view CSS files in the browser!!!
Jan 29, 2009
#2 *...@chromium.org
Confirmed in build 2.0.160.0 (Developer Build 8880).

I also like it to be displayed in the browser...
Status: Untriaged
Owner: all-bugs...@chromium.org
Cc: anan...@chromium.org
Labels: -Area-Misc Area-DevTools
Jan 29, 2009
#3 brycesto...@gmail.com
This is needed for 2.0.
Feb 23, 2009
#4 dhh...@gmail.com
Add label: Regression
Feb 23, 2009
#5 anan...@chromium.org
(No comment was entered for this change.)
Labels: Regression Mstone-2.0
Feb 23, 2009
#6 anan...@chromium.org
 Issue 7961  has been merged into this issue.
Feb 26, 2009
#7 j...@chromium.org
(No comment was entered for this change.)
Status: Available
Owner: ---
Mar 8, 2009
#8 peolanha@gmail.com
This is definately a must-have, it's incredibly annoying! ;-)
Mar 17, 2009
#9 j...@chromium.org
Should not block the second beta.  Moving out of 2.0.
Labels: -Mstone-2.0 Mstone-2.1
Apr 9, 2009
#10 j...@chromium.org
(No comment was entered for this change.)
Labels: -Area-DevTools Area-Infrastructure
May 22, 2009
#11 lafo...@chromium.org
(No comment was entered for this change.)
Labels: -mstone-2.1 mstone-3
May 29, 2009
#12 beget...@gmail.com
Really, really would like to get the view CSS back!!!!
Jun 1, 2009
#13 pcmaster...@gmail.com
This is a huge annoyance for me someone please fix it!
Jun 7, 2009
#14 tokyofri...@gmail.com
It was working before.  displaying the css file within the browser.

Now around early June 2009.. the css file served for download.  

PLEASE FIX THIS
Jun 9, 2009
#15 ikecof...@gmail.com
I thought I was going mad, but apparently its a regression
http://www.google.com/support/forum/p/Chrome/thread?tid=40a2877f7e5e0c41&hl=en
Can someone fix this ... 
Jun 11, 2009
#16 Yuri.Gor...@gmail.com
Fix is submitted for code review.

http://codereview.chromium.org/125005

Jun 11, 2009
#17 pcmaster...@gmail.com
Thanks a ton for fixing it. 
Jun 12, 2009
#18 beget...@gmail.com
Looks like a fix is available... Thanks.
Now i would like to know how to apply this fix. What should i do?
Jun 12, 2009
#19 dhh...@gmail.com
begetolo, unless you are compiling personal copies of Chromium you will not be able to 
directly apply the patch yourself.

The patch needs to be committed by the Chromium devs, and checked for compile and 
functional correctness.  I'm sure the fix will soon be available in an upcoming Dev 
release.  If you haven't done so, check the STAR for this issue to be notified of 
updates.
Jun 12, 2009
#20 bugdroid1@gmail.com
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=18306 

------------------------------------------------------------------------
r18306 | abarth@chromium.org | 2009-06-12 12:28:39 -0700 (Fri, 12 Jun 2009) | 14 lines
Changed paths:
   M http://src.chromium.org/viewvc/chrome/trunk/src/AUTHORS?r1=18306&r2=18305
   M http://src.chromium.org/viewvc/chrome/trunk/src/net/base/mime_util.cc?r1=18306&r2=18305
   M http://src.chromium.org/viewvc/chrome/trunk/src/webkit/glue/mimetype_unittest.cc?r1=18306&r2=18305

Included text/css content type into list of the supported non image files. 
Now css files are opened inside browser instead of download.
Also - making lint happy on the mime_util.cc

BUG=7192
R=abarth
TEST=MimeTypeTests.MimeTypeTests

Patch by Yuri Gorobets.

Original review URL: http://codereview.chromium.org/125005


Review URL: http://codereview.chromium.org/125058
------------------------------------------------------------------------

Jun 12, 2009
#21 abarth@chromium.org
Fixed ^^^^^

Thanks Yuri!
Status: Fixed
Owner: aba...@chromium.org
Jun 12, 2009
#22 ryanhell...@gmail.com
Jeeze, what an annoying change. I'll have to change browsers until this is fixed. 
Hopefully it makes it's way back into the core ASAP.

Jun 19, 2009
#23 the.doct...@gmail.com
Please bring it back :( its like using IE6
Jun 23, 2009
#24 sebo.mar...@gmail.com
Man alive it's annoying to not be able to view CSS files. View Source was one of the 
few development-related features I preferred using Chrome over Firefox to perform. I'm 
glad the fix is on the way.
Jun 24, 2009
#25 stormbo...@gmail.com
If you're able to read, you should notice, that it is already fixed. Checkout 
http://build.chromium.org/buildbot/waterfall/ for the lastest rev build.
Jun 28, 2009
#26 neverfor...@gmail.com
is it fixed? How do I download it? I just downloaded newest version of chrome and it
still doesn't work.
Jun 28, 2009
#27 abarth@chromium.org
You can switch to the Dev channel.  I think this fix is in the current Dev release.  If 
not, you'll get the fix around Wednesday: http://dev.chromium.org/getting-involved/dev-
channel
Jun 29, 2009
#28 beget...@gmail.com
@abarth Thanks a lot! This is the one i was waiting for. Works like a charm.
Greetings
Jul 27, 2009
#29 jeander...@gmail.com
How do you update chrome to take advantage of this patch...?  Chrome still seems to be 
trying to download css files instead of displaying them...
Jul 27, 2009
#30 dhw@chromium.org
@jeandersen, please see Comment 27.  Are you using the Dev channel Chrome?  What 
version of Chrome are you using? (from about:version)
Jul 27, 2009
#31 jeander...@gmail.com
Thank you - problem between the chair and the keyboard...  heh...
Dec 18, 2009
#32 mal.chromium@gmail.com
(No comment was entered for this change.)
Labels: -Area-Infrastructure Area-BuildTools
Mar 18, 2011
#33 lafo...@chromium.org
Chrome Version       : 2.0.160.0 (8871)
URLs (if applicable) : any CSS file on any webserver

<b>What is the expected result?</b>
CSS files should be displayed in the browser, like this was the behaviour 
earlier and like it is the behaviour of other browsers

<b>What happens instead?</b>
CSS files are served for download with saving dialog - this is an annoying 
thing for web developers
Labels: -Regression bulkmove Type-Regression
Mar 18, 2011
#34 lafo...@chromium.org
Chrome Version       : 2.0.160.0 (8871)
URLs (if applicable) : any CSS file on any webserver

<b>What is the expected result?</b>
CSS files should be displayed in the browser, like this was the behaviour 
earlier and like it is the behaviour of other browsers

<b>What happens instead?</b>
CSS files are served for download with saving dialog - this is an annoying 
thing for web developers
Labels: -Area-BuildTools Area-Build
Oct 12, 2012
#35 bugdroid1@chromium.org
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
Labels: Restrict-AddIssueComment-Commit
Mar 9, 2013
#36 bugdroid1@chromium.org
(No comment was entered for this change.)
Labels: -mstone-3 -Type-Regression -Area-Build Type-Bug-Regression M-3 Build
Mar 13, 2013
#37 bugdroid1@chromium.org
(No comment was entered for this change.)
Labels: -Restrict-AddIssueComment-Commit Restrict-AddIssueComment-EditIssue
Sign in to add a comment

Powered by Google Project Hosting