Your Search Results


    This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.

    This API is available on Firefox or Firefox OS for installed or higher privileged applications.


    The MozActivityOptions interface allows apps to declare the activity they want to create and also to access information of activities they want to handle.

    When an application creates an activity by creating a MozActivity object, it has to pass a MozActivityOptions object. Then, when the activity is handled by the other application, a similar MozActivityOptions option can be found through MozActivityRequestHandler.source.

    Interface overview

    interface MozActivityOptions
      readonly attribute DOMString name;
      readonly attribute object? data;

    Properties Read only
    A string representing the name of the activity request. Read only
    An arbitrary object representing data that were sent to the activity handler.




    Web Activities is not part of any specification. However, it has some overlap with the proposed Web Intents specification. Mozilla actually proposed Web Activities as a counter proposal to Web Intents. For more information about this, see discussion on the Web Intents Task Force ML.

    See also

    Document Tags and Contributors

    Contributors to this page: Sheppy, fscholz, Jeremie, teoli, mounirlamouri, kscarfone, MHasan
    Last updated by: fscholz,