equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2004, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
113 + " top.classFrame.location = top.targetPage;\n" |
113 + " top.classFrame.location = top.targetPage;\n" |
114 + " }\n" |
114 + " }\n" |
115 + "</script>"); |
115 + "</script>"); |
116 |
116 |
117 checkOutput("index.html", true, |
117 checkOutput("index.html", true, |
118 "<body onload=\"loadFrames()\""); |
118 "<body class=\"frames\" onload=\"loadFrames()\""); |
119 |
119 |
120 //Make sure title javascript only runs if is-external is not true |
120 //Make sure title javascript only runs if is-external is not true |
121 checkOutput("pkg/C.html", true, |
121 checkOutput("pkg/C.html", true, |
122 " try {\n" |
122 " try {\n" |
123 + " if (location.href.indexOf('is-external=true') == -1) {\n" |
123 + " if (location.href.indexOf('is-external=true') == -1) {\n" |