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'

贡献者指南