Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky

Differential Revision: https://phabricator.services.mozilla.com/D53052

--HG--
rename : docshell/test/chrome/bug112564_window.xul => docshell/test/chrome/bug112564_window.xhtml
rename : docshell/test/chrome/bug113934_window.xul => docshell/test/chrome/bug113934_window.xhtml
rename : docshell/test/chrome/bug215405_window.xul => docshell/test/chrome/bug215405_window.xhtml
rename : docshell/test/chrome/bug293235_window.xul => docshell/test/chrome/bug293235_window.xhtml
rename : docshell/test/chrome/bug294258_window.xul => docshell/test/chrome/bug294258_window.xhtml
rename : docshell/test/chrome/bug298622_window.xul => docshell/test/chrome/bug298622_window.xhtml
rename : docshell/test/chrome/bug301397_window.xul => docshell/test/chrome/bug301397_window.xhtml
rename : docshell/test/chrome/bug303267_window.xul => docshell/test/chrome/bug303267_window.xhtml
rename : docshell/test/chrome/bug311007_window.xul => docshell/test/chrome/bug311007_window.xhtml
rename : docshell/test/chrome/bug321671_window.xul => docshell/test/chrome/bug321671_window.xhtml
rename : docshell/test/chrome/bug360511_window.xul => docshell/test/chrome/bug360511_window.xhtml
rename : docshell/test/chrome/bug364461_window.xul => docshell/test/chrome/bug364461_window.xhtml
rename : docshell/test/chrome/bug396519_window.xul => docshell/test/chrome/bug396519_window.xhtml
rename : docshell/test/chrome/bug396649_window.xul => docshell/test/chrome/bug396649_window.xhtml
rename : docshell/test/chrome/bug449778_window.xul => docshell/test/chrome/bug449778_window.xhtml
rename : docshell/test/chrome/bug449780_window.xul => docshell/test/chrome/bug449780_window.xhtml
rename : docshell/test/chrome/bug454235-subframe.xul => docshell/test/chrome/bug454235-subframe.xhtml
rename : docshell/test/chrome/bug582176_window.xul => docshell/test/chrome/bug582176_window.xhtml
rename : docshell/test/chrome/bug608669.xul => docshell/test/chrome/bug608669.xhtml
rename : docshell/test/chrome/bug662200_window.xul => docshell/test/chrome/bug662200_window.xhtml
rename : docshell/test/chrome/bug690056_window.xul => docshell/test/chrome/bug690056_window.xhtml
rename : docshell/test/chrome/bug89419_window.xul => docshell/test/chrome/bug89419_window.xhtml
rename : docshell/test/chrome/bug92598_window.xul => docshell/test/chrome/bug92598_window.xhtml
rename : docshell/test/chrome/mozFrameType_window.xul => docshell/test/chrome/mozFrameType_window.xhtml
rename : docshell/test/chrome/test_bug112564.xul => docshell/test/chrome/test_bug112564.xhtml
rename : docshell/test/chrome/test_bug113934.xul => docshell/test/chrome/test_bug113934.xhtml
rename : docshell/test/chrome/test_bug215405.xul => docshell/test/chrome/test_bug215405.xhtml
rename : docshell/test/chrome/test_bug293235.xul => docshell/test/chrome/test_bug293235.xhtml
rename : docshell/test/chrome/test_bug294258.xul => docshell/test/chrome/test_bug294258.xhtml
rename : docshell/test/chrome/test_bug298622.xul => docshell/test/chrome/test_bug298622.xhtml
rename : docshell/test/chrome/test_bug301397.xul => docshell/test/chrome/test_bug301397.xhtml
rename : docshell/test/chrome/test_bug303267.xul => docshell/test/chrome/test_bug303267.xhtml
rename : docshell/test/chrome/test_bug311007.xul => docshell/test/chrome/test_bug311007.xhtml
rename : docshell/test/chrome/test_bug321671.xul => docshell/test/chrome/test_bug321671.xhtml
rename : docshell/test/chrome/test_bug360511.xul => docshell/test/chrome/test_bug360511.xhtml
rename : docshell/test/chrome/test_bug364461.xul => docshell/test/chrome/test_bug364461.xhtml
rename : docshell/test/chrome/test_bug396519.xul => docshell/test/chrome/test_bug396519.xhtml
rename : docshell/test/chrome/test_bug396649.xul => docshell/test/chrome/test_bug396649.xhtml
rename : docshell/test/chrome/test_bug449778.xul => docshell/test/chrome/test_bug449778.xhtml
rename : docshell/test/chrome/test_bug449780.xul => docshell/test/chrome/test_bug449780.xhtml
rename : docshell/test/chrome/test_bug453650.xul => docshell/test/chrome/test_bug453650.xhtml
rename : docshell/test/chrome/test_bug454235.xul => docshell/test/chrome/test_bug454235.xhtml
rename : docshell/test/chrome/test_bug456980.xul => docshell/test/chrome/test_bug456980.xhtml
rename : docshell/test/chrome/test_bug565388.xul => docshell/test/chrome/test_bug565388.xhtml
rename : docshell/test/chrome/test_bug582176.xul => docshell/test/chrome/test_bug582176.xhtml
rename : docshell/test/chrome/test_bug608669.xul => docshell/test/chrome/test_bug608669.xhtml
rename : docshell/test/chrome/test_bug662200.xul => docshell/test/chrome/test_bug662200.xhtml
rename : docshell/test/chrome/test_bug690056.xul => docshell/test/chrome/test_bug690056.xhtml
rename : docshell/test/chrome/test_bug789773.xul => docshell/test/chrome/test_bug789773.xhtml
rename : docshell/test/chrome/test_bug846906.xul => docshell/test/chrome/test_bug846906.xhtml
rename : docshell/test/chrome/test_bug89419.xul => docshell/test/chrome/test_bug89419.xhtml
rename : docshell/test/chrome/test_bug92598.xul => docshell/test/chrome/test_bug92598.xhtml
rename : docshell/test/chrome/test_docRedirect.xul => docshell/test/chrome/test_docRedirect.xhtml
rename : docshell/test/chrome/test_mozFrameType.xul => docshell/test/chrome/test_mozFrameType.xhtml
rename : docshell/test/chrome/test_principalInherit.xul => docshell/test/chrome/test_principalInherit.xhtml
rename : docshell/test/chrome/test_viewsource_forbidden_in_iframe.xul => docshell/test/chrome/test_viewsource_forbidden_in_iframe.xhtml
extra : moz-landing-system : lando
This commit is contained in:
Emma Malysz 2019-11-14 23:59:30 +00:00
Родитель d69dc58f66
Коммит 8a282338d2
59 изменённых файлов: 87 добавлений и 87 удалений

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

