Sorviceworker in cross origin iframe

By lots of trying and debugging I have found the answer:

  • The origin site A is hosted via http
  • The plugin from domain B is (obviously) via https

It seems serviceworker is blocked in an iframed https site if parent is http.

If anyone has the reasoning behind this, please let me know (I don't see it)