Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsILayoutRegressionTester Interface Reference

import "nsILayoutRegressionTester.idl";

Inheritance diagram for nsILayoutRegressionTester:
Inheritance graph
[legend]
Collaboration diagram for nsILayoutRegressionTester:
Collaboration graph
[legend]

List of all members.

Public Member Functions

long dumpFrameModel (in nsIDOMWindow aWindowToDump, in nsILocalFile aFile, in unsigned long aFlagsMask)
long compareFrameModels (in nsILocalFile aBaseFile, in nsILocalFile aVerFile, in unsigned long aFlags)

Public Attributes

const short DUMP_FLAGS_MASK_DEFAULT = 0
 Dumps the content of a window.
const short DUMP_FLAGS_MASK_DUMP_STYLE = 1
const long DUMP_RESULT_COMPLETED = 0
const long DUMP_RESULT_LOADING = 1
const long DUMP_RESULT_ERROR = 2
const short COMPARE_FLAGS_VERBOSE = 0
 Compares the contents of frame model files.
const short COMPARE_FLAGS_BRIEF = 1

Detailed Description

Definition at line 46 of file nsILayoutRegressionTester.idl.


Member Function Documentation

long nsILayoutRegressionTester::compareFrameModels ( in nsILocalFile  aBaseFile,
in nsILocalFile  aVerFile,
in unsigned long  aFlags 
)
long nsILayoutRegressionTester::dumpFrameModel ( in nsIDOMWindow  aWindowToDump,
in nsILocalFile  aFile,
in unsigned long  aFlagsMask 
)

Member Data Documentation

Definition at line 75 of file nsILayoutRegressionTester.idl.

Compares the contents of frame model files.

Parameters:
aBaseFilethe baseline file, opened with read permissions
aVerFilefile containing the results to verify, opened with read permissions
aFlagsflags specifying output verbosity
aResultresult of the comparison: zero if the files are same, non-zero if different

Definition at line 74 of file nsILayoutRegressionTester.idl.

Dumps the content of a window.

Parameters:
aWindowToDumpthe window to dump (may be an iframe etc)
aFilethe file to dump to. It will be created if necessary, otherwise truncated. If nil, write to stdout.
aFlagsMasksome flags that determine what to dump
aFlagsMasksome flags that determine what to dump
aResulta status value indicating whether the dump happened, whether the page was still loading, or whether some other error happened.

Definition at line 58 of file nsILayoutRegressionTester.idl.

Definition at line 59 of file nsILayoutRegressionTester.idl.

Definition at line 61 of file nsILayoutRegressionTester.idl.

Definition at line 63 of file nsILayoutRegressionTester.idl.

Definition at line 62 of file nsILayoutRegressionTester.idl.


The documentation for this interface was generated from the following file: