MSApp Methods
This section describes MSApp methods, which support Windows Store apps using JavaScript.
ms-appx URI scheme); otherwise, the object doesn’t exist (and consequently, none of its methods and properties are available).In this section
| Topic | Description |
|---|---|
|
Specifies local context Uniform Resource Identifiers (URIs) for the zone elevation that is allowed. | |
|
Clears caches and indexedDB data for the app or WebView. | |
|
Creates a Blob from an IRandomAccessStream object. This method should be used when dealing with IRandomAccessStream objects in Apps in order to create a W3C based object from the stream. Once the blob is created, it can be used with the FileReader, URL APIs, and XMLHttpRequest. . | |
|
Converts the user’s or the applications’s specified range to an HTML fragment that can be shared. | |
|
Converts the user’s or the applications’s selection to an HTML fragment that can be shared. | |
|
Converts a standard World Wide Web Consortium (W3C)File object to its WinRT equivalent | |
|
Opens the specified URI in a new view. | |
|
Creates an MSStream from an InputStream. | |
|
Schedules a callback to be executed at a later time according to the given priority. | |
|
Runs the specified callback function at the given contextual priority. | |
|
Disables script injection validation for the passed function within the local context. | |
|
Returns the current contextual priority. | |
|
Returns the source content that is to be printed. | |
|
Gets the window (app view) for the current app. | |
|
Returns a Boolean value indicating whether there is pending work at the given priority level or higher. | |
|
Controls whether an app suppresses possible authentication prompts during the download of resources. | |
|
Terminates the current application and generates a failure report. |