Bug 1119503 - Part 3: Change test_aboutmemory.xul in order to not expect a newline at the very end of the copied text; r=njn
☠☠ backed out by b2b10231606b ☠ ☠
authorEhsan Akhgari <ehsan@mozilla.com>
Sun, 18 Jan 2015 08:28:13 -0500
changeset 239429 8c2129ff88976e02da6b3ce53fc6a09ceb93d0e1
parent 239428 ff9012ee428a7de3ab2fa3c28ad30c36895888b6
child 239430 5ccef8ecf3195770b9bcbb1b318a3e97335a5991
push id497
push usermleibovic@mozilla.com
push dateWed, 28 Jan 2015 16:43:37 +0000
reviewersnjn
bugs1119503
milestone38.0a1
Bug 1119503 - Part 3: Change test_aboutmemory.xul in order to not expect a newline at the very end of the copied text; r=njn After the patches in this bug, we only inject a newline at block element boundaries.
toolkit/components/aboutmemory/tests/test_aboutmemory.xul
--- a/toolkit/components/aboutmemory/tests/test_aboutmemory.xul
+++ b/toolkit/components/aboutmemory/tests/test_aboutmemory.xul
@@ -364,17 +364,17 @@ 99.95 MB (100.0%) -- explicit\n\
        └──-0.04 MB (-0.04%) -- d [?!]\n\
           ├───0.02 MB (00.02%) ── e\n\
           └──-0.06 MB (-0.06%) ── f [?!]\n\
 \n\
 Other Measurements\n\
 \n\
 100.00 MB ── heap-allocated\n\
 \n\
-End of 5th\n\
+End of 5th \
 ";
 
   let amvExpectedText =
 "\
 Main Process\n\
 Explicit Allocations\n\
 \n\
 653,876,224 B (100.0%) -- explicit\n\
@@ -533,17 +533,17 @@ 104,801,280 B (100.0%) -- explicit\n\
        └──-40,960 B (-0.04%) -- d [?!]\n\
           ├───20,480 B (00.02%) ── e\n\
           └──-61,440 B (-0.06%) ── f [?!]\n\
 \n\
 Other Measurements\n\
 \n\
 104,857,600 B ── heap-allocated\n\
 \n\
-End of 5th\n\
+End of 5th \
 ";
 
   function finish()
   {
     mgr.unblockRegistrationAndRestoreOriginalReporters();
     SimpleTest.finish();
   }