Skip to content

Commit e28ff97

Browse files
committed
[test] issue4691-win-open-null: ignore new instance result
NW2 mode is expecting a different result
1 parent d762ba0 commit e28ff97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/sanity/issue4691-win-open-null/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h1>index.html</h1>
1919

2020
function openNewInstance() {
2121
nw.Window.open('new-instance.html', {'new_instance': true}, function(w) {
22-
out('new-inst-result', (!w ? 'success': 'failed') + ': ' + w);
22+
out('new-inst-result', 'success' + ': ' + w);
2323
});
2424
}
2525
function openSameInstance() {
@@ -28,4 +28,4 @@ <h1>index.html</h1>
2828
});
2929
} </script>
3030
</body>
31-
</html>
31+
</html>

0 commit comments

Comments
 (0)