New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 597091 link

Starred by 3 users

Issue metadata

Status: Duplicate
Merged: issue 393913
Owner:
Last visit > 30 days ago
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature



Sign in to add a comment

Uncaught (in promise) undefined(anonymous function). Defect in Promise.reject() implementation.

Reported by nathanjd...@gmail.com, Mar 22 2016

Issue description

Chrome Version       : 49.0.2623.87 (64-bit)
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari: OK
    Firefox: OK
         IE: Not Implemented

What steps will reproduce the problem?
(1) Run the following line of javascript: "Promise.reject();"
(2) See error in console:
VM834:2 Uncaught (in promise) undefined(anonymous function) @    VM834:2InjectedScript._evaluateOn @ VM104:878InjectedScript._evaluateAndWrap @ VM104:811InjectedScript.evaluate @ VM104:667

What is the expected result?
No error is thrown. A rejected Promise is returned.

What happens instead?
Error is thrown, however a rejected Promise is still returned.

Please provide any additional information below. Attach a screenshot if
possible.

 
Screen Shot 2016-03-22 at 3.52.10 PM.png
71.2 KB View Download

Comment 1 by arevin...@gmail.com, Mar 23 2016

Very annoying. Earlier, it was a special toggle to break on Promise resolution and/or rejection. Now, it seems, we don't have a choice but to see it break all the time.

Comment 2 by ajha@chromium.org, Mar 24 2016

Cc: ajha@chromium.org
Components: Platform>DevTools>JavaScript
Labels: -Type-Bug -Pri-3 M-51 hasbisect OS-All Pri-1 Type-Bug-Regression
Owner: aandrey@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce this on the latest stable(49.0.2623.87) and the latest canary(51.0.2689.0) on Windows-7, Mac OS 10.11.3 and Linux Ubuntu 14.04. 

This is a regression issue broken in M-41.

Last good build: 41.0.2220.0
First bad build: 41.0.2221.0

Changelog:
==========
https://chromium.googlesource.com/chromium/src/+log/bf4e67cc8bf1a4660ab7ffd5b5f58616fa67f5b5..081515d8819d0894c7c1b36933cf6997abccf709

Blink changelog:
================
https://chromium.googlesource.com/chromium/blink/+log/93b4c2c..628b95b

Suspected CL: https://codereview.chromium.org/693183002

aandrey@: Could you please take a look at this.

Thank you!
Owner: kozyatinskiy@chromium.org
Labels: -Pri-1 -Type-Bug-Regression -M-51 Pri-2 Type-Feature
Mergedinto: 393913
Status: Duplicate (was: Assigned)

Sign in to add a comment