Hi,

Thanks for the reply.

I have tried it on a background page.  I'm able to add standard tables
but
I get that error with the Create Virtual Table command.

-w


On Jan 3, 11:10 pm, PhistucK <phist...@gmail.com> wrote:
> Are you doing it from a content script? If you do, try it with a background
> page.
>
> ☆PhistucK
>
> On Sun, Jan 3, 2010 at 23:06, willwagner <willwag...@gmail.com> wrote:
> > Hi,
>
> > I'm trying to set up a web database to do full text search which has
> > been fruitless.  Here's the code:
>
> >  var db = window.openDatabase("TestDB", "1.0.0", "TestDB", 0, function
> > (){
> >            console.log("opened");
> > });
> > var nullHandler = function() {};
> > var errorHandler = function(tx, err){
> >            console.log("ERROR: " + err.message + " (CODE " + err.code
> > + ")");
> > };
>
> > db.transaction(
> >       function (tx){
> >                tx.executeSql('CREATE VIRTUAL TABLE testfts USING FTS3
> > (title , content);', [], nullHandler, errorHandler);
> >            }
> >        );
>
> > The result I'm getting is:
>
> > ERROR: not authorized (CODE 1)
>
> > I'm wondering if this approach is a lost cause, an error on my part,
> > or something that might be fixed in the future.
>
> > Thanks!
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Chromium-extensions" group.
> > To post to this group, send email to chromium-extensi...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/chromium-extensions?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to chromium-extensi...@googlegroups.com.
To unsubscribe from this group, send email to 
chromium-extensions+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en.


Reply via email to