RequestPolicy/requestpolicy — Issue #242: regular expression "is not a function" error with Fx trunk
Author: jsamuel
Created: 2011-12-22 06:04:28+00:00
State: open
Labels: extension

Herrminator [http://forums.mozillazine.org/viewtopic.php?p=10943093#p10943093 reports]:

I don't remember since when exactly, but since one of the latest reg-exp landings on trunk (probably Bug 660734), !RequestPolicy is showing these errors in the log:

{{{
Code: Select all
Error: /^\s*(\S*?)\s*(;\s*url\s*=\s*(.*?)\s*)?$/i is not a function
Source File: resource://requestpolicy/DomainUtil.jsm
Line: 278
}}}

E.g. when visiting http://tinderbox.mozilla.org/showbuilds.cgi?tree=Firefox. Any ideas?