DescriptionSupport deprecation + use counters for constructor attributes.
If a constructor attribute is annotated with either [MeasureAs=..] or
[DeprecateAs=..], then emit a needed callback wrapper that performs
the required reporting before looking up the constructor.
Use it to correctly handle use counters for the "webkitURL" properties
that both Window and WorkerGlobalScope currently provide; use counters
also added for these here.
(The above change also happens to fix use counter reporting
for the window.WebKitShadowRoot constructor.)
R=nbarth@chromium.org,haraken@chromium.org
BUG=348985
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168576
Patch Set 1 #
Total comments: 2
Patch Set 2 : IDL style fix #Patch Set 3 : Always generate constructor getter callbacks #
Total comments: 7
Patch Set 4 : Revert to initial selective callback generation scheme + adjust generated callback naming #Patch Set 5 : Rebased (UseCounter.h conflict) #
Total comments: 6
Patch Set 6 : Renamings #
Messages
Total messages: 23 (0 generated)
|