Skip to content

Commit

Permalink
Fix targetOrigin to be a USVString
Browse files Browse the repository at this point in the history
Resolves #187.
  • Loading branch information
jeremyroman authored May 4, 2020
1 parent c67995d commit d69147d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ spec:url; type:dfn; text:scheme
[CEReactions] attribute DOMString referrerPolicy;

[NewObject] Promise<void> activate(optional PortalActivateOptions options);
void postMessage(any message, DOMString targetOrigin, optional sequence<object> transfer = []);
void postMessage(any message, USVString targetOrigin, optional sequence<object> transfer = []);
void postMessage(any message, optional WindowPostMessageOptions options);

attribute EventHandler onmessage;
Expand Down Expand Up @@ -634,7 +634,7 @@ spec:url; type:dfn; text:scheme
<xmp class="idl">
[Exposed=Window]
interface PortalHost : EventTarget {
void postMessage(any message, DOMString targetOrigin, optional sequence<object> transfer = []);
void postMessage(any message, USVString targetOrigin, optional sequence<object> transfer = []);
void postMessage(any message, optional WindowPostMessageOptions options);

attribute EventHandler onmessage;
Expand Down

0 comments on commit d69147d

Please sign in to comment.