From d9ab5459851311769fe6b1f83c309fe81235df81 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Sat, 23 Mar 2013 05:50:54 -0600 Subject: [PATCH] Stop ignoring global leaks The `goog.dom.ViewportSizeMonitor` (used in map.js) creates a global leak by setting `goog.UID_PROPERTY_` on the monitored window. In order to test that we don't have other global leaks, we preemptively set the property so Mocha can compare the global before and after our tests. --- test/ol.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/test/ol.html b/test/ol.html index 53108e4704..ed8a06bb0f 100644 --- a/test/ol.html +++ b/test/ol.html @@ -30,8 +30,7 @@ @@ -58,6 +57,15 @@