Almost 4% is really high usage. How did you arrive at the conclusion that the compatibility risk is low?
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
We learned in the past that the usage number alone is not a reliable signal for safe removal (and even back then the cutoff was about 100x lower).
Before we can decide whether to deprecate or remove, please analyze where the usage comes from and whether it is safe to just remove the attribute, or how we can drive usage down / make it safe to remove.
Indeed, on some interfaces use counters for attributes seem to be inflated by enumeration. This is definitely true of Event and probably Window.The attributes with the lowest usage I could find on Document is xmlStandalone, so the "enumeration noise floor" on Document, if there is one, is under 0.01%. So, we can't blame enumeration for the high use counters in this case.
Looking at just the first [youtube.com], I see the expression "a.webkitVisibilityState || a.mozVisibilityState || a.visibilityState || """ in https://pubads.g.doubleclick.net/gampad/ads This looks like a Doubleclick ads thing, so we'd expect this one script to hit a lot of pages. Also "var vName = d.webkitVisibilityState ? 'webkitvisibilitychange' : 'visibilitychange';" is in the main script for youtube.com. There are a handful of other hits in the main youtube script where webkitVisibilityState is checked ahead of the others. Given that removal was successful in Safari and Edge doesn't have it, I'd personally be OK with just trying a removal and manually verifying the above 10 sites don't start failing obviously (eg. throwing unhandled exceptions) and then just keep our eyes out for reports of issues in Beta. I'll reply to the old intent thread with this data and proposal.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY_ByBh40irvsVt18LMvvkC-Zn9x%3DZ-B7LYHdJzAGEGRHQ%40mail.gmail.com.
I dug into this a bit and added the following analysis to the bug:Looking at just the first [youtube.com], I see the expression "a.webkitVisibilityState || a.mozVisibilityState || a.visibilityState || """ in https://pubads.g.doubleclick.net/gampad/ads This looks like a Doubleclick ads thing, so we'd expect this one script to hit a lot of pages. Also "var vName = d.webkitVisibilityState ? 'webkitvisibilitychange' : 'visibilitychange';" is in the main script for youtube.com. There are a handful of other hits in the main youtube script where webkitVisibilityState is checked ahead of the others. Given that removal was successful in Safari and Edge doesn't have it, I'd personally be OK with just trying a removal and manually verifying the above 10 sites don't start failing obviously (eg. throwing unhandled exceptions) and then just keep our eyes out for reports of issues in Beta. I'll reply to the old intent thread with this data and proposal.If we were really worried we could try reaching out to doubleclick and other popular sites following this inverted feature-detection pattern, but personally I don't think it's worth the effort. Given the fact no other browser has this API and the above explanation for why our metrics are useless here, I'll LGTM1 a removal without deprecation period as long as someone verifies that the top 10 sites I list in the bug do indeed appear to be unaffected by the removal.foolip@ WDYT?
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYfyGeNETb_L%2B4G0eyQPECVh2OCGYWsES%3DRKRCaETF59wg%40mail.gmail.com.