[Webkit-unassigned] [Bug 55990] Web Inspector: unknown cursor mime never suggested

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 26 23:34:34 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=55990





--- Comment #5 from Alexander Pavlov (apavlov) <apavlov at chromium.org>  2012-01-26 23:34:33 PST ---
(In reply to comment #4)
> This bug shouldn't be closed, the correct media type/mime should be suggested otherwise it's pointless for the console to mention it.

First off, the correct "media type" is already mentioned in the console message ("...interpreted as Image...").

Now, if "foo.js" has been transferred with "application/octet-stream", which mime-type is "correct"? "application/javascript", "application/x-javascript", "text/javascript1.2", "text/javascript1.3", or some other?

WebCore makes a best guess attempt based on the content sniffing, which does not guarantee the correct result (and even could be leveraged to run XSS attacks.)

What kind of mime-type suggestion would you expect for "foo.js" transferred with "application/octet-stream"?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list