mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-05 12:05:22 +00:00
Updating test case
This commit is contained in:
parent
6e617524fb
commit
29f33dc0fa
@ -9,7 +9,7 @@
|
||||
<html:script>
|
||||
var mode = "undetermined";
|
||||
function kickProgressMeter() {
|
||||
var meter = document.getElementByID("meter");
|
||||
var meter = document.getElementById("Browser:LoadingProgress");
|
||||
dump( "Meter was mode=" + meter.getAttribute("mode") + " value=" + meter.getAttribute("value") + "\n" );
|
||||
if ( mode == "undetermined" ) {
|
||||
mode = "normal";
|
||||
@ -27,20 +27,20 @@
|
||||
<broadcaster id="Browser:LoadingProgress"/>
|
||||
|
||||
<html:center>
|
||||
<html:table html:border html:cols=3 html:width="99%" html:style="color-background:rgb(192,192,192);">
|
||||
<html:table border cols=3 width="99%" style="color-background:rgb(192,192,192);">
|
||||
<html:tr>
|
||||
<html:td html:WIDTH="3%" html:nowrap html:style="border: 1px inset rgb(192,192,192);">
|
||||
<html:button html:onClick="kickProgressMeter()" html:height="12">
|
||||
<html:td width="3%" nowrap style="border: 1px inset rgb(192,192,192);">
|
||||
<html:button onclick="kickProgressMeter()" height="12">
|
||||
X
|
||||
</html:button>
|
||||
</html:td>
|
||||
<html:td html:WIDTH="15%" html:nowrap html:style="border: 1px inset rgb(192,192,192);">
|
||||
<html:td width="15%" nowrap style="border: 1px inset rgb(192,192,192);">
|
||||
<progressmeter id="meter" mode="normal" value="61">
|
||||
<observes element="Browser:LoadingProgress" attribute="value" />
|
||||
<observes element="Browser:LoadingProgress" attribute="mode" />
|
||||
</progressmeter>
|
||||
</html:td>
|
||||
<html:td html:WIDTH="82%" html:nowrap html:style="border: 1px inset rgb(192,192,192);">
|
||||
<html:td width="82%" nowrap style="border: 1px inset rgb(192,192,192);">
|
||||
Document: Done (even a stopped clock is right twice a day)
|
||||
</html:td>
|
||||
</html:tr>
|
||||
|
Loading…
Reference in New Issue
Block a user