Commit 9f6e999a authored by cfredric's avatar cfredric Committed by Commit Bot

Instrument PaintWorkletGlobalScope.devicePixelRatio for identifiability

study.

This IDL annotation will automatically generate code to measure the
entropy that can be used to establish users' cross-site identity using
this API.

Bug: 973801
Change-Id: Ib93b5421d0f63ff0158d5cf9b46d22dacda3c2a1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2356909
Auto-Submit: Chris Fredrickson <cfredric@google.com>
Reviewed-by: default avatarRobert Flack <flackr@chromium.org>
Commit-Queue: Chris Fredrickson <cfredric@google.com>
Cr-Commit-Position: refs/heads/master@{#799234}
parent 0dd18d0a
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
Exposed=PaintWorklet, Exposed=PaintWorklet,
Global=(Worklet,PaintWorklet) Global=(Worklet,PaintWorklet)
] interface PaintWorkletGlobalScope : WorkletGlobalScope { ] interface PaintWorkletGlobalScope : WorkletGlobalScope {
[Measure] readonly attribute unrestricted double devicePixelRatio; [HighEntropy=Direct, Measure] readonly attribute unrestricted double devicePixelRatio;
[Measure, RaisesException, CallWith=ScriptState] void registerPaint(DOMString name, NoArgumentConstructor paintCtor); [Measure, RaisesException, CallWith=ScriptState] void registerPaint(DOMString name, NoArgumentConstructor paintCtor);
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment