UnviewableContentIdentifiedEvent object

Note

The features described in this document are no longer being maintained. For more information on the new WebView2 control, see Introduction to Microsoft Edge WebView2 (Preview).

Indicates the webview is attempting to navigate to a file of an unsupported content type.

Properties

mediaType

Gets the content type of the unviewable content.

This property is read-only

var mediaType = UnviewableContentIdentifiedEvent.mediaType;

Property value

Type: DOMString

referer

The Uniform Resource Identifier (URI) of the page in the webview requesting navigation.

This property is read-only.

var referer = NavigationEventWithReferrer.referer;

Property value

Type: DOMString

uri

The Uniform Resource Identifier (URI) of the destination of the navigation.

This property is read-only.

var uri = NavigationEventWithReferrer.uri;

Property value

Type: DOMString