Skip to content

Commit

Permalink
Remove legacycaller from <object> and <embed>
Browse files Browse the repository at this point in the history
Fixes #1971
  • Loading branch information
zcorpan authored and foolip committed Oct 27, 2016
1 parent 03656dd commit aaf2435
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -28716,7 +28716,6 @@ interface <dfn>HTMLEmbedElement</dfn> : <span>HTMLElement</span> {
[<span>CEReactions</span>] attribute DOMString <span data-x="dom-dim-width">width</span>;
[<span>CEReactions</span>] attribute DOMString <span data-x="dom-dim-height">height</span>;
<span>Document</span>? <span data-x="dom-media-getSVGDocument">getSVGDocument</span>();
<span data-x="dom-embed-caller">legacycaller</span> any (any... arguments);
};</pre>
<div w-nodev>
<p>Depending on the type of content instantiated by the
Expand Down Expand Up @@ -29033,11 +29032,7 @@ attribute's value is a type that a <span>plugin</span> supports, then the value
element that have no namespace to the <span>plugin</span> used, when one is instantiated.</p>

<p>The <code>HTMLEmbedElement</code> object representing the element must expose the scriptable
interface of the <span>plugin</span> instantiated for the <code>embed</code> element, if any. At a
minimum, this interface must implement the <dfn data-x="dom-embed-caller">legacy caller
operation</dfn>. (It is suggested that the default behavior of this legacy caller operation, e.g.
the behavior of the default plugin's legacy caller operation, be to throw a
<span>"<code>NotSupportedError</code>"</span> <code>DOMException</code>.)</p>
interface of the <span>plugin</span> instantiated for the <code>embed</code> element, if any.</p>

</div>

Expand Down Expand Up @@ -29122,8 +29117,6 @@ interface <dfn>HTMLObjectElement</dfn> : <span>HTMLElement</span> {
boolean <span data-x="dom-cva-checkValidity">checkValidity</span>();
boolean <span data-x="dom-cva-reportValidity">reportValidity</span>();
void <span data-x="dom-cva-setCustomValidity">setCustomValidity</span>(DOMString error);

<span data-x="dom-object-caller">legacycaller</span> any (any... arguments);
};</pre>
<div w-nodev>
<p>Depending on the type of content instantiated by the
Expand Down Expand Up @@ -29827,12 +29820,6 @@ interface <dfn>HTMLObjectElement</dfn> : <span>HTMLElement</span> {
<span>constraint validation API</span>. The <code data-x="dom-fae-form">form</code> IDL attribute
is part of the element's forms API.</p>

<p>All <code>object</code> elements have a <dfn data-x="dom-object-caller">legacy caller
operation</dfn>. If the <code>object</code> element has an instantiated <span>plugin</span> that
supports a scriptable interface that defines a legacy caller operation, then that must be the
behavior of the object's legacy caller operation. Otherwise, the object's legacy caller operation
must be to throw a <span>"<code>NotSupportedError</code>"</span> <code>DOMException</code>.</p>

</div>

<div class="example">
Expand Down

0 comments on commit aaf2435

Please sign in to comment.