diff options
Diffstat (limited to 'testing/web-platform/tests/html/browsers/history/the-location-interface/resources/post-your-protocol.html')
-rw-r--r-- | testing/web-platform/tests/html/browsers/history/the-location-interface/resources/post-your-protocol.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/browsers/history/the-location-interface/resources/post-your-protocol.html b/testing/web-platform/tests/html/browsers/history/the-location-interface/resources/post-your-protocol.html new file mode 100644 index 0000000000..c50d623893 --- /dev/null +++ b/testing/web-platform/tests/html/browsers/history/the-location-interface/resources/post-your-protocol.html @@ -0,0 +1,4 @@ +<script> + var id = location.search.substring(1); + parent.postMessage({ id: id, protocol: location.protocol }, "*"); +</script> |