diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-02-28 16:02:31 +0100 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-02-28 16:02:31 +0100 |
commit | abf60058584772437a317fbc27ea32cbda4a07cb (patch) | |
tree | 9cd95e40a1daf21868890190ee4955da24cf98b3 /devtools/client/netmonitor/test/browser_net_charts-05.js | |
parent | 9fafdd4546bb51ff2a29a67f369797d19d614350 (diff) | |
download | UXP-abf60058584772437a317fbc27ea32cbda4a07cb.tar UXP-abf60058584772437a317fbc27ea32cbda4a07cb.tar.gz UXP-abf60058584772437a317fbc27ea32cbda4a07cb.tar.lz UXP-abf60058584772437a317fbc27ea32cbda4a07cb.tar.xz UXP-abf60058584772437a317fbc27ea32cbda4a07cb.zip |
Bug 1168376: Show transferred size in request summary instead of decompressed size
https://github.com/MoonchildProductions/moebius/pull/93
- without: DOMContentLoaded and load
Diffstat (limited to 'devtools/client/netmonitor/test/browser_net_charts-05.js')
-rw-r--r-- | devtools/client/netmonitor/test/browser_net_charts-05.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/devtools/client/netmonitor/test/browser_net_charts-05.js b/devtools/client/netmonitor/test/browser_net_charts-05.js index 00445b132..c444d2c65 100644 --- a/devtools/client/netmonitor/test/browser_net_charts-05.js +++ b/devtools/client/netmonitor/test/browser_net_charts-05.js @@ -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); }); |