Граф коммитов

26 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 76fa5db947 Bug 1210302 - Part 4: Add automated tests; r=sicking 2015-11-20 16:32:53 -05:00
Alexandre Poirot 89cb263b54 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop
--HG--
rename : devtools/shared/Console.jsm => toolkit/modules/Console.jsm
2015-10-15 03:45:22 -07:00
Ehsan Akhgari 158253749d Bug 1210302 - Part 3: Add a NS_ParseRequestContentType API; r=mcmanus,sicking 2015-10-06 20:26:46 -04:00
J. Ryan Stinnett efe328f1b2 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.

--HG--
extra : commitid : F2ItGm8ptRz
extra : rebase_source : b082fe4bf77e22e297e303fc601165ceff1c4cbc
2015-09-21 12:04:18 -05:00
Marcos Caceres 2465cf3a99 Bug 1171200 - Add means of checking if a document links to a manifest. r=billm
--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-30 11:56:12 -04:00
Carsten "Tomcat" Book 401a15426c Backed out changeset 4b328a6f7448 (bug 1171200) for frequent asan m1 test failures on a CLOSED TREE
--HG--
rename : dom/manifest/ImageObjectProcessor.jsm => dom/manifest/ImageObjectProcessor.js
rename : dom/manifest/ManifestProcessor.jsm => dom/manifest/ManifestProcessor.js
rename : dom/manifest/ValueExtractor.jsm => dom/manifest/ValueExtractor.js
extra : amend_source : 0a9fc98e1c76d4ede43714bac63bba8b43efe5d7
2015-07-30 15:11:48 +02:00
Marcos Caceres 79d86a6353 Bug 1171200 - Add means of checking if a document links to a manifest. r=billm
--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-29 16:58:00 +02:00
mcaceres@mozilla.com fa8ccba8c3 Backed out changeset 01d03b6be047 (bug 1171200)
--HG--
rename : dom/manifest/ImageObjectProcessor.jsm => dom/manifest/ImageObjectProcessor.js
rename : dom/manifest/ManifestProcessor.jsm => dom/manifest/ManifestProcessor.js
rename : dom/manifest/ValueExtractor.jsm => dom/manifest/ValueExtractor.js
2015-07-17 11:45:59 +10:00
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
Marcos Caceres 2cb38dd9d9 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 d3edf0e131 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

--HG--
rename : dom/manifest/ManifestImageObjectProcessor.jsm => dom/manifest/ImageObjectProcessor.js
rename : dom/manifest/ManifestObtainer.jsm => dom/manifest/ManifestObtainer.js
rename : dom/manifest/ManifestProcessor.jsm => dom/manifest/ManifestProcessor.js
rename : dom/manifest/ManifestValueExtractor.jsm => dom/manifest/ValueExtractor.js
2015-05-26 17:04:59 -04:00
Phil Ringnalda cf6fc1cfe2 Back out 28f2f39068ad (bug 1166405) for b2g mochitest-6 bustage
CLOSED TREE

--HG--
rename : dom/manifest/ImageObjectProcessor.js => dom/manifest/ManifestImageObjectProcessor.jsm
rename : dom/manifest/ManifestObtainer.js => dom/manifest/ManifestObtainer.jsm
rename : dom/manifest/ManifestProcessor.js => dom/manifest/ManifestProcessor.jsm
rename : dom/manifest/ValueExtractor.js => dom/manifest/ManifestValueExtractor.jsm
2015-05-25 18:47:41 -07:00
Marcos Caceres fa4150ad16 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

--HG--
rename : dom/manifest/ManifestImageObjectProcessor.jsm => dom/manifest/ImageObjectProcessor.js
rename : dom/manifest/ManifestObtainer.jsm => dom/manifest/ManifestObtainer.js
rename : dom/manifest/ManifestProcessor.jsm => dom/manifest/ManifestProcessor.js
rename : dom/manifest/ManifestValueExtractor.jsm => dom/manifest/ValueExtractor.js
2015-05-25 17:57:48 -04:00
Marcos Caceres 36e4a13781 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

--HG--
extra : rebase_source : 2364ac60d122e66398070b4302fc1f79f90b6a70
2015-05-25 16:35:33 -04:00
Marcos Caceres 537cac73c4 Bug 1164235 - Add theme_color support to web manifest processor. r=ehsan 2015-05-20 10:58:00 -04:00
Marcos Caceres 120dc65a46 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.

--HG--
rename : dom/manifest/test/test_IconsProcessor_density.html => dom/manifest/test/test_ImageObjectProcessor_density.html
rename : dom/manifest/test/test_IconsProcessor_sizes.html => dom/manifest/test/test_ImageObjectProcessor_sizes.html
rename : dom/manifest/test/test_IconsProcessor_src.html => dom/manifest/test/test_ImageObjectProcessor_src.html
rename : dom/manifest/test/test_IconsProcessor_type.html => dom/manifest/test/test_ImageObjectProcessor_type.html
extra : rebase_source : f2f6ad690a9c5b15193fd3567122a47a23ff07bc
2015-05-19 08:20:00 -04:00
Ehsan Akhgari 1a03395848 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Marcos Caceres 312c82515a Bug 1162729 - CORS check is always performed when fetching a manifest. r=ehsan
--HG--
extra : rebase_source : 714b7abcf3f700685d538800af89578b14f7b622
2015-05-07 14:40:00 +02:00
ziyunfei e1db0f779e 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 86ef583cf2 Bug 1083410 - Obtain a web manifest. r=mconley. 2015-04-22 19:46:00 +02:00
Marcos Caceres 6833b3bd48 Bug 1153958 - Make manifest processor e10s friendly. r=ehsan
--HG--
extra : rebase_source : 6adae4a21054173a709573fae11248d0526960a0
2015-04-14 16:00:00 +02:00
Marcos Caceres 5be539182d Bug 1083410 - Refactor manifest processor for Aurora compat. r=baku, r=ehsan
* dropped using ES6 class

CLOSED TREE

--HG--
extra : rebase_source : fa5b42210c1726ea07b87af2414187518166ca7d
2015-04-02 11:22:00 -04:00
Ryan VanderMeulen 9064fad3d2 Backed out changeset f30be176edfd (bug 1083410) on a CLOSED TREE. 2015-03-26 11:53:51 -04:00
Marcos Caceres 71b7850353 Bug 1083410 - Refactored manifest processor. r=baku
--HG--
extra : rebase_source : 49e9b1e784d06c5dffe2336d2d031d4175768d1e
2015-03-19 11:04:00 +01:00
Marcos Caceres f9075a20d0 Bug 1119670 - Implement processing of scope member of web manifest. r=ehsan 2015-01-15 19:46:00 -05:00
Marcos Caceres 038f9d0476 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