Gecko:Debugging Tools: Difference between revisions

No edit summary
Line 18: Line 18:


  def frametree
  def frametree
   set $r = ($arg0)->PresContext()->GetPresShell()->GetRootFrame()
   call nsFrame::DumpFrameTree($arg0)
  if ($r)
    call ((class nsIFrameDebug*)(class ViewportFrame*)$r)->List(stderr, 2)
  end
  end
  end


Confirmed users
657

edits