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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/installedapp-origin-trial-interfaces.html

Issue 2785913003: Add an Origin Trial for Navigator.getInstalledRelatedApps. (Closed)
Patch Set: Fix tests and make non-Android-specific. Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/installedapp-origin-trial-interfaces.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/installedapp-origin-trial-interfaces.html b/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/installedapp-origin-trial-interfaces.html
new file mode 100644
index 0000000000000000000000000000000000000000..142ec49f7b0b3fdfcbdb7bec6b3ffb41b7342265
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/installedapp-origin-trial-interfaces.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<!-- Generate token with the command:
+generate_token.py http://127.0.0.1:8000 InstalledApp --expire-timestamp=2000000000
+-- -->
+<meta http-equiv="origin-trial" content="Akja9TlIC1gfGeeC9bkfQDkEVUWMgRRPCjxOhbdvY1hs7t5XnI4Nrfd8H0diidi6jrbO6HCXLK0jfMPduTXUKQIAAABUeyJvcmlnaW4iOiAiaHR0cDovLzEyNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiSW5zdGFsbGVkQXBwIiwgImV4cGlyeSI6IDIwMDAwMDAwMDB9" />
+<title>InstalledApp - interfaces exposed by origin trial</title>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/origin-trials-helper.js"></script>
+<script>
+test(t => {
+ OriginTrialsHelper.check_properties(this,
+ {'Navigator': ['getInstalledRelatedApps']});
+}, "InstalledApp related properties is on interfaces in Origin-Trial enabled document.");
+</script>

Powered by Google App Engine
This is Rietveld 408576698