@@ -35,8 +35,7 @@ public class ApplicationCacheTest extends WebDriverTestCase {
3535 * @throws Exception if the test fails
3636 */
3737 @ Test
38- @ Alerts (DEFAULT = "undefined" ,
39- IE = "[object ApplicationCache]" )
38+ @ Alerts ("undefined" )
4039 public void scriptableToString () throws Exception {
4140 final String html = HtmlPageTest .STANDARDS_MODE_PREFIX_
4241 + "<html><head>\n "
@@ -56,8 +55,7 @@ public void scriptableToString() throws Exception {
5655 * @throws Exception if the test fails
5756 */
5857 @ Test
59- @ Alerts (DEFAULT = "no applicationCache" ,
60- IE = "function(e){}" )
58+ @ Alerts ("no applicationCache" )
6159 public void onchecking () throws Exception {
6260 eventHandler ("onchecking" );
6361 }
@@ -66,8 +64,7 @@ public void onchecking() throws Exception {
6664 * @throws Exception if the test fails
6765 */
6866 @ Test
69- @ Alerts (DEFAULT = "no applicationCache" ,
70- IE = "function(e){}" )
67+ @ Alerts ("no applicationCache" )
7168 public void onerror () throws Exception {
7269 eventHandler ("onerror" );
7370 }
@@ -76,8 +73,7 @@ public void onerror() throws Exception {
7673 * @throws Exception if the test fails
7774 */
7875 @ Test
79- @ Alerts (DEFAULT = "no applicationCache" ,
80- IE = "function(e){}" )
76+ @ Alerts ("no applicationCache" )
8177 public void onnoupdate () throws Exception {
8278 eventHandler ("onnoupdate" );
8379 }
@@ -86,8 +82,7 @@ public void onnoupdate() throws Exception {
8682 * @throws Exception if the test fails
8783 */
8884 @ Test
89- @ Alerts (DEFAULT = "no applicationCache" ,
90- IE = "function(e){}" )
85+ @ Alerts ("no applicationCache" )
9186 public void ondownloading () throws Exception {
9287 eventHandler ("ondownloading" );
9388 }
@@ -96,8 +91,7 @@ public void ondownloading() throws Exception {
9691 * @throws Exception if the test fails
9792 */
9893 @ Test
99- @ Alerts (DEFAULT = "no applicationCache" ,
100- IE = "function(e){}" )
94+ @ Alerts ("no applicationCache" )
10195 public void onprogress () throws Exception {
10296 eventHandler ("onprogress" );
10397 }
@@ -106,8 +100,7 @@ public void onprogress() throws Exception {
106100 * @throws Exception if the test fails
107101 */
108102 @ Test
109- @ Alerts (DEFAULT = "no applicationCache" ,
110- IE = "function(e){}" )
103+ @ Alerts ("no applicationCache" )
111104 public void onupdateready () throws Exception {
112105 eventHandler ("onupdateready" );
113106 }
@@ -116,8 +109,7 @@ public void onupdateready() throws Exception {
116109 * @throws Exception if the test fails
117110 */
118111 @ Test
119- @ Alerts (DEFAULT = "no applicationCache" ,
120- IE = "function(e){}" )
112+ @ Alerts ("no applicationCache" )
121113 public void oncached () throws Exception {
122114 eventHandler ("oncached" );
123115 }
@@ -149,8 +141,7 @@ private void eventHandler(final String handler) throws Exception {
149141 * @throws Exception if the test fails
150142 */
151143 @ Test
152- @ Alerts (DEFAULT = "no applicationCache" ,
153- IE = {"false" , "false" , "false" , "true" , "true" })
144+ @ Alerts ("no applicationCache" )
154145 public void eventListener () throws Exception {
155146 final String html = HtmlPageTest .STANDARDS_MODE_PREFIX_
156147 + "<html><head>\n "
0 commit comments