Changeset 217140 in webkit


Ignore:
Timestamp:
May 19, 2017 12:09:34 PM (7 years ago)
Author:
Ryan Haddad
Message:

LayoutTest js/Promise-types.html is a flaky failure (Unhandled Promise Rejection messages)
https://bugs.webkit.org/show_bug.cgi?id=171739

Reviewed by Joseph Pecoraro.

Silence the console messages for unhandled rejections in this LayoutTest.

  • js/script-tests/Promise-types.js:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r217138 r217140  
     12017-05-19  Ryan Haddad  <ryanhaddad@apple.com>
     2
     3        LayoutTest js/Promise-types.html is a flaky failure (Unhandled Promise Rejection messages)
     4        https://bugs.webkit.org/show_bug.cgi?id=171739
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        Silence the console messages for unhandled rejections in this LayoutTest.
     9
     10        * js/script-tests/Promise-types.js:
     11
    1122017-05-19  Zalan Bujtas  <zalan@apple.com>
    213
  • trunk/LayoutTests/js/script-tests/Promise-types.js

    r196986 r217140  
    55debug("Promises");
    66debug("");
     7
     8// Silence unhandled rejection messages.
     9window.onunhandledrejection = () => false;
    710
    811// Promises should be of type Promise.
Note: See TracChangeset for help on using the changeset viewer.