From 4635efa1db6619dcdc09a6d0eb4f9bcbab6d6bd5 Mon Sep 17 00:00:00 2001 From: Peter Van der Beken Date: Tue, 14 Jul 2009 16:04:55 +0200 Subject: [PATCH] Fix for bug 485881 (test_bug409380.html has unbound variable r). r/sr=smaug. --HG-- extra : rebase_source : 355574ce1a831e8ea1e06891b6d0a7b3b6cc57ed --- content/base/test/test_bug409380.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/base/test/test_bug409380.html b/content/base/test/test_bug409380.html index 038ec49f264..885a8ec54b4 100644 --- a/content/base/test/test_bug409380.html +++ b/content/base/test/test_bug409380.html @@ -41,7 +41,7 @@ function runRangeTest() "It should be possible to select text node even if the node is not in DOM."); hadException = false; try { - r.insertNode(document.createTextNode('5')); + range.insertNode(document.createTextNode('5')); } catch (ex) { hadException = true; }