<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>68544</bug_id>
          
          <creation_ts>2011-09-21 10:41:03 -0700</creation_ts>
          <short_desc>[Qt] Remote Web Inspector&apos;s Script Panel does not work Qt webkit 2.2 RC1</short_desc>
          <delta_ts>2011-09-22 21:19:52 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector (Deprecated)</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>LATER</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>68616</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Sriram Neelakandan">sriram.neelakandan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ademar</cc>
    
    <cc>edufelipe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>470921</commentid>
    <comment_count>0</comment_count>
    <who name="Sriram Neelakandan">sriram.neelakandan</who>
    <bug_when>2011-09-21 10:41:03 -0700</bug_when>
    <thetext>1. Enable remote inspector using -remote-inspector-port  option while launching QtTestBrowser
2. Now try to Launch Remote Web Inspector for the page opened by QtTestBrowser
3. Most functions of Remote Web Inspector works except for Script Panel; which remains disabled even after clicking on &quot;Enable Debugger&quot; button

The fix lies in the following InspectorFrontendStub changeset in Webkit Trunk
http://trac.webkit.org/changeset/87744

Qt-webkit-2.2 branch still does not have this changeset cherry picked.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>470986</commentid>
    <comment_count>1</comment_count>
    <who name="Ademar Reis">ademar</who>
    <bug_when>2011-09-21 11:34:41 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; 1. Enable remote inspector using -remote-inspector-port  option while launching QtTestBrowser
&gt; 2. Now try to Launch Remote Web Inspector for the page opened by QtTestBrowser
&gt; 3. Most functions of Remote Web Inspector works except for Script Panel; which remains disabled even after clicking on &quot;Enable Debugger&quot; button
&gt; 

Sorry for the stupid question, but how can I perform step 2? I have never used the remote web inspector and have no idea how to enable or use it (and nobody from IRC right now either).

&gt; The fix lies in the following InspectorFrontendStub changeset in Webkit Trunk
&gt; http://trac.webkit.org/changeset/87744
&gt; 
&gt; Qt-webkit-2.2 branch still does not have this changeset cherry picked.

If this small commit is all that&apos;s needed to make it work properly, then the fix is a candidate for a future patch-level release (e.g.: QtWebKit-2.2.1). But first I have to figure out how to test it. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>471340</commentid>
    <comment_count>2</comment_count>
    <who name="Sriram Neelakandan">sriram.neelakandan</who>
    <bug_when>2011-09-21 21:05:03 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Sorry for the stupid question, but how can I perform step 2? I have never used the remote web inspector and have no idea how to enable or use it (and nobody from IRC right now either).

This will do it

1. ./QtTestBrowser -remote-inspector-port 9292
2. Load a page say www.google.com
3. Now use the latest version of chrome (websockets enabled version) and then connect to 127.0.0.1:9292/ 
4. Click on the Link displayed (google.com) to launch the Remote Inspector for that page



&gt; If this small commit is all that&apos;s needed to make it work properly, then the fix is a candidate for a future patch-level release (e.g.: QtWebKit-2.2.1). But first I have to figure out how to test it. :)

Yes its just a simple 2 line function fix... 

But the problem is, remote JS debugging for mobile developers will not be possible without this simple fix!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>471550</commentid>
    <comment_count>3</comment_count>
    <who name="Ademar Reis">ademar</who>
    <bug_when>2011-09-22 07:36:57 -0700</bug_when>
    <thetext>Problem tested and reproduced in 2.2, fix indeed works. I added it to the internal branch, It&apos;ll be part of our next minor update (2.2.1).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472056</commentid>
    <comment_count>4</comment_count>
    <who name="Sriram Neelakandan">sriram.neelakandan</who>
    <bug_when>2011-09-22 21:18:14 -0700</bug_when>
    <thetext>Thanks.

&gt;It&apos;ll be part of our next minor update (2.2.1).

Is there a master bug for 2.2.1 ? then i shall mark the dependency list or create one ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472059</commentid>
    <comment_count>5</comment_count>
    <who name="Sriram Neelakandan">sriram.neelakandan</who>
    <bug_when>2011-09-22 21:19:52 -0700</bug_when>
    <thetext>&gt; 
&gt; Is there a master bug for 2.2.1 ? 
Sorry, my bad Did not see #68616</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>