浏览代码

Remove comment about Firefox interpreting an empty string as a relative URL

The spec doesn't say an empty string shouldn't be prefetched, cf. https://bugzilla.mozilla.org/show_bug.cgi?id=1530716#c2
Alexandre Dieulot 6 年之前
父节点
当前提交
3d8f34a8b5
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      instantpage.js

+ 0 - 2
instantpage.js

@@ -124,7 +124,5 @@ function preload(url) {
 }
 
 function stopPreloading() {
-  /* The spec says an empty string should abort the prefetching
-  * but Firefox 64 interprets it as a relative URL to prefetch. */
   prefetcher.removeAttribute('href')
 }