WebRTC: Test that RTCPeerConnection promise functions reject on closed state
https://bugs.webkit.org/show_bug.cgi?id=152295

Reviewed by Eric Carlson.

Add test that verifies RTCPeerConnection's behavior in the closed state
(signalingState). Promise functions should reject, and (some) others
should throw. Remove old test that tests incorrect behavior.

* fast/mediastream/RTCPeerConnection-closed-state-expected.txt: Added.
* fast/mediastream/RTCPeerConnection-closed-state.html: Added.
* fast/mediastream/RTCPeerConnection-state-expected.txt: Removed.
* fast/mediastream/RTCPeerConnection-state.html: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@194112 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5 files changed