WebExtensionMatchPattern.matchesUrl

bool matchesUrl(string url, webkit.types.WebExtensionMatchPatternOptions options)

Matches the matchPattern against the specified URL with options.

Parameters

urlThe URL to match against the pattern.
optionsThe #WebKitWebExtensionMatchPatternOptions use while matching.

Returns

Whether the pattern matches the specified URL.