File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
src/test/java/org/htmlunit/general/huge Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1313 * limitations under the License.
1414 */
1515package org .htmlunit .general .huge ;import java .util .ArrayList ;
16+
1617import java .util .Collection ;
1718import java .util .List ;
1819import java .util .Set ;
2728import org .junit .runner .RunWith ;
2829import org .junit .runners .Parameterized .Parameter ;
2930import org .junit .runners .Parameterized .Parameters ;
30- import org .openqa .selenium .WebDriver ;/**
31+ import org .openqa .selenium .WebDriver ;
32+
33+ /**
3134 * Tests the prototype.
3235 *
3336 * @author Ronald Brill
@@ -82,10 +85,12 @@ protected void test(final String jsClassName) throws Exception {
8285 + "<title>-</title>\n "
8386 + "</head>\n "
8487 + "<body>\n "
85- + "<script>\n " + " function check(c) {\n "
88+ + "<script>\n "
89+ + " function check(c) {\n "
8690 + " detector = function() {};\n "
8791 + " return (Object.getPrototypeOf(c) === Function.prototype);\n "
88- + " }\n " + " try {\n "
92+ + " }\n "
93+ + " try {\n "
8994 + " document.title = check(" + jsClassName + ");\n "
9095 + " } catch(e) { document.title = 'exception'; }\n "
9196 + "</script>\n "
You can’t perform that action at this time.
0 commit comments