gecko-dev/dom/manifest
Marcos Caceres 9424ebb117 Bug 1171200 - Add means of checking if a document links to a manifest. r=billm.
---
 dom/ipc/manifestMessages.js                        | 166 +++++++++-----------
 ...ObjectProcessor.js => ImageObjectProcessor.jsm} |   0
 dom/manifest/ManifestFinder.jsm                    |  58 +++++++
 dom/manifest/ManifestObtainer.js                   |  92 -----------
 dom/manifest/ManifestObtainer.jsm                  | 170 +++++++++++++++++++++
 ...{ManifestProcessor.js => ManifestProcessor.jsm} |  18 +--
 .../{ValueExtractor.js => ValueExtractor.jsm}      |   4 +-
 dom/manifest/WebManifest.jsm                       |  19 ---
 dom/manifest/moz.build                             |  10 +-
 dom/manifest/test/browser.ini                      |   3 +-
 .../test/browser_ManifestObtainer_obtain.js        |   2 +-
 dom/manifest/test/browser_hasManifestLink.js       | 109 +++++++++++++
 dom/manifest/test/common.js                        |   4 +-
 dom/security/test/csp/browser_test_web_manifest.js |  12 +-
 .../csp/browser_test_web_manifest_mixed_content.js |  10 +-
 toolkit/modules/PromiseMessage.jsm                 |  36 +++++
 toolkit/modules/moz.build                          |   1 +
 17 files changed, 467 insertions(+), 247 deletions(-)
 rename dom/manifest/{ImageObjectProcessor.js => ImageObjectProcessor.jsm} (100%)
 create mode 100644 dom/manifest/ManifestFinder.jsm
 delete mode 100644 dom/manifest/ManifestObtainer.js
 create mode 100644 dom/manifest/ManifestObtainer.jsm
 rename dom/manifest/{ManifestProcessor.js => ManifestProcessor.jsm} (95%)
 rename dom/manifest/{ValueExtractor.js => ValueExtractor.jsm} (96%)
 delete mode 100644 dom/manifest/WebManifest.jsm
 create mode 100644 dom/manifest/test/browser_hasManifestLink.js
 create mode 100644 toolkit/modules/PromiseMessage.jsm

--HG--
rename : dom/manifest/ImageObjectProcessor.js => dom/manifest/ImageObjectProcessor.jsm
rename : dom/manifest/ManifestProcessor.js => dom/manifest/ManifestProcessor.jsm
rename : dom/manifest/ValueExtractor.js => dom/manifest/ValueExtractor.jsm
2015-07-08 13:26:32 +10:00
..
test Bug 1171200 - Add means of checking if a document links to a manifest. r=billm. 2015-07-08 13:26:32 +10:00
ImageObjectProcessor.jsm Bug 1171200 - Add means of checking if a document links to a manifest. r=billm. 2015-07-08 13:26:32 +10:00
ManifestFinder.jsm Bug 1171200 - Add means of checking if a document links to a manifest. r=billm. 2015-07-08 13:26:32 +10:00
ManifestObtainer.jsm Bug 1171200 - Add means of checking if a document links to a manifest. r=billm. 2015-07-08 13:26:32 +10:00
ManifestProcessor.jsm Bug 1171200 - Add means of checking if a document links to a manifest. r=billm. 2015-07-08 13:26:32 +10:00
ValueExtractor.jsm Bug 1171200 - Add means of checking if a document links to a manifest. r=billm. 2015-07-08 13:26:32 +10:00
moz.build Bug 1171200 - Add means of checking if a document links to a manifest. r=billm. 2015-07-08 13:26:32 +10:00