I went off and created a test case with only necessary code. When I ran the code it actually worked, so I went back and checked my original extension. The problem still existed there.
I figured it would be best to just zip the whole extension and send it, but wanted to clean away some unused parts (removed one method, one file and "browser_action" from manifest). I ran the extension again and now it worked too. Very odd! I tried to revert all changes I did to see if I could reproduce the error, but it didn't throw any errors then either. It looks very much like a bug, but when I can't reproduce the bug I guess it's quite hard for you guys to do anything about it. If I get the error again I'll zip it up and send it! BTW I'm running version 4.0.221.6 (build 28091). Just to clarify my extension is working as expected now. /Manticore On Oct 15, 8:13 pm, shahfazal <[email protected]> wrote: > I think he's talking about Cleeki. > > > > On Thu, Oct 15, 2009 at 11:09 AM, Aaron Boodman <[email protected]> wrote: > > > Other Chrome extensions? Or do you mean Firefox ones? > > > Can you create a simplified test case? This could conceivably be a bug > > in isolated worlds. > > > - a > > > On Thu, Oct 15, 2009 at 10:26 AM, Manticore <[email protected]> wrote: > > > > Hey, > > > > I'm trying to get the current selected text and then pass it to my > > > background page, but whenever I run the method window.getSelection() > > > it throws this error: "RangeError: Maximum call stack size exceeded". > > > I know other extensions use this exact method too and don't run into > > > problems. Also the code runs fine if I run it directly inside the > > > console. > > > > What am I doing wrong here? > > > > /Manticore --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en -~----------~----~----~----~------~----~------~--~---
