8024756: method grouping tabs are not selectable

Reviewed-by: jjg
This commit is contained in:
Bhavesh Patel 2013-10-04 13:41:13 -07:00
parent 7ad9444ac1
commit b10f820519
3 changed files with 23 additions and 11 deletions

View file

@ -23,7 +23,7 @@
/*
* @test
* @bug 4665566 4855876 7025314 8012375 8015997 8016328
* @bug 4665566 4855876 7025314 8012375 8015997 8016328 8024756
* @summary Verify that the output has the right javascript.
* @author jamieh
* @library ../lib/
@ -104,9 +104,13 @@ public class TestJavascript extends JavadocTester {
//Make sure title javascript only runs if is-external is not true
{BUG_ID + FS + "pkg" + FS + "C.html",
" if (location.href.indexOf('is-external=true') == -1) {" + NL +
" parent.document.title=\"C\";" + NL +
" }"},
" try {" + NL +
" if (location.href.indexOf('is-external=true') == -1) {" + NL +
" parent.document.title=\"C\";" + NL +
" }" + NL +
" }" + NL +
" catch(err) {" + NL +
" }"},
};
private static final String[][] NEGATED_TEST = NO_TEST;