WebResource object represents a downloaded URL. It encapsulates the data of the download as well as other resource properties such as the URL, MIME type, and frame name.
- macOS 10.10+
init(data:url:mimeType:textEncodingName:frameName:) method to initialize a newly created
WebResource object. Use the other methods in this class to get the properties of a