Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Side by Side Diff: third_party/WebKit/LayoutTests/installedapp/getinstalledrelatedapps-empty.html

Issue 2488573002: Refactor getInstalledRelatedApps code and add manifest logic and tests. (Closed)
Patch Set: Use SecurityOrigin, not WebSecurityOrigin. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <script src="resources/installedapp-test-helper.js"></script>
5 <script>
6
7 promise_test(() => {
8 // With no manifest, expect an empty list in response.
9 return navigator.getInstalledRelatedApps().then(result => {
10 assert_array_relatedapplication_equals(result, []);
11 });
12 }, 'getInstalledRelatedApps with no apps');
13
14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698