Bug 55363
| Summary: | Web Inspector: [GTK] Gtk port does not provide content length information to inspector. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Pavel Feldman <pfeldman> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | alex, gustavo, svillar, timothy |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Pavel Feldman
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sergio Villar Senin
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'll kill two birds with one stone.
Alejandro G. Castro
I get this assertion failure locally with a debug build running that test, not sure if it is related:
ASSERTION FAILED: m_instrumentingAgents->inspectorBrowserDebuggerAgent()
../../../Source/WebCore/inspector/InspectorBrowserDebuggerAgent.cpp(129) : void WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged(const WTF::String&)
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff598d014 in WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged (this=0x720d40, url="file:///home/alex/checkout/WebKit/LayoutTests/http/tests/inspector/network/network-size.html")
at ../../../Source/WebCore/inspector/InspectorBrowserDebuggerAgent.cpp:129
129 ASSERT(m_instrumentingAgents->inspectorBrowserDebuggerAgent());
(gdb) bt
#0 0x00007ffff598d014 in WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged (this=0x720d40, url="file:///home/alex/checkout/WebKit/LayoutTests/http/tests/inspector/network/network-size.html")
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="{\"seq\":9,\"domain\":\"BrowserDebugger\",\"command\":\"setAllBrowserBreakpoints\",\"arguments\":{\"breakpoints\":{}}}")
at DerivedSources/WebCore/InspectorBackendDispatcher.cpp:3597
#4 0x00007ffff5991713 in WebCore::InspectorController::dispatchMessageFromFrontend (this=0x71a990, message="{\"seq\":9,\"domain\":\"BrowserDebugger\",\"command\":\"setAllBrowserBreakpoints\",\"arguments\":{\"breakpoints\":{}}}")
at ../../../Source/WebCore/inspector/InspectorController.cpp:206
#5 0x00007ffff59c9aef in WebCore::InspectorFrontendClientLocal::sendMessageToBackend (this=0x6a41b0, message="{\"seq\":9,\"domain\":\"BrowserDebugger\",\"command\":\"setAllBrowserBreakpoints\",\"arguments\":{\"breakpoints\":{}}}")
at ../../../Source/WebCore/inspector/InspectorFrontendClientLocal.cpp:164
#6 0x00007ffff59ca374 in WebCore::InspectorFrontendHost::sendMessageToBackend (this=0x1297ad0, message="{\"seq\":9,\"domain\":\"BrowserDebugger\",\"command\":\"setAllBrowserBreakpoints\",\"arguments\":{\"breakpoints\":{}}}")
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 <WebCore::timeout_cb(gpointer)>, 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="/home/alex/checkout/WebKit/LayoutTests/http/tests/inspector/network/network-size.html") at ../../../Tools/DumpRenderTree/gtk/DumpRenderTree.cpp:679
#35 0x000000000041fb01 in main (argc=2, argv=0x7fffffffd9d8) at ../../../Tools/DumpRenderTree/gtk/DumpRenderTree.cpp:1147
Pavel Feldman
(In reply to comment #2)
> 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.
Sergio Villar Senin
Although the bug report is valid, I'll set this as duplicate.
*** This bug has been marked as a duplicate of bug 53228 ***