layout test failure for http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked.html |
||||||
Issue descriptionOn 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?
,
May 18 2016
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.
,
May 25 2016
,
May 26 2016
Hi Mike, can I assign you to investigate this failure?
,
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.
,
Aug 25 2016
It looks Apache configuration is different between platforms. https://codereview.chromium.org/2274743004/
,
Aug 25 2016
I hope it becomes green on all platforms. https://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=http%2Ftests%2Fsecurity%2FcontentTypeOptions%2Fnosniff-script-without-content-type-blocked.html
,
Aug 25 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b44b03b402e1cb6af208b12cd71357bdb7f7f8c8 commit b44b03b402e1cb6af208b12cd71357bdb7f7f8c8 Author: tyoshino <tyoshino@chromium.org> Date: Thu Aug 25 03:55:08 2016 Make sure that Apache for HTTP layout tests not to emit Content-Type by default BUG= 591902 R=dpranke Review-Url: https://codereview.chromium.org/2274743004 Cr-Commit-Position: refs/heads/master@{#414300} [modify] https://crrev.com/b44b03b402e1cb6af208b12cd71357bdb7f7f8c8/third_party/WebKit/LayoutTests/TestExpectations [modify] https://crrev.com/b44b03b402e1cb6af208b12cd71357bdb7f7f8c8/third_party/WebKit/LayoutTests/http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-expected.txt [modify] https://crrev.com/b44b03b402e1cb6af208b12cd71357bdb7f7f8c8/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/apache_http.py
,
Aug 25 2016
Confirmed that Trusty, Mac bots turned to be green. Yay. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by sshru...@google.com
, May 18 2016