<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Support for promise rejection events (unhandledrejection)"
   href="https://bugs.webkit.org/show_bug.cgi?id=150358#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Support for promise rejection events (unhandledrejection)"
   href="https://bugs.webkit.org/show_bug.cgi?id=150358">bug 150358</a>
              from <span class="vcard"><a class="email" href="mailto:joepeck&#64;webkit.org" title="Joseph Pecoraro &lt;joepeck&#64;webkit.org&gt;"> <span class="fn">Joseph Pecoraro</span></a>
</span></b>
        <pre><span class="quote">&gt;     - PromiseRejectionEvent
&gt;       - when constructed with a value for &quot;promise&quot; that is not an instance
&gt; of a Promise we should wrap it in a Promise (Blink does this)
&gt;         - new PromiseRejectionEvent(&quot;event-name&quot;, {promise:1}) =&gt; should be
&gt; as if {promise: Promise.resolve(1)}</span >

This is defined in Web IDL:
&lt;<a href="https://heycam.github.io/webidl/#es-promise">https://heycam.github.io/webidl/#es-promise</a>&gt;

Converting a JavaScript Value `v` to IDL `Promise&lt;any&gt;` type is the equivalent of `Promise.resolve(v)`.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>