Skip to content

Commit

Permalink
Merge pull request #68 from beaufortfrancois/worker
Browse files Browse the repository at this point in the history
Don't expose CropTarget.fromElement to worker
  • Loading branch information
aboba committed Jul 21, 2022
2 parents b3cd0a6 + cf257f9 commit 7ec1c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -151,7 +151,7 @@ <h3><dfn>CropTarget</dfn> Definition</h3>
<pre class="idl">
[Exposed=(Window,Worker), Serializable]
interface CropTarget {
[SecureContext] static Promise&lt;CropTarget&gt; fromElement(Element element);
[Exposed=Window, SecureContext] static Promise&lt;CropTarget&gt; fromElement(Element element);
};
</pre>
<div class="note">
Expand Down

0 comments on commit 7ec1c65

Please sign in to comment.