Bug 30458 - Implement <a ping>
: Implement <a ping>
: WebKit
WebCore Misc.
: 528+ (Nightly build)
: PC Mac OS X 10.5
: P2 Normal
Assigned To:
  Show dependency treegraph
Reported: 2009-10-16 14:13 PST by
Modified: 2010-09-23 13:17 PST (History)

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


You need to log in before you can comment on or make changes to this bug.

Description From 2009-10-16 14:13:54 PST
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 From 2009-10-16 14:52:56 PST -------
The webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2009-September/thread.html#9925
------- Comment #2 From 2010-09-22 11:52:40 PST -------
Created an attachment (id=68406) [details]
ping support (disabled by default)
------- Comment #3 From 2010-09-22 12:40:55 PST -------
(From update of attachment 68406 [details])
------- Comment #4 From 2010-09-22 16:51:44 PST -------
(From update of attachment 68406 [details])
Clearing cq+ because it won't land before I leave for the day.  Will land tomorrow.
------- Comment #5 From 2010-09-22 17:33:08 PST -------
(From update of attachment 68406 [details])
+        * WebKit.order:

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