Name Description Size
ImageObjectProcessor.sys.mjs ImageObjectProcessor Implementation of Image Object processing algorithms from: http://www.w3.org/TR/appmanifest/#image-object-and-its-members This is intended to be used in conjunction with ManifestProcessor.sys.mjs Creates an object to process Image Objects as defined by the W3C specification. This is used to process things like the icon member and the splash_screen member. Usage: .process(aManifest, aBaseURL, aMemberName); 6698
Manifest.sys.mjs Manifest.sys.mjs is the top level api for managing installed web applications https://www.w3.org/TR/appmanifest/ It is used to trigger the installation of a web application via .install() and to access the manifest data (including icons). TODO: - Trigger appropriate app installed events 7999
ManifestFinder.sys.mjs Check from content process if DOM Window has a conforming manifest link relationship. @param aContent DOM Window to check. @return {Promise<Boolean>} 1796
ManifestIcons.sys.mjs 2729
ManifestObtainer.sys.mjs ManifestObtainer is an implementation of: http://w3c.github.io/manifest/#obtaining Exposes 2 public method: .contentObtainManifest(aContent) - used in content process .browserObtainManifest(aBrowser) - used in browser/parent process both return a promise. If successful, you get back a manifest object. Import it with URL: 'chrome://global/content/manifestMessages.js' e10s IPC message from this components are handled by: dom/ipc/manifestMessages.js Which is injected into every browser instance via browser.js. 5398
ManifestProcessor.sys.mjs ManifestProcessor Implementation of processing algorithms from: http://www.w3.org/2008/webapps/manifest/ Creates manifest processor that lets you process a JSON file or individual parts of a manifest object. A manifest is just a standard JS object that has been cleaned up. .process({jsonText,manifestURL,docURL}); Depends on ImageObjectProcessor to process things like icons and splash_screens. TODO: The constructor should accept the UA's supported orientations. TODO: The constructor should accept the UA's supported display modes. 10157
moz.build 693
test
ValueExtractor.sys.mjs Helper functions extract values from manifest members and reports conformance errors. 3124