Hi, I'm currently executing javascript in pages from a content script by injecting a script tag into the document, firing a DOM event when it's done to know when it's done, and return strings, to get around sandboxing.
This is working fine in general, but breaks for iframes. Specifically, I'm trying to inject a script tag into the iframe which has no src. If I do this in an ordinary page with javascript in, rather than from a content script, the event fires just fine. If I inject the script into the whole page from the content script, rather than into the iframe, the event fires fine. But if I inject it in to the iframe, the event is not seen by the listener in the content script. Is this an intentional part of the sandbox, or has something which should be able to get through accidentally not (warranting a bug report)? Thanks (and sorry for being so horribly edge casey once again!) Daniel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
