assert_true(cert instanceof RTCCertificate,
          'Expect cert to be instance of RTCCertificate');

        assert_greater_than(cert.expires, Date.now(),
          'Expect generated certificate to expire reasonably long after current time');
      }),
      `generateCertificate({modulusLength: ${modulusLength}}) with RSASSA-PKCS1-v1_5 parameters should succeed`);
  });

  promise_test(t =>
    RTCPeerConnection.generateCertificate({
      name: 'ECDSA',
      namedCurve: 'P-256'
    }).then(cert => {
  