Commit Graph

843 Commits

Author SHA1 Message Date
Ryan VanderMeulen
240fa20d5e Backed out changesets 9beb53e53951, 4420bb4e5e7c, de1da65301a8, and cd9c2aaf1343 (bug 970307) for causing frequent B2G debug mochitest-11 crashes. 2014-11-24 17:18:27 -05:00
Carsten "Tomcat" Book
0e2f2f08b2 Merge mozilla-central to b2g-inbound 2014-11-24 14:18:59 +01:00
Patrick Wang (Chih-Kai Wang)
d8d3fc7bd9 Bug 970307: Part 3: Reinitialize modules after fork. r=fabrice 2014-11-24 15:22:31 +08:00
Antonio M. Amaya
ee8a28aba6 Bug 1096971 - Update the minimanifest etag and hash correctly on resume. r=fabrice 2014-11-21 10:45:00 +01:00
Antonio M. Amaya
fc41d44de9 Bug 1096971 - Don't propagate an error when the package downloaded was the same we had. r=fabrice 2014-11-17 02:01:00 +01:00
Kan-Ru Chen (陳侃如)
4c7c294030 Bug 1044736 - Part 6. Widget should only require embed-widgets permission. r=fabrice
As discussed on dev-webapi[1] the app that wants to use widgets only
need the "embed-widgets" permission to use <iframe mozbrowser mozwidget>

If the app also wants to implement a browser, it could request the
"browser" separately. A <iframe mozbrowser mozwidget> will have
restricted mozbrowser API defined on the prototype if the embedder has
the "brower" permission; they will always throw when used.

[1]: https://groups.google.com/d/msg/mozilla.dev.webapi/uQweGWtVKRA/Bj1jZq3LN-0J

--HG--
rename : dom/apps/tests/test_widget.html => dom/apps/tests/test_widget_browser.html
2014-11-21 18:56:28 +08:00
Kan-Ru Chen (陳侃如)
1e4eeb0955 Bug 1044736 - Part 5. Extract tests functions to file_test_widget.js. r=fabrice 2014-11-21 18:56:28 +08:00
Wes Kocher
feba834f0a Backed out changeset 61fc517d0336 (bug 1044736) 2014-11-17 22:44:01 -08:00
Wes Kocher
b65c8ddcbc Backed out changeset b1a6ecfca674 (bug 1044736) 2014-11-17 22:43:57 -08:00
Wes Kocher
7afae461b0 Backed out changeset d045286cff6e (original backout of 8 changesets) for not working right a=backout
--HG--
rename : dom/browser-element/BrowserElementParent.jsm => dom/browser-element/BrowserElementParent.js
2014-11-17 22:19:49 -08:00
Wes Kocher
534fb833b6 Backed out 8 changesets (bug 1044736) for breaking the statusbar on b2g a=backout
Backed out changeset b1a6ecfca674 (bug 1044736)
Backed out changeset 61fc517d0336 (bug 1044736)
Backed out changeset 59a47fafaccf (bug 1044736)
Backed out changeset b3ff4ce20e67 (bug 1044736)
Backed out changeset e4f1f09f150f (bug 1044736)
Backed out changeset 8ecfc1f41ddc (bug 1044736)
Backed out changeset c7c9170ab299 (bug 1044736)
Backed out changeset 78aacc35b4e7 (bug 1044736)

--HG--
rename : dom/browser-element/BrowserElementParent.js => dom/browser-element/BrowserElementParent.jsm
2014-11-17 20:34:00 -08:00
Zoran Jovanovic
5a006a1822 Bug 1066013 - Initialize appCache path r=fabrice 2014-11-12 11:36:36 -08:00
Antonio M. Amaya
a039485f76 Bug 1022791 - Keep previous values for PROMPT permissions on system updates. r=fabrice 2014-11-03 02:24:00 -05:00
Kan-Ru Chen (陳侃如)
e3650fe425 Bug 1044736 - Part 6. Widget should only require embed-widgets permission. r=fabrice
As discussed on dev-webapi[1] the app that wants to use widgets only
need the "embed-widgets" permission to use <iframe mozbrowser mozwidget>

If the app also wants to implement a browser, it could request the
"browser" separately. A <iframe mozbrowser mozwidget> will have
restricted mozbrowser API defined on the prototype if the embedder has
the "brower" permission; they will always throw when used.

[1]: https://groups.google.com/d/msg/mozilla.dev.webapi/uQweGWtVKRA/Bj1jZq3LN-0J

