Index: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/client-navigate-frame.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/client-navigate-frame.html b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/client-navigate-frame.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7e186f8ee7984d10a6541b23d9b5eecd3bb8b7fb |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/client-navigate-frame.html |
@@ -0,0 +1,12 @@ |
+<!DOCTYPE html> |
+<meta charset=utf-8> |
+<script> |
+ fetch("clientId") |
+ .then(function(response) { |
+ return response.text(); |
+ }) |
+ .then(function(text) { |
+ parent.postMessage({id: text}, "*"); |
+ }); |
+</script> |
+<body style="background-color: red;"></body> |