WebKit2.WebView.prototype.can_show_mime_type

function can_show_mime_type(mime_type: String): Boolean {
    // Gjs wrapper for webkit_web_view_can_show_mime_type()
}
  

Whether or not a MIME type can be displayed in web_view.

mime_type

a MIME type

Returns

true if the MIME type mime_type can be displayed or false otherwise