[tbb-commits] [tor-browser/esr24] Bug 1005552 - Followup to fix test failures. r=me a=me

mikeperry at torproject.org mikeperry at torproject.org
Fri Aug 29 05:26:40 UTC 2014


commit 0a5eddbe0ce5757cd734991bd103d95b67fa403c
Author: Bobby Holley <bobbyholley at gmail.com>
Date:   Tue May 20 20:31:34 2014 -0700

    Bug 1005552 - Followup to fix test failures. r=me a=me
---
 layout/style/xbl-marquee/xbl-marquee.xml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layout/style/xbl-marquee/xbl-marquee.xml b/layout/style/xbl-marquee/xbl-marquee.xml
index 3e7e3a4..2a883ac 100644
--- a/layout/style/xbl-marquee/xbl-marquee.xml
+++ b/layout/style/xbl-marquee/xbl-marquee.xml
@@ -264,7 +264,7 @@
                   //
                   // NB: Make sure to wrap the constructor in parentheses to
                   // deal with the weird precedence of |new| in JS.
-                  this["_on" + aName] = new (XPCNativeWrapper.unwrap(window.Function))("event", aValue);
+                  this["_on" + aName] = new (XPCNativeWrapper.unwrap(window).Function)("event", aValue);
                 }
                 catch(e) {
                   return false;





More information about the tbb-commits mailing list