OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <link rel="manifest" href="resources/manifest.json"> |
| 3 <script src="../resources/testharness.js"></script> |
| 4 <script src="../resources/testharnessreport.js"></script> |
| 5 <script src="resources/installedapp-test-helper.js"></script> |
| 6 <script> |
| 7 |
| 8 promise_test(() => { |
| 9 // The manifest for this file has two related apps, but for now we can only |
| 10 // expect to see an empty list in response (since we do not check whether any |
| 11 // of the apps are installed). |
| 12 return navigator.getInstalledRelatedApps().then(result => { |
| 13 assert_array_relatedapplication_equals(result, []); |
| 14 }); |
| 15 }, 'getInstalledRelatedApps with related apps, none installed'); |
| 16 |
| 17 // TODO(mgiuca): Add another test for when the browser returns a non-empty list |
| 18 // of installed apps. |
| 19 |
| 20 </script> |
OLD | NEW |