mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 16:37:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
40
layout/reftests/bugs/394676-1.xhtml
Normal file
40
layout/reftests/bugs/394676-1.xhtml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<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[
|
||||
var win = XPCNativeWrapper.unwrap(window);
|
||||
win.str += "constructor "
|
||||
win.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>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue