Issue 4181: JavaScript debugger window seems scrunched
http://code.google.com/p/chromium/issues/detail?id=4181

Comment #9 by [EMAIL PROTECTED]:
The problem is we serve chrome-resource://debugger/debugger.css to the  
renderer with
mimetype "text/html". Under strict html mode, webkit now enforces css mime  
type.

The mimetype is wrong because it is always set to "text/html":

bool URLRequestChromeJob::GetMimeType(std::string* mime_type) {
   // Rely on MIME sniffing to simplify the logic here.
   *mime_type = "text/html";
   return true;
}

Moreover the comment in that function is also wrong, since according to
net::ShouldSniffMimeType() (a) "chrome-resource:" is not a sniffable scheme  
and (b)
"text/html" is not a sniffable type.


Issue attribute updates:
        Status: Started
        Cc: [EMAIL PROTECTED]

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to chromium-bugs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to