mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 627885 - Reduce test_value_cloning test output, r=dbaron
This commit is contained in:
parent
f5d589c40a
commit
5b5e408e95
@ -155,9 +155,17 @@ function iframe_loaded(event)
|
||||
|
||||
if (!("backend_only" in info)) {
|
||||
var end_compute = get_computed_value(test_cs[idx], current_item.prop);
|
||||
is(end_compute, start_compute[idx],
|
||||
"computed values should match when cloning " +
|
||||
current_item.prop + ": " + current_item.value);
|
||||
// Output computed values only when the test failed.
|
||||
// Computed values may be very long.
|
||||
if (end_compute == start_compute[idx]) {
|
||||
ok(true,
|
||||
"computed values should match when cloning " +
|
||||
current_item.prop + ": " + current_item.value);
|
||||
} else {
|
||||
is(end_compute, start_compute[idx],
|
||||
"computed values should match when cloning " +
|
||||
current_item.prop + ": " + current_item.value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user