Changeset 231865 in webkit


Ignore:
Timestamp:
May 16, 2018 1:24:32 PM (6 years ago)
Author:
youenn@apple.com
Message:

Layout Test webrtc/addICECandidate-closed.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=185384
<rdar://problem/40035167>

Reviewed by Eric Carlson.

  • webrtc/addICECandidate-closed.html:

Handle sometimes rejected promise to remove a line
in the -expected.txt file that is sometimes added.

Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r231861 r231865  
     12018-05-16  Youenn Fablet  <youenn@apple.com>
     2
     3        Layout Test webrtc/addICECandidate-closed.html is a flaky failure
     4        https://bugs.webkit.org/show_bug.cgi?id=185384
     5        <rdar://problem/40035167>
     6
     7        Reviewed by Eric Carlson.
     8
     9        * webrtc/addICECandidate-closed.html:
     10        Handle sometimes rejected promise to remove a line
     11        in the -expected.txt file that is sometimes added.
     12
    1132018-05-16  Youenn Fablet  <youenn@apple.com>
    214
  • trunk/LayoutTests/webrtc/addICECandidate-closed.html

    r231706 r231865  
    1616        [[sender, receiver], [receiver, sender]].forEach(([pc1, pc2]) => {
    1717            pc1.onicecandidate = ({ candidate }) => {
    18                 try {
    19                     if (candidate)
    20                         pc2.addIceCandidate(candidate);
    21                 } catch (e) { }
     18                if (candidate)
     19                    pc2.addIceCandidate(candidate).then(() => { }, () => { });
    2220                pc1.close();
    2321            };
Note: See TracChangeset for help on using the changeset viewer.