| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <title>getInstalledRelatedApps on an insecure origin</title> |
| 3 <script src="/resources/testharness.js"></script> |
| 4 <script src="/resources/testharnessreport.js"></script> |
| 5 <script src="/resources/get-host-info.js"></script> |
| 6 <script> |
| 7 if (window.location.origin != get_host_info().UNAUTHENTICATED_ORIGIN) { |
| 8 window.location = get_host_info().UNAUTHENTICATED_ORIGIN + window.location.pat
hname; |
| 9 } else { |
| 10 test(function(test) { |
| 11 assert_false('getInstalledRelatedApps' in navigator, |
| 12 'navigator.getInstalledRelatedApps attribute has [SecureContext
]'); |
| 13 }, 'getInstalledRelatedApps requires a secure context'); |
| 14 } |
| 15 </script> |
| OLD | NEW |