The "ics" extension is hard-coded as "text/calendar" by net::MimeUtil. So, regardless of the platform's MIME type for the "ics" file extension, the resource will always be served as "text/calendar" and therefore be handled by the test extension.