diff --git a/index.bs b/index.bs index a81fa69bf..1ef66a00a 100644 --- a/index.bs +++ b/index.bs @@ -1781,6 +1781,34 @@ A few abstract operations are used in this specification for utility purposes. W
  • Otherwise, return a new promise resolved with returnValue.\[[value]]. +

    Global Properties

    + +Ideally, this standard would add no new properties to the global object, instead relying on a standard ECMAScript +module. However, given that the specification for and implementation of modules in a browser environment is still in +flux, in the meantime the following properties must be exposed on the global object: + + + +In all cases the property must be a data property, with its value being the corresponding constructor defined in this +standard, and other attributes { \[[Writable]]: true, \[[Enumerable]]: false, \[[Configurable]]: +true }. + +
    + The ExclusiveStreamReader class is specifically not exposed, as while it does have a + functioning constructor, instances should instead be created through the getReader method of a + ReadableStream instance. +
    + +
    + If by the time implementers begin implementing this standard, modules start becoming feasible in the relevant + environments, then we should reconsider this requirement. +
    +

    Subclassing Streams

    This section is non-normative.