[heycam/webidl] Added a definition of {{StringContext}} extended attribute. (#841)

WIP: This extended attribute can be defined on `DOMString` and `USVString`.

This is to hook up the Trusted Types validation during the ES->IDL type
conversion to avoid funky issues with its default policy.

See https://github.com/w3c/webappsec-trusted-types/issues/248,
https://github.com/w3c/webappsec-trusted-types/issues/176

The actual logic of the string validation calls into HTML, as will be something similar to https://w3c.github.io/webappsec-trusted-types/dist/spec/#!trustedtypes-extended-attribute.

You can view, comment on, or merge this pull request online at:

  https://github.com/heycam/webidl/pull/841

-- Commit Summary --

  * Added a definition of {{StringContext}} extended attribute for

-- File Changes --

    M index.bs (59)

-- Patch Links --

https://github.com/heycam/webidl/pull/841.patch
https://github.com/heycam/webidl/pull/841.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/841

Received on Monday, 10 February 2020 17:26:57 UTC