layout/reftests/xul-document-load/test004.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/xul-document-load/test004.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,14 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<!--
     1.6 +Any copyright is dedicated to the Public Domain.
     1.7 +http://creativecommons.org/licenses/publicdomain/
     1.8 +-->
     1.9 +<?xml-stylesheet href="test004.css" type="text/css"?>
    1.10 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    1.11 +        style="background-color: green" onload="handleOnLoad();">
    1.12 +<script type="text/javascript">
    1.13 +function handleOnLoad() {
    1.14 +  document.removeChild(document.firstChild);
    1.15 +}
    1.16 +</script>
    1.17 +</window>
    1.18 \ No newline at end of file

mercurial