1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/xul/test/test_bug398982-1.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +<?xml version="1.0"?> 1.5 +<?xml-stylesheet href="chrome://global/skin" type="text/css"?> 1.6 +<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?> 1.7 +<menuitem xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.8 + xmlns:html="http://www.w3.org/1999/xhtml" 1.9 + style="position: absolute; "> 1.10 +<!-- 1.11 +https://bugzilla.mozilla.org/show_bug.cgi?id=398982 1.12 +--> 1.13 + <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script> 1.14 + 1.15 +<tooltip type="zzz"> 1.16 +<treecols/> 1.17 +</tooltip> 1.18 + 1.19 +<script xmlns="http://www.w3.org/1999/xhtml" class="testbody" type="application/javascript"> 1.20 +<![CDATA[ 1.21 +function doe() { 1.22 + document.getElementsByTagName('menuitem')[0].removeAttribute('style'); 1.23 + is(0, 0, "Test is successful if we get here without crashing"); 1.24 + SimpleTest.finish(); 1.25 +} 1.26 +function do_test() { 1.27 + setTimeout(doe, 200); 1.28 +} 1.29 +SimpleTest.waitForExplicitFinish(); 1.30 +addLoadEvent(do_test); 1.31 +]]> 1.32 +</script> 1.33 +<html:body></html:body> <!-- XXX SimpleTest.showReport() requires a html:body --> 1.34 +</menuitem>