niklasb/vimium — comment on commit 9487bbe84b028f72814a057d8090ae4d12c80216
File: lib/utils.js line 90
By int3:

I think we should mimic Chrome's behavior, for the sake of uniformity / least surprise.

Actually, on taking another look at the code, it seems to me that this function always returns `'http://' + partialUrl`, except when it is invoked from line 137. Couldn't we just replace it by `return "http:/" + str` at all the other occurrences?