[Webkit-unassigned] [Bug 30897] Web Inspector: Support Debugging via HTTP Headers like FirePHP and FireLogger

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 6 15:24:56 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=30897





--- Comment #5 from David Zuelke <david.zuelke at bitextender.com>  2010-05-06 15:24:54 PST ---
Hi Christoph,

The current state of the web inspector integration can be found at
http://github.com/sthulbourn/WebKit-FirePHP

We too had the idea of implementing basic Wildfire support with handlers for
different plugins/structures, so it could decode the headers and dispatch
payloads to the responsible handlers (e.g. there would be a handler for
http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1 that
knows what the FirePHP payloads look like and how to render it).

As far as I understand, a bunch of headers could look like this:

X-Wf-Protocol-1     http://meta.wildfirehq.org/Protocol/JsonStream/0.2
X-Wf-1-Plugin-1    
http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3
X-Wf-1-Structure-1 
http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1
X-Wf-1-1-1-1        62|[{"Type":"LOG","File":" ... Test.php","Line":3},"Hello
World"]|
X-Wf-1-1-1-2        63|[{"Type":"LOG","File":" ... Test.php","Line":3},"Hello
World2"]|
X-Wf-1-2-1-1        63|[{"Type":"LOG","File":" ... Test2.php","Line":3},"Hello
World"]|
X-Wf-2-Plugin-1     http://lolcats.com/wf/transmitter
X-Wf-2-Structure-1  http://lolcats.com/wf/schema
X-Wf-2-1-1-1        7|[1,2,3]|

Correct? Last digit is the header sequence, second digit is the structure
sequence, first digit is the plugin sequence? What is the third digit? And why
couldn't the second digit be dropped so it looks like this instead (a bit
offtopic; I guess this belongs to the fireconsole mailing list rather than to
this discussion):
X-Wf-Protocol    http://meta.wildfirehq.org/Protocol/JsonStream/0.2
X-Wf-1-Plugin   
http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3
X-Wf-1-Structure
http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1
X-Wf-1-1         62|[{"Type":"LOG","File":" ... Test.php","Line":3},"Hello
World"]|
X-Wf-1-2         63|[{"Type":"LOG","File":" ... Test.php","Line":3},"Hello
World2"]|
X-Wf-2-Plugin   
http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3
X-Wf-2-Structure
http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1
X-Wf-2-1         63|[{"Type":"LOG","File":" ... Test2.php","Line":3},"Hello
World"]|
X-Wf-3-Plugin    http://lolcats.com/wf/transmitter
X-Wf-3-Structure http://lolcats.com/wf/schema
X-Wf-3-1         7|[1,2,3]|

I'm still a bit unsure about the third digit and what exactly the difference
between plugins and structures is (assuming right now that the plugin is simply
for informational purposes, and the structure actually influences the message
payload formats).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list