Might be a DDC bug, but I want to do more investigation first. There is no error when it's compiled to dart2js. Thrown in `background.dart` (compiled to JS): 