mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1241252, part 3 - Misc. cleanups in test_bug61098.html. r=mrbkap
Remove a redundant comment, check for the failure to throw an exception, remove trailing whitespace.
This commit is contained in:
parent
ab3b2f5af4
commit
eabaad6c5b
@ -313,10 +313,9 @@ function runtestsInner()
|
||||
w.showModalDialog("data:text/html,%3Cscript>window.close();%3C/script>")
|
||||
is (promptState, void(0), "Wrong prompt state");
|
||||
|
||||
// Test that showModalDialog() works normally and then gets blocked
|
||||
// on the second call.
|
||||
try {
|
||||
w.showModalDialog("data:text/html,%3Cscript>window.close();%3C/script>")
|
||||
ok(false, "showModalDialog call should throw an exception");
|
||||
} catch(e) {
|
||||
is(e.name, "NS_ERROR_NOT_AVAILABLE", "Wrong exception");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user