mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 09:32:28 +01:00
Make buffer.UR[LI] nsIURI objects. Fix bug in chrome-data:.
This commit is contained in:
@@ -1267,7 +1267,7 @@ var Events = Module("events", {
|
||||
"Pass certain keys through directly for the given URLs",
|
||||
"regexpmap", "", {
|
||||
has: function (key) {
|
||||
let url = buffer.URI;
|
||||
let url = buffer.URI.spec;
|
||||
for (let re in values(this.value))
|
||||
if (re.test(url) && re.result.some(function (k) k === key))
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user