From 8a0eec8dc62719fc04acc4f2053714b9a9908a1e Mon Sep 17 00:00:00 2001 From: B2G Bumper Bot Date: Fri, 24 Oct 2014 16:25:49 -0700 Subject: [PATCH 1/9] Bumping gaia.json for 2 gaia revision(s) a=gaia-bump ======== https://hg.mozilla.org/integration/gaia-central/rev/0d2e5dcbdbfc Author: James Burke Desc: Merge pull request #25504 from eliperelman/bug-1088928 Bug 1088928 - Updating copied performance testing helper script from source to email app r=jrburke ======== https://hg.mozilla.org/integration/gaia-central/rev/01e6d5344629 Author: Eli Perelman Desc: Bug 1088928 - Updating copied performance testing helper script from source to email app --- b2g/config/gaia.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2g/config/gaia.json b/b2g/config/gaia.json index 864fd3fbec2a..d65b6ac13192 100644 --- a/b2g/config/gaia.json +++ b/b2g/config/gaia.json @@ -4,6 +4,6 @@ "remote": "", "branch": "" }, - "revision": "bdc73f56907e3a1e80441e0a287029edaa93df3c", + "revision": "0d2e5dcbdbfcc0f46124d69bafe3aa6467a9f018", "repo_path": "/integration/gaia-central" } From 5b6fdaee1b67eb0bd6daa14220f30e315b1b5910 Mon Sep 17 00:00:00 2001 From: B2G Bumper Bot Date: Fri, 24 Oct 2014 16:31:58 -0700 Subject: [PATCH 2/9] Bumping manifests a=b2g-bump --- b2g/config/dolphin/sources.xml | 2 +- b2g/config/emulator-ics/sources.xml | 2 +- b2g/config/emulator-jb/sources.xml | 2 +- b2g/config/emulator-kk/sources.xml | 2 +- b2g/config/emulator/sources.xml | 2 +- b2g/config/flame-kk/sources.xml | 2 +- b2g/config/flame/sources.xml | 2 +- b2g/config/hamachi/sources.xml | 2 +- b2g/config/helix/sources.xml | 2 +- b2g/config/nexus-4/sources.xml | 2 +- b2g/config/wasabi/sources.xml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/b2g/config/dolphin/sources.xml b/b2g/config/dolphin/sources.xml index 269f952328fe..09195648fe4e 100644 --- a/b2g/config/dolphin/sources.xml +++ b/b2g/config/dolphin/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/emulator-ics/sources.xml b/b2g/config/emulator-ics/sources.xml index f621accda81a..73455ea388ae 100644 --- a/b2g/config/emulator-ics/sources.xml +++ b/b2g/config/emulator-ics/sources.xml @@ -19,7 +19,7 @@ - + diff --git a/b2g/config/emulator-jb/sources.xml b/b2g/config/emulator-jb/sources.xml index e5e9c2f1d7ea..31c9dade7c9b 100644 --- a/b2g/config/emulator-jb/sources.xml +++ b/b2g/config/emulator-jb/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/emulator-kk/sources.xml b/b2g/config/emulator-kk/sources.xml index c365444260c4..203e7bba6fb0 100644 --- a/b2g/config/emulator-kk/sources.xml +++ b/b2g/config/emulator-kk/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/emulator/sources.xml b/b2g/config/emulator/sources.xml index f621accda81a..73455ea388ae 100644 --- a/b2g/config/emulator/sources.xml +++ b/b2g/config/emulator/sources.xml @@ -19,7 +19,7 @@ - + diff --git a/b2g/config/flame-kk/sources.xml b/b2g/config/flame-kk/sources.xml index 159cf27b891d..c0fb432fe575 100644 --- a/b2g/config/flame-kk/sources.xml +++ b/b2g/config/flame-kk/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/flame/sources.xml b/b2g/config/flame/sources.xml index 955818b1a1ae..daf6e0ea85bb 100644 --- a/b2g/config/flame/sources.xml +++ b/b2g/config/flame/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/hamachi/sources.xml b/b2g/config/hamachi/sources.xml index 2a7b5a94e40b..0dc0828e7971 100644 --- a/b2g/config/hamachi/sources.xml +++ b/b2g/config/hamachi/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/helix/sources.xml b/b2g/config/helix/sources.xml index 9df4c3c7e2a2..640582a0a590 100644 --- a/b2g/config/helix/sources.xml +++ b/b2g/config/helix/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/nexus-4/sources.xml b/b2g/config/nexus-4/sources.xml index 2dd2cdce1c41..62e20c2a1956 100644 --- a/b2g/config/nexus-4/sources.xml +++ b/b2g/config/nexus-4/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/wasabi/sources.xml b/b2g/config/wasabi/sources.xml index 2846e699ab78..eec28555929b 100644 --- a/b2g/config/wasabi/sources.xml +++ b/b2g/config/wasabi/sources.xml @@ -17,7 +17,7 @@ - + From 86d4230dad16a480f323e73a76b6b7b3590348a1 Mon Sep 17 00:00:00 2001 From: B2G Bumper Bot Date: Fri, 24 Oct 2014 16:55:48 -0700 Subject: [PATCH 3/9] Bumping gaia.json for 2 gaia revision(s) a=gaia-bump ======== https://hg.mozilla.org/integration/gaia-central/rev/df127b6f7858 Author: Dave Hylands Desc: Merge pull request #25505 from dhylands/bug-1068933-ds-test Bug 1068933 - Added a ds_enumerate_since routine to ds-test, for testing... ======== https://hg.mozilla.org/integration/gaia-central/rev/270c8ffaccc0 Author: Dave Hylands Desc: Bug 1068933 - Added a ds_enumerate_since routine to ds-test, for testing this bug. --- b2g/config/gaia.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2g/config/gaia.json b/b2g/config/gaia.json index d65b6ac13192..f2a3cd6180ba 100644 --- a/b2g/config/gaia.json +++ b/b2g/config/gaia.json @@ -4,6 +4,6 @@ "remote": "", "branch": "" }, - "revision": "0d2e5dcbdbfcc0f46124d69bafe3aa6467a9f018", + "revision": "df127b6f78587de70824ffb8743ab415c2713420", "repo_path": "/integration/gaia-central" } From 48c374994258fa9fa5698fc29241d690f47b1a4e Mon Sep 17 00:00:00 2001 From: B2G Bumper Bot Date: Fri, 24 Oct 2014 17:06:58 -0700 Subject: [PATCH 4/9] Bumping manifests a=b2g-bump --- b2g/config/dolphin/sources.xml | 2 +- b2g/config/emulator-ics/sources.xml | 2 +- b2g/config/emulator-jb/sources.xml | 2 +- b2g/config/emulator-kk/sources.xml | 2 +- b2g/config/emulator/sources.xml | 2 +- b2g/config/flame-kk/sources.xml | 2 +- b2g/config/flame/sources.xml | 2 +- b2g/config/hamachi/sources.xml | 2 +- b2g/config/helix/sources.xml | 2 +- b2g/config/nexus-4/sources.xml | 2 +- b2g/config/wasabi/sources.xml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/b2g/config/dolphin/sources.xml b/b2g/config/dolphin/sources.xml index 09195648fe4e..fc4bc769fa78 100644 --- a/b2g/config/dolphin/sources.xml +++ b/b2g/config/dolphin/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/emulator-ics/sources.xml b/b2g/config/emulator-ics/sources.xml index 73455ea388ae..33ef39dd6e1e 100644 --- a/b2g/config/emulator-ics/sources.xml +++ b/b2g/config/emulator-ics/sources.xml @@ -19,7 +19,7 @@ - + diff --git a/b2g/config/emulator-jb/sources.xml b/b2g/config/emulator-jb/sources.xml index 31c9dade7c9b..e82025e24898 100644 --- a/b2g/config/emulator-jb/sources.xml +++ b/b2g/config/emulator-jb/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/emulator-kk/sources.xml b/b2g/config/emulator-kk/sources.xml index 203e7bba6fb0..8db18e92e681 100644 --- a/b2g/config/emulator-kk/sources.xml +++ b/b2g/config/emulator-kk/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/emulator/sources.xml b/b2g/config/emulator/sources.xml index 73455ea388ae..33ef39dd6e1e 100644 --- a/b2g/config/emulator/sources.xml +++ b/b2g/config/emulator/sources.xml @@ -19,7 +19,7 @@ - + diff --git a/b2g/config/flame-kk/sources.xml b/b2g/config/flame-kk/sources.xml index c0fb432fe575..0c6486e23665 100644 --- a/b2g/config/flame-kk/sources.xml +++ b/b2g/config/flame-kk/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/flame/sources.xml b/b2g/config/flame/sources.xml index daf6e0ea85bb..ffb6685acaa2 100644 --- a/b2g/config/flame/sources.xml +++ b/b2g/config/flame/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/hamachi/sources.xml b/b2g/config/hamachi/sources.xml index 0dc0828e7971..d3f98fab576c 100644 --- a/b2g/config/hamachi/sources.xml +++ b/b2g/config/hamachi/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/helix/sources.xml b/b2g/config/helix/sources.xml index 640582a0a590..d12db222ffca 100644 --- a/b2g/config/helix/sources.xml +++ b/b2g/config/helix/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/nexus-4/sources.xml b/b2g/config/nexus-4/sources.xml index 62e20c2a1956..be0efea3c96a 100644 --- a/b2g/config/nexus-4/sources.xml +++ b/b2g/config/nexus-4/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/wasabi/sources.xml b/b2g/config/wasabi/sources.xml index eec28555929b..145dbd0a77ec 100644 --- a/b2g/config/wasabi/sources.xml +++ b/b2g/config/wasabi/sources.xml @@ -17,7 +17,7 @@ - + From 862c04b2b7b8c8cdb1718e91bc20a4241db1eb17 Mon Sep 17 00:00:00 2001 From: B2G Bumper Bot Date: Fri, 24 Oct 2014 19:50:48 -0700 Subject: [PATCH 5/9] Bumping gaia.json for 2 gaia revision(s) a=gaia-bump ======== https://hg.mozilla.org/integration/gaia-central/rev/c2b9d8e6bb9c Author: Arthur Chen Desc: Merge pull request #25392 from crh0716/1079356 Bug 1079356 - Convert the apn items before storing them to the database r=gsvelto ======== https://hg.mozilla.org/integration/gaia-central/rev/179f8bb03f45 Author: Arthur Chen Desc: Bug 1079356 - Use "types" instead of "type" when creating APN items --- b2g/config/gaia.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2g/config/gaia.json b/b2g/config/gaia.json index f2a3cd6180ba..7345dd565100 100644 --- a/b2g/config/gaia.json +++ b/b2g/config/gaia.json @@ -4,6 +4,6 @@ "remote": "", "branch": "" }, - "revision": "df127b6f78587de70824ffb8743ab415c2713420", + "revision": "c2b9d8e6bb9c34c48e6ec937b05f5f6355a2cf62", "repo_path": "/integration/gaia-central" } From fb8d5ed0685fd53d5eef513df10b7f5e9c053676 Mon Sep 17 00:00:00 2001 From: B2G Bumper Bot Date: Fri, 24 Oct 2014 19:56:57 -0700 Subject: [PATCH 6/9] Bumping manifests a=b2g-bump --- b2g/config/dolphin/sources.xml | 2 +- b2g/config/emulator-ics/sources.xml | 2 +- b2g/config/emulator-jb/sources.xml | 2 +- b2g/config/emulator-kk/sources.xml | 2 +- b2g/config/emulator/sources.xml | 2 +- b2g/config/flame-kk/sources.xml | 2 +- b2g/config/flame/sources.xml | 2 +- b2g/config/hamachi/sources.xml | 2 +- b2g/config/helix/sources.xml | 2 +- b2g/config/nexus-4/sources.xml | 2 +- b2g/config/wasabi/sources.xml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/b2g/config/dolphin/sources.xml b/b2g/config/dolphin/sources.xml index fc4bc769fa78..e56155200be6 100644 --- a/b2g/config/dolphin/sources.xml +++ b/b2g/config/dolphin/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/emulator-ics/sources.xml b/b2g/config/emulator-ics/sources.xml index 33ef39dd6e1e..4e8435dbe6ac 100644 --- a/b2g/config/emulator-ics/sources.xml +++ b/b2g/config/emulator-ics/sources.xml @@ -19,7 +19,7 @@ - + diff --git a/b2g/config/emulator-jb/sources.xml b/b2g/config/emulator-jb/sources.xml index e82025e24898..af02e7e8db3c 100644 --- a/b2g/config/emulator-jb/sources.xml +++ b/b2g/config/emulator-jb/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/emulator-kk/sources.xml b/b2g/config/emulator-kk/sources.xml index 8db18e92e681..ce45d4268373 100644 --- a/b2g/config/emulator-kk/sources.xml +++ b/b2g/config/emulator-kk/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/emulator/sources.xml b/b2g/config/emulator/sources.xml index 33ef39dd6e1e..4e8435dbe6ac 100644 --- a/b2g/config/emulator/sources.xml +++ b/b2g/config/emulator/sources.xml @@ -19,7 +19,7 @@ - + diff --git a/b2g/config/flame-kk/sources.xml b/b2g/config/flame-kk/sources.xml index 0c6486e23665..091e2f91206a 100644 --- a/b2g/config/flame-kk/sources.xml +++ b/b2g/config/flame-kk/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/flame/sources.xml b/b2g/config/flame/sources.xml index ffb6685acaa2..8380b2f8077e 100644 --- a/b2g/config/flame/sources.xml +++ b/b2g/config/flame/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/hamachi/sources.xml b/b2g/config/hamachi/sources.xml index d3f98fab576c..fc3fc66785da 100644 --- a/b2g/config/hamachi/sources.xml +++ b/b2g/config/hamachi/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/helix/sources.xml b/b2g/config/helix/sources.xml index d12db222ffca..9b7b813fa9ec 100644 --- a/b2g/config/helix/sources.xml +++ b/b2g/config/helix/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/nexus-4/sources.xml b/b2g/config/nexus-4/sources.xml index be0efea3c96a..9f6b361784ba 100644 --- a/b2g/config/nexus-4/sources.xml +++ b/b2g/config/nexus-4/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/wasabi/sources.xml b/b2g/config/wasabi/sources.xml index 145dbd0a77ec..11d52b4982b1 100644 --- a/b2g/config/wasabi/sources.xml +++ b/b2g/config/wasabi/sources.xml @@ -17,7 +17,7 @@ - + From 8f47e586032875521bf57b974c5920af799a2aef Mon Sep 17 00:00:00 2001 From: B2G Bumper Bot Date: Sat, 25 Oct 2014 09:20:48 -0700 Subject: [PATCH 7/9] Bumping gaia.json for 2 gaia revision(s) a=gaia-bump ======== https://hg.mozilla.org/integration/gaia-central/rev/3d86f253ab4a Author: Ting-Yu Chou Desc: Bug 1087905 - Limit the scope of sound_manager.css to avoid affecting #windows div with :nth-last-child(). r=alive ======== https://hg.mozilla.org/integration/gaia-central/rev/7ee99895e241 Author: Timothy Guan-tin Chien Desc: Revert "Merge pull request #25436 from janus926/bug-1087905" This reverts commit 64f4a6fa02e16140e005b3ec1195c90a6a698aeb, reversing changes made to bfbd561aff39154d65ef9891ce3f8bc9e9c5e44c. --- b2g/config/gaia.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2g/config/gaia.json b/b2g/config/gaia.json index 7345dd565100..b727f9c9924c 100644 --- a/b2g/config/gaia.json +++ b/b2g/config/gaia.json @@ -4,6 +4,6 @@ "remote": "", "branch": "" }, - "revision": "c2b9d8e6bb9c34c48e6ec937b05f5f6355a2cf62", + "revision": "3d86f253ab4a50bb899aa6642ff52ee525502664", "repo_path": "/integration/gaia-central" } From cc5daa0be529a8f9102ba622f720a8a41ece12ce Mon Sep 17 00:00:00 2001 From: B2G Bumper Bot Date: Sat, 25 Oct 2014 09:26:57 -0700 Subject: [PATCH 8/9] Bumping manifests a=b2g-bump --- b2g/config/dolphin/sources.xml | 2 +- b2g/config/emulator-ics/sources.xml | 2 +- b2g/config/emulator-jb/sources.xml | 2 +- b2g/config/emulator-kk/sources.xml | 2 +- b2g/config/emulator/sources.xml | 2 +- b2g/config/flame-kk/sources.xml | 2 +- b2g/config/flame/sources.xml | 2 +- b2g/config/hamachi/sources.xml | 2 +- b2g/config/helix/sources.xml | 2 +- b2g/config/nexus-4/sources.xml | 2 +- b2g/config/wasabi/sources.xml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/b2g/config/dolphin/sources.xml b/b2g/config/dolphin/sources.xml index e56155200be6..21543a418f5b 100644 --- a/b2g/config/dolphin/sources.xml +++ b/b2g/config/dolphin/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/emulator-ics/sources.xml b/b2g/config/emulator-ics/sources.xml index 4e8435dbe6ac..c655fcdaeb92 100644 --- a/b2g/config/emulator-ics/sources.xml +++ b/b2g/config/emulator-ics/sources.xml @@ -19,7 +19,7 @@ - + diff --git a/b2g/config/emulator-jb/sources.xml b/b2g/config/emulator-jb/sources.xml index af02e7e8db3c..c6bf5362cb75 100644 --- a/b2g/config/emulator-jb/sources.xml +++ b/b2g/config/emulator-jb/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/emulator-kk/sources.xml b/b2g/config/emulator-kk/sources.xml index ce45d4268373..6c22f948ae15 100644 --- a/b2g/config/emulator-kk/sources.xml +++ b/b2g/config/emulator-kk/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/emulator/sources.xml b/b2g/config/emulator/sources.xml index 4e8435dbe6ac..c655fcdaeb92 100644 --- a/b2g/config/emulator/sources.xml +++ b/b2g/config/emulator/sources.xml @@ -19,7 +19,7 @@ - + diff --git a/b2g/config/flame-kk/sources.xml b/b2g/config/flame-kk/sources.xml index 091e2f91206a..5306b47f2db1 100644 --- a/b2g/config/flame-kk/sources.xml +++ b/b2g/config/flame-kk/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/flame/sources.xml b/b2g/config/flame/sources.xml index 8380b2f8077e..4d080c67a8e2 100644 --- a/b2g/config/flame/sources.xml +++ b/b2g/config/flame/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/hamachi/sources.xml b/b2g/config/hamachi/sources.xml index fc3fc66785da..6a957d838f4a 100644 --- a/b2g/config/hamachi/sources.xml +++ b/b2g/config/hamachi/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/helix/sources.xml b/b2g/config/helix/sources.xml index 9b7b813fa9ec..6697eaca984b 100644 --- a/b2g/config/helix/sources.xml +++ b/b2g/config/helix/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/nexus-4/sources.xml b/b2g/config/nexus-4/sources.xml index 9f6b361784ba..25f558e9e632 100644 --- a/b2g/config/nexus-4/sources.xml +++ b/b2g/config/nexus-4/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/wasabi/sources.xml b/b2g/config/wasabi/sources.xml index 11d52b4982b1..20ccfb3a294a 100644 --- a/b2g/config/wasabi/sources.xml +++ b/b2g/config/wasabi/sources.xml @@ -17,7 +17,7 @@ - + From 8c013496ea856298f7bc71ff3982e475ca765d75 Mon Sep 17 00:00:00 2001 From: Ben Francis Date: Sat, 25 Oct 2014 20:46:27 -0700 Subject: [PATCH 9/9] Bug 1075716 - Support app manifests served with the application/manifest+json MIME type r=fabrice --- dom/apps/AppsUtils.jsm | 3 +- dom/apps/tests/file_manifest.json | 13 +++ dom/apps/tests/file_manifest.json^headers^ | 1 + dom/apps/tests/mochitest.ini | 3 + dom/apps/tests/test_web_app_install.html | 98 +++++++++++++++++++ toolkit/devtools/webconsole/network-helper.js | 1 + 6 files changed, 118 insertions(+), 1 deletion(-) create mode 100644 dom/apps/tests/file_manifest.json create mode 100644 dom/apps/tests/file_manifest.json^headers^ create mode 100644 dom/apps/tests/test_web_app_install.html diff --git a/dom/apps/AppsUtils.jsm b/dom/apps/AppsUtils.jsm index 42de1eba3ffe..ef92d84e8a05 100644 --- a/dom/apps/AppsUtils.jsm +++ b/dom/apps/AppsUtils.jsm @@ -471,7 +471,8 @@ this.AppsUtils = { let netutil = Cc["@mozilla.org/network/util;1"].getService(Ci.nsINetUtil); let contentType = netutil.parseContentType(aContentType, charset, hadCharset); if (aInstallOrigin != aWebappOrigin && - contentType != "application/x-web-app-manifest+json") { + !(contentType == "application/x-web-app-manifest+json" || + contentType == "application/manifest+json")) { return false; } return true; diff --git a/dom/apps/tests/file_manifest.json b/dom/apps/tests/file_manifest.json new file mode 100644 index 000000000000..1569a1efe691 --- /dev/null +++ b/dom/apps/tests/file_manifest.json @@ -0,0 +1,13 @@ +{ + "name": "My W3C Web App", + "short_name": "My App", + "icons": [ + { + "src": "/favicon.ico", + "sizes": "64x64", + "type": "image/png" + } + ], + "start_url": "/index.html", + "display": "standalone" +} \ No newline at end of file diff --git a/dom/apps/tests/file_manifest.json^headers^ b/dom/apps/tests/file_manifest.json^headers^ new file mode 100644 index 000000000000..3cea33fec8b6 --- /dev/null +++ b/dom/apps/tests/file_manifest.json^headers^ @@ -0,0 +1 @@ +Content-Type: application/manifest+json \ No newline at end of file diff --git a/dom/apps/tests/mochitest.ini b/dom/apps/tests/mochitest.ini index 0d3e940d1be6..9cd1be3ac93e 100644 --- a/dom/apps/tests/mochitest.ini +++ b/dom/apps/tests/mochitest.ini @@ -8,6 +8,8 @@ support-files = file_cached_app.template.appcache file_cached_app.template.webapp file_hosted_app.template.webapp + file_manifest.json + file_manifest.json^headers^ file_trusted_app.template.webapp file_invalidWidget_app.template.webapp file_packaged_app.sjs @@ -38,4 +40,5 @@ skip-if = (toolkit == 'android' && processor == 'x86') #x86 only [test_signed_pkg_install.html] [test_uninstall_errors.html] [test_theme_role.html] +[test_web_app_install.html] [test_widget.html] diff --git a/dom/apps/tests/test_web_app_install.html b/dom/apps/tests/test_web_app_install.html new file mode 100644 index 000000000000..c57f08b5e8ef --- /dev/null +++ b/dom/apps/tests/test_web_app_install.html @@ -0,0 +1,98 @@ + + + + + Install web app from manifest with application/manifest+json MIME type + + + + + + +Mozilla Bug {1075716} +

+ +
+
+
+ + diff --git a/toolkit/devtools/webconsole/network-helper.js b/toolkit/devtools/webconsole/network-helper.js index d7af682defa6..fb2bbd79989d 100644 --- a/toolkit/devtools/webconsole/network-helper.js +++ b/toolkit/devtools/webconsole/network-helper.js @@ -442,6 +442,7 @@ let NetworkHelper = { "application/x-json": "json", "application/json-rpc": "json", "application/x-web-app-manifest+json": "json", + "application/manifest+json": "json" }, /**