Skip to content

Commit

Permalink
Editorial: Remove/clean up some informative text
Browse files Browse the repository at this point in the history
  • Loading branch information
littledan committed Dec 12, 2018
1 parent 43fd98a commit dceb267
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -12352,8 +12352,8 @@ The value of the [=function object=]’s <code class="idl">name</code> property
</div>

<div class="note">
Specifications use various wordings to reference the "[=implements=]" algorithm,
such as "|object| is an |interface| object", to mean, "|object| implements |interface|".
Specifications may reference the concept "|object| implements |interface|"
in various ways, including "|object| is an |interface| object".
</div>

Every [=platform object=] is associated with a global environment, just
Expand Down Expand Up @@ -12385,20 +12385,20 @@ Issue: The relevant |this| value is not always well-defined; see
<a href="https://github.com/heycam/webidl/issues/135">#135</a> for discussion.

<div class="note">
Specifications use various wordings to reference the "[=create an object implementing
the interface=]" algorithm, such as "a new |interface| object".
Specifications may refer to the "[=create an object implementing the
interface=]" algorithm in various ways, including "a new |interface| object".
</div>

<div class="note">

The set of interfaces that a [=platform object=] [=implements=] does not change over
the lifetime of the object.

Multiple [=interface objects=] associated with different [=Realm/global objects=]
will allocate [=platform objects=] which have \[[PrimaryInterface]] internal
slots referencing the same underlying [=interface=]. For example, a page may
contain a same-origin iframe, with the iframe's method being called on the
main page's element of the same kind, with no exception thrown.
Multiple [=platform objects=] with different [=Realm/global objects=] will share
a reference to the same [=interface=] in their \[[PrimaryInterface]] internal
slots. For example, a page may contain a same-origin iframe, with the iframe's
method being called on the main page's element of the same kind, with no exception
thrown.

[=Interface mixins=] do not participate directly in the evaluation of the [=implements=]
algorithm. Instead, each [=interface=] that the [=interface mixin=] is [=included=] in
Expand All @@ -12411,9 +12411,7 @@ Issue: The relevant |this| value is not always well-defined; see
The <dfn id="dfn-primary-interface" export>primary interface</dfn> of a platform object
that [=implements=] one or more interfaces is the value of the object's
\[[PrimaryInterface]] internal slot, which is is the most-derived [=interface=]
that it [=implements=]. The value of the \[[Prototype]] [=internal slot=]
of the platform object is the [=interface prototype object=]
of the [=primary interface=] from the [=platform object=]’s associated global environment.
that it [=implements=].

The global environment that a given [=platform object=]
is associated with can <dfn id="dfn-change-global-environment" for="global environment" export>change</dfn> after it has been created. When
Expand Down

0 comments on commit dceb267

Please sign in to comment.