[34] [DFN[[RUBYB[[[ワーカー]]]@en[worker]]]]は、[[文書]]を表示する主たるスレッドとは別個に動作するスクリプト実行環境です。

* 仕様書

[REFS[
- [42] '''[CITE@en-GB-x-hixie[HTML Standard]] ([TIME[2015-05-06 10:42:35 +09:00]] 版) <https://html.spec.whatwg.org/#workers>'''
-- [48] [CITE@en-GB-x-hixie[HTML Standard]] ([TIME[2015-05-06 10:42:35 +09:00]] 版) <https://html.spec.whatwg.org/#run-a-worker>
- [181] [CITE@en[High Resolution Time Level 2]] ([TIME[2016-02-26 04:49:50 +09:00]]) <https://w3c.github.io/hr-time/#h-time-origin-1>
]REFS]

* 種類

[43] [[ワーカー]]には、次の3種類があります。
[FIG(table)[
:x:名称
:env:[[大域環境]]
:global:[[大域オブジェクト]]
:client:作成・操作用 [[API]]

:x:[[ワーカー]] (総称)
:env:[[ワーカー環境]] (総称)
:global:[CODE(DOMi)@en[[[WorkerGlobalScope]]]] ([[抽象インターフェイス]])
:client:[CODE(DOMi)@en[[[AbstractWorker]]]] ([CODE(IDL)@en[[[implements]]]])

:x:[[専用ワーカー]]
:env:[[専用ワーカー環境]]
:global:[CODE(DOMi)@en[[[DedicatedWorkerGlobalScope]]]]
:client:[CODE(DOMi)@en[[[Worker]]]]

:x:[[共有ワーカー]]
:env:[[共有ワーカー環境]]
:global:[CODE(DOMi)@en[[[SharedWorkerGlobalScope]]]]
:client:[CODE(DOMi)@en[[[SharedWorker]]]]

:x:[[サービスワーカー]]
:env:[[サービスワーカー環境]]
:global:[CODE(DOMi)@en[[[ServiceWorkerGlobalScope]]]]
:client:[CODE(DOMi)@en[[[ServiceWorker]]]]
]FIG]

* 状態

[205] [[サービスワーカー]]の持つ状態は、[[サービスワーカー]]参照。

[206] [[ワーカー]]の[[大域オブジェクト]]の持つ状態は、
[[ワーカー大域適用範囲]]参照。

* 作成

[98] [[ワーカー]]を作成する [[API]] ([CODE(JS)@en[[[new Worker]]]],
[CODE(JS)@en[[[new SharedWorker]]]])
は、関係するオブジェクトを作った後 (それぞれの項を参照。)、
[[ワーカーを走らせる]]手続きを実行します。

;; [[サービスワーカー]]は、別の[[サービスワーカーを走らせる]]処理を使っています。

[49] [DFN[[RUBYB[ワーカーを走らせる]@en[run a worker]]]]操作は、
次の引数を持ちます [SRC[>>48]]。
[FIG(list members middle)[
: [VAR[ワーカー]] : [CODE(DOMi)@en[Worker]] または [CODE(DOMi)@en[SharedWorker]]
: [VAR[URL]] : [[URL]]
: [VAR[外側設定群]] : [[環境設定群オブジェクト]]
: [VAR[外側ポート]] : [CODE(DOMi)@en[MessagePort]]
: [VAR[オプション群]] : [CODE(DOMi)@en[WorkerOptions]]
]FIG]

[136] 次のようにしなければ[['''なりません''']] [SRC[>>48]]。

[FIG(steps)[
= [135] 独立した[[並列に]]動作する[[実行環境]]を作成し、以後この環境で実行します。
= [50] [DFN[[[official moment of creation]]]] とします。
== [182] [VAR[ワーカー大域適用範囲]]の[F[時刻起源]]を、現在時刻に設定します [SRC[>>181]]。
= [63] [VAR[共有である]]を、[VAR[ワーカー]]が [CODE(DOMi)@en[[[SharedWorker]]]]
であるか否かに設定します。
= [191] [VAR[共有である]]なら、
== [55] [VAR[ワーカー大域適用範囲]]を、
新しい [CODE(DOMi)@en[SharedWorkerGlobalScope]] に設定します。
[FIG(list members middle)[ [189] [CODE(DOMi)@en[SharedWorkerGlobalScope]]
: [F[構築子URL]] : [VAR[URL]]
: [F[構築子起源]] : [F[起源]]
: [F[名前][ワーカーの名前]] : [VAR[オプション群]]の [CODE(DOMa)@en[name][ワーカー名]]
]FIG]
= [192] それ以外なら、
== [193] [VAR[ワーカー大域適用範囲]]を、
新しい [CODE(DOMi)@en[DedicatedWorkerGlobalScope]] に設定します。
[FIG(list members middle)[ [85] [CODE(DOMi)@en[DedicatedWorkerGlobalScope]]
: [F[名前][ワーカーの名前]] : [VAR[オプション群]]の [CODE(DOMa)@en[name][ワーカー名]]
]FIG]
= [164] [VAR[所有子]]を、[VAR[外側設定群]]の[[追加する関連所有子]]に設定します。
= [176] [VAR[所有子]]が [CODE(DOMi)@en[WorkerGlobalScope]] の場合、
== [177] [VAR[親ワーカー大域適用範囲]]を、[VAR[所有子]]に設定します。
= [178] それ以外の場合、
== [175] [VAR[親ワーカー大域適用範囲]]を、 [CODE[null]] に設定します。
= [53] 
[VAR[realm実行文脈]]を、
[[新しいJavaScript realmを作成]]した結果に設定します。
[FIG(list members)[

: [[大域オブジェクト]] : [VAR[ワーカー大域適用範囲]]

]FIG]
= [137] [VAR[内側設定群]]を、[VAR[realm実行文脈]]と[VAR[外側設定群]]について[[ワーカー環境設定群オブジェクトの設定]]を実行した結果に設定します。
= [162] [VAR[オプション群]]の[F[[CODE[[[type]]]]]] により、
[FIG(switch)[
: [CODE[classic]] :
[[古典ワーカースクリプトのfetch]]を実行します。
[FIG(list members)[
: [VAR[URL]] : [VAR[URL]]
: [VAR[fetchクライアント設定群オブジェクト]] : [VAR[外側設定群]]
: [VAR[スクリプト設定群オブジェクト]] : [VAR[内側設定群]]
: [VAR[終点]] :
[VAR[共有である]]なら [CODE[sharedworker]]、そうでないなら [CODE[worker]]
: [VAR[続きの処理]] : >>163
]FIG]
: [CODE[module]] : 
[[モジュールワーカースクリプト木のfetch]]を実行します。
[FIG(list members)[
: [VAR[URL]] : [VAR[URL]]
: [VAR[credentialsモード]] : [VAR[オプション群]]の[F[[CODE[credentials]]]]
: [VAR[終点]] :
[VAR[共有である]]なら [CODE[sharedworker]]、そうでないなら [CODE[worker]]
: [VAR[fetchクライアント設定群オブジェクト]] : [VAR[外側設定群]]
: [VAR[モジュール写像設定群オブジェクト]] : [VAR[内側設定群]]
: [VAR[続きの処理]] : >>163
]FIG]
]FIG]
]FIG]

