File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/org/htmlunit/javascript/host/svg Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public void getAttribute() throws Exception {
4545 + " svg.setAttribute('id', 'svgElem');\n "
4646 + " document.body.appendChild(svg);\n "
4747 + " log(document.getElementById('svgElem').getAttribute('id'));\n "
48- + "} catch (e) { log('exception' ); }\n "
48+ + "} catch (e) { log(e.name ); }\n "
4949 + "</script></body></html>" ;
5050
5151 loadPageVerifyTitle2 (html );
@@ -71,7 +71,7 @@ public void triggerEvent() throws Exception {
7171 + " var e = document.createEvent('MouseEvents');\n "
7272 + " e.initEvent('click', true, false);\n "
7373 + " document.getElementById('rect').dispatchEvent(e);\n "
74- + " } catch (e) { log('exception' ); }\n "
74+ + " } catch (e) { log(e.name ); }\n "
7575 + " }\n "
7676 + "</script>\n "
7777 + "</head>\n "
You can’t perform that action at this time.
0 commit comments