this makes sure that we process the former even if there were none of the latter. Bug 394676 and bug 394014, r=smaug, sr=sicking, a=roc git-svn-id: svn://10.0.0.236/trunk@235985 18797224-902f-48f8-a5cc-f745e15eee43
40 lines
840 B
HTML
40 lines
840 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
|
|
<head>
|
|
<bindings xmlns="http://www.mozilla.org/xbl">
|
|
<binding id="xbltest">
|
|
<implementation>
|
|
<constructor>
|
|
<![CDATA[
|
|
str += "constructor "
|
|
testFinished();
|
|
]]>
|
|
</constructor>
|
|
</implementation>
|
|
</binding>
|
|
</bindings>
|
|
</head>
|
|
<body>
|
|
<span id="test" style="-moz-binding: url(#xbltest)"></span>
|
|
<script class="testbody" type="text/javascript">
|
|
<![CDATA[
|
|
var testsToFinish = 2;
|
|
var str = "";
|
|
|
|
function testFinished() {
|
|
--testsToFinish;
|
|
if (!testsToFinish) {
|
|
document.getElementById("test").textContent = str;
|
|
document.documentElement.className = '';
|
|
}
|
|
}
|
|
|
|
window.onload = function() {
|
|
str += "onload ";
|
|
testFinished();
|
|
}
|
|
]]>
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|