Invert exception types in the exception specification corresponding to |import dbus; ...stuff that might throw a dbus exception| so that failure to import dbus will be caught, rather than triggering a "NameError: name 'dbus' is not defined" error.  Followup to bug 981146, r=trivial

--HG--
extra : rebase_source : f3439471f361ea16f74161a3ee68b9227e2c0eb9
Bug 1037609 - Remove the js_strdup(cx, jschars) method entirely, seeing as there are so few other uses of it.  r=jimb

--HG--
extra : rebase_source : 1a611dccabaddccebc522943559a2ea1f1703811
Bug 1043683 - Make RegExpStatics::makeMatch sane about not taking two arguments, one of which is always double the other (yet has its parity tested).  r=ae.anderson0@gmail.com

--HG--
extra : rebase_source : 13b576c6e15b8f4f0ad7e639ccdcaaf609bc10b5
Bug 369778 - RegExp capturing groups that aren't matched during a match (because of, say, a *?+{n}{n,m} quantifier that means they're never used) should be matched as |undefined|, not as the empty string.  r=jwalden

--HG--
extra : rebase_source : cf5710ee19dbdc0ee9b50d9a75d94e4e04584ec4
Bug 369778 - Fix two RegExps that expect an unmatched capture group expands to the empty string, not to |undefined|.  r=dolske

--HG--
extra : rebase_source : fdb86de8aba51af285f6293ee4bff8fd4b477d6f