зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1095236 - Test that windows opened from content with dialog=1 still open. r=mrbkap.
--HG-- extra : commitid : K0O9jLpNT8J extra : rebase_source : c2451a8d140b99435af9c754a5656648d6ab946f extra : histedit_source : 93dab434745a51088d77e5b33dbef0a9161ea51c
This commit is contained in:
Родитель
722366ddf3
Коммит
00646ae181
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче