Page 2 of 2

Re: "permissions.sqlite" Integration

Posted: Tue Dec 14, 2010 10:16 am
by Lucas Malor
Preamble: I don't know how it works and if FX 4 is different.
I was thinking about this: what if Fx adds a support for extensions in permissions.sqlite? I'm thinking about a table like this:
id, type of match (domain, url-prefix, url, regexp), matching string, list of extensions to be applied with optional additional data.
When a match is successful, the id is sent to each extension in the list with its optional additional data.
Do you think it's good to open a new bug for this at bugzilla@mozilla?

Re: "permissions.sqlite" Integration

Posted: Tue Dec 21, 2010 10:53 am
by Lucas Malor
mmmhhh... up?

Re: "permissions.sqlite" Integration

Posted: Tue Dec 21, 2010 12:15 pm
by Giorgio Maone
Lucas Malor wrote:Do you think it's good to open a new bug for this at bugzilla@mozilla?
Nope.
Extensions can already peek into that data (either directly or thrugh an API).
Just, for some usages (like script blocking) it's not convenient performance wise.
Maybe I'll have to turn to something like that (with a proper and smart caching mechanism, though) when porting some features to Electrolysis.

Re: "permissions.sqlite" Integration

Posted: Wed Dec 22, 2010 5:15 pm
by Lucas Malor
Giorgio Maone wrote:Just, for some usages (like script blocking) it's not convenient performance wise.
... [little ot] Is there something in Fx it's a convenient performance wise? :P Fx 4 too seems to me it has a better rending speed but a very slow GUI. [/little ot]

Re: "permissions.sqlite" Integration

Posted: Wed Dec 22, 2010 6:06 pm
by Giorgio Maone
Firefox 4 look quite snappy to me: definitely snappier than 3.6.x and more or less equal to Chrome -- faster, indeed, on some tasks.