[mediacapture-record] Make stop() idempotent.

jan-ivar has just created a new issue for https://github.com/w3c/mediacapture-record:

== Make stop() idempotent. ==
Currently, the [spec](https://w3c.github.io/mediacapture-record/MediaRecorder.html#dom-mediarecorder-stop) says
```js
rec.stop();
rec.stop();
```
must throw an `InvalidStateError`. This seems inconsistent with e.g. `track.stop()` (https://github.com/w3c/mediacapture-main/issues/459) and `pc.close()` (https://github.com/w3c/webrtc-pc/commit/3c3fbb324f305eec85f81a6f468e450c26ebd7bd).


Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/125 using your GitHub account

Received on Thursday, 25 May 2017 00:27:25 UTC