changeset 205:eaef28f55f92

Bug 692997 Ensure trailing spaces in pageloader manifest are properly trimmed r=jmaher
author Clint Talbert <ctalbert@mozilla.com>
date Mon, 10 Oct 2011 14:41:18 -0700
parents 4dec1e56c677
children beca399c3a16
files chrome/pageloader.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/chrome/pageloader.js	Tue Sep 27 09:29:52 2011 -0400
+++ b/chrome/pageloader.js	Mon Oct 10 14:41:18 2011 -0700
@@ -619,7 +619,7 @@
     s = s.replace(/#.*/, '');
 
     // strip leading and trailing whitespace
-    s = s.replace(/^\s*/, '').replace(/s\*$/, '');
+    s = s.replace(/^\s*/, '').replace(/\s*$/, '');
 
     if (!s)
       continue;