<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 02/05/2013 11:51 AM, Yahor
      Radtsevich wrote:<br>
    </div>
    <blockquote
cite="mid:CANu2rkpWXyi2zCcVF3=7-SzMKWAFOwHhKqqNatYsM-sC+RE1+A@mail.gmail.com"
      type="cite">
      <pre wrap="">On Tue, Feb 5, 2013 at 1:25 PM, Mickael Istria <a class="moz-txt-link-rfc2396E" href="mailto:mistria@redhat.com">&lt;mistria@redhat.com&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">On 02/05/2013 11:07 AM, Yahor Radtsevich wrote:

On Tue, Feb 5, 2013 at 10:44 AM, Mickael Istria <a class="moz-txt-link-rfc2396E" href="mailto:mistria@redhat.com">&lt;mistria@redhat.com&gt;</a> wrote:

Hi Yahor et al.

I have some ideas/questions regarding integration of those tools in
BrowserSim and JBT/JBDS.
* Since most of them at actually HTML code, could the pop-up open in a
dedicated view inside JBT/JBDS? Would it make sense in term of usability?

Now BrowserSim opens as a separate process.

I understand that, and I think it's good to have it in a separate process.
What I had in mind is that the tab that contain the "debugger"
(Firefox-Lite, Weinre, Ripple..) probably has an URL and opens in a browser.
So if it's an URL, this could be opened inside an Eclipse view or editor
when launching BrowserSim. Don't you think it will improve usability and
consistency of the tools we provide?


* I remember a presentation at EclipseCon which highlighted usage of
BrowserFunction to make a nice interaction between web content -displayed in
SWT Browser- and Eclipse. See
<a class="moz-txt-link-freetext" href="http://eclipsecon.org/2010/sessions/?page=sessions&amp;id=1418">http://eclipsecon.org/2010/sessions/?page=sessions&amp;id=1418</a> and
<a class="moz-txt-link-freetext" href="http://www.slideshare.net/bokowski/embedding-web-uis-in-your-eclipse-application">http://www.slideshare.net/bokowski/embedding-web-uis-in-your-eclipse-application</a>
. Do you have any plan to leverage this for a better integration of Ripple
and co in JBT/JBDS ?

Actually BrowserSim is an SWT-based application. SWT Browser widget
and BrowserFunction are already widely used in it.
We can integrate BrowserSim/Ripple windows in any Eclipse view, but
unfortunately it will lead to lots of Eclipse crashes and poor user
experience.

Indeed, it would be a complex and risky integration. I'm not trying to push
a feature here ;) That was just an idea I wanted to share in order to make
HTML debugging possible from inside Eclipse rather that in
yet-another-window.
</pre>
      </blockquote>
      <pre wrap="">Now I get your idea. Yes, this would be great!

Sadly, there are some limitations:
* Firebug Lite and Ripple require to be in the same process with
BrowserSim, because they communicate with BrowserSim as child/parent
browser windows.</pre>
    </blockquote>
    Ok, I did not know about the linkage of those 2 windows through
    child/parent browser window. It makes sense. What would be very fun
    then would be to have browsers allowing to have child/parent windows
    in different process with a protocol to communicate between them.<br>
    But I guess I'm going to far ;)<br>
    <br>
    <blockquote
cite="mid:CANu2rkpWXyi2zCcVF3=7-SzMKWAFOwHhKqqNatYsM-sC+RE1+A@mail.gmail.com"
      type="cite">
      <pre wrap="">* Weinre requires to be run in WebKit-based browser, which means the
same JVM crashes are possible.</pre>
    </blockquote>
    Ok.<br>
    <div class="moz-signature">-- <br>
      Mickael Istria<br>
      Eclipse developer at <a href="http://www.jboss.org/tools">JBoss,
        by Red Hat</a><br>
      <a href="http://mickaelistria.wordpress.com">My blog</a> - <a
        href="http://twitter.com/mickaelistria">My Tweets</a></div>
  </body>
</html>