mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
Bug 1168376: Show transferred size in request summary instead of decompressed size
https://github.com/MoonchildProductions/moebius/pull/93 - without: DOMContentLoaded and load
This commit is contained in:
parent
8d210f18c8
commit
173d356acd
11 changed files with 177 additions and 70 deletions
|
|
@ -33,6 +33,10 @@ add_task(function* () {
|
|||
totals: {
|
||||
size: value => "Hello " + L10N.numberWithDecimals(value, 2),
|
||||
label: value => "World " + L10N.numberWithDecimals(value, 2)
|
||||
},
|
||||
header: {
|
||||
label1: "",
|
||||
label2: ""
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -53,9 +57,9 @@ add_task(function* () {
|
|||
ok(node.querySelector(".table-chart-container"),
|
||||
"A table chart was created successfully.");
|
||||
|
||||
is(rows.length, 3, "There should be 3 pie chart slices created.");
|
||||
is(rows.length, 3, "There should be 3 table chart rows created.");
|
||||
is(sums.length, 2, "There should be 2 total summaries created.");
|
||||
is(rows.length, 4, "There should be 3 pie chart slices and 1 header created.");
|
||||
is(rows.length, 4, "There should be 3 table chart rows and 1 header created.");
|
||||
is(sums.length, 2, "There should be 2 total summaries and 1 header created.");
|
||||
|
||||
yield teardown(monitor);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue