Changeset 235508 in webkit


Ignore:
Timestamp:
Aug 30, 2018 9:53:01 AM (6 years ago)
Author:
youenn@apple.com
Message:

fast/mediastream/RTCPeerConnection-overloaded-operations.html is flaky after r235484
https://bugs.webkit.org/show_bug.cgi?id=189155

Reviewed by Eric Carlson.

  • fast/mediastream/RTCPeerConnection-overloaded-operations.html:

createOffer/createAnswer will now reject promises if callbacks are passed as parameters.
Make sure that these promises are handled.

Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r235505 r235508  
     12018-08-30  Youenn Fablet  <youenn@apple.com>
     2
     3        fast/mediastream/RTCPeerConnection-overloaded-operations.html is flaky after r235484
     4        https://bugs.webkit.org/show_bug.cgi?id=189155
     5
     6        Reviewed by Eric Carlson.
     7
     8        * fast/mediastream/RTCPeerConnection-overloaded-operations.html:
     9        createOffer/createAnswer will now reject promises if callbacks are passed as parameters.
     10        Make sure that these promises are handled.
     11
    1122018-08-30  Zalan Bujtas  <zalan@apple.com>
    213
  • trunk/LayoutTests/fast/mediastream/RTCPeerConnection-overloaded-operations.html

    r208057 r235508  
    2828                shouldNotThrow("result = pc." + functionName + "(emptyFunc, emptyFunc)");
    2929                shouldBeType("result", "Promise");
     30                result.then(() => { }, () => { });
    3031
    3132                shouldNotThrow("result = pc." + functionName + "(emptyFunc, emptyFunc, {})");
    3233                shouldBeType("result", "Promise");
     34                result.then(() => { }, () => { });
    3335            }
    3436
Note: See TracChangeset for help on using the changeset viewer.