<?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>55363</bug_id>
          
          <creation_ts>2011-02-28 05:09:03 -0800</creation_ts>
          <short_desc>Web Inspector: [GTK] Gtk port does not provide content length information to inspector.</short_desc>
          <delta_ts>2011-02-28 11:15:40 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>53228</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Pavel Feldman">pfeldman</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alex</cc>
    
    <cc>gustavo</cc>
    
    <cc>svillar</cc>
    
    <cc>timothy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>358986</commentid>
    <comment_count>0</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2011-02-28 05:09:03 -0800</bug_when>
    <thetext>Network size test failes:
(http/tests/inspector/network/network-size.html):

http://build.webkit.org/results/GTK%20Linux%2032-bit%20Release/r79853%20(11179)/http/tests/inspector/network/network-size-pretty-diff.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359072</commentid>
    <comment_count>1</comment_count>
    <who name="Sergio Villar Senin">svillar</who>
    <bug_when>2011-02-28 08:26:53 -0800</bug_when>
    <thetext>Good to know that test exists!

I filed https://bugs.webkit.org/show_bug.cgi?id=53228 a while ago. Will check if my patch fixes this test and I&apos;ll kill two birds with one stone.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359075</commentid>
    <comment_count>2</comment_count>
    <who name="Alejandro G. Castro">alex</who>
    <bug_when>2011-02-28 08:30:38 -0800</bug_when>
    <thetext>I get this assertion failure locally with a debug build running that test, not sure if it is related:

