Test for <rdar://problem/6284708> AppCache crashes in ApplicationCacheResource::addType().