def frametree(debugger, command, result, dict): """Dumps the frame tree containing the given nsIFrame*."""
debugger.HandleCommand("expr (" + command + ")->DumpFrameTree()")
def frametree_pixels(debugger, command, result, dict): """Dumps the frame tree containing the given nsIFrame* in CSS pixels."""
debugger.HandleCommand("expr (" + command + ")->DumpFrameTreeInCSSPixels()")
def frametreelimited(debugger, command, result, dict): """Dumps the subtree of a frame tree rooted at the given nsIFrame*."""
debugger.HandleCommand("expr (" + command + ")->DumpFrameTreeLimited()")
def frametreelimited_pixels(debugger, command, result, dict): """Dumps the subtree of a frame tree rooted at the given nsIFrame* in CSS pixels."""
debugger.HandleCommand("expr (" + command + ")->DumpFrameTreeLimitedInCSSPixels()")
def pstate(debugger, command, result, dict): """Displays a frame's state bits symbolically."""
debugger.HandleCommand("expr mozilla::PrintFrameState(" + command + ")")
def summarize_nscoord(valobj, internal_dict):
MAX = 0x3FFFFFFF
value = valobj.GetValueAsSigned(0) if value == MAX: return"NS_UNCONSTRAINEDSIZE" if value == -MAX: return"NS_INTRINSIC_ISIZE_UNKNOWN" if value == MAX - (1000000 * 60): return"INFINITE_ISIZE_COORD"
result = "" if bits & VERTICAL:
result += "vertical-" if bits & VERTICAL_LR:
result += "lr" else:
result += "rl" if bits & (VERTICAL_SIDEWAYS | TEXT_SIDEWAYS):
result += "-sideways" if bits & LINE_INVERTED:
result += "inverted" else:
result += "horizontal" ifnot (bits & RTL):
result += "-ltr" else:
result += "-rtl"
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.