mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
8148985: javadoc "FRAMES" and "NO FRAMES" links not working correctly
Reviewed-by: jjg, ksrini
This commit is contained in:
parent
c12efa10b2
commit
5b14d73a63
8 changed files with 38 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -100,8 +100,15 @@ public class TestJavascript extends JavadocTester {
|
|||
+ " }\n"
|
||||
+ " return true;\n"
|
||||
+ " }\n"
|
||||
+ " function loadFrames() {\n"
|
||||
+ " if (targetPage != \"\" && targetPage != \"undefined\")\n"
|
||||
+ " top.classFrame.location = top.targetPage;\n"
|
||||
+ " }\n"
|
||||
+ "</script>");
|
||||
|
||||
checkOutput("index.html", true,
|
||||
"<body onload=\"loadFrames()\"");
|
||||
|
||||
//Make sure title javascript only runs if is-external is not true
|
||||
checkOutput("pkg/C.html", true,
|
||||
" try {\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue