Bug 1058405 - Fix typo in function name. r=jryans

This commit is contained in:
Wes Kocher 2014-09-15 17:18:19 -07:00
parent dd01c823a8
commit 4c4d7c7767

View File

@ -51,7 +51,7 @@ function addDirToZip(writer, dir, basePath) {
* Convert an XPConnect result code to its name and message.
* We have to extract them from an exception per bug 637307 comment 5.
*/
function getResultTest(code) {
function getResultText(code) {
let regexp =
/^\[Exception... "(.*)" nsresult: "0x[0-9a-fA-F]* \((.*)\)" location: ".*" data: .*\]$/;
let ex = Cc["@mozilla.org/js/xpc/Exception;1"].