<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>amiq11</author_name>
  <author_url>https://blog.hatena.ne.jp/amiq11/</author_url>
  <blog_title>知見（・・）！</blog_title>
  <blog_url>https://amiq11.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Service Workerのテストを書こうとしてメッセージのやりとりにMessageChannelを使おうとしていたところ、同僚氏からこんなことを教えてもらったので備忘録代わりにメモ。 いくつか方法があるから分かりにくいですよね。ExtendableMessageEvent.source を知らずに、わざわざ別途 MessagePort を渡して通信してるのをたまに見る気がする— nhiroki (@nhiroki_) November 8, 2018 まさにコレだった・・・・ page.html &lt;script&gt; self.onload = async () =&gt; { const cont…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Famiq11.hatenablog.com%2Fentry%2F2018%2F11%2F08%2F143353&quot; title=&quot;MessageChannelを使わずにService WorkerとpostMessageをしよう - 知見（・・）！&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-11-08 14:33:53</published>
  <title>MessageChannelを使わずにService WorkerとpostMessageをしよう</title>
  <type>rich</type>
  <url>https://amiq11.hatenablog.com/entry/2018/11/08/143353</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
