Do protocol relative urls work cross-platform?

I often use the // relative URI hack. Example:Mostly because of this post: Is it valid to replace http:// with // in a ?.However, a guy I am working with on a project says this doesn’t work on Mac...