Bug 663844 - move layout/generic/test/*.xul to mochitest-chrome. r=ted, a=test-only

This commit is contained in:
Joel Maher 2011-06-25 13:42:23 -04:00
Родитель fac9cc0418
Коммит 2607b35af1
6 изменённых файлов: 105 добавлений и 110 удалений

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

@ -47,94 +47,94 @@ include $(topsrcdir)/config/rules.mk
# in the list below, we make sure that the tests that require focus
# run before test_plugin_clipping, which can steal focus for its window.
_TEST_FILES = \
bug344830_testembed.svg \
frame_selection_underline.xhtml \
frame_selection_underline-ref.xhtml \
frame_selection_underline.css \
plugin_clipping_helper.xhtml \
plugin_clipping_helper2.xhtml \
plugin_clipping_helper_transformed.xhtml \
plugin_clipping_helper_table.xhtml \
plugin_clipping_lib.js \
plugin_focus_helper.html \
test_backspace_delete.xul \
test_bug240933.html \
test_bug263683.html \
test_bug288789.html \
test_bug290397.html \
test_bug323656.html \
test_bug344830.html \
test_bug348681.html \
test_bug382429.html \
test_bug384527.html \
test_bug385751.html \
test_bug389630.html \
test_bug391747.html \
test_bug392746.html \
test_bug392923.html \
test_bug394173.html \
test_bug394239.html \
test_bug402380.html \
test_bug404872.html \
test_bug405178.html \
test_bug416168.html \
test_bug421436.html \
$(warning test_bug421839-1.html disabled because it calls finish twice which can cause timeouts) \
test_bug421839-2.html \
bug421839-2-page.html \
test_bug424627.html \
test_bug438840.html \
test_bug448860.html \
test_bug460532.html \
test_bug468167.html \
test_bug469613.xul \
test_bug469774.xul \
test_bug470212.html \
$(warning test_bug488417.html temporarily disabled - see bug 489560) \
test_bug496275.html \
test_bug503813.html \
test_bug508115.xul \
$(warning test_bug507902.html temporarily disabled - see bug 510001) \
test_bug514732.html \
test_bug527306.html \
test_bug579767.html \
test_bug597333.html \
test_image_selection.html \
test_invalidate_during_plugin_paint.html \
test_movement_by_characters.html \
test_movement_by_words.html \
test_plugin_clipping.xhtml \
test_plugin_clipping2.xhtml \
test_plugin_clipping_transformed.xhtml \
test_plugin_clipping_table.xhtml \
test_plugin_focus.html \
test_plugin_mouse_coords.html \
test_plugin_position.xhtml \
test_selection_expanding.html \
selection_expanding_xbl.xml \
test_selection_underline.html \
file_BrokenImageReference.png \
file_Dolske.png \
file_IconTestServer.sjs \
file_LoadingImageReference.png \
file_bug514732_1.html \
file_bug514732_helper.html \
file_bug579767_1.html \
file_bug579767_2.html \
test_bug522632.html \
test_bug589621.html \
test_bug589623.html \
test_bug632379.xul \
test_bug633762.html \
bug633762_iframe.html \
$(srcdir)/../../reftests/backgrounds/blue-32x32.png \
$(srcdir)/../../reftests/backgrounds/fuchsia-32x32.png \
$(NULL)
bug344830_testembed.svg \
frame_selection_underline.xhtml \
frame_selection_underline-ref.xhtml \
frame_selection_underline.css \
plugin_clipping_helper.xhtml \
plugin_clipping_helper2.xhtml \
plugin_clipping_helper_transformed.xhtml \
plugin_clipping_helper_table.xhtml \
plugin_clipping_lib.js \
plugin_focus_helper.html \
test_bug240933.html \
test_bug263683.html \
test_bug288789.html \
test_bug290397.html \
test_bug323656.html \
test_bug344830.html \
test_bug348681.html \
test_bug382429.html \
test_bug384527.html \
test_bug385751.html \
test_bug389630.html \
test_bug391747.html \
test_bug392746.html \
test_bug392923.html \
test_bug394173.html \
test_bug394239.html \
test_bug402380.html \
test_bug404872.html \
test_bug405178.html \
test_bug416168.html \
test_bug421436.html \
$(warning test_bug421839-1.html disabled because it calls finish twice which can cause timeouts) \
test_bug421839-2.html \
bug421839-2-page.html \
test_bug424627.html \
test_bug438840.html \
test_bug448860.html \
test_bug460532.html \
test_bug468167.html \
test_bug470212.html \
$(warning test_bug488417.html temporarily disabled - see bug 489560) \
test_bug496275.html \
test_bug503813.html \
$(warning test_bug507902.html temporarily disabled - see bug 510001) \
test_bug514732.html \
test_bug527306.html \
test_bug579767.html \
test_bug597333.html \
test_image_selection.html \
test_invalidate_during_plugin_paint.html \
test_movement_by_characters.html \
test_movement_by_words.html \
test_plugin_clipping.xhtml \
test_plugin_clipping2.xhtml \
test_plugin_clipping_transformed.xhtml \
test_plugin_clipping_table.xhtml \
test_plugin_focus.html \
test_plugin_mouse_coords.html \
test_plugin_position.xhtml \
test_selection_expanding.html \
selection_expanding_xbl.xml \
test_selection_underline.html \
file_BrokenImageReference.png \
file_Dolske.png \
file_IconTestServer.sjs \
file_LoadingImageReference.png \
file_bug514732_1.html \
file_bug514732_helper.html \
file_bug579767_1.html \
file_bug579767_2.html \
test_bug522632.html \
test_bug589621.html \
test_bug589623.html \
test_bug633762.html \
bug633762_iframe.html \
$(srcdir)/../../reftests/backgrounds/blue-32x32.png \
$(srcdir)/../../reftests/backgrounds/fuchsia-32x32.png \
$(NULL)
_CHROME_FILES = \
test_bug514732-2.xul \
file_bug514732_window.xul \
$(NULL)
test_bug632379.xul \
test_bug508115.xul \
test_bug469613.xul \
test_bug469774.xul \
test_backspace_delete.xul \
test_bug514732-2.xul \
file_bug514732_window.xul \
$(NULL)
libs:: $(_TEST_FILES)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)

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

@ -1,11 +1,11 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?>
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
title="Test BackSpace/Delete Keys">
<script type="application/javascript" src="/MochiKit/packed.js"></script>
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="application/javascript" src="chrome://mochikit/content/MochiKit/packed.js"></script>
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
<script class="testbody" type="application/javascript">
<![CDATA[
@ -33,8 +33,6 @@ function execTests() {
sel.collapse(n, firstChildOffsetForCaret);
}
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
/* On Unix systems we have to check for a bug in Pango's handling of Thai
* script (bug 474068 and http://bugzilla.gnome.org/show_bug.cgi?id=576156 ).
* We assume that ctypes is available, and the library can be accessed as

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

@ -1,6 +1,6 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?>
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=469613
-->
@ -8,9 +8,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=469613
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<title>Test for Bug 469613</title>
<script type="application/javascript" src="/MochiKit/packed.js" />
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"/>
<script type="application/javascript" src="/tests/SimpleTest/EventUtils.js"/>
<script type="application/javascript" src="chrome://mochikit/content/MochiKit/packed.js" />
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"/>
<body xmlns="http://www.w3.org/1999/xhtml">
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=469613">Mozilla Bug 469613</a>
@ -28,8 +28,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=469613
/** Test for Bug 469613 **/
function doTest() {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
let scrollbox = document.getElementById("scrollbox");
scrollbox.scrollTop = 0;

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

@ -1,6 +1,6 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?>
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=469774
-->
@ -8,9 +8,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=469774
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<title>Test for Bug 469774</title>
<script type="application/javascript" src="/MochiKit/packed.js" />
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"/>
<script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
<script type="application/javascript" src="chrome://mochikit/content/MochiKit/packed.js" />
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
<script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/WindowSnapshot.js"></script>
<vbox height="50"/>
@ -34,7 +34,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=469774
// Like snapshotWindow, but with DRAWWINDOW_DRAW_CARET
function snapShot() {
netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserRead');
var canvas = document.createElementNS("http://www.w3.org/1999/xhtml", "canvas");
canvas.setAttribute("width", 200);
canvas.setAttribute("height", 50);

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

@ -1,6 +1,6 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?>
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=508115
-->
@ -10,9 +10,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=508115
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<title>Test for Bug 508115</title>
<script type="application/javascript" src="/MochiKit/packed.js" />
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"/>
<script type="application/javascript" src="/tests/SimpleTest/EventUtils.js"/>
<script type="application/javascript" src="chrome://mochikit/content/MochiKit/packed.js" />
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"/>
<body xmlns="http://www.w3.org/1999/xhtml">
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=508115">Mozilla Bug 508115</a>

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

@ -1,6 +1,6 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?>
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=632379
-->
@ -8,9 +8,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=632379
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<title>Test for Bug 632379</title>
<script type="application/javascript" src="/MochiKit/packed.js" />
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"/>
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
<script type="application/javascript" src="chrome://mochikit/content/MochiKit/packed.js" />
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
<script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
<toolbox flex="1">
<menubar>