There's no good reason for this. See crbug.com/22110. It's on our short-term list now, so it may be addressed soon.
Erik On Fri, Sep 25, 2009 at 10:57 AM, Eric Dingle <[email protected]> wrote: > I was going over the UserScriptSlave::InjectScripts(...) method in > chrome\renderer\user_script_slave.cc, and noticed that each unique grouping > of content scripts (i.e., each individual DictionaryValue in the > content_scripts definition in the manifest file) is executed in a unique > global scope by invoking the WebKit::WebFrame::executeScriptInNewWorld > method. What is the reasoning behind this? This means that if I construct an > object in a script running at document_start, then I cannot access it in > another script running at document_end even if they are part of the same > extension, right? > Eric > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
