From bfee207d1a9a91ac4d2b60ef672856fada406030 Mon Sep 17 00:00:00 2001 From: Tobie Langel Date: Sun, 9 Mar 2008 07:14:28 +0000 Subject: [PATCH] prototype: Stop form observers in unit tests. Closes #10938. --- CHANGELOG | 2 ++ test/unit/form.html | 3 +++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 44bbc36..c30a25c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,5 @@ +* Stop form observers in unit tests. Closes #10938. [kangax] + * Performance improvements for Enumerables. Closes #11264. [Ben, Samuel Lebeau] * deprecation extension: mark Hash.toJSON() as removed. [Tobie Langel] diff --git a/test/unit/form.html b/test/unit/form.html index 3e8aaec..81c1deb 100644 --- a/test/unit/form.html +++ b/test/unit/form.html @@ -191,6 +191,7 @@ assertEqual(1, timedCounter); wait(550, function() { assertEqual(1, timedCounter); + observer.stop(); }); }); }); @@ -219,6 +220,7 @@ assertEqual(1, timedCounter); wait(550, function() { assertEqual(1, timedCounter); + observer.stop(); }); }); }); @@ -244,6 +246,7 @@ assertEqual(1, timedCounter); wait(550, function() { assertEqual(1, timedCounter); + observer.stop(); }); }); });