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

Issue 2634923003: Use SecureContext attribute for IDL of Credential Mgmt API

Created:
3 years, 11 months ago by battre
Modified:
3 years, 11 months ago
Reviewers:
peria, Mike West, Yuki
CC:
chromium-reviews, blink-reviews, haraken
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use SecureContext attribute for IDL of Credential Mgmt API This reflects the change to the Credential Management API here https://github.com/w3c/webappsec-credential-management/pull/55/files/a58d0ba3a4a53c53fa1f469fd8ebab5afc18e355 BUG=400674

Patch Set 1 #

Patch Set 2 : Added test for SecureContext #

Patch Set 3 : Added comment #

Messages

Total messages: 18 (10 generated)
battre
Hi Mike, could you please take a look at this CL? I tried checking that ...
3 years, 11 months ago (2017-01-16 18:05:48 UTC) #5
battre
Friendly ping @mkwst. Could you please take a look? Thanks.
3 years, 11 months ago (2017-01-23 09:35:30 UTC) #9
battre
+peria to comment on my question here https://codereview.chromium.org/2634923003/#msg5
3 years, 11 months ago (2017-01-23 10:35:28 UTC) #11
peria
I'm sorry, I'm not an expert of SecureContext's behavior. Yuki (+ in R) may have ...
3 years, 11 months ago (2017-01-23 10:46:31 UTC) #13
Yuki
As far as I checked, [SecureContext] is not correctly implemented for interfaces. Interfaces are exposed ...
3 years, 11 months ago (2017-01-24 14:19:41 UTC) #14
Mike West
1. I think this is a good change, but as it alters the web-visible effects ...
3 years, 11 months ago (2017-01-25 10:54:53 UTC) #15
Yuki
On 2017/01/25 10:54:53, Mike West (sloooooow) wrote: > 2. I stopped working on `[SecureContext]` because ...
3 years, 11 months ago (2017-01-26 06:25:47 UTC) #17
iclelland
3 years, 11 months ago (2017-01-26 13:54:07 UTC) #18
On 2017/01/26 06:25:47, Yuki wrote:
> On 2017/01/25 10:54:53, Mike West (sloooooow) wrote:
> > 2. I stopped working on `[SecureContext]` because esprehn@ had concerns
about
> > the performance impact of `[OriginTrial]`, which the implementation was
> closely
> > following. yukishiino@, do you know whether those concerns been resolved? If
> so,
> > I can take another look at this attribute's implementation.
> 
> I didn't know (or remember) the concern on the performance, including if it's
> resolved or not.  +cc: iclelland@ who is actively working on [OriginTrial].  I
> guess it's okay now?

[OriginTrial] is much more performant now -- there is still a small bit of
overhead to attach properties to objects, but I don't think it's much more than
just installing them unconditionally.

The key thing is that we now do it when the prototype for the object is first
accessed, by hooking into constructorForType, rather than eagerly instantiating
things like Navigator on context creation.

Powered by Google App Engine
This is Rietveld 408576698