| <!DOCTYPE html> |
| <title>Page navigated to by an _unfencedTop navigation</title> |
| |
| <script src="/resources/testharness.js"></script> |
| <script src="/resources/testharnessreport.js"></script> |
| <script src="utils.js"></script> |
| |
| <body> |
| <script> |
| promise_test(async(t) => { |
| // This page is navigated to from an '_unfencedTop' navigation by |
| // '../automatic-beacon-unfenced-top.https.html'. An automatic beacon will |
| // have been sent as a result of the navigation. |
| const beacon_data = "This is the beacon data!"; |
| const received_beacon_data = await nextAutomaticBeacon(beacon_data); |
| assert_equals(received_beacon_data, beacon_data); |
| }); |
| </script> |
| </body> |