mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
af1546391c
Replaces the file-backed provider by an in-memory one because proper file locking is a hard problem that detracts from the proof of concept. Teach the WPT runner how to extract tests from .html files because all the relevant tests in test_util/wpt/webmessaging/broadcastchannel are inside basics.html and interface.html.
5 lines
116 B
TypeScript
5 lines
116 B
TypeScript
new BroadcastChannel("intercom").onmessage = function (e) {
|
|
this.postMessage(e.data);
|
|
};
|
|
|
|
self.postMessage("go");
|