[webrtc-pc] Pull Request: Wait for certificate to be generated before identity assertion process

soareschen has just submitted a new pull request for https://github.com/w3c/webrtc-pc:

== Wait for certificate to be generated before identity assertion process ==
Fixes #1503.

- The step for waiting for certificate generation is repeated in 9.3 Requesting Identity Assertions.

- The steps for waiting for certificate generation in `createOffer` and `createAnswer` are moved to before waiting for identity assertion process to complete.

The step for waiting for certificate needs to be duplicated, because createOffer/Answer may not request for identity assertion. The additional step is added to 9.3 instead of `getIdentityAssertion`, because createOffer/Answer invokes the identity assertion process synchronously first then only wait for the assertion and certificates to be generated.

See https://github.com/w3c/webrtc-pc/pull/1547

Received on Wednesday, 23 August 2017 03:09:29 UTC