mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Bug 1095236 - Test that windows opened from content with dialog=1 still open. r=mrbkap.
Relanding CLOSED TREE --HG-- extra : source : 11cb6379251ae9efd70bf3bc1f8fab9b66b3d964 extra : amend_source : 6a585ebc1cb80896b598a76cb4275b4ee9f1cee8
This commit is contained in:
parent
30c59e510c
commit
c569672024
@ -193,6 +193,10 @@ add_task(function* test_window_open_with_non_defaults() {
|
||||
yield testLinkWithMatrix("#winOpenNonDefault", kWinOpenNonDefault);
|
||||
});
|
||||
|
||||
add_task(function* test_window_open_dialog() {
|
||||
yield testLinkWithMatrix("#winOpenDialog", kWinOpenNonDefault);
|
||||
});
|
||||
|
||||
add_task(function* test_target__blank() {
|
||||
yield testLinkWithMatrix("#targetBlank", kTargetBlank);
|
||||
});
|
||||
|
@ -6,6 +6,7 @@
|
||||
<body>
|
||||
<p><a id="winOpenDefault" href="#" onclick="return openWindow();">Open a new window via window.open with default features.</a></p>
|
||||
<p><a id="winOpenNonDefault" href="#" onclick="return openWindow('resizable=no, toolbar=no, scrollbars=no, menubar=no, status=no, directories=no, height=100, width=500');">Open a new window via window.open with non-default features.</a></p>
|
||||
<p><a id="winOpenDialog" href="#" onclick="return openWindow('dialog=yes');">Open a new window via window.open with dialog=1.</a></p>
|
||||
<p><a id="targetBlank" href="about:robots" target="_blank">Open a new window via target="_blank".</a></p>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user