New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 591902 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Leaves the project on 2018/03/02
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

layout test failure for http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked.html

Project Member Reported by dpranke@chromium.org, Mar 4 2016

Issue description

On Mac10.11 and 10.10, and I think on Linux Trusty as well, the layout test

layout test failure for http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked.html 

seems to not detect the mime type of the test correctly. 

I'm not sure if this is a harmless failure and can be rebaselined, or if this indicates a real problem.

mkwst, jww, tsepez, can one of you take a look at this and decide what to do about it?
 

Comment 1 by sshru...@google.com, May 18 2016

Labels: Test-Layout

Comment 2 by sshru...@google.com, May 18 2016

Components: -Blink>LayoutTests Blink
Deprecating component:Blink>LayoutTests, to use label Test=Layout instead. Merging these to component:Blink for the Blink rotation to pick up and re-triage as appropriate. 
Components: -Blink Blink>Loader
Owner: mkwst@chromium.org
Status: Assigned (was: Untriaged)
Hi Mike, can I assign you to investigate this failure?

Comment 5 by pxinc...@gmail.com, Jun 17 2016

Hi , it look like http/tests/security/contentTypeOptions/resources/script-with-header.pl.
if ($cgi->param('mime')) {
     print "Content-Type: " . $cgi->param('mime') . "\n";
}
$cgi->param('mime') is false. then  response donot include Content-Type.
So resource->httpContentType() is empty .
so it failed.
I don't find RFC if  response donot include Content-Type.

Owner: tyoshino@chromium.org
Status: Started (was: Assigned)
It looks Apache configuration is different between platforms.

https://codereview.chromium.org/2274743004/
Confirmed that Trusty, Mac bots turned to be green. Yay.

Sign in to add a comment