Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Issue 1125573003: Update deprecation messages for powerful features on insecure origins (Closed)

Created:
5 years, 7 months ago by jww
Modified:
5 years, 6 months ago
Reviewers:
philipj_slow
CC:
blink-reviews, mlamouri+watch-blink_chromium.org, mvanouwerkerk+watch_chromium.org, Inactive, ddorwin
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Update deprecation messages for powerful features on insecure origins This makes two particular changes to the deprecation messages for powerful features on insecure origins: * Rewords the messages to be clearer and more accurate * Removes deprecation messages for device motion and orientation until we get a better understanding of what's causing their high usage. TBR=mvanouwerkerk@chromium.org,timvolodine@chromium.org,mlamouri@chromium.org BUG=481604 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195007

Patch Set 1 #

Patch Set 2 : Grammar #

Patch Set 3 : Update -expected.txt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -16 lines) Patch
M LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin-expected.txt View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
M Source/core/frame/UseCounter.cpp View 1 1 chunk +3 lines, -9 lines 0 comments Download
M Source/modules/device_orientation/DeviceMotionController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/device_orientation/DeviceOrientationController.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (3 generated)
philipj_slow
lgtm
5 years, 7 months ago (2015-05-06 07:45:30 UTC) #2
timvolodine
On 2015/05/06 07:45:30, philipj_UTC2 wrote: > lgtm I think the high usage numbers are incorrect, ...
5 years, 7 months ago (2015-05-06 11:03:13 UTC) #3
philipj_slow
Another thing to consider is measuring at some other place. AFAICT, the use counter is ...
5 years, 7 months ago (2015-05-06 12:04:13 UTC) #4
jww
On 2015/05/06 12:04:13, philipj_UTC2 wrote: > Another thing to consider is measuring at some other ...
5 years, 7 months ago (2015-05-06 21:53:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1125573003/40001
5 years, 7 months ago (2015-05-06 21:55:23 UTC) #8
philipj_slow
On 2015/05/06 21:53:13, jww wrote: > On 2015/05/06 12:04:13, philipj_UTC2 wrote: > > Another thing ...
5 years, 7 months ago (2015-05-06 22:08:48 UTC) #9
philipj_slow
(This still LGTM of course, just throwing out ideas if the refined counters still disappoint ...
5 years, 7 months ago (2015-05-06 22:09:37 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=195007
5 years, 7 months ago (2015-05-06 23:34:33 UTC) #11
jww
On 2015/05/06 22:08:48, philipj_UTC2 wrote: > On 2015/05/06 21:53:13, jww wrote: > > On 2015/05/06 ...
5 years, 7 months ago (2015-05-08 23:33:41 UTC) #12
jww
On 2015/05/08 23:33:41, jww wrote: > On 2015/05/06 22:08:48, philipj_UTC2 wrote: > > On 2015/05/06 ...
5 years, 6 months ago (2015-06-01 23:27:48 UTC) #13
philipj_slow
On 2015/06/01 23:27:48, jww wrote: > It looks like the fix to the device motion ...
5 years, 6 months ago (2015-06-02 07:38:51 UTC) #14
jww
5 years, 6 months ago (2015-06-04 00:59:23 UTC) #15
Message was sent while issue was closed.
Yes, that was sort of my assumption as well. I'll revisit this later if the
numbers drop further and/or we come up with a good way to discourage use
before then.

On Tue, Jun 2, 2015 at 12:38 AM <philipj@opera.com> wrote:

> On 2015/06/01 23:27:48, jww wrote:
> > It looks like the fix to the device motion metrics is starting to roll
> > in, and
> > DeviceMotionInsecureOrigin is hovering around 4.5%
>
> (
>
https://www.chromestatus.com/metrics/feature/popularity#DeviceMotionInsecureO...
> ).
> > philipj@, do you think that's still too high for deprecation messages?
>
> It looks like it's still falling, but for the sake of argument let's say it
> stabilizes at 1% on Android. (I can't get this data, but you can internally
> at
> Google.) 1% is definitely higher than most deprecations, and deprecation
> messages generally don't seem to influencing usage. What is the threshold
> where
> you think it would be reasonable to actually disable device motion events
> on
> insecure origins? This would have to be some trade off between the severity
> of
> the security risk and what kind of breakage would result. It might be best
> to
> have that discussion on blink-dev.
>
> https://codereview.chromium.org/1125573003/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to blink-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698