[I plan to check this in so you can review 'in situ']
Change 41952 by [EMAIL PROTECTED] on 2006/05/01 14:54:25 *pending*
Summary: Teach the DHTML Debugger to print DOM Nodes
New Features: In DHTML runtime Debugger can print and inspect
DOM nodes.
Bugs Fixed:
Technical Reviewer: hqm (pending)
QA Reviewer: max (pending)
Doc Reviewer: jsundman (pending)
Documentation:
The debugger prints DOM nodes using a combined xpath/CSS
notation. The xpath that would select the node is amended to
not HTMLElement id and class. E.g.:
lzx> top.document.getElementById('dhtml-debugger')
<<HTMLDivElement#42| #document/html/body/div#magilla/div#application
[1]/div#dhtml-debugger[2]>>
Details:
LFC.js: Remove Object.toString hack
LzDebug.js: Extract types from runtime. Take more care in
looking for properties of objects. Learn to print DOM Nodes
using Oliver's xpath/CSS notation. Learn to inspect native
objects.
LzDebug.lzs: Include more objects when ID-ing
LzInint.js, kernel.js: Move naming of global objects to
makeDebugWindow, so app globals can be named.
Tests: Debug.inspect(canvas.sprite.__LZdiv)
Affected files ...
... //depot/lps-legals/WEB-INF/lps/lfc/core/LFC.js#3 edit
... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzDebug.js#8 edit
... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzDebug.lzs#3 edit
... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzInit.js#2 edit
... //depot/lps-legals/WEB-INF/lps/lfc/debugger/kernel.js#5 edit
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev