1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-27 05:03:32 +01:00

Make buffer.URL a string again. Use buffer.uri and buffer.documentURI internally. Fix loading Object stores.

This commit is contained in:
Kris Maglione
2011-01-16 12:14:43 -05:00
parent 7d178cfb34
commit 5b56624043
10 changed files with 42 additions and 35 deletions

View File

@@ -1272,7 +1272,7 @@ var Events = Module("events", {
"Pass certain keys through directly for the given URLs",
"regexpmap", "", {
has: function (key) {
let url = buffer.URI.spec;
let url = buffer.documentURI.spec;
for (let re in values(this.value))
if (re.test(url) && re.result.some(function (k) k === key))
return true;