@ -6,85 +6,85 @@ support-files =
662200c.html
89419.html
92598_nostore.html
bug112564_window.xul
bug113934_window.xul
bug215405_window.xul
bug112564_window.xhtml
bug113934_window.xhtml
bug215405_window.xhtml
bug293235.html
bug293235_p2.html
bug293235_window.xul
bug293235_window.xhtml
bug294258_testcase.html
bug294258_window.xul
bug298622_window.xul
bug294258_window.xhtml
bug298622_window.xhtml
bug301397_1.html
bug301397_2.html
bug301397_3.html
bug301397_4.html
bug301397_window.xul
bug301397_window.xhtml
bug303267.html
bug303267_window.xul
bug311007_window.xul
bug321671_window.xul
bug303267_window.xhtml
bug311007_window.xhtml
bug321671_window.xhtml
bug360511_case1.html
bug360511_case2.html
bug360511_window.xul
bug364461_window.xul
bug396519_window.xul
bug396649_window.xul
bug449778_window.xul
bug449780_window.xul
bug454235-subframe.xul
bug582176_window.xul
bug608669.xul
bug662200_window.xul
bug690056_window.xul
bug360511_window.xhtml
bug364461_window.xhtml
bug396519_window.xhtml
bug396649_window.xhtml
bug449778_window.xhtml
bug449780_window.xhtml
bug454235-subframe.xhtml
bug582176_window.xhtml
bug608669.xhtml
bug662200_window.xhtml
bug690056_window.xhtml
bug846906.html
bug89419_window.xul
bug89419_window.xhtml
bug909218.html
bug909218.js
bug92598_window.xul
bug92598_window.xhtml
docshell_helpers.js
file_viewsource_forbidden_in_iframe.html
generic.html
mozFrameType_window.xul
mozFrameType_window.xhtml
test_docRedirect.sjs
[test_allowContentRetargeting.html]
[test_bug112564.xul]
[test_bug113934.xul]
[test_bug215405.xul]
[test_bug293235.xul]
[test_bug112564.xhtml]
[test_bug113934.xhtml]
[test_bug215405.xhtml]
[test_bug293235.xhtml]
skip-if = true # bug 1393441
[test_bug294258.xul]
[test_bug298622.xul]
[test_bug301397.xul]
[test_bug294258.xhtml]
[test_bug298622.xhtml]
[test_bug301397.xhtml]
skip-if = (os == 'win' && processor == 'aarch64') # bug 1533819
[test_bug303267.xul]
[test_bug311007.xul]
[test_bug321671.xul]
[test_bug360511.xul]
[test_bug364461.xul]
[test_bug303267.xhtml]
[test_bug311007.xhtml]
[test_bug321671.xhtml]
[test_bug360511.xhtml]
[test_bug364461.xhtml]
skip-if = (os == 'win' && processor == 'aarch64') # bug 1533814
[test_bug396519.xul]
[test_bug396649.xul]
[test_bug396519.xhtml]
[test_bug396649.xhtml]
[test_bug428288.html]
[test_bug449778.xul]
[test_bug449780.xul]
[test_bug453650.xul]
[test_bug454235.xul]
[test_bug456980.xul]
[test_bug565388.xul]
[test_bug449778.xhtml]
[test_bug449780.xhtml]
[test_bug453650.xhtml]
[test_bug454235.xhtml]
[test_bug456980.xhtml]
[test_bug565388.xhtml]
skip-if = true # Bug 1026815,Bug 1546159
[test_bug582176.xul]
[test_bug608669.xul]
[test_bug662200.xul]
[test_bug690056.xul]
[test_bug789773.xul]
[test_bug846906.xul]
[test_bug89419.xul]
[test_bug582176.xhtml]
[test_bug608669.xhtml]
[test_bug662200.xhtml]
[test_bug690056.xhtml]
[test_bug789773.xhtml]
[test_bug846906.xhtml]
[test_bug89419.xhtml]
[test_bug909218.html]
[test_bug92598.xul]
[test_mozFrameType.xul]
[test_principalInherit.xul]
[test_viewsource_forbidden_in_iframe.xul]
[test_bug92598.xhtml]
[test_mozFrameType.xhtml]
[test_principalInherit.xhtml]
[test_viewsource_forbidden_in_iframe.xhtml]
skip-if = true # bug 1019315
[test_docRedirect.xul]
[test_docRedirect.xhtml]

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

