Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/clients-get-frame.html |
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/clients-get-frame.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/clients-get-frame.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..22a4b361475dd1dd4c063378b7d2a4b34cec3932 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/clients-get-frame.html |
| @@ -0,0 +1,10 @@ |
| +<!DOCTYPE html> |
| +<script> |
| +fetch("clientId") |
| + .then(function(response) { |
| + return response.text(); |
| + }) |
| + .then(function(text) { |
| + parent.postMessage({clientId: text}, "*"); |
| + }); |
| +</script> |