From 0cc9496310d81354dc79e9145606a97e60bf3add Mon Sep 17 00:00:00 2001 From: Kato Kazuyoshi Date: Wed, 27 Mar 2013 01:30:17 +0900 Subject: Scaladoc: Load scripts at the bottom, and with a defer attribute To improve latency on modern browsers (which supports defer) and old browsers: * https://www.webkit.org/blog/1395/running-scripts-in-webkit/ * http://developer.yahoo.com/blogs/ydn/posts/2007/07/high_performanc_5/ --- test/scaladoc/scalacheck/IndexTest.scala | 7 ------- 1 file changed, 7 deletions(-) (limited to 'test/scaladoc') diff --git a/test/scaladoc/scalacheck/IndexTest.scala b/test/scaladoc/scalacheck/IndexTest.scala index bf385898fc..e114767264 100644 --- a/test/scaladoc/scalacheck/IndexTest.scala +++ b/test/scaladoc/scalacheck/IndexTest.scala @@ -71,14 +71,7 @@ object Test extends Properties("Index") { case None => false } } - property("browser contants a script element") = { - createIndex("src/compiler/scala/tools/nsc/doc/html/page/Index.scala") match { - case Some(index) => - (index.browser \ "script").size == 1 - case None => false - } - } property("package objects in index") = { createIndex("test/scaladoc/resources/SI-5558.scala") match { case Some(index) => -- cgit v1.2.3