');

credentials_test(
    { credentials: 'include', type: 'module' },
    { fetchType: 'descendant-dynamic', origin: 'same' },
    'new SharedWorker() with type=module and credentials=include should send ' +
    'the credentials for same-origin dynamic imports');

credentials_test(
    { type: 'module'},
    { fetchType: 'descendant-dynamic', origin: 'remote' },
    'new SharedWorker() with type=module and default credentials option ' +
    'should behave as credentials=same-origin and not send the credent