Changeset 158991 in webkit


Ignore:
Timestamp:
Nov 8, 2013 10:00:50 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Updating LayoutTests that depend on RTCPeerConnection
https://bugs.webkit.org/show_bug.cgi?id=124097

Patch by Thiago de Barros Lacerda <thiago.lacerda@openbossa.org> on 2013-11-08
Reviewed by Eric Carlson.

Needed to do not throw unwanted exception

  • fast/mediastream/RTCPeerConnection-AddRemoveStream.html:
  • fast/mediastream/RTCPeerConnection-createAnswer.html:
  • fast/mediastream/RTCPeerConnection-createOffer.html:
  • fast/mediastream/RTCPeerConnection-datachannel.html:
  • fast/mediastream/RTCPeerConnection-dtmf.html:
  • fast/mediastream/RTCPeerConnection-events.html:
  • fast/mediastream/RTCPeerConnection-ice.html:
  • fast/mediastream/RTCPeerConnection-localDescription.html:
  • fast/mediastream/RTCPeerConnection-onnegotiationneeded.html:
  • fast/mediastream/RTCPeerConnection-remoteDescription.html:
  • fast/mediastream/RTCPeerConnection-state.html:
Location:
trunk/LayoutTests
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r158987 r158991  
     12013-11-08  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
     2
     3        Updating LayoutTests that depend on RTCPeerConnection
     4        https://bugs.webkit.org/show_bug.cgi?id=124097
     5
     6        Reviewed by Eric Carlson.
     7
     8        Needed to do not throw unwanted exception
     9
     10        * fast/mediastream/RTCPeerConnection-AddRemoveStream.html:
     11        * fast/mediastream/RTCPeerConnection-createAnswer.html:
     12        * fast/mediastream/RTCPeerConnection-createOffer.html:
     13        * fast/mediastream/RTCPeerConnection-datachannel.html:
     14        * fast/mediastream/RTCPeerConnection-dtmf.html:
     15        * fast/mediastream/RTCPeerConnection-events.html:
     16        * fast/mediastream/RTCPeerConnection-ice.html:
     17        * fast/mediastream/RTCPeerConnection-localDescription.html:
     18        * fast/mediastream/RTCPeerConnection-onnegotiationneeded.html:
     19        * fast/mediastream/RTCPeerConnection-remoteDescription.html:
     20        * fast/mediastream/RTCPeerConnection-state.html:
     21
    1222013-11-08  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
    223
  • trunk/LayoutTests/fast/mediastream/RTCPeerConnection-AddRemoveStream.html

    r158987 r158991  
    6161                shouldBeFalse("stream.id === stream2.id");
    6262
    63                 pc = new webkitRTCPeerConnection({iceServers:[]}, null);
     63                pc = new webkitRTCPeerConnection({iceServers:[]});
    6464                pc.onnegotiationneeded = onAddStream;
    6565                pc.addStream(stream);
  • trunk/LayoutTests/fast/mediastream/RTCPeerConnection-createAnswer.html

    r158987 r158991  
    5252            }
    5353
    54             pc = new webkitRTCPeerConnection({iceServers:[]}, null);
     54            pc = new webkitRTCPeerConnection({iceServers:[]});
    5555            pc.createOffer(requestSucceeded1, requestFailed1);
    5656
  • trunk/LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html

    r158987 r158991  
    4242            }
    4343
    44             pc = new webkitRTCPeerConnection({iceServers:[]}, null);
     44            pc = new webkitRTCPeerConnection({iceServers:[]});
    4545            pc.createOffer(requestSucceeded1, requestFailed1, {mandatory:{"succeed":true}});
    4646
  • trunk/LayoutTests/fast/mediastream/RTCPeerConnection-datachannel.html

    r158987 r158991  
    8282            }
    8383
    84             pc = new webkitRTCPeerConnection({iceServers:[]}, null);
     84            pc = new webkitRTCPeerConnection({iceServers:[]});
    8585            shouldNotThrow('dc = pc.createDataChannel("label1");');
    8686            shouldNotThrow('dc = pc.createDataChannel("label2", {});');
     
    9090            shouldNotThrow('dc = pc.createDataChannel("label3", {maxRetransmitTime:0});');
    9191
    92             pc = new webkitRTCPeerConnection({iceServers:[]}, null);
     92            pc = new webkitRTCPeerConnection({iceServers:[]});
    9393            pc.oniceconnectionstatechange = pc_onicechange;
    9494            pc.ondatachannel = pc_ondatachannel;
  • trunk/LayoutTests/fast/mediastream/RTCPeerConnection-dtmf.html

    r158987 r158991  
    5353                shouldBe('stream.getVideoTracks().length', '0');
    5454
    55                 pc = new webkitRTCPeerConnection({iceServers:[]}, null);
     55                pc = new webkitRTCPeerConnection({iceServers:[]});
    5656                pc.oniceconnectionstatechange = pc_onicechange;
    5757            }
  • trunk/LayoutTests/fast/mediastream/RTCPeerConnection-events.html

    r158987 r158991  
    4242                stream = s;
    4343
    44                 pc = new webkitRTCPeerConnection({iceServers:[]}, null);
     44                pc = new webkitRTCPeerConnection({iceServers:[]});
    4545                pc.onnegotiationneeded = onNegotiationNeeded;
    4646
  • trunk/LayoutTests/fast/mediastream/RTCPeerConnection-ice.html

    r158987 r158991  
    4444            }
    4545
    46             shouldNotThrow('pc = new webkitRTCPeerConnection({iceServers:[]}, null);');
     46            shouldNotThrow('pc = new webkitRTCPeerConnection({iceServers:[]});');
    4747            pc.oniceconnectionstatechange = onIceChange1;
    4848
  • trunk/LayoutTests/fast/mediastream/RTCPeerConnection-localDescription.html

    r158987 r158991  
    4343            }
    4444
    45             pc = new webkitRTCPeerConnection({iceServers:[]}, null);
     45            pc = new webkitRTCPeerConnection({iceServers:[]});
    4646            var sessionDescription = new RTCSessionDescription({type:"offer", sdp:"local"});
    4747            shouldNotThrow('pc.setLocalDescription(sessionDescription, requestSucceeded1, requestFailed1);');
  • trunk/LayoutTests/fast/mediastream/RTCPeerConnection-onnegotiationneeded.html

    r158987 r158991  
    3535                stream = s;
    3636
    37                 pc = new webkitRTCPeerConnection({iceServers:[]}, null);
     37                pc = new webkitRTCPeerConnection({iceServers:[]});
    3838                pc.onnegotiationneeded = onNegotiationNeeded;
    3939
  • trunk/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription.html

    r158987 r158991  
    4343            }
    4444
    45             pc = new webkitRTCPeerConnection({iceServers:[]}, null);
     45            pc = new webkitRTCPeerConnection({iceServers:[]});
    4646            var sessionDescription = new RTCSessionDescription({type:"answer", sdp:"remote"});
    4747            shouldNotThrow('pc.setRemoteDescription(sessionDescription, requestSucceeded1, requestFailed1);');
  • trunk/LayoutTests/fast/mediastream/RTCPeerConnection-state.html

    r158987 r158991  
    1717            }
    1818
    19             shouldNotThrow('pc = new webkitRTCPeerConnection({iceServers:[]}, null);');
     19            shouldNotThrow('pc = new webkitRTCPeerConnection({iceServers:[]});');
    2020            shouldBeEqualToString('pc.signalingState', 'stable');
    2121            pc.onsignalingstatechange = stateChanged;
Note: See TracChangeset for help on using the changeset viewer.