| Index: third_party/WebKit/LayoutTests/external/wpt/content-security-policy/support/ping.js
 | 
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/support/ping.js b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/support/ping.js
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..750ae45f969491ea29eaa47c85f96f97d94b415f
 | 
| --- /dev/null
 | 
| +++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/support/ping.js
 | 
| @@ -0,0 +1,12 @@
 | 
| +if (typeof ServiceWorkerGlobalScope === "function") {
 | 
| +  self.onmessage = function (e) { e.source.postMessage("ping"); };
 | 
| +} else if (typeof SharedWorkerGlobalScope === "function") {
 | 
| +  onconnect = function (e) {
 | 
| +    var port = e.ports[0];
 | 
| +
 | 
| +    port.onmessage = function () { port.postMessage("ping"); }
 | 
| +    port.postMessage("ping");
 | 
| +  };
 | 
| +} else if (typeof DedicatedWorkerGlobalScope === "function") {
 | 
| +  self.postMessage("ping");
 | 
| +}
 | 
| 
 |