[195] ここで、いずれかの [[fetch]] が実行されますが、その[[fetchの実行]]で[VAR[内側設定群]]と[VAR[ワーカー大域適用範囲]]が参照されます。

[163] いずれかの [[fetch]] の結果、[[非同期的]]に、
[VAR[スクリプト]]を受け取って次の処理が続けることとなります。

[FIG(steps)[
= [57] [VAR[スクリプト]]が null の場合、
== [58] [[タスクをキューに追加]]します。
[FIG(list members)[
[FIGCAPTION[
[51] [[タスク]]
]FIGCAPTION]
:[F[[[タスク源]]]]:[[DOM操作タスク源]]
:[F[処理]]:
[FIG(steps)[
= [60] [[単純イベントを発火]]します。
[FIG(list members)[
[FIGCAPTION[
[52] [[単純イベント]]
]FIGCAPTION]
:[F[[[イベント型]]]]:[CODE(DOMe)@en[[[error]]]]
:[F[[[対象]]]]: [VAR[ワーカー]]
]FIG]
]FIG]
]FIG]
== [145] [VAR[内側設定群]]について[[環境廃棄手順群]]を実行します。
== [59] ここで終わります。
= [138] [VAR[ワーカー]]に[VAR[ワーカー大域適用範囲]]を関連付けます。
= [139] [VAR[内側ポート]]を、
[VAR[所有者]]を[VAR[内側設定群]]として[[新しい[CODE(DOMi)@en[MessagePort]]オブジェクトを作成]]した結果に設定します。
= [140] [VAR[ワーカー大域適用範囲]]の[F[暗示的ポート]]を、[VAR[内側ポート]]に設定します。
= [141] [VAR[外側ポート]]と[VAR[内側ポート]]を [[entangle]] します。
= [200] [VAR[内側ポート]]を[[出荷]]します。 [SRC[[[仕様書]]になし]]
= [142] [VAR[所有子]]を[VAR[ワーカー大域適用範囲]]の[F[所有子集合]]に[[追加][set append]]します。
= [143] [VAR[親ワーカー大域適用範囲]]が [CODE[null]] で''ない''場合、
== [144] [VAR[ワーカー大域適用範囲]]を[VAR[親ワーカー大域適用範囲]]の[F[ワーカー集合]]に[[追加][set append]]します。
= [126] [VAR[ワーカー大域適用範囲]]の[F[型][スクリプトの型]]を、
[VAR[オプション型]]の [F[[CODE[type]]]] に設定します。
= [149] [VAR[ワーカー大域適用範囲]]に新しい [CODE(DOMi)@en[[[WorkerGlobalScope]]]]
を関連付けます。
= [198] [VAR[内側設定群]]の[F[実行準備完了フラグ]]を設定します。
= [103] 引き続き実行に移ります。
]FIG]

-*-*-

