Commit Graph

17 Commits

Author SHA1 Message Date
Marcos Caceres
35db791048 Bug 1167335 - Make manifest obtainer use Task.jsm. r=oyiptong.
---
 dom/ipc/manifestMessages.js                        | 78 ++++++++++------------
 dom/manifest/ManifestObtainer.js                   |  9 ++-
 .../test/browser_ManifestObtainer_obtain.js        | 45 +++++++++++++
 3 files changed, 90 insertions(+), 42 deletions(-)
2015-06-02 15:36:43 -04:00
Marcos Caceres
6dad8fe2be Bug 1166405 - Consolidate classes into a general web manifest module. r=ehsan.
Bound EXPORTED_SYMBOLS to `this` in WebManifest.jsm
Reduced number of iterations on random tests

---
 dom/ipc/manifestMessages.js                        |  17 +---
 ...ObjectProcessor.jsm => ImageObjectProcessor.js} |  35 ++++---
 .../{ManifestObtainer.jsm => ManifestObtainer.js}  |   4 +-
 ...{ManifestProcessor.jsm => ManifestProcessor.js} | 109 ++++++++++-----------
 ...anifestValueExtractor.jsm => ValueExtractor.js} |  25 +++--
 dom/manifest/WebManifest.jsm                       |  19 ++++
 dom/manifest/moz.build                             |   9 +-
 .../test/browser_ManifestObtainer_obtain.js        |   9 +-
 dom/manifest/test/common.js                        |  32 +++---
 9 files changed, 135 insertions(+), 124 deletions(-)
 rename dom/manifest/{ManifestImageObjectProcessor.jsm => ImageObjectProcessor.js} (81%)
 rename dom/manifest/{ManifestObtainer.jsm => ManifestObtainer.js} (95%)
 rename dom/manifest/{ManifestProcessor.jsm => ManifestProcessor.js} (69%)
 rename dom/manifest/{ManifestValueExtractor.jsm => ValueExtractor.js} (77%)
 create mode 100644 dom/manifest/WebManifest.jsm
2015-05-26 17:04:59 -04:00
Phil Ringnalda
874f6bdb1a Back out 28f2f39068ad (bug 1166405) for b2g mochitest-6 bustage
CLOSED TREE
2015-05-25 18:47:41 -07:00
Marcos Caceres
bc569da25e Bug 1166405 - Consolidate classes into a general web manifest module. r=ehsan.
---
 dom/ipc/manifestMessages.js                        |  17 +---
 ...ObjectProcessor.jsm => ImageObjectProcessor.js} |  35 ++++---
 .../{ManifestObtainer.jsm => ManifestObtainer.js}  |   4 +-
 ...{ManifestProcessor.jsm => ManifestProcessor.js} | 105 ++++++++++-----------
 ...anifestValueExtractor.jsm => ValueExtractor.js} |  25 +++--
 dom/manifest/WebManifest.jsm                       |  19 ++++
 dom/manifest/moz.build                             |   9 +-
 .../test/browser_ManifestObtainer_obtain.js        |   7 +-
 dom/manifest/test/common.js                        |  32 ++++---
 9 files changed, 131 insertions(+), 122 deletions(-)
 rename dom/manifest/{ManifestImageObjectProcessor.jsm => ImageObjectProcessor.js} (81%)
 rename dom/manifest/{ManifestObtainer.jsm => ManifestObtainer.js} (95%)
 rename dom/manifest/{ManifestProcessor.jsm => ManifestProcessor.js} (69%)
 rename dom/manifest/{ManifestValueExtractor.jsm => ValueExtractor.js} (77%)
 create mode 100644 dom/manifest/WebManifest.jsm
2015-05-25 17:57:48 -04:00
Marcos Caceres
4a98bf24d9 Bug 1143879 - Implement lang member of Web manifest. r=ehsan.
---
 dom/manifest/ManifestProcessor.jsm                 |  24 ++++-
 dom/manifest/test/mochitest.ini                    |   4 +-
 dom/manifest/test/test_ManifestProcessor_lang.html | 112 +++++++++++++++++++++
 3 files changed, 136 insertions(+), 4 deletions(-)
 create mode 100644 dom/manifest/test/test_ManifestProcessor_lang.html
2015-05-25 16:35:33 -04:00
Marcos Caceres
bd3bcefb9f Bug 1164235 - Add theme_color support to web manifest processor. r=ehsan 2015-05-20 10:58:00 -04:00
Marcos Caceres
6de68a9392 Bug 1162808 - Add splash_screens support to web manifest processor. r=ehsan
* Took IconsProcessor out of ManifestProcessor.
* Converted IconsProcessor into ImageObjectProcessor.
* Made extractValue a separate resource, as it's used by multiple
  processors.
* Taught manifest processor about splash_screens.
* icons member now uses ImageObjectProcessor.
* Icon tests are now ImageProcessor tests.
* Fixed a few typos.
2015-05-19 08:20:00 -04:00
Ehsan Akhgari
382b6d4528 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Marcos Caceres
e414480909 Bug 1162729 - CORS check is always performed when fetching a manifest. r=ehsan 2015-05-07 14:40:00 +02:00
ziyunfei
a2bb96ff77 Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Marcos Caceres
f80d860292 Bug 1083410 - Obtain a web manifest. r=mconley. 2015-04-22 19:46:00 +02:00
Marcos Caceres
fba1b9af6b Bug 1153958 - Make manifest processor e10s friendly. r=ehsan 2015-04-14 16:00:00 +02:00
Marcos Caceres
4000e2c073 Bug 1083410 - Refactor manifest processor for Aurora compat. r=baku, r=ehsan
* dropped using ES6 class

CLOSED TREE
2015-04-02 11:22:00 -04:00
Ryan VanderMeulen
1ce0978b72 Backed out changeset f30be176edfd (bug 1083410) on a CLOSED TREE. 2015-03-26 11:53:51 -04:00
Marcos Caceres
f1a4c87606 Bug 1083410 - Refactored manifest processor. r=baku 2015-03-19 11:04:00 +01:00
Marcos Caceres
e0b62916dd Bug 1119670 - Implement processing of scope member of web manifest. r=ehsan 2015-01-15 19:46:00 -05:00
Marcos Caceres
62df41fa11 Bug 1079453 - Implement the manifest processor part of W3C Manifest. r=ehsan
* spec conforming implementation
* test suite
2014-10-31 11:24:47 -07:00