FrameInfo class

Information about the Frame on the page.

Constructors

FrameInfo({required FrameId id, FrameId? parentId, required LoaderId loaderId, String? name, required String url, String? urlFragment, required String domainAndRegistry, required String securityOrigin, required String mimeType, String? unreachableUrl, AdFrameStatus? adFrameStatus, required SecureContextType secureContextType, required CrossOriginIsolatedContextType crossOriginIsolatedContextType, required List<GatedAPIFeatures> gatedAPIFeatures})
FrameInfo.fromJson(Map<String, dynamic> json)
factory

Properties

adFrameStatus AdFrameStatus?
Indicates whether this frame was tagged as an ad and why.
final
crossOriginIsolatedContextType CrossOriginIsolatedContextType
Indicates whether this is a cross origin isolated context.
final
domainAndRegistry String
Frame document's registered domain, taking the public suffixes list into account. Extracted from the Frame's url. Example URLs: http://www.google.com/file.html -> "google.com" http://a.b.co.uk/file.html -> "b.co.uk"
final
gatedAPIFeatures List<GatedAPIFeatures>
Indicated which gated APIs / features are available.
final
hashCode int
The hash code for this object.
no setterinherited
id FrameId
Frame unique identifier.
final
loaderId LoaderId
Identifier of the loader associated with this frame.
final
mimeType String
Frame document's mimeType as determined by the browser.
final
name String?
Frame's name as specified in the tag.
final
parentId FrameId?
Parent frame identifier.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secureContextType SecureContextType
Indicates whether the main document is a secure context and explains why that is the case.
final
securityOrigin String
Frame document's security origin.
final
unreachableUrl String?
If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment.
final
url String
Frame document's URL without fragment.
final
urlFragment String?
Frame document's URL fragment including the '#'.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited