equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 2016, 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. |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* @test |
24 /* |
25 @bug 7165725 |
25 * @test |
26 @summary Tests if HTML parser can handle successive script tags in a line |
26 * @key headful |
27 and it does not call false text callback after script tags. |
27 * @bug 7165725 |
28 @run main bug7165725 |
28 * @summary Tests if HTML parser can handle successive script tags in a line |
29 */ |
29 * and it does not call false text callback after script tags. |
|
30 * @run main bug7165725 |
|
31 */ |
30 |
32 |
31 import java.awt.BorderLayout; |
33 import java.awt.BorderLayout; |
32 import java.awt.Robot; |
34 import java.awt.Robot; |
33 import java.io.File; |
35 import java.io.File; |
34 import java.io.FileReader; |
36 import java.io.FileReader; |