--HG--
rename : dom/apps/tests/test_widget.html => dom/apps/tests/test_widget_browser.html
2014-11-12 19:27:32 +08:00
Kan-Ru Chen (陳侃如)
533b505fab Bug 1044736 - Part 5. Extract tests functions to file_test_widget.js. r=fabrice 2014-11-12 19:27:32 +08:00
Carsten "Tomcat" Book
1586f0ae9e Backed out changeset a3604ab2b3ca (bug 1044736) 2014-11-12 08:39:33 +01:00
Carsten "Tomcat" Book
5b59672c71 Backed out changeset 920775ddfb85 (bug 1044736) 2014-11-12 08:39:32 +01:00
Carsten "Tomcat" Book
660a0f2c9b Backed out changeset 6ccbc46c33db (bug 1044736)
--HG--
rename : dom/browser-element/BrowserElementParent.jsm => dom/browser-element/BrowserElementParent.js
2014-11-12 08:39:28 +01:00
Chris Fitzer
c75546e3bd Bug 1094090 - Explicitly declare trusted app doesn't have homescreen-webapps-manage permission in PermissionsTable.jsm r=fabrice 2014-11-11 23:22:22 -08:00
Kan-Ru Chen (陳侃如)
5cb36a6471 Backed out 8 changesets (bug 1044736) r=bustage
Backed out changeset 920775ddfb85 (bug 1044736)
Backed out changeset a3604ab2b3ca (bug 1044736)
Backed out changeset fb6a60700803 (bug 1044736)
Backed out changeset 7037d2b40d39 (bug 1044736)
Backed out changeset 1b55f80e1ca6 (bug 1044736)
Backed out changeset f55ff90f2b6f (bug 1044736)
Backed out changeset 8505276285fa (bug 1044736)
Backed out changeset e81aa95ac8d3 (bug 1044736)

--HG--
rename : dom/browser-element/BrowserElementParent.js => dom/browser-element/BrowserElementParent.jsm
2014-11-12 15:10:27 +08:00
Kan-Ru Chen (陳侃如)
1d20d5e1bb Bug 1044736 - Part 6. Widget should only require embed-widgets permission. r=fabrice
As discussed on dev-webapi[1] the app that wants to use widgets only
need the "embed-widgets" permission to use <iframe mozbrowser mozwidget>

If the app also wants to implement a browser, it could request the
"browser" separately. A <iframe mozbrowser mozwidget> will have
restricted mozbrowser API defined on the prototype if the embedder has
the "brower" permission; they will always throw when used.

[1]: https://groups.google.com/d/msg/mozilla.dev.webapi/uQweGWtVKRA/Bj1jZq3LN-0J

--HG--
rename : dom/apps/tests/test_widget.html => dom/apps/tests/test_widget_browser.html
2014-11-12 14:20:19 +08:00
Kan-Ru Chen (陳侃如)
8b1fe2d8ed Bug 1044736 - Part 5. Extract tests functions to file_test_widget.js. r=fabrice 2014-11-12 14:20:19 +08:00
Kan-Ru Chen (陳侃如)
084ab7eb10 Bug 1059662 - Disallow OOP app to embed in-proc apps. r=fabrice
Some mochitest that use embed-apps in an oop context is disabled.

--HG--
extra : rebase_source : 72de2cdae86eb8d55e642529cd4aae0af97e4e96
2014-11-11 10:25:36 +08:00
Antonio M. Amaya
00ea6b601f Bug 1092152 - Don't calculate the downloaded file hash if we didn't download it. r=fabrice 2014-10-31 10:36:00 -04:00
Markus Nilsson
d514bdabf1 Bug 1084501 - Set proper permissions for pre-installed trusted apps. r=fabrice
When trusted hosted apps were installed from a preloaded
offline cache their permissions were not correctly set
due to information on 'kind' of application being missing
on pre-install.
---
 dom/apps/Webapps.jsm | 2 ++
 1 file changed, 2 insertions(+)
