gecko-dev/js/xpconnect
L. David Baron ca5ebe4305 Bug 1157648 - Make nsScriptError::ToString use only the first 512 characters of mSourceName and mSourceLine. r=bholley
This means that when mSourceName and mSourceLine are large, ToString is
not excessively expensive.

This is particularly important for CSS errors, where we don't make an
attempt to truncate these prior to constructing the script error, but we
do ensure that when we report multiple errors on the same line (which is
common for minified CSS), we share from the same string buffer and avoid
copying.

--HG--
extra : transplant_source : %1D%A7%13%DBWzPC%9A%3DzHb%11BW%0CBya
2015-04-27 11:35:10 -07:00
..
crashtests Bug 851418 - Crashtest. r=bholley 2014-10-01 13:52:44 +02:00
idl Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv 2015-03-28 14:47:02 +01:00
loader Bug 1156632 - Remove unused forward class declarations - patch 7 - JS, r=sfink 2015-04-22 08:29:26 +02:00
public Bug 1156632 - Remove unused forward class declarations - patch 7 - JS, r=sfink 2015-04-22 08:29:26 +02:00
shell Bug 1118149 - Mark js/src as FAIL_ON_WARNINGS for gcc and clang. r=jorendorff 2014-12-14 22:10:10 -08:00
src Bug 1157648 - Make nsScriptError::ToString use only the first 512 characters of mSourceName and mSourceLine. r=bholley 2015-04-27 11:35:10 -07:00
tests Bug 1150253 - Part 3: Migrate onGarbageCollection tests; r=sfink 2015-04-22 09:43:02 -07:00
wrappers Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett 2015-04-23 15:51:28 +02:00
moz.build Bug 1139216 - Add BUG_COMPONENT information for js/xpconnect/. r=bholley 2015-03-04 14:07:59 -08:00