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

Side by Side Diff: third_party/WebKit/LayoutTests/webshare/idl.html

Issue 2142723002: Added idlharness-based test for Web Share API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webshare-requester-mojo-blink
Patch Set: Remove trailing line. 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <link rel="help" href="https://github.com/WICG/web-share/blob/master/docs/interf ace.md">
3 <script src=../resources/testharness.js></script>
4 <script src=../resources/testharnessreport.js></script>
5 <script src=../resources/WebIDLParser.js></script>
6 <script src=../resources/idlharness.js></script>
7 <script type="text/plain" id="untested">
8 interface Navigator {
9 };
10 </script>
11 <script type="text/plain" id="tested">
12 dictionary ShareData {
13 DOMString? title;
14 DOMString? text;
15 DOMString? url;
16 };
17 partial interface Navigator {
18 Promise<void> share(ShareData data);
19 };
20 </script>
21 <script>
22 "use strict";
23 var idl_array = new IdlArray();
24 idl_array.add_untested_idls(document.querySelector("#untested").textContent) ;
25 idl_array.add_idls(document.querySelector('#tested').textContent);
26 idl_array.add_objects({
27 Navigator: ['navigator']
28 });
29 idl_array.test();
30 </script>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698