[47] [CODE(DOMi)@en[WorkerGlobalScope]] は、
[DFN[[F[[RUBYB[[[ワーカー集合]]]@en[worker set]]]]]]
(旧[DFN[[F[[RUBYB[[[ワーカーのワーカー群]]]@en[the worker's workers]]]]]])
を持ちます。
[CODE(DOMi)@en[WorkerGlobalScope]] の[[集合]]で、初期状態は[[空][空集合]]です。 [SRC[>>42]]

* 実行

[40] [[専用ワーカー]]と[[共有ワーカー]]は、本項の通り実行されます。

;; [[サービスワーカー]]は別の方法で実行されます。[[サービスワーカー]]参照。

-*-*-

[45] [CODE(DOMi)@en[WorkerGlobalScope]] は、
[DFN[[F[[RUBYB[[[所有子集合]]]@en[owner set]]]]]]
(旧[DFN[[F[[RUBYB[[[ワーカーの[CODE(DOMi)@en[Document]]群]]]@en[the worker's [CODE[Document]]s]]]]]]) を持ちます。
[F[所有子集合]]は、[[文書]]または [CODE(DOMi)@en[WorkerGlobalScope]]
の[[集合]]で、初期状態は[[空][空集合]]です。 [SRC[>>42]]

[FIG(switch)[
: [[専用ワーカー]]の場合 :
[[ワーカー]]を作成した元の[[文書]] ([[文書]]から作成した場合) か、
元の [CODE(DOMi)@en[WorkerGlobalScope]] ([[ワーカー]]から作成した場合) となります。
高々1個です。
: [[共有ワーカー]]の場合 :
[[ワーカー]]を作成した元の[[文書]] ([[文書]]から作成した場合) か、
元の [CODE(DOMi)@en[WorkerGlobalScope]] ([[ワーカー]]から作成した場合) となります。
複数含まれることがあります。
: [[サービスワーカー]]の場合 :
常に[[空][空集合]]です。
]FIG]


[75] [[環境設定群オブジェクト]][VAR[設定群]]の[DFN[[RUBYB[追加する関連所有子]@en[relevant owner to add]]]]
(旧 [DFN[list of relevant [CODE[Document]] objects to add]])
は、次のようにして得られます [SRC[>>42]]。

[FIG(steps)[
= [46] [VAR[設定群]]の[F[大域オブジェクト]]により、
[FIG(switch)[
: [CODE(DOMi)@en[WorkerGlobalScope]] :
[VAR[設定群]]の[F[大域オブジェクト]]を返します。
: [CODE(DOMi)@en[Window]] :
[VAR[設定群]]の[F[有責文書]]を返します。
]FIG]
]FIG]

[76] この定義は、[[ワーカーを走らせる]]処理と[[共有ワーカー]]の[[コンストラクター]]の処理から呼び出されます。

-*-*-

[104] [[ワーカー]]は、 [DFN[[F[permissible worker]]]] であるか、そうでないかのいずれかです。
[SRC[>>42]]

[79] [[ワーカー]]の [CODE(DOMi)@en[WorkerGlobalScope]] の[F[所有者集合]]が[[空]]で''ない''場合、
[F[permissible worker]] です。 [SRC[>>42]]

;; [80] つまり[[文書]]や他の[[ワーカー]]から参照されている[[ワーカー]]が該当します。

[81] [[共有ワーカー]]の [CODE(DOMi)@en[WorkerGlobalScope]] の[F[所有者集合]]が[[空]]となってから[[利用者エージェント]]定義の短い時間が経過して''いない''場合で、
[F[completely loaded]] で''ない''[F[文書]]の[[閲覧文脈]]が[[利用者エージェント]]に存在する場合、
[F[permissible worker]] です。 [SRC[>>42]]

;; [82] つまり[[共有ワーカー]]の参照元が消失しても、
新たな参照元が登場する可能性が残っている間は、該当します。
[[起源]]などの制約がありませんが、[[フレーム]]などで間接的にアクセスされる可能性があるからでしょう。

;; [120] [[コンストラクター]]で作られた時点では必ず [[permissible worker]]
のはずですが (他の[[ワーカー]]内から[[コンストラクター]]を呼び出した場合で、
[[ワーカー]]の[[タスク]]の実行中にその[[ワーカー]]が [[permissible worker]]
かどうかが変化しないなら。)、新しい[[ワーカー]]の[[スクリプト]]の実行開始時点では既に
[[permissible worker]] ではなくなっている可能性はあります。

;; [114] [[permissible worker]] は、 [[active needed worker]] と [[suspendable worker]]
のどちらかです。

[109] [[ワーカー]]は、[F[所有者集合]]のいずれかが[F[完全に活性]]な[[文書]]か
[[[F[active needed]] worker]] なら、 [DFN[[[[F[active needed]] worker]]]] です。 [SRC[>>42]]

;; [110] 定義上、必ず [[permissible worker]] です。

;; [56] [[active needed worker]] でなくなったら、
[[ワーカーを停止]]させることができる場合があります。

[113] [[ワーカー]]は、[[active needed worker]] ではなく、
[[permissible worker]] なら、 [DFN[[[suspendable worker]]]] です [SRC[>>42]]。

[66] [VAR[内側設定群]]の[F[大域オブジェクト]]の [F[[[closing flag]]]]
が[[偽]]で、[[ワーカー]]が [[suspendable worker]] である間は、
実行を[DFN[[RUBYB[一時中断]@en[suspend]]]]しなければ[MUST[なりません]] [SRC[>>48]]。
その後 [F[[[closing flag]]]] が[[真]]となるか、 [[suspendable worker]]
でなくなったなら、一時中断を解除しなければ[['''なりません''']] [SRC[>>48]]。

;; [121] [[fetch]] などは実行を続けるものの、結果の処理は行わない感じでしょうか?

;; [173] [[タイマー]]は [[suspend]] 中、進行が停止します。
[CODE(DOMm)@en[setTimeout]]/[CODE(DOMm)@en[setInterval]] 参照。

[112] [[active needed worker]] は、次のいずれかの場合、
[DFN[[[protected worker]]]] です [SRC[>>42]]。
[FIG(list)[
- [115] 進行中の[[タイマー]]、[[データベース取引]]、[[ネットワーク接続]]がある
- [117] [F[[[ワーカーのポート群]]]]が空でない
- [116] [[共有ワーカー]]である
]FIG]

;; [119] 未処理の[[タスク]]があるかどうかは条件に入っていません。

[65] [[ワーカー]]が [[protected worker]] ではなくなった後、
[[permissible worker]] でなくなるよりも前に、
[VAR[ワーカー大域適用範囲]]の [F[[[closing flag]]]]
を[[真]]に設定しなければ[['''なりません''']] [SRC[>>48]]。

[FIG(flow)[
:start:生成
:->:active
:->:suspendable
:>>:2
:v:

:active:[[active needed worker]]
:->:protected
:->:non-permissible

:suspendable:[[suspendable worker]]
:->:non-permissible
:>>:3

:protected:[[protected worker]]
:->:active
:->:suspendable
:->:non-permissible
:v:
:>>:2

:non-permissible:非 permissible
:v:
:>>:4
]FIG]

;; [39] [[ワーカー]]が持つその他の状態については [CODE(DOMi)@en[[[WorkerGlobalScope]]]] を参照。

[67] 作成に引き続き、次のようにしなければ[['''なりません''']] [SRC[>>48]]。
[FIG(steps)[
= [68] [VAR[スクリプト]]の種別により、
[FIG(switch)[
: [[古典スクリプト]] :
[VAR[スクリプト]]について[[古典スクリプトを実行]]します。
: [[モジュールスクリプト]] :
[VAR[スクリプト]]について[[モジュールスクリプトを実行]]します。
]FIG]
= [150] [VAR[外側ポート]]の[[ポートメッセージキューの有効化]]を実行します。
= [69] [VAR[共有である]]なら、
== [154] [[タスクをキューに追加]]します。
[FIG(list members)[
[FIGCAPTION[
[[タスク]]
]FIGCAPTION]
:[F[[[タスク源]]]]: [[DOM操作タスク源]]
:[F[処理]]:
[FIG(steps)[
= [152] [[イベント]]を[[発火]]します。
[FIG(list members)[
[FIGCAPTION[
[153] [[イベント]]
]FIGCAPTION]
:[[インターフェイス]]: [CODE(DOMi)@en[[[MessageEvent]]]]
:[F[[[trusted]]]]: [[真]]
: [F[[[イベント型]]]] : [CODE(DOMe)@en[[[connect]]]]
: [F[[[bubble]]]] : [[偽]]
: [F[[[取消可能]]]] : [[偽]]
: [F[[[既定動作]]]] : なし
: [F[[CODE(DOMa)@en[[[data]]]]]] : [[空文字列]]
: [F[[CODE(DOMa)@en[[[ports]]]]]] : [VAR[内側ポート]]を含む[[凍結配列]]
: [F[[CODE(DOMa)@en[[[source]]]]]] : [VAR[[[内側ポート]]]]
: [F[[[対象]]]] : [VAR[ワーカー大域適用範囲]]
]FIG]
]FIG]
]FIG]
= [151] それ以外なら、
== [70] [VAR[ワーカー大域適用範囲]]の[F[暗示的ポート]]の[[ポートメッセージキューの有効化]]を実行します。
= [187] [F[サービスワーカークライアント]]が[VAR[ワーカー大域適用範囲]]の[F[設定群オブジェクト]]であるような
[CODE(DOMi)@en[ServiceWorkerContainer]] の[F[クライアントメッセージキュー]]を有効化します。
= [71] [VAR[内側設定群]]の[F[有責イベントループ]]を (破棄されるまで) 実行します。
= [72] [[ワーカーの終了]]の処理をします。
]FIG]

* 終了と破棄

[73] [[ワーカーの終了]]を参照。

* 歴史

** Web Workers

[35] [[Ian Hickson]] は[[ワーカー]]の導入に当たり、 [[HTML5]]
本体とは別の [DFN[[[Web Workers]]]] 仕様書を新たに作成しました。

[36] しかしその後 [[Web Workers]] 仕様書は [[Web Applications 1.0]] (現在の
[[HTML Standard]]) に統合され、単独の仕様書としては出版されなくなりました。

;; [37] その後も [[W3C]] 版 [[Web Workers]] 仕様書は取り残されていますが、
気にする必要はありません。

[93] 当時の[[仕様書]]最新版の [[URL]] は
<http://www.whatwg.org/specs/web-workers/current-work/> でした。

[REFS[
- [86] [CITE[webworkers - Revision 278: /]] ([TIME[2011-06-14 08:39:32 +09:00]]) <https://svn.whatwg.org/webworkers/>
-- [[Ian Hickson]] が使っていた [[SVN]] リポジトリー
--
[TIME[2008-07-09]] - 
[TIME[2011-06-14]] r278
-- 2017年8月廃止、今はアクセスできない
-- ソース
--- <https://web.archive.org/web/20081220191750/http://svn.whatwg.org:80/webworkers/source>
--- <https://web.archive.org/web/20090704125405/http://svn.whatwg.org:80/webworkers/source>
-- 生成済み HTML ファイル
--- <https://web.archive.org/web/20081220191943/http://svn.whatwg.org:80/webworkers/index>
--- <https://web.archive.org/web/20090309165124/http://svn.whatwg.org:80/webworkers/index>
--- <https://web.archive.org/web/20090416012624/http://svn.whatwg.org:80/webworkers/index>
--- 以後も数個 [[Internet Archive]] に保存されている
- [91] 
-- <https://web.archive.org/web/20080902000328/http://www.whatwg.org:80/specs/web-workers/current-work/>
-- <https://web.archive.org/web/20081202044002/http://www.whatwg.org/specs/web-workers/current-work/>
-- <https://web.archive.org/web/20081217233951/http://www.whatwg.org:80/specs/web-workers/current-work/>
-- <https://web.archive.org/web/20090117051216/http://www.whatwg.org:80/specs/web-workers/current-work/>
-- 以後もいくつか [[Internet Archive]] に保存されている
- [90] [CITE@en[Web Workers Tracker]] ([TIME[2017-09-19 00:03:45 +09:00]]) <https://web.archive.org/web/20110910035357/http://html5.org/tools/web-workers-tracker>
-- [TIME[2009-09-17]] r179 以後のコミットメッセージと日付の一覧
- [92] それ以前の主要なコミットメッセージは [[Twitter]] をたどれば見れます。
-- 例えば [CITE@en[Twitter / WHATWG]] ([TIME[2017-09-19 00:42:44 +09:00]]) <https://web.archive.org/web/20081118064536/http://twitter.com/WHATWG>
(現在でも削除されず [[Twitter]] に残っているが、
自力でこの時代まで遡って見るのは難しい。)

]REFS]

[88] [TIME[2009年3月][2009-03]]に [CITE[Web Workers]] の[[ソース]]が [CITE[HTML5]] 
と統合されました [SRC[>>87]]。その後は[[仕様書]]および [[SVN]]
[[リポジトリー]]としては存続していますが、
大元の[[ソース]]ファイルは [[HTML5]] の [[SVN]] [[リポジトリー]]に移動しています。

[REFS[
- [87] [CITE@en['''['''''']''' (0) Change the way the Web Workers spec is generated.]] ([[Hixie]]著, [TIME[2009-03-20 17:36:31 +09:00]]) <https://github.com/whatwg/html/commit/a2cf6570bab4e42fcac0d576d786b7ce389d117a>
- [89] [CITE@en['''['''e''']''' (0) Integrate the specs together a bit more, fix some legacy issues.]] ([[Hixie]]著, [TIME[2009-03-20 17:52:31 +09:00]]) <https://github.com/whatwg/html/commit/48b9dd9946fbd06b3f358573559866e0375eb4d8>
]REFS]

[22] [CITE[HTML5WorkerProposal - google-gears - Google Code]] ([TIME[2008-03-23 20:14:32 +09:00]] 版) <http://code.google.com/p/google-gears/wiki/HTML5WorkerProposal>

[23] [CITE[Worker - 素人がプログラミングを勉強するブログ]] ([TIME[2009-03-07 22:03:26 +09:00]] 版) <http://d.hatena.ne.jp/javascripter/20090306/1236326979>

[24] [CITE[IRC logs: freenode / #whatwg / 20120827]]
( ([TIME[2012-09-03 21:22:43 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20120827#l-596>

[25] [CITE[''''''[''''''whatwg'''''']'''''' Feedback on Web Worker specification]]
( ([TIME[2012-11-20 23:30:54 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-November/038038.html>

[26] [CITE[''''''[''''''whatwg'''''']'''''' Real-time thread support for workers]]
( ([TIME[2012-12-29 16:40:16 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-December/038480.html>

[27] [CITE[''''''[''''''whatwg'''''']'''''' Possible bug in the way the spec about worker GC behavior]]
( ([TIME[2013-12-04 00:44:38 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-December/041684.html>

[28] [CITE[''''''[''''''whatwg'''''']'''''' Flow Control on Websockets]]
( ([TIME[2013-12-04 00:44:38 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-December/041687.html>

[29] [CITE@en[Sync IO APIs in Shared Workers]]
( ([[Jonas Sicking]] 著, [TIME[2013-11-22 11:33:51 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-webapps/2013OctDec/0531.html>

[30] [CITE@en[Web Applications 1.0 r8405 Various editorial tweaks.]]
( ([TIME[2014-01-17 17:12:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8404&to=8405>

[31] [CITE@en[Re: On starting WebWorkers with blob: URLs...]]
( ([[Jonas Sicking]] 著, [TIME[2014-02-20 09:09:42 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-webapps/2014JanMar/0444.html>

[32] [CITE@en[Web Applications 1.0 r8837  Allow browsers to let shared workers survive navigation for a short time.]]
( ([TIME[2014-10-15 06:44:00 +09:00]] 版))
<https://html5.org/r/8837>

[33] [CITE@en[''''''[''''''webappsec'''''']'''''' Rechartering: sandboxed cross-origin workers]]
( ([[Brad Hill]] 著, [TIME[2014-11-10 09:10:31 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-webappsec/2014Nov/0129.html>

[1]
[CITE@en-US-x-hixie[Web Workers]] ([CODE[2008-07-09 20:07:39 +09:00]] 版) <http://www.whatwg.org/specs/web-workers/current-work/>
([[名無しさん]])

[2]
[CITE[Workers]] ([[Ian Hickson <ian@...>]] 著, [CODE[2008-07-10 01:30:50 +09:00]] 版) <http://permalink.gmane.org/gmane.org.w3c.whatwg.discuss/14607>
([[名無しさん]])


[3]
[CITE@en-US-x-hixie[Web Workers]] ([TIME[2008-07-11 21:09:52 +09:00]] 版) <http://suika.fam.cx/www/markup/html/html5/spec-ja/workers-non-normative>


[4] [CITE[Workers]] ([[Ian Hickson]] 著, [TIME[2008-08-27 09:50:15 +09:00]] 版) <http://permalink.gmane.org/gmane.org.w3c.whatwg.discuss/15294>

[5] [CITE[Workers feedback]] ([[Ian Hickson]] 著, [TIME[2008-11-13 23:30:47 +09:00]] 版) <http://permalink.gmane.org/gmane.org.w3c.whatwg.discuss/16498>

[6] [CITE[Workers feedback]] ([[Ian Hickson]] 著, [TIME[2008-11-18 03:43:58 +09:00]] 版) <http://permalink.gmane.org/gmane.org.w3c.whatwg.discuss/16621>

[7] [CITE@en-us[Firefox 3.1 for developers - MDC]] ([TIME[2009-02-08 18:25:06 +09:00]] 版) <https://developer.mozilla.org/ja/Firefox_3.1_for_developers#.E6.96.B0.E3.81.97.E3.81.8F.E3.82.B5.E3.83.9D.E3.83.BC.E3.83.88.E3.81.95.E3.82.8C.E3.81.9F.E6.A9.9F.E8.83.BD_2>

[8] [CITE@en-US-x-Hixie[Web Workers]] ([TIME[2009-04-23 14:39:27 +09:00]] 版) <http://www.w3.org/TR/2009/WD-workers-20090423/>

[9] [CITE@en-US-x-Hixie[Web Workers]]
([TIME[2009-10-29 03:44:26 +09:00]] 版)
<http://www.w3.org/TR/2009/WD-workers-20091029/>

[10] [CITE@en-US-x-Hixie[Web Workers]]
([TIME[2009-12-18 01:36:30 +09:00]] 版)
<http://www.w3.org/TR/2009/WD-workers-20091222/>

[11] [CITE['''['''whatwg''']''' Web Workers feedback]]
([TIME[2010-04-23 07:26:52 +09:00]] 版)
<http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-April/025992.html>

[12] [CITE[''''''[''''''whatwg'''''']'''''' Workers feedback]]
( ([TIME[2011-02-05 09:56:05 +09:00]] 版))
<http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-February/030238.html>

[13] [CITE@en-US-x-Hixie[Web Workers]]
( ([TIME[2011-02-09 06:06:56 +09:00]] 版))
<http://www.w3.org/TR/2011/WD-workers-20110208/>

[14] [CITE@en-US-x-Hixie[Web Workers]]
( ([TIME[2011-03-10 02:01:52 +09:00]] 版))
<http://www.w3.org/TR/2011/WD-workers-20110310/>

[15] [CITE@en-US-x-Hixie[Web Workers]]
( ([TIME[2011-09-02 21:08:08 +09:00]] 版))
<http://www.w3.org/TR/2011/WD-workers-20110901/>

[16] [CITE@en[New tests submitted by Microsoft for WebApps specs]]
( ([[Adrian Bateman]] 著, [TIME[2011-09-14 10:26:30 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-webapps/2011JulSep/1406.html>

[17] [CITE@en-US-x-Hixie[Web Workers]]
( ([TIME[2012-03-12 22:02:57 +09:00]] 版))
<http://www.w3.org/TR/2012/WD-workers-20120313/>

[18] [CITE[IRC logs: freenode / #whatwg / 20120403]]
( ([TIME[2012-04-13 00:14:14 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20120403#l-170>

[19] [CITE@en-US-x-Hixie[Web Workers]]
( ([TIME[2012-05-01 21:20:59 +09:00]] 版))
<http://www.w3.org/TR/2012/CR-workers-20120501/>

[100] [CITE[''''''[''''''whatwg'''''']'''''' Reporting errors during Web Worker startup]]
( ([TIME[2013-07-13 05:21:03 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-July/040018.html>

[101] [CITE[IRC logs: freenode / #whatwg / 20130711]]
( ([TIME[2013-07-14 16:09:35 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20130711>


[20] [CITE@en[Web Applications 1.0 r8328 for consistency, lowercase 'workers' in some references to Web workers]]
( ([TIME[2013-12-04 07:28:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8327&to=8328>

[102] [CITE@en[Web Applications 1.0 r8361     Describe what happens when you try to run a bad script as a worker]]
( ([TIME[2013-12-17 08:20:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8360&to=8361>

[21] [CITE@en[Re: ''''''[''''''workers'''''']'''''' Seeking status and plans]]
( ([[Simon Pieters]] 著, [TIME[2014-09-29 18:06:36 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-test-infra/2014JulSep/0080.html>

** Service Worker

[38] [[AppCache]] の代替として、新たな種類の[[ワーカー]]である [[Service Worker]]
が開発されました。 [[Service Worker]] は従来の[[ワーカー]]と似ている点も多く、
多くの機構を共有または継承していますが、そうでない点も多くあります。

;; 詳細は [[Service Worker]] を参照。


[FIG(quote)[
[FIGCAPTION[
[41] [CITE@en-US[Content Processes - Mozilla | MDN]]
([TIME[2014-12-21 23:51:46 +09:00]] 版)
<https://developer.mozilla.org/en-US/Add-ons/SDK/Guides/Contributor_s_Guide/Content_Processes>
]FIGCAPTION]

> Content Workers
> A content worker is an object that is used to inject content scripts into a content process, and to provide a pipe between each content script and the main add-on script. The idea is to use a single content worker for each content process. The constructor for the content worker takes an object containing one or more named options. Among other things, this allows us to specify one or more content scripts to be loaded.

]FIG]

[122] [CITE@en[Normative references to Workers.]]
([[Mike West]] 著, [TIME[2015-09-16 02:31:16 +09:00]] 版)
<https://lists.w3.org/Archives/Public/public-webapps/2015JulSep/0361.html>

[123] [CITE@en[Re: Normative references to Workers.]]
([[Arthur Barstow]] 著, [TIME[2015-09-16 21:17:36 +09:00]] 版)
<https://lists.w3.org/Archives/Public/public-webapps/2015JulSep/0367.html>

[124] [CITE@en[Integrate Fetch into HTML · whatwg/html@7c5555a]]
([TIME[2015-09-18 19:49:12 +09:00]] 版)
<https://github.com/whatwg/html/commit/7c5555a16f2920c02244c10756bb2f1a11e87a22>

[125] [CITE@en[Web Workers]]
([TIME[2015-09-23 23:47:47 +09:00]] 版)
<http://www.w3.org/TR/2015/WD-workers-20150924/>

[127] [CITE@en[Add 'HTTPS state' to settings objects · whatwg/html@6de5241]] ([TIME[2015-09-29 23:41:32 +09:00]] 版) <https://github.com/whatwg/html/commit/6de524157fcf341e10efb3eec634bcf7325e6ee4>

[128] [CITE@en[PSA: Change the Latest Editor's Drafts of WebStorage, WebWorkers, WebMessaging, Server-Sent Events and WebSockets]]
([[Xiaoqian Wu]] 著, [TIME[2015-10-20 02:52:22 +09:00]] 版)
<https://lists.w3.org/Archives/Public/public-webapps/2015OctDec/0099.html>

[130] [CITE@en[Give workers a base URL and clean up shared workers · whatwg/html@b620471]] ([TIME[2015-11-06 21:29:02 +09:00]] 版) <https://github.com/whatwg/html/commit/b620471ff823e8e6507b077cf0785a530762f5e3>

[132] [CITE@en[Add and populate global object's "CSP list" · whatwg/html@479dfbf]] ([TIME[2015-11-06 23:15:17 +09:00]] 版) <https://github.com/whatwg/html/commit/479dfbf1ff68b746ed3f81cc7415165e3342709e>

[133] [CITE@en[CfC: Is Web Workers Ready for CR? deadline Dec 14]]
([[Xiaoqian Wu]] 著, [TIME[2015-11-30 22:31:38 +09:00]] 版)
<https://lists.w3.org/Archives/Public/public-webapps/2015OctDec/0182.html>

[134] [CITE@en[Rewrite global object initialization to delegate to ES · whatwg/html@cf0355d]]
([TIME[2015-12-16 19:14:49 +09:00]] 版)
<https://github.com/whatwg/html/commit/cf0355d7e0e229b98f7fbd51b8c7608010c787f5>

[155] [CITE@en[Rewrite script execution on top of ES · whatwg/html@4891d18]]
([TIME[2015-12-23 01:15:41 +09:00]] 版)
<https://github.com/whatwg/html/commit/4891d18aaf2df1d40aa61f467a5a10cfc19dd85d>

[FIG(quote)[
[FIGCAPTION[
[64] [CITE[Web Workers]]
([TIME[2015-12-16 02:10:29 +09:00]] 版)
<https://w3c.github.io/workers/>
]FIGCAPTION]

> No one in the Web Platform Working Group is actively working on this specification. For the latest version of Web Workers use the WHATWG Living Standard.

]FIG]

[157] [CITE@en[Add <script type="module"> and module resolution/fetching/evaluation · whatwg/html@cd1a9fb]] ([TIME[2016-01-29 23:01:05 +09:00]] 版) <https://github.com/whatwg/html/commit/cd1a9fb1e83f7d0bc30be8b34ecdaf444a0b19a4>


[158] [CITE@en[27793 – In 10.2.6.4 "Shared workers and the SharedWorker interface", The note at Step 6 should include blob: urls.]]
([TIME[2016-01-30 12:22:25 +09:00]] 版)
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=27793>

[159] [CITE@en[CSP: Fix workers' CSP list initialization. · whatwg/html@05f9f32]]
([TIME[2016-01-30 13:31:07 +09:00]] 版)
<https://github.com/whatwg/html/commit/05f9f3266d6050b8b299ec365fdc63d5eab5b2b3>

[160] [CITE@en[URLs are parsed and produce records · whatwg/html@30bc255]]
([TIME[2016-02-14 23:05:46 +09:00]] 版)
<https://github.com/whatwg/html/commit/30bc2557105ad62881ec9670f253febbc9761b44>

[161] [CITE@en[Add module workers · whatwg/html@e3a5bb7]]
([TIME[2016-02-15 23:14:41 +09:00]] 版)
<https://github.com/whatwg/html/commit/e3a5bb757f64374c37d8c4528c01298463ef0b2a>



[54] [CITE@en[Fix #715: clarify how aborting a running script works · whatwg/html@6a48bfb]]
([TIME[2016-02-24 16:55:19 +09:00]] 版)
<https://github.com/whatwg/html/commit/6a48bfbf1066034eab4786d62ba4017593c48430>

[61] [CITE@en[Make script fetching more correct with regard to request destinations · whatwg/html@6dc9c9e]]
([TIME[2016-02-29 18:07:22 +09:00]] 版)
<https://github.com/whatwg/html/commit/6dc9c9e1efcc3122294fb015e4a4eea66456a611>

[165] [CITE@en[22700 – Inline Web worker scripts]]
([TIME[2016-03-17 16:51:17 +09:00]] 版)
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=22700>

[166] [CITE@en[Sync with recent changes to the JS spec's job queue · whatwg/html@5af258f]]
([TIME[2016-03-24 21:49:16 +09:00]] 版)
<https://github.com/whatwg/html/commit/5af258f33e3e2f55eb30e611cb7aee625a8bd16a>

[167] [CITE@en[Use FrozenArray for Navigator#languages and MessageEvent#ports · whatwg/html@e4df68a]]
([TIME[2016-03-25 13:54:24 +09:00]] 版)
<https://github.com/whatwg/html/commit/e4df68a41b86753c7fcdd0d8ea4615f63ffc87e9>

[168] [CITE@en[Clarify settings object, realm, and global relationships · whatwg/html@0866f1b]]
([TIME[2016-03-28 00:38:08 +09:00]] 版)
<https://github.com/whatwg/html/commit/0866f1b3f4b4ea5a99a30909e9bbe557dea0b460>

[169] [CITE@en[Clarify settings object, realm, and global relationships · whatwg/html@0866f1b]]
([TIME[2016-03-28 00:43:47 +09:00]] 版)
<https://github.com/whatwg/html/commit/0866f1b3f4b4ea5a99a30909e9bbe557dea0b460>

[170] [CITE@en[27143 – There's no reason to set a "responsible browsing context" since it is never used. Not having it for ''''''[''''''...'''''']'''''']]
([TIME[2016-03-29 11:20:20 +09:00]] 版)
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=27143>

[171] [CITE@en[Editorial: give worker APIs introductions · whatwg/html@afab06c]]
([TIME[2016-04-06 16:30:02 +09:00]] 版)
<https://github.com/whatwg/html/commit/afab06c9a6f48963f4713eed2c8a75324712a9b5>

[172] [CITE@en[Pass cryptographic nonce metadata to Fetch · whatwg/html@5479e07]]
([TIME[2016-04-07 16:23:51 +09:00]] 版)
<https://github.com/whatwg/html/commit/5479e07a6f6e01062b85b5fe6799752b0370336c>

[174] [CITE@en[Get a reference to the response correctly in worker initialization · whatwg/html@536a962]]
([TIME[2016-04-14 13:31:32 +09:00]] 版)
<https://github.com/whatwg/html/commit/536a96229ced274b80f78ad791c34ecfe11b289b>

[129] [CITE@en[Pass parser metadata to Fetch · whatwg/html@e6500b9]]
([TIME[2016-04-16 23:05:43 +09:00]] 版)
<https://github.com/whatwg/html/commit/e6500b90244376c023e7b78642dbc7b86829233f>

[131] [CITE@en[Use outside settings object to fetch workers]]
( ([[domenic]]著, [TIME[2016-05-11 19:57:24 +09:00]]))
<https://github.com/whatwg/html/commit/4e2b0066cb88fdc7ac65cc6e6a7eb40ac39418bd>

[179] [CITE@en[Integrate with the Referrer Policy spec, part 2 of n]]
( ([[domenic]]著, [TIME[2016-05-18 01:52:35 +09:00]]))
<https://github.com/whatwg/html/commit/176e74243c649b709b9959b7d08b327290c2f403>

[180] [CITE@en[Regression fix: add back origin check for shared workers]]
( ([[annevk]]著, [TIME[2016-05-28 13:26:06 +09:00]]))
<https://github.com/whatwg/html/commit/18c891f1a300a336d3df5b76fdae3b1d77b0b468>

[183] [CITE@en[29039 – Clarifications and extensions to worker semantics]]
([TIME[2016-06-24 21:15:17 +09:00]])
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=29039>

[FIG(quote)[
[FIGCAPTION[
[184] [CITE@en[Workers: Dedicated execution thread + related syntactic matters · Issue #851 · whatwg/html]]
([TIME[2016-06-24 21:18:26 +09:00]])
<https://github.com/whatwg/html/issues/851>
]FIGCAPTION]

> What we still do have is a limit on how many workers can be started. If a webpage creates 100 workers, we only start the first N workers.
> The other workers aren't started until one of the N first workers dies (is GCed or closed/terminated). No exceptions are thrown for the workers that aren't immediately started, they simply wait in a stalled state and accumulate any messages sent to them.

]FIG]


[185] [CITE@en[Improve all the script-fetching algorithms]]
([[domenic]]著, [TIME[2016-07-08 01:25:53 +09:00]])
<https://github.com/whatwg/html/commit/b4f40e72fcca8a13eefa8a2dd06258378e76fcb7#diff-36cd38f49b9afa08222c0dc9ebfe35ebR97129>

[186] [CITE@en[Service workers: enable the client message queue]]
([[jungkees]]著, [TIME[2016-07-22 16:19:50 +09:00]])
<https://github.com/whatwg/html/commit/d61594754338b16bbc1b9e7233600f4f6667d834>

[188] [CITE@en[Fix regression in setting up SharedWorkerGlobalScope]]
([[domenic]]著, [TIME[2016-10-05 02:29:37 +09:00]])
<https://github.com/whatwg/html/commit/17525591619f64962b181a4d4b3de7735c16c4c9>

[190] [CITE@en[Define how data URLs affect workers]]
([[annevk]]著, [TIME[2016-09-15 19:34:58 +09:00]])
<https://github.com/whatwg/html/commit/c592f62985ab9aa0e26c111a9823de5101d58c96>

[FIG(quote)[
[FIGCAPTION[
[194] [CITE@en[Welcome new WebPlat editors]]
([[Léonie Watson]]著, [TIME[2016-10-23 22:30:26 +09:00]])
<https://lists.w3.org/Archives/Public/public-webapps/2016OctDec/0013.html>
]FIGCAPTION]

> Tobie Langel (IE) as editor for WebIDL, Sangwhan Moon (IE) as editor for 
> Web Workers and HTML, Yongsheng Zhu (Alibaba) as editor for DOM, and 
> Brandon Jones (Google) as editor for Gamepad API.

]FIG]

[74] [CITE@en[Clarify settings object, realm, and global relationships · whatwg/html@0866f1b]]
([TIME[2016-03-28 00:40:43 +09:00]] 版)
<https://github.com/whatwg/html/commit/0866f1b3f4b4ea5a99a30909e9bbe557dea0b460>

[196] [CITE@en[Improve navigate for service worker hooks]]
([[jungkees]]著, [TIME[2016-10-24 20:32:35 +09:00]])
<https://github.com/whatwg/html/commit/2b93f9ec35b152e58d3e181bea8c45d789bac949>

[197] [CITE@en[Add environment's execution ready flag]]
([[jungkees]]著, [TIME[2016-11-09 19:26:26 +09:00]])
<https://github.com/whatwg/html/commit/d358c7814de8a053dcb8615a5d87e8c2e0e19257>

[199] [CITE@en[Change the model for workers.]]
([[mikewest]]著, [TIME[2016-11-29 23:24:18 +09:00]])
<https://github.com/w3c/webappsec-csp/commit/1af72ed19bf952402c514b7e7a966fb234d63217>

[204] [CITE@en[Fix classic worker scripts to be created in the correct realm]]
([[domenic]]著, [TIME[2016-11-23 01:50:08 +09:00]])
<https://github.com/whatwg/html/commit/11b6a37f934b528d4e5799b1cd9485e1850e3cf2>

[207] [CITE@en[Remove appcache from shared workers]]
([[domenic]]著, [TIME[2017-02-23 09:46:48 +09:00]])
<https://github.com/whatwg/html/commit/3f1c84d682da30be5c323a43dfcc8995aae2f731>

[44] [CITE@en[Editorial: restructure ownership of workers to parent-owners]]
([[annevk]]著, [TIME[2017-04-14 14:47:44 +09:00]])
<https://github.com/whatwg/html/commit/59a4750f475acd789ee436b4906972ba2081d8b3>

[62] [CITE@en[Minor cleanup in /specs/]]
([[annevk]]著, [TIME[2017-02-15 21:51:30 +09:00]])
<https://github.com/whatwg/whatwg.org/commit/1742f9995187c11b53e01075613288bd031a03e2>

[77] [CITE@en[Remove overly permissive "kill a worker" algorithm]]
([[annevk]]著, [TIME[2017-04-19 16:37:30 +09:00]])
<https://github.com/whatwg/html/commit/77c694e25adabfc5706b5885fbcc1b0d3d5c4416>

[78] [CITE[The WHATWG Blog — HTML and shared memory]]
([TIME[2017-05-02 09:02:28 +09:00]])
<https://blog.whatwg.org/html-and-shared-memory>

[83] [CITE@en[Move from 'the worker's documents' to the worker's 'owner set']]
([[mikewest]]著, [TIME[2017-05-05 15:48:17 +09:00]])
<https://github.com/w3c/webappsec-csp/commit/af5868735cdfcfbed09b4f7a3aee69ca6699a1cc>

[84] [CITE@en[Add a name to dedicated workers, for debugging]]
([[domenic]]著, [TIME[2017-05-12 12:43:56 +09:00]])
<https://github.com/whatwg/html/commit/3bb652169741d5dd94d7f1b390f6491e38d640cb>

[94] [CITE@en[Reword/drop “must"s in dev view of Workers section]]
([[sideshowbarker]]著, [TIME[2017-12-13 05:33:07 +09:00]])
<https://github.com/whatwg/html/commit/ff815530594e017b14961ba98186da3307b7622c>

[95] [CITE@en[Reword/drop “must"s in dev view of Workers section by sideshowbarker · Pull Request #3254 · whatwg/html]]
([TIME[2017-12-14 20:51:31 +09:00]])
<https://github.com/whatwg/html/pull/3254>

[96] [CITE@en[Editorial: "return, but continue" cleanup for downloads and Worker]]
([[annevk]]著, [TIME[2018-01-24 22:04:54 +09:00]])
<https://github.com/whatwg/html/commit/0217e1d4cb1ace836f6ef72a402b643aa879fbed>

[97] [CITE@en[Editorial: "return, but continue" cleanup for downloads and Worker by annevk · Pull Request #3397 · whatwg/html]]
([TIME[2018-01-27 16:49:54 +09:00]])
<https://github.com/whatwg/html/pull/3397>

[99] [CITE@en[Editorial: Define "realm execution context" in a separate step]]
([[TimothyGu]]著, [TIME[2018-01-15 08:06:05 +09:00]])
<https://github.com/whatwg/html/commit/b5f9ad629cb498206bd9e4144de9ec58e27fef98>

[105] [CITE@en[Editorial: Define "realm execution context" in a separate step by TimothyGu · Pull Request #3314 · whatwg/html]]
([TIME[2018-02-12 13:41:19 +09:00]])
<https://github.com/whatwg/html/pull/3314>

[106] [CITE@en[Editorial: move owner set manipulation into discarding a document]]
([[GloverDonovan]]著, [TIME[2018-02-21 05:07:06 +09:00]])
<https://github.com/whatwg/html/commit/a5586f115e4c982c22b4d9d583a20b26236f5991>

[107] [CITE@en[Move owner set manipulation during document discarding · Issue #2533 · whatwg/html]]
([TIME[2018-02-21 10:34:53 +09:00]])
<https://github.com/whatwg/html/issues/2533>

[108] [CITE@en[Move owner set manipulation into discarding a document by GloverDonovan · Pull Request #3473 · whatwg/html]]
([TIME[2018-02-21 10:35:07 +09:00]])
<https://github.com/whatwg/html/pull/3473>

[111] [CITE@en[clarify "WebWorkers are expensive" statement · Issue #8 · GoogleChromeLabs/tasklets]]
([TIME[2018-03-05 17:56:44 +09:00]])
<https://github.com/GoogleChromeLabs/tasklets/issues/8>

[118] [CITE@en[Add "environment discarding steps" hook]]
([[mattto]]著, [TIME[2018-06-06 11:00:53 +09:00]])
<https://github.com/whatwg/html/commit/9592eb5e25acde62b8832ca5fd47d87805a2acbc>

[146] [CITE@en[Discard the environment after a failed navigation or worker start. by mattto · Pull Request #3723 · whatwg/html]]
([TIME[2018-06-08 17:49:36 +09:00]])
<https://github.com/whatwg/html/pull/3723>

[147] [CITE@en[Fix calls to InitializeHostDefinedRealm]]
([[TimothyGu]]著, [TIME[2018-07-29 04:10:47 +09:00]])
<https://github.com/whatwg/html/commit/39c948ba5ec55677e209bc4fc631636f1e8e2baf>

[148] [CITE@en[Memorandum of Understanding Between W3C and WHATWG]]
([TIME[2019-05-28 17:23:37 +09:00]])
<https://www.w3.org/2019/04/WHATWG-W3C-MOU.html>