[HtmlUnit] SVN: [15541] trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ javascript/host/event/BeforeUnloadEvent2Test.java
rbri--- via HtmlUnit-develop <[email protected]> Fri, 24 Aug 2018 17:08:02 +0000
| Newsgroups | gmane.comp.java.htmlunit.devel |
|---|---|
| Message-ID | <[email protected]> |
Revision: 15541
http://sourceforge.net/p/htmlunit/code/15541
Author: rbri
Date: 2018-08-24 17:08:01 +0000 (Fri, 24 Aug 2018)
Log Message:
-----------
test fix
Modified Paths:
--------------
trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/event/BeforeUnloadEvent2Test.java
Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/event/BeforeUnloadEvent2Test.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/event/BeforeUnloadEvent2Test.java 2018-08-24 16:53:34 UTC (rev 15540)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/event/BeforeUnloadEvent2Test.java 2018-08-24 17:08:01 UTC (rev 15541)
@@ -116,8 +116,7 @@
* @throws Exception if the test fails
*/
@Test
- @Alerts(DEFAULT = "First",
- IE = "Second")
+ @Alerts("First")
public void setNullReturnString() throws Exception {
onbeforeunload("e.returnValue = null;\n"
+ "return 'Hello'");
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot