Bug 1454293 [wpt PR 10484] - null is not the correct origin for createDocument()...
[gecko.git] / widget / nsIMacSharingService.idl
blob5a2ebf8e0538853a0e1477a239511a12aa524d87
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "nsISupports.idl"
7 /**
8 * Allow applications to interface with the Mac OS X Sharing APIs.
9 */
11 [scriptable, uuid(de59fe1a-46c8-490f-b04d-34545acb06c9)]
12 interface nsIMacSharingService : nsISupports
14 /**
15 * Get list of sharing providers
17 [implicit_jscontext] jsval getSharingProviders(in AString urlToShare);
19 /**
20 * Launch service with shareTitle with given url
22 void shareUrl(in AString shareTitle, in AString urlToShare);