Bug 1519577 Remove test_bug562554.xul dependence on button.xml r=bzbarsky

This is essentially reverting the test changes from bug 653881.  The
platform changes that motivated bug 653881 were reverted in bug 888787
but the test changes were left in place at that time.

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

--HG--
extra : rebase_source : c9ce1fff9cf65c0a949176e2ec2b27920f334b17
This commit is contained in:
Andrew Swan 2019-05-14 16:33:38 -07:00
parent a2113dc0fe
commit 9fb635fed3

View File

@ -9,22 +9,14 @@
<script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
<script src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
<xbl:bindings xmlns:xbl="http://www.mozilla.org/xbl">
<xbl:binding id="menu" extends="chrome://global/content/bindings/button.xml#button-base">
<xbl:content>
<xbl:children includes="menupopup"/>
<xul:stack>
<xul:button width="100" left="0" top="0" height="30" allowevents="true"
onclick="eventReceived('clickbutton1'); return false;"/>
<xul:button width="100" left="70" top="0" height="30"
onclick="eventReceived('clickbutton2'); return false;"/>
</xul:stack>
</xbl:content>
</xbl:binding>
</xbl:bindings>
<toolbarbutton type="menu" id="toolbarmenu" height="200" style="-moz-binding: url(#menu);">
<toolbarbutton type="menu" id="toolbarmenu" height="200">
<menupopup id="menupopup" onpopupshowing="eventReceived('popupshowing'); return false;"/>
<stack>
<button width="100" left="0" top="0" height="30" allowevents="true"
onclick="eventReceived('clickbutton1'); return false;"/>
<button width="100" left="70" top="0" height="30"
onclick="eventReceived('clickbutton2'); return false;"/>
</stack>
</toolbarbutton>
<!-- test results are displayed in the html:body -->