From 4b53118ff622520d4b29976dca0786b827244aac Mon Sep 17 00:00:00 2001 From: "timeless%mac.com" Date: Wed, 17 Apr 2002 03:42:29 +0000 Subject: [PATCH] Bug 136932 TestCSSPropertyLookup is broken r=karnaze rs=darin --- layout/html/tests/TestCSSPropertyLookup.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layout/html/tests/TestCSSPropertyLookup.cpp b/layout/html/tests/TestCSSPropertyLookup.cpp index 3a26d8f38f24..cac61b3d6b3c 100644 --- a/layout/html/tests/TestCSSPropertyLookup.cpp +++ b/layout/html/tests/TestCSSPropertyLookup.cpp @@ -54,6 +54,9 @@ int TestProps() { nsCSSProperty id; nsCSSProperty index; + // Everything appears to assert if we don't do this first... + nsCSSProps::AddRefTable(); + // First make sure we can find all of the tags that are supposed to // be in the table. Futz with the case to make sure any case will // work @@ -102,6 +105,7 @@ int TestProps() { } } + nsCSSProps::ReleaseTable(); return rv; }