Open Bug 1049548 Opened 10 years ago Updated 2 years ago

Make async tab switching rejections send rejection notices to the error console

Categories

(Firefox :: Tabbed Browser, defect, P3)

30 Branch
x86
All
defect

Tracking

()

Tracking Status
e10s + ---

People

(Reporter: mconley, Unassigned)

References

(Blocks 1 open bug)

Details

Bug 1009628 made Firefox tab switching asynchronous when using an e10s window. In the event that a tab switch bails out (we switch back to the original tab before the MozAfterRemotePaint fires), we reject the Promise that tabbrowser.xml's "_prepareForTabSwitch" method returns.

Right now, when that Promise rejects, we just silently bail out of the deck switching code. This ended up masking a problem where an exception being thrown inside one of the Promises caused tab switching to silently break.

We should log tab switching rejections to the error console - at least, the unexpected ones.
See Also: → 1009628
Blocks: 1009628
See Also: 1009628
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.