c="resources/resource-loaders.js"></script>
<script src="resources/buffer-full-utilities.js"></script>
</head>
<body>
<script>
promise_test(async () => {
    await fillUpTheBufferWithSingleResource();
    performance.addEventListener('resourcetimingbufferfull', () => {
        performance.setResourceTimingBufferSize(2);
        // The sync entry is added to the secondary buffer, so will be the last one there and eventually dropped.
        load.xhr_sync(scriptResources[2]);
    });
    // This resource over