@ -8,7 +8,7 @@
#
# perl gen_template.pl -b 303267
#
# Writes test case template files test_bug303267.xul and bug303267_window.xul
# Writes test case template files test_bug303267.xhtml and bug303267_window.xhtml
# to the current directory.
use FindBin;
@ -18,7 +18,7 @@ GetOptions("b=i"=> \$bug_number);
$template = "$FindBin::RealBin/test.template.txt";
open(IN,$template) or die("Failed to open input file for reading.");
open(OUT, ">>test_bug" . $bug_number . ".xul") or die("Failed to open output file for appending.");
open(OUT, ">>test_bug" . $bug_number . ".xhtml") or die("Failed to open output file for appending.");
while((defined(IN)) && ($line = <IN>)) {
$line =~ s/{BUGNUMBER}/$bug_number/g;
print OUT $line;
@ -29,7 +29,7 @@ close(OUT);
$template = "$FindBin::RealBin/window.template.txt";
open(IN,$template) or die("Failed to open input file for reading.");
open(OUT, ">>bug" . $bug_number . "_window.xul") or die("Failed to open output file for appending.");
open(OUT, ">>bug" . $bug_number . "_window.xhtml") or die("Failed to open output file for appending.");
while((defined(IN)) && ($line = <IN>)) {
$line =~ s/{BUGNUMBER}/$bug_number/g;
print OUT $line;

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

@ -28,7 +28,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=112564
/** Test for Bug 112564 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug112564_window.xul", "bug112564",
window.openDialog("bug112564_window.xhtml", "bug112564",
"chrome,width=600,height=600,noopener", window);
]]>

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

@ -21,7 +21,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=113934
SimpleTest.waitForExplicitFinish();
addLoadEvent(function() {
window.openDialog("bug113934_window.xul?content", "bug113934",
window.openDialog("bug113934_window.xhtml?content", "bug113934",
"chrome,width=800,height=800,noopener", window);
});

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

@ -28,7 +28,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=215405
/** Test for Bug 215405 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug215405_window.xul", "bug215405",
window.openDialog("bug215405_window.xhtml", "bug215405",
"chrome,width=600,height=600,noopener", window);
]]>

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

@ -29,7 +29,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=293235.xul
/** Test for Bug 293235 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug293235_window.xul", "bug293235",
window.openDialog("bug293235_window.xhtml", "bug293235",
"chrome,width=600,height=600,noopener", window);
]]>

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

@ -29,7 +29,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=294258.xul
/** Test for Bug 294258 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug294258_window.xul", "bug294258",
window.openDialog("bug294258_window.xhtml", "bug294258",
"chrome,width=600,height=600,noopener", window);
]]>

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

@ -29,7 +29,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=298622.xul
/** Test for Bug 298622 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug298622_window.xul", "bug298622",
window.openDialog("bug298622_window.xhtml", "bug298622",
"chrome,width=600,height=600,noopener", window);
]]>

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

@ -29,7 +29,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=301397.xul
/** Test for Bug 301397 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug301397_window.xul", "bug301397",
window.openDialog("bug301397_window.xhtml", "bug301397",
"chrome,width=600,height=600,noopener", window);
]]>

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

@ -30,7 +30,7 @@ SimpleTest.expectAssertions(0, 1);
/** Test for Bug 303267 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug303267_window.xul", "bug303267",
window.openDialog("bug303267_window.xhtml", "bug303267",
"chrome,width=600,height=600,noopener", window);
]]>

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

@ -33,7 +33,7 @@ if (navigator.platform.startsWith("Win")) {
/** Test for Bug 311007 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug311007_window.xul", "bug311007",
window.openDialog("bug311007_window.xhtml", "bug311007",
"chrome,width=600,height=600,noopener", window);
]]>

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

@ -29,7 +29,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=321671.xul
/** Test for Bug 321671 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug321671_window.xul", "bug321671",
window.openDialog("bug321671_window.xhtml", "bug321671",
"chrome,width=600,height=600,scrollbars,noopener", window);
]]>

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

@ -30,7 +30,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=360511.xul
/** Test for Bug 360511 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug360511_window.xul", "bug360511",
window.openDialog("bug360511_window.xhtml", "bug360511",
"chrome,scrollbars,width=600,height=600,noopener", window);
]]>

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

@ -34,7 +34,7 @@ SpecialPowers.pushPrefEnv({
}, runTests);
function runTests() {
window.openDialog("bug364461_window.xul", "bug364461",
window.openDialog("bug364461_window.xhtml", "bug364461",
"chrome,width=600,height=600,noopener", window);
}
]]>

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

@ -21,7 +21,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=396519
/** Test for Bug 396519 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug396519_window.xul", "bug396519",
window.openDialog("bug396519_window.xhtml", "bug396519",
"chrome,width=600,height=600,noopener", window);
]]></script>

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

@ -32,7 +32,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=396649.xul
/** Test for Bug 396649 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug396649_window.xul", "bug396649",
window.openDialog("bug396649_window.xhtml", "bug396649",
"chrome,width=600,height=600,scrollbars,noopener", window);
]]>

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

@ -21,7 +21,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=449778
SimpleTest.waitForExplicitFinish();
addLoadEvent(function() {
window.openDialog("bug449778_window.xul", "bug449778",
window.openDialog("bug449778_window.xhtml", "bug449778",
"chrome,width=800,height=800,noopener", window);
});

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

@ -21,7 +21,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=449780
SimpleTest.waitForExplicitFinish();
addLoadEvent(function() {
window.openDialog("bug449780_window.xul", "bug449780",
window.openDialog("bug449780_window.xhtml", "bug449780",
"chrome,width=800,height=800,noopener", window);
});

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

@ -49,7 +49,7 @@ function doTest() {
]]></script>
<box flex="1" style="visibility: hidden; border:5px black solid">
<browser style="border:5px blue solid" id="hiddenBrowser" src="bug454235-subframe.xul"/>
<browser style="border:5px yellow solid" id="offScreenBrowser" src="bug454235-subframe.xul"/>
<browser style="border:5px blue solid" id="hiddenBrowser" src="bug454235-subframe.xhtml"/>
<browser style="border:5px yellow solid" id="offScreenBrowser" src="bug454235-subframe.xhtml"/>
</box>
</window>

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

@ -21,7 +21,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=456980
SimpleTest.waitForExplicitFinish();
addLoadEvent(function() {
window.openDialog("bug113934_window.xul?chrome", "bug456980",
window.openDialog("bug113934_window.xhtml?chrome", "bug456980",
"chrome,width=800,height=800,noopener", window);
});

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

@ -29,7 +29,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=582176.xul
/** Test for Bug 582176 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug582176_window.xul", "bug582176",
window.openDialog("bug582176_window.xhtml", "bug582176",
"chrome,width=600,height=600,noopener", window);
]]>

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

@ -55,14 +55,14 @@ function* doTest() {
is(notificationCount, 1, "after created window");
// Try loading in the window
testWin.location = "bug608669.xul";
testWin.location = "bug608669.xhtml";
chromeWindow.onmessage = nextTest;
yield undefined;
is(notificationCount, 1, "after first load");
is(testWin.x, "y", "reused window");
// Try loading again in the window
testWin.location = "bug608669.xul?x";
testWin.location = "bug608669.xhtml?x";
chromeWindow.onmessage = nextTest;
yield undefined;
is(notificationCount, 2, "after second load");

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

@ -29,7 +29,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=662200.xul
/** Test for Bug 662200 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug662200_window.xul", "bug662200",
window.openDialog("bug662200_window.xhtml", "bug662200",
"chrome,width=600,height=600,noopener", window);
]]>

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

@ -19,7 +19,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=690056
<![CDATA[
/** Test for Bug 690056 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug690056_window.xul", "bug690056",
window.openDialog("bug690056_window.xhtml", "bug690056",
"chrome,width=600,height=600,noopener", window);
]]>
</script>

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

@ -29,7 +29,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=89419.xul
/** Test for Bug 89419 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug89419_window.xul", "bug89419",
window.openDialog("bug89419_window.xhtml", "bug89419",
"chrome,width=600,height=600,noopener", window);
]]>

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

@ -28,7 +28,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=92598
/** Test for Bug 92598 **/
SimpleTest.waitForExplicitFinish();
window.openDialog("bug92598_window.xul", "bug92598",
window.openDialog("bug92598_window.xhtml", "bug92598",
"chrome,width=600,height=600,noopener", window);
]]>

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

@ -32,7 +32,7 @@ if (navigator.platform.startsWith("Win")) {
SimpleTest.waitForExplicitFinish();
addLoadEvent(function () {
window.openDialog("mozFrameType_window.xul", "mozFrameType",
window.openDialog("mozFrameType_window.xhtml", "mozFrameType",
"chrome,width=600,height=600,noopener", window);
});

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

@ -30,7 +30,7 @@
//
function testIterator()
{
// Test steps go here. See bug303267_window.xul for an example.
// Test steps go here. See bug303267_window.xhtml for an example.
// Tell the framework the test is finished. Include the final 'yield'
// statement to prevent a StopIteration exception from being thrown.