Bug 1144351 - Add newline at the end of 'JSDOMParser error' messages. r=mfinkle a=readinglist
authorJesse Ruderman <jruderman@gmail.com>
Tue, 17 Mar 2015 21:06:06 -0700
changeset 248434 090a386f48d55cfd5c9ebd868013854bb2905aa6
parent 248433 8492c9dae13c3f5ab25ea54b052393adafa6a8ca
child 248435 3e0c6d66b371d3ec541d8159d2e71360870b0911
push id7837
push userjwein@mozilla.com
push dateFri, 27 Mar 2015 00:27:16 +0000
treeherdermozilla-aurora@cb0db44ce60e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle, readinglist
bugs1144351
milestone38.0a2
Bug 1144351 - Add newline at the end of 'JSDOMParser error' messages. r=mfinkle a=readinglist
toolkit/components/reader/JSDOMParser.js
--- a/toolkit/components/reader/JSDOMParser.js
+++ b/toolkit/components/reader/JSDOMParser.js
@@ -22,17 +22,17 @@
  *   2) Live NodeLists are not supported. DOM methods and properties such as
  *      getElementsByTagName() and childNodes return standard arrays. If you
  *      want these lists to be updated when nodes are removed or added to the
  *      document, you must take care to manually update them yourself.
  */
 (function (global) {
 
   function error(m) {
-    dump("JSDOMParser error: " + m);
+    dump("JSDOMParser error: " + m + "\n");
   }
 
   // When a style is set in JS, map it to the corresponding CSS attribute
   let styleMap = {
     "alignmentBaseline": "alignment-baseline",
     "background": "background",
     "backgroundAttachment": "background-attachment",
     "backgroundClip": "background-clip",