Bug 30458 - Implement <a ping>
Summary: Implement <a ping>
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nate Chapin
Depends on:
Reported: 2009-10-16 14:13 PDT by John Abd-El-Malek
Modified: 2010-09-23 13:17 PDT (History)
6 users (show)

See Also:

ping support (disabled by default) (39.26 KB, patch)
2010-09-22 11:52 PDT, Nate Chapin
fishd: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Abd-El-Malek 2009-10-16 14:13:54 PDT
Creating a bug from the webkit-dev discussion.  It seems there's consensus on doing this.  The main reasons are that without a robust way to handle tracking, ad networks and other sites are resorting to redirects and busy loops in unload handlers after image loads.  This hurts the user since it slows down their navigation and consumes battery on mobile/laptop devices.  Adding ping doesn't reduce the privacy, since it's something that's already done using hacks.  This should improve privacy since user agents can then expose options to the user to disable this feature, just like for referral headers.

This is part of HTML5: http://www.whatwg.org/specs/web-apps/current-work/#hyperlink-auditing

Note: once we do this, there are a few people who think we should implement window.sendPing() as well.  The reasons are that <a ping> won't work for iframes, which is how it's used by ad networks.
Comment 1 John Abd-El-Malek 2009-10-16 14:52:56 PDT
The webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2009-September/thread.html#9925
Comment 2 Nate Chapin 2010-09-22 11:52:40 PDT
Created attachment 68406 [details]
ping support (disabled by default)
Comment 3 Darin Fisher (:fishd, Google) 2010-09-22 12:40:55 PDT
Comment on attachment 68406 [details]
ping support (disabled by default)

Comment 4 Nate Chapin 2010-09-22 16:51:44 PDT
Comment on attachment 68406 [details]
ping support (disabled by default)

Clearing cq+ because it won't land before I leave for the day.  Will land tomorrow.
Comment 5 Alexey Proskuryakov 2010-09-22 17:33:08 PDT
Comment on attachment 68406 [details]
ping support (disabled by default)

+        * WebKit.order:

You needn't modify this. Only Apple uses this file, and we update it when we need to.
Comment 6 Nate Chapin 2010-09-23 12:55:18 PDT