From 56d97ef7523d80d38b9a05d0e155dafdffcb7c0c Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Wed, 29 Jun 2011 10:28:09 +1000 Subject: [PATCH] Fix Buffer#getAllFrames deprecation call. --HG-- extra : rebase_source : 9affca91ef61f291a53e8c34066f6b0c14c06803 --- common/content/buffer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/buffer.js b/common/content/buffer.js index e63c8c8c..aa5f091e 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -1102,7 +1102,7 @@ var Buffer = Module("buffer", { this.setZoom(Math.round(values[i] * 100), fullZoom); }, - getAllFrames: deprecated("buffer.allFrames", function getAllFrames() buffer.getAllFrames.apply(buffer, arguments)), + getAllFrames: deprecated("buffer.allFrames", "allFrames"), scrollTop: deprecated("buffer.scrollToPercent", function scrollTop() buffer.scrollToPercent(null, 0)), scrollBottom: deprecated("buffer.scrollToPercent", function scrollBottom() buffer.scrollToPercent(null, 100)), scrollStart: deprecated("buffer.scrollToPercent", function scrollStart() buffer.scrollToPercent(0, null)),