Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Anchor element 'ping' property should only apply to http/https destin…
…ations https://bugs.webkit.org/show_bug.cgi?id=156801 <rdar://problem/25834419> Reviewed by Chris Dumez. Take advantage of the hyperlink auditing language "UAs may either ignore the ping attribute altogether, or selectively ignore URLs in the list (e.g. ignoring any third-party URLs)" to restrict pings to http/https targets. For details, see <https://html.spec.whatwg.org/multipage/semantics.html#hyperlink-auditing>. Tested by http/tests/navigation/ping-attribute tests. * loader/PingLoader.cpp: (WebCore::PingLoader::sendPing): Ignore requests to ping anything outside the family of HTTP protocols (http/https). Canonical link: https://commits.webkit.org/175026@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@199900 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information