sByType('resource');

    const index = window.location.pathname.lastIndexOf('/');
    const pathname = window.location.pathname.substring(0, index) +
        '/resources/empty_script.js?id=';
    let expected_entries = {};
    expected_entries[pathname + '1'] = 'script';
    expected_entries[pathname + '2'] = 'script';
    expected_entries[pathname + '3'] = 'script';
    expected_entries[pathname + '4'] = 'script';
    expected_entries[pathname + '5'] = 'script';
    expected_entries[pathname + '6'] = 'scr