IHTMLWindow6 interface

This interface extends IHTMLWindow5 with Asynchronous JavaScript and XML (AJAX) connection services, cross-domain request, and Web Storage properties.

Members

The IHTMLWindow6 interface inherits from the IDispatch interface. IHTMLWindow6 also has these types of members:

  • Methods
  • Properties

Methods

The IHTMLWindow6 interface has these methods.

Method Description
msWriteProfilerMark

Writes a profiling event.

postMessage

Sends a cross-document message.

postMessage

Sends a cross-document message.

toStaticHTML

Removes dynamic HTML elements and attributes from an HTML fragment.

 

Properties

The IHTMLWindow6 interface has these properties.

Property Description

localStorage

Retrieves the Web Storage area specific to the current document.

maxConnectionsPerServer

Retrieves the maximum number of concurrent connections to a Web server.

onhashchange

Sets or retrieves a pointer to the event handler function associated with the HTMLWindowEvents3::onhashchange event.

onmessage

Sets or retrieves a pointer to the event handler function associated with the onmessage event.

sessionStorage

Retrieves the Web Storage area for the session.

XDomainRequest

Instantiates the XDomainRequest object for the window.

 

Remarks

This interface was introduced in Windows Internet Explorer 8.

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

Reference

IHTMLWindow2

IHTMLWindow3

IHTMLWindow4