よくこの手の問題が表出するのでメモ
この正式名称はなんていうのかわからないけれど(弊社社長からnetwork-pathという呼称だと教えてもらいました。)、意味的にはプロトコルレベルドキュメントルートみたいな感じかな?
JS、CSS、Imageなどに利用できます。
当然参照先がhttps、httpの両方に対応している必要がありますがーー。
ただgoogle analyticsとかそういうメジャーどころの埋め込みタグにはこの手法が使われてないので、何か問題があるのかもしれないですが・・・
参考:Google Analyticsの判定式
弊社社長から参考文献を教えてもらったので追記
RFC 3986 – Uniform Resource Identifier (URI): Generic Syntax
A relative reference that begins with two slash characters is termed
a network-path reference; such references are rarely used. A
relative reference that begins with a single slash character is
termed an absolute-path reference. A relative reference that does
not begin with a slash character is termed a relative-path reference.
バグもあるらしいよ
IEでCSSが2回ダウンロードされるパターン | 開発・SE | マイナビニュース
5a Missing schema double download | High Performance Web Sites