Mikhus/domurl

Relative protocol not honoured in IE

Open

#6 建立於 2013年11月11日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)JavaScript (531 star) (100 fork)batch import
help wanted

描述

(Found in IE10)

new Url('//url-with-relative-protocol.co.uk/blah').toString();
// actual     ->  'url-with-relative-protocol.co.uk/blah'
// expected 1 ->  '//url-with-relative-protocol.co.uk/blah'
// expected 2 ->  [current page's protocol] + '//url-with-relative-protocol.co.uk/blah'

貢獻者指南