Index: third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/webshare-origin-trial-interfaces.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/webshare-origin-trial-interfaces.html b/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/webshare-origin-trial-interfaces.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..adb3c6b311d53111fdac0302184b8c491878ac02 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/webshare-origin-trial-interfaces.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<meta charset="utf-8"> |
+<!-- Generate token with the command: |
+generate_token.py http://127.0.0.1:8000 WebShare --expire-timestamp=2000000000 |
+--> |
+<meta http-equiv="origin-trial" content="Ah4Oj3ljkRWMut+YnQrsBd4fPWHZLn3mH+2hHQeMEAZqYUnaVvTaY979zOeaBs9z+Mu0DaajtZ1iRmJNs0ifew0AAABQeyJvcmlnaW4iOiAiaHR0cDovLzEyNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiV2ViU2hhcmUiLCAiZXhwaXJ5IjogMjAwMDAwMDAwMH0=" /> |
+<title>WebShare - 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': ['share']}); |
+}, "WebShare related properties on interfaces in Origin-Trial enabled document."); |
+</script> |