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

Side by Side Diff: third_party/WebKit/LayoutTests/installedapp/resources/installedapp-test-helper.js

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 'use strict';
2
3 function assert_relatedapplication_equals(actual, expected, description) {
4 assert_equals(actual.platform, expected.platform, description);
5 assert_equals(actual.url, expected.url, description);
6 assert_equals(actual.id, expected.id, description);
7 }
8
9 function assert_array_relatedapplication_equals(
10 actual, expected, description) {
11 assert_equals(actual.length, expected.length, description);
12
13 for (let i = 0; i < actual.length; i++)
14 assert_relatedapplication_equals(actual[i], expected[i], description);
15 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698