Re: [POWER] New vs Legacy functionality (Re: "Requirements for Powerful Features" strawman.)

I took a stab at both of these suggestions in
https://github.com/w3c/webappsec/commit/13394bb58c7613440ef42f61c6d500df8501b9c9
.

WDYT?

-mike

--
Mike West <mkwst@google.com>
Google+: https://mkw.st/+, Twitter: @mikewest, Cell: +49 162 10 255 91

Google Germany GmbH, Dienerstrasse 12, 80331 München, Germany
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores
(Sorry; I'm legally required to add this exciting detail to emails. Bleh.)

On Tue, Dec 9, 2014 at 8:46 PM, Mike West <mkwst@google.com> wrote:

> On Tue, Dec 9, 2014 at 8:35 PM, Chris Palmer <palmer@google.com> wrote:
>
>> On Tue, Dec 9, 2014 at 6:39 AM, Mike West <mkwst@google.com> wrote:
>>
>> > I took a stab at this in
>> > https://w3c.github.io/webappsec/specs/powerfulfeatures/#restrictions.
>> > Feedback?
>>
>> """If result is Insecure, then [insert something appropriate here:
>> perhaps you could reject a Promise, call an error callback, deny a
>> permission request, etc.]."""
>>
>> How about:
>>
>> """If result is Insecure, then the callee could for example reject the
>> Promise, callback a caller's error handler, deny a permission request,
>> or return an empty or lower-resolution result object."""
>>
>
> The goal was to be copy/paste-able. In that case, I'd prefer to keep
> something in the text that looks obviously wrong so that the spec author
> would realize that she needed to put something reasonable in there.
>
> I guess that wasn't clear. :)
>
> I'll attempt to clarify.
>
> -mike
>
> --
> Mike West <mkwst@google.com>
> Google+: https://mkw.st/+, Twitter: @mikewest, Cell: +49 162 10 255 91
>
> Google Germany GmbH, Dienerstrasse 12, 80331 München, Germany
> Registergericht und -nummer: Hamburg, HRB 86891
> Sitz der Gesellschaft: Hamburg
> Geschäftsführer: Graham Law, Christine Elizabeth Flores
> (Sorry; I'm legally required to add this exciting detail to emails. Bleh.)
>

Received on Tuesday, 9 December 2014 19:57:44 UTC