properties
This section describes the properties supported by the Diagnostics Engine.
Note These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.
In this section
Topic | Description |
---|---|
Get or set the accuracy of the longitude and latitude properties in meters. |
|
Returns whether a single property in the case of multiple values is active (hasn't been overwritten, overridden by a !important value, or disabled) or not. |
|
Returns a list of objects representing the available defined user agent (UA) strings for selection. |
|
Gets or sets altitude in GeoLocation. |
|
Sets or gets the current altitude accuracy of GeoLocation. |
|
Forces Windows Internet Explorer to bypass caches. |
|
Provides an instance of the DiagnosticsBrowser object. |
|
Returns the browser mode. |
|
Returns the column number, or character position of the location in the source file. |
|
Returns cookies for an object. |
|
Sets or gets the currently active user agent (UA) string. |
|
Returns the default document mode for the browser. |
|
Provides an explicit way to access the global scope of diagnostics. |
|
Returns an object used to communicate with the parent Diagnostics Object Model. |
|
Provides access the current document. |
|
Returns the current document mode. |
|
Gets or sets the document-mode emulation state. |
|
Returns an object that provides a bridge from the Diagnostics DOM to the page's public DOM for access to an element's inner and outer HTML. |
|
The domain for a cookie. |
|
Sets or gets the firing of the selectElement and hoverElement events. |
|
Returns an instance of the DiagnosticsEmulation object. |
|
Gets or sets whether a property has been enabled or disabled by the tools. |
|
Set or get a date indicating when the cookie expires. |
|
Provides an instance of the DiagnosticsHost interface. |
|
Returns the file URI or path for a source file. |
|
Sets or gets whether document mode is forced to be edge. |
|
Returns the geoLocation emulation object. |
|
Sets or gets height of viewport in pixels. |
|
Gets or sets whether a cookie is accessible from Javascript or not (i.e. accessible from javascript). |
|
See id. |
|
Returns the id for a web worker. |
|
Sets or gets whether or not the property is !important. |
|
Returns an instance of DiagnosticsIndexedDB. |
|
Returns the line number portion of the location in the source file. |
|
Returns an instance of DiagnosticsStorage associated with local storage. |
|
For shorthand properties, this provides a list of child properties. |
|
Returns an instance of DiagnosticsMemoryProfiler. |
|
Returns the memoryProfile heap size in bytes. |
|
Returns the name of the cookie. |
|
Gets or sets whether viewport is portrait or landscape mode. |
|
The path of the cookie. |
|
Returns the process's pointer size. |
|
Gets the processes private bytes metric. |
|
Returns the name of the property. |
|
Sets or gets whether quota limiting is used. |
|
Returns an instance of the DiagnosticsResources object. |
|
Returns whether a cookie is a secure cookie or not. |
|
Returns a reference to the WebWorkerDiagnostics global scope |
|
Returns whether a cookie is a session cookie or not. |
|
Returns an instance of DiagnosticsStorage associated with session storage. |
|
Returns the size of the local or session storage. |
|
Returns the size of IndexedDB quota. |
|
Get or set speed of device in meters per second. |
|
Returns whether the property is valid, invalid, or unrecognized. |
|
Returns an object that allows CSS styles to be queried and turned on and off on specific elements. |
|
Gets the DiagnosticsUserAgentStringManager object. |
|
See value |
|
The value of the property. |
|
Returns the viewport emulation object. |
|
Sets or gets width of viewport in pixels. |
|
Returns a WebWorkerDiagnosticsWorker object that's used to access the WorkerGlobalScope. |
|
Returns a WorkerGlobalScope object. |
|
Returns an object where the keys are the ids of the currently running webworkers and the values are instances of DiagnosticsWebWorker. |
|
Gets or sets the worker startup script. |