ASSERTION FAILED: m_instrumentingAgents-&gt;inspectorBrowserDebuggerAgent()
../../../Source/WebCore/inspector/InspectorBrowserDebuggerAgent.cpp(129) : void WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged(const WTF::String&amp;)

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff598d014 in WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged (this=0x720d40, url=&quot;file:///home/alex/checkout/WebKit/LayoutTests/http/tests/inspector/network/network-size.html&quot;)
    at ../../../Source/WebCore/inspector/InspectorBrowserDebuggerAgent.cpp:129
129	    ASSERT(m_instrumentingAgents-&gt;inspectorBrowserDebuggerAgent());
(gdb) bt
#0  0x00007ffff598d014 in WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged (this=0x720d40, url=&quot;file:///home/alex/checkout/WebKit/LayoutTests/http/tests/inspector/network/network-size.html&quot;)
    at ../../../Source/WebCore/inspector/InspectorBrowserDebuggerAgent.cpp:129
#1  0x00007ffff598cfa6 in WebCore::InspectorBrowserDebuggerAgent::setAllBrowserBreakpoints (this=0x720d40, breakpoints=...) at ../../../Source/WebCore/inspector/InspectorBrowserDebuggerAgent.cpp:124
#2  0x00007ffff5f45fee in WebCore::InspectorBackendDispatcher::BrowserDebugger_setAllBrowserBreakpoints (this=0x71aa70, callId=9, requestMessageObject=0x15856d0) at DerivedSources/WebCore/InspectorBackendDispatcher.cpp:3082
#3  0x00007ffff5f4e088 in WebCore::InspectorBackendDispatcher::dispatch (this=0x71aa70, message=&quot;{\&quot;seq\&quot;:9,\&quot;domain\&quot;:\&quot;BrowserDebugger\&quot;,\&quot;command\&quot;:\&quot;setAllBrowserBreakpoints\&quot;,\&quot;arguments\&quot;:{\&quot;breakpoints\&quot;:{}}}&quot;)
    at DerivedSources/WebCore/InspectorBackendDispatcher.cpp:3597
#4  0x00007ffff5991713 in WebCore::InspectorController::dispatchMessageFromFrontend (this=0x71a990, message=&quot;{\&quot;seq\&quot;:9,\&quot;domain\&quot;:\&quot;BrowserDebugger\&quot;,\&quot;command\&quot;:\&quot;setAllBrowserBreakpoints\&quot;,\&quot;arguments\&quot;:{\&quot;breakpoints\&quot;:{}}}&quot;)
    at ../../../Source/WebCore/inspector/InspectorController.cpp:206
#5  0x00007ffff59c9aef in WebCore::InspectorFrontendClientLocal::sendMessageToBackend (this=0x6a41b0, message=&quot;{\&quot;seq\&quot;:9,\&quot;domain\&quot;:\&quot;BrowserDebugger\&quot;,\&quot;command\&quot;:\&quot;setAllBrowserBreakpoints\&quot;,\&quot;arguments\&quot;:{\&quot;breakpoints\&quot;:{}}}&quot;)
    at ../../../Source/WebCore/inspector/InspectorFrontendClientLocal.cpp:164
#6  0x00007ffff59ca374 in WebCore::InspectorFrontendHost::sendMessageToBackend (this=0x1297ad0, message=&quot;{\&quot;seq\&quot;:9,\&quot;domain\&quot;:\&quot;BrowserDebugger\&quot;,\&quot;command\&quot;:\&quot;setAllBrowserBreakpoints\&quot;,\&quot;arguments\&quot;:{\&quot;breakpoints\&quot;:{}}}&quot;)
    at ../../../Source/WebCore/inspector/InspectorFrontendHost.cpp:225
#7  0x00007ffff6072306 in WebCore::jsInspectorFrontendHostPrototypeFunctionSendMessageToBackend (exec=0x7fff9effc3f0) at DerivedSources/WebCore/JSInspectorFrontendHost.cpp:401
#8  0x00007fff9f3fc1b8 in ?? ()
#9  0x00007fffffffd0c0 in ?? ()
#10 0x00007fff9f475aee in ?? ()
#11 0x00007fffffffd040 in ?? ()
#12 0x00007fffe81c3ad0 in ?? ()
#13 0x00000000016832a0 in ?? ()
#14 0x00007fffe81c10d0 in ?? ()
#15 0x00007fff9f48cc83 in ?? ()
#16 0x00007ffff55962c3 in JSC::Register::Register (this=0x0) at ../../../Source/JavaScriptCore/interpreter/Register.h:106
#17 0x00007ffff6251f55 in JSC::JITCode::execute(JSC::RegisterFile*, JSC::ExecState*, JSC::JSGlobalData*) () from /home/alex/checkout/WebKit/WebKitBuild/trunk-svn/Debug/.libs/libwebkitgtk-3.0.so.0
#18 0x00007ffff624efe4 in JSC::Interpreter::executeCall (this=0x1065dc0, callFrame=0x1266668, function=0x7fffe81d8790, callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at ../../../Source/JavaScriptCore/interpreter/Interpreter.cpp:851
#19 0x00007ffff62da524 in JSC::call (exec=0x1266668, functionObject=..., callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at ../../../Source/JavaScriptCore/runtime/CallData.cpp:38
#20 0x00007ffff5579777 in WebCore::JSMainThreadExecState::call (exec=0x1266668, functionObject=..., callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at ../../../Source/WebCore/bindings/js/JSMainThreadExecState.h:48
#21 0x00007ffff55d7dec in WebCore::ScheduledAction::executeFunctionInContext (this=0x137a690, globalObject=0x7fffe81c10d0, thisValue=..., context=0x105f598) at ../../../Source/WebCore/bindings/js/ScheduledAction.cpp:106
#22 0x00007ffff55d7fde in WebCore::ScheduledAction::execute (this=0x137a690, document=0x105f530) at ../../../Source/WebCore/bindings/js/ScheduledAction.cpp:128
#23 0x00007ffff55d7ba8 in WebCore::ScheduledAction::execute (this=0x137a690, context=0x105f598) at ../../../Source/WebCore/bindings/js/ScheduledAction.cpp:76
#24 0x00007ffff5ac8521 in WebCore::DOMTimer::fired (this=0x12e86d0) at ../../../Source/WebCore/page/DOMTimer.cpp:130
#25 0x00007ffff5be4a8b in WebCore::ThreadTimers::sharedTimerFiredInternal (this=0x753810) at ../../../Source/WebCore/platform/ThreadTimers.cpp:112
#26 0x00007ffff5be49b9 in WebCore::ThreadTimers::sharedTimerFired () at ../../../Source/WebCore/platform/ThreadTimers.cpp:90
#27 0x00007ffff541793e in WebCore::timeout_cb () at ../../../Source/WebCore/platform/gtk/SharedTimerGtk.cpp:49
#28 0x00007ffff1c9c8f9 in g_timeout_dispatch (source=0x1c0fc70, callback=0x7ffff541791d &lt;WebCore::timeout_cb(gpointer)&gt;, user_data=0x0) at gmain.c:3878
#29 0x00007ffff1c9941e in g_main_dispatch (context=0x6724a0) at gmain.c:2440
#30 0x00007ffff1c9a9ae in g_main_context_dispatch (context=0x6724a0) at gmain.c:3013
#31 0x00007ffff1c9ae74 in g_main_context_iterate (context=0x6724a0, block=1, dispatch=1, self=0x645580) at gmain.c:3091
#32 0x00007ffff1c9b60b in g_main_loop_run (loop=0x6e2cb0) at gmain.c:3299
#33 0x00007ffff4094f29 in gtk_main () at gtkmain.c:1349
#34 0x000000000041e2fe in runTest (testPathOrURL=&quot;/home/alex/checkout/WebKit/LayoutTests/http/tests/inspector/network/network-size.html&quot;) at ../../../Tools/DumpRenderTree/gtk/DumpRenderTree.cpp:679
#35 0x000000000041fb01 in main (argc=2, argv=0x7fffffffd9d8) at ../../../Tools/DumpRenderTree/gtk/DumpRenderTree.cpp:1147</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359093</commentid>
    <comment_count>3</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2011-02-28 08:57:24 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; I get this assertion failure locally with a debug build running that test, not sure if it is related:

Not related, but already fixed in http://trac.webkit.org/changeset/79864.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359186</commentid>
    <comment_count>4</comment_count>
    <who name="Sergio Villar Senin">svillar</who>
    <bug_when>2011-02-28 11:15:40 -0800</bug_when>
    <thetext>Although the bug report is valid, I&apos;ll set this as duplicate.

*** This bug has been marked as a duplicate of bug 53228 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>