DescriptionCheck the Argument to the Catch Function
Due to promise chaining, the rejecting promise may not necessarily be the
topmost method returning the promise.
In this specific case, getAuth() is chained in by requestFromServer, and
getAuth can reject with no arguments.
The fix here is to ensure the argument is always an object.
BUG=402729
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289668
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|