t>
setup({explicit_done: true});
let iframe;
let d;
let body;

// Explicitly test the namespace before we start testing.
test_namespace('getEntriesByType');

function setup_iframe() {
    iframe = document.getElementById('frameContext');
    d = iframe.contentWindow.document;
    iframe.addEventListener('load', onload_test, false);
}

function onload_test() {
    if (window.performance.getEntriesByType === undefined) {
      done();
      return;
    }
    const context = new PerformanceContext(iframe.conte