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

Unified Diff: third_party/WebKit/LayoutTests/installedapp/idl.html

Issue 2662303003: Some small tweaks to getInstalledRelatedApps IDL files. (Closed)
Patch Set: Removed RelatedApplication from global-interface-listing-expected.txt. Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/installedapp/idl.html
diff --git a/third_party/WebKit/LayoutTests/installedapp/idl.html b/third_party/WebKit/LayoutTests/installedapp/idl.html
new file mode 100644
index 0000000000000000000000000000000000000000..4111fe73e2d33451f75744deabaf30e46e6dc586
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/installedapp/idl.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<link rel="help" href="https://github.com/WICG/get-installed-related-apps/blob/master/EXPLAINER.md">
+<script src=../resources/testharness.js></script>
+<script src=../resources/testharnessreport.js></script>
+<script src=../resources/WebIDLParser.js></script>
+<script src=../resources/idlharness.js></script>
+<script type="text/plain" id="untested">
+ interface Navigator {
+ };
+</script>
+<script type="text/plain" id="tested">
+ [NoInterfaceObject]
+ interface RelatedApplication {
+ readonly attribute DOMString platform;
+ readonly attribute DOMString url;
+ readonly attribute DOMString id;
+ };
+ partial interface Navigator {
+ Promise<RelatedApplication> getInstalledRelatedApps();
+ };
+</script>
+<script>
+ "use strict";
+ var idl_array = new IdlArray();
+ idl_array.add_untested_idls(document.querySelector("#untested").textContent);
+ idl_array.add_idls(document.querySelector('#tested').textContent);
+ idl_array.add_objects({
+ Navigator: ['navigator']
+ });
+ idl_array.test();
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698