Bug 1277354 - Disable test_cache-control_request when the old cache API is used. r=mayhemer

--HG--
extra : rebase_source : 5cc9d22997c76086abc1dcd5fc88e2eda890938d
This commit is contained in:
aleth 2016-06-02 16:11:36 +02:00
parent e580134ee3
commit e25e343c38

View File

@ -84,6 +84,12 @@ function resource_fresh_100_handler(metadata, response)
function run_test()
{
do_get_profile();
if (!newCacheBackEndUsed()) {
do_check_true(true, "This test doesn't run when the old cache back end is used since it depends on the new APIs.");
return;
}
do_test_pending();
httpserver.registerPathHandler(resource_age_100, resource_age_100_handler);