commit | 2005954f597aaeb810f03f1b4d5f221c99c20f4d | [log] [tgz] |
---|---|---|
author | Stephen McGruer <smcgruer@chromium.org> | Thu Nov 02 12:44:10 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Nov 02 12:44:10 2017 |
tree | 7cab9be1b897cd36c516eb74daee82c1d1fc4334 | |
parent | af01409db564c2ac2d0033421652b1b3c8bac4bf [diff] |
Add UseCounter to track use of octothorpes ('#') in data URIs Chrome currently violates the URI spec by treating '#' characters in data URIs as both part of the data body and also as the start of the URI ref section. By the URI spec a '#' character immediately stops the data body and indicates the start of the URI ref section. Ahead of trying to align Chrome to the spec, we should attempt to measure how often developers are trying to use data URIs with '#' characters in them. This UseCounter attempts to do this, but is not perfect measure. It will count spec-compliant usecases and will miss cases that don't use FrameFetchContext to do their resource fetching. Bug: 123004 Change-Id: I4babf89912d738c0c63affa56e39cd8a53933c38 Reviewed-on: https://chromium-review.googlesource.com/748806 Reviewed-by: Charlie Harrison <csharrison@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/heads/master@{#513468}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .