Error on page load seems to be serviceWorker related

Hey all,

I’ve been playing around with various things for a while, and noticed that I have an error in the console when I load HomeAssistant. I don’t know where it comes from, or how to narrow it down.

Uncaught (in promise) DOMException: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV).

From what I can tell it’s coming from this block of code, specifically the serviceWorker.register function call. I’m not running on SSL, so is this a browser specific issue (Chrome 67 on Windows 10, 64 bit)? And am I losing any functionality without this working?

    <script>
        var webComponentsSupported = "customElements"in window && "content"in document.createElement("template");
        webComponentsSupported || function() {
            var e = document.createElement("script");
            e.src = "/static/webcomponents-bundle.js",
            document.write(e.outerHTML)
        }(),
        "serviceWorker"in navigator && window.addEventListener("load", function() {
            navigator.serviceWorker.register("/service_worker.js")
        });
    </script>