Just because browsers allow it, doesn’t make it syntactically correct. If you check the docs: MDN - background-image, it clearly shows that the url should be quoted.
However, the fact that it looks like it’s working is confusing. I personally think this could be rectified with a better error message and / or adding explanation to the stub of “Get a hint”.