[all-permissions] Add web MIDI API and fix notifications callback.