New issue
Advanced search Search tips

Issue 819637 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

console.log and output formatter return promises in different orders cross-browser

Project Member Reported by kereliuk@chromium.org, Mar 7 2018

Issue description

Chrome Version: 64.0.3282.186
OS: OSX/Linux


The following code displays the different behaviours of the output formatter in Chrome and Firefox.

const p = Promise.resolve(1); p.then(v => console.log(v));

Chrome output:

1
Promise {[[PromiseStatus]]: "resolved", [[PromiseValue]]: undefined}

Firefox output:

Promise { <state>: "pending" }
1

 

Sign in to add a comment