[ Mac WK2 ] Layout Test js/dom/unhandled-promise-rejection-bindings-type-error.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=195969
<rdar://problem/49039441>

Reviewed by Alex Christensen.

* js/dom/unhandled-promise-rejection-bindings-type-error.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@245256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index b0e74e0..f30a812 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,13 @@
+2019-05-13  Devin Rousso  <drousso@apple.com>
+
+        [ Mac WK2 ] Layout Test js/dom/unhandled-promise-rejection-bindings-type-error.html is a flaky failure
+        https://bugs.webkit.org/show_bug.cgi?id=195969
+        <rdar://problem/49039441>
+
+        Reviewed by Alex Christensen.
+
+        * js/dom/unhandled-promise-rejection-bindings-type-error.html:
+
 2019-05-13  Megan Gardner  <megan_gardner@apple.com>
 
         Alter Conic Gradient tests to be less subject to noise
diff --git a/LayoutTests/js/dom/unhandled-promise-rejection-bindings-type-error.html b/LayoutTests/js/dom/unhandled-promise-rejection-bindings-type-error.html
index 7783d41..c234e55 100644
--- a/LayoutTests/js/dom/unhandled-promise-rejection-bindings-type-error.html
+++ b/LayoutTests/js/dom/unhandled-promise-rejection-bindings-type-error.html
@@ -17,6 +17,8 @@
     error = e;
     shouldBe(`error.promise`, `promise`);
     shouldBeTrue(`error.reason instanceof TypeError`);
+
+    setTimeout(function () { finishJSTest(); }, 100);
 };
 
 try {
@@ -24,9 +26,6 @@
 } catch (e) {
     testFailed("TypeErrors produced by getters for Promise results should be wrapped in a Promise");
 }
-
-setTimeout(function () { finishJSTest(); }, 100);
-
 </script>
 <script src="../../resources/js-test-post.js"></script>
 </body>