|
The document.write() indeed does not trigger an error. The div is a
better option, which gets nicely added when I force the type to
"div". Is there an option available through which I can properly
have firebug load via div? Though maybe the iframe is still better
when sandboxing comes into play (it's one of the ways to create a
sandbox). Btw, an issue that I came across but forgot to mention in my previous mail is that AIR uses "app:/my/path/to/firebug-lite.js" as source url. That caused the script tags to incorrectly get src values containing "app:/app:/my/path/to/....". My quick ugly workaround was to set a path.replace('app:/app:/','app:/') in firebug-lite-dev.js, but I'll see if I can do a "clean" fix too :). As far as the "loading from the application directory" is concerned, in terms of location firebug is already placed in the application directory. For AIR the application directory is simply the "document root" of your application. Here however the emphasis is not on "application directory" but on "loading" as in not where but when the code is loaded. eval() can (just like document.write()) be used while the page is still loading for the first time. As soon as the dom has loaded, eval() and document.write() stop working. So it seems to me that that's not going to get us anywhere. The other link also doesn't look help, as the author's original problem seems to be a misplacement or bad naming of his html/_javascript_ page. The sandboxes however look very promising. I've never worked with them in AIR before, but with a simple proof I was able to perform an eval() within a sandbox. Bridging between the application sandbox and the non-application sandbox where eval() can be used shouldn't be hard, but that didn't immediately work, so it's something I'll have to postpone experimenting with until the weekend. Joining the Firebug Working Group is an idea, but first I'd like to experiment a bit more :). Regards, Marijn van Zon. On 08-Jun-11 03:33, Pedro Simonetti Garcia wrote: I just realized I replied to Marijn only, without forwarding this message to the newsgroup too. Here are the messages we exchanged earlier today:-- You received this message because you are subscribed to the Google Groups "Firebug" 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/firebug?hl=en. |
- Adobe AIR with Firebug 1.3.2 Rand
- Re: Adobe AIR with Firebug 1.3.2 Pedro Simonetti Garcia
- Re: Adobe AIR with Firebug 1.3.2 Rand
- Re: Adobe AIR with Firebug 1.3.2 Pedro Simonetti Garcia
- Re: Adobe AIR with Firebug 1.3.2 Marijn van Zon
- Adobe AIR with Firebug 1.3.2 Pedro Simonetti Garcia
- Re: Adobe AIR with Firebu... Marijn van Zon
