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

imported trac ticket
created: 2011-07-02 08:16:55
reporter: justin

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?