2014-11-03 11:08:06 -08:00
Ted Clancy
6f227709cb Bug 1000313 - Adding homescreen-webapps-manage permission. r=sicking 2014-11-02 14:04:08 -05:00
Gina Yeh
a349e38686 Bug 989198, Patch 4: Dispatch both chrome event and key event for hardward keys, and add new permission, r=fabrice. 2014-11-03 15:05:43 +08:00
Sean Lin
ca9b977c67 Bug 998872 - [Stingray] TV Manager API. Part 1 - DOM API & WebIDL bindings. r=ehsan, r=baku
--HG--
rename : dom/datastore/tests/file_app.sjs => dom/tv/test/file_app.sjs
2014-08-21 17:15:18 +08:00
Fabrice Desré
432bfe31b9 Bug 1083454 - Aborting marionette tests is causing bootup failure r=gwagner 2014-10-27 17:40:13 -07:00
Alexandre Poirot
e91c1cda7b Bug 1019714 - Forbid overloading apps not being pushed via devtools. r=jryans, r=fabrice 2014-10-27 11:17:40 -04:00
Ben Francis
6753b03bac Bug 1075716 - Support app manifests served with the application/manifest+json MIME type r=fabrice 2014-10-25 20:46:27 -07:00
Carsten "Tomcat" Book
a82f5632d1 Merge mozilla-central to fx-team 2014-10-24 16:12:00 +02:00
Carsten "Tomcat" Book
5a2f713d1a merge b2g-inbound to mozilla-central a=merge 2014-10-24 15:59:31 +02:00
Fabrice Desré
c06071e0b2 Bug 1072090 - Add a way to enable and disable an app. r=myk,sicking 2014-10-23 16:40:08 -07:00
Wes Kocher
f1e72c526f Backed out changeset 556dc4f97e08 (bug 1072090) for m-oth orange 2014-10-23 18:21:11 -07:00
Fabrice Desré
3899d97039 Bug 1072090 - Add a way to enable and disable an app. r=myk,sicking 2014-10-23 16:40:08 -07:00
Vaibhav Agrawal
cb2a1c8330 Bug 1083347 - Remove androidx86.json. r=gbrown 2014-10-22 11:51:00 -04:00
Benjamin Bouvier
baee6805f1 Bug 997973: Call typed array and arraybuffer constructors with new in the tree; r=bz 2014-10-24 11:26:20 +02:00
Ryan VanderMeulen
77e8bee35e Backed out 6 changesets (bug 989198, bug 1082963) for causing bug 1083231.
Backed out changeset a7c972407578 (bug 1082963)
Backed out changeset 94d1b30bde00 (bug 989198)
Backed out changeset 01e064ceb505 (bug 989198)
Backed out changeset f5a538109e36 (bug 989198)
Backed out changeset 3ff227d79d74 (bug 989198)
Backed out changeset 186743fc6f6d (bug 989198)

CLOSED TREE
2014-10-16 12:57:18 -04:00
Ben Turner
b141ba940e Bug 1035454, part 4 - Don't send 'Webapps:UnregisterForMessages' at xpcom-shutdown, r=fabrice. 2014-10-15 20:04:33 -07:00
Fabrice Desré
f46b32e993 Bug 982874 - Import / export API for apps : Part 2: dom/webapps implementation r=marco,sicking 2014-10-14 22:55:14 -07:00
Wes Kocher
5b358466f8 Merge m-c to b2g-inbound a=merge 2014-10-14 17:36:36 -07:00
Zoran Jovanovic
3322f49403 Bug 1077529 - Update Trusted Hosted Apps r=fabrice
Verify manifest of trusted hosted app on update instead
of just overwriting it.
---
 dom/apps/TrustedHostedAppsUtils.jsm |  8 ++++----
 dom/apps/Webapps.jsm                | 26 +++++++++++++++++++++-----
 2 files changed, 25 insertions(+), 9 deletions(-)
2014-10-14 12:28:16 -07:00
Gina Yeh
3fc589c3db Bug 989198, Patch 4: Dispatch both chrome event and key event for hardward keys, and add new permission, r=fabrice.
---
 b2g/chrome/content/shell.js       |   13 ++++++++-----
 dom/apps/PermissionsTable.jsm     |    6 ++++++
 testing/mochitest/manifest.webapp |    3 ++-
 3 files changed, 16 insertions(+), 6 deletions(-)
2014-10-14 15:09:36 +08:00
Junior Hsu
58d311657b Bug 1074086 - Save widgetPages in UpdateAppHandlers and remove redundant saving. r=fabrice 2014-10-07 18:23:00 +02:00
Bobby Holley
f198ed50f1 Bug 1065185 - Create content arrays rather than chrome arrays in DOM Apps. r=me 2014-10-03 10:05:51 +02:00
Alexandre Lissy
4dbef68b38 Bug 993011 - Update eisting Gaia apps fields. r=fabrice
When performing an update, whether OTA or FOTA, some already existing
Gaia apps field may have changed. This happened in the past with bug
989876 where we lacked a proper updateTime value, and this may bite us
later. So we update all field, except some that we now must not be
changing.
2014-10-01 08:37:00 +02:00
Fabrice Desré
0b7968227d Bug 1070932 - Updates error handling code can fail r=marco 2014-09-26 10:23:21 -07:00
Evelyn Hung
917d3d8046 Bug 997564 - Implement Engineering Mode Web API. sr=sicking r=fabrice 2014-09-21 09:06:00 +02:00
Ryan VanderMeulen
36c25772d1 Merge fx-team to m-c. a=merge 2014-09-24 15:58:32 -04:00