However, this change requires moving class-scoped enums out into the namespace scope.

Seems worthwhile. Doesn’t seem to me like it would have far reaching effects.

I agree.

+    using Type = DOMAudioSessionType;


Did you do this to make the patch smaller, or do you prefer this style?

Thanks,
Geoff