macOS notification / Feedback Call

I can’t seem to send a notification from a custom Bric. I used the command exactly as described in the documentation.

window.webkit.messageHandlers.notification.postMessage('{"message":"Hey, this is a notification.","id":"my-bric-notification"}');

The system settings allow this in general, and also in the BlocsApp.

Does anyone have any tips?