Bug 1742785: Update more tests within dom/ and docshell/ to work with https-first enabled r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D132007
This commit is contained in:
Christoph Kerschbaumer 2021-11-30 09:21:45 +00:00
Родитель 4839650179
Коммит b4d3e55408
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -33,7 +33,7 @@ async function countAndClose(name, expected_count) {
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=279495">Mozilla Bug 279495</a>
<div id="links">
<a id="link0" target="window0" onclick="window.open('blank.html', 'window0', 'width=10,height=10');">This is a fancy hyperlink</a>
<a id="link1" target="window1" onclick="window.open('http://test1.example.org:80/tests/docshell/test/navigation/blank.html', 'window1', 'width=10,height=10');">This is a fancy hyperlink</a>
<a id="link1" target="window1" onclick="window.open('https://test1.example.org/tests/docshell/test/navigation/blank.html', 'window1', 'width=10,height=10');">This is a fancy hyperlink</a>
</div>
<pre id="test">
<script type="text/javascript">

Просмотреть файл

@ -36,7 +36,7 @@
*/
const kContentDoc =
"http://www.example.com/browser/dom/tests/browser/test_new_window_from_content_child.html";
"https://www.example.com/browser/dom/tests/browser/test_new_window_from_content_child.html";
const kNewWindowPrefKey = "browser.link.open_newwindow";
const kNewWindowRestrictionPrefKey = "browser.link.open_newwindow.restriction";
const kSameTab = "same tab";