Commit Graph

138 Commits

Author SHA1 Message Date
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
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
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
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
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
Fabrice Desré
0b7968227d Bug 1070932 - Updates error handling code can fail r=marco 2014-09-26 10:23:21 -07:00
Markus Nilsson
72dafd4f92 Bug 1059202 - Unit test - CSP and CA verfication for Trusted Hosted Apps r=sicking 2014-09-19 14:58:38 -07:00
Fabrice Desré
f7d1cba01a Bug 1059194 - Trusted Hosted Apps, part 3: Basic app install tests r=myk 2014-09-16 13:14:02 -07:00
Fabrice Desré
288cda9338 Bug 1011738 - Theme support for b2g/gaia, Part 5 : tests r=myk 2014-08-28 17:20:27 -07:00
Ted Clancy (:tedders1)
6029ad93ef Bug 1000315 - Part 7: App tests automatically confirm uninstallation. r=myk 2014-06-11 14:33:02 -07:00
Sean Lin
722cd320fc Bug 1014023 - [Datastore] Notify apps of changes in datastore without being opened. r=baku, r=gene 2014-06-27 15:58:47 +08:00
Shian-Yow Wu
a52f2ebbf3 Bug 1048615 - Test case for multiple simultaneous access. r=fabrice 2014-08-21 19:09:37 +08:00
Fabrice Desré
f9222f1d8e Bug 1056226 - "Unrecoverable" app uninstall does not send manifest information to uninstall event r=marco 2014-08-20 12:27:32 -07:00
Ryan VanderMeulen
455e48bbde Merge inbound to m-c. a=merge 2014-08-19 16:09:47 -04:00
Fabrice Desré
3c97fffc91 Bug 899322 - Convert the mozApps API to use webidl r=marco,bholley 2014-08-19 09:30:54 -07:00
Junior Hsu
57c101009b Bug 1005818 - Part 2: Only limited browser API are available to a widget. r=kanru
1. Add |ownerIsWidget| in nsIFrameLoader.idl
2. Add |GetReallyIsWidget| in nsIMozBrowserFrame.idl
3. Hide the methods of browser API of a widget
4. Hide security-sensitive mozbrowser events of a widget
2014-08-19 15:14:22 +01:00
Junior Hsu
e84ab195da Bug 1005818 - Part 1: Load a widget as an app if the |src| is in the |widgetPages|. r=fabrice, sr=sicking
1. Add permission |embed-widgets| and Element attribute |mozwidget|
2. Add |hasWidgetPage| in /mozIApplication.idl
3. Check permission |embed-widgets| and the |src| is in the |widgetPages| when |GetAppManifest|
4. Add test case
5. Should enable preference |dom.enable_widgets|
2014-08-19 15:14:08 +01:00
Ed Morley
0a2146dfad Backed out changeset e020d647d6d3 (bug 1005818) for exceptions during test_widget.html 2014-08-19 15:06:12 +01:00
Ed Morley
f049ad3ce3 Backed out changeset e71a3cac1b3d (bug 1005818) 2014-08-19 15:05:51 +01:00
Junior Hsu
368a85c7f6 Bug 1005818 - Part 2: Only limited browser API are available to a widget. r=kanru
1. Add |ownerIsWidget| in nsIFrameLoader.idl
2. Add |GetReallyIsWidget| in nsIMozBrowserFrame.idl
3. Hide the methods of browser API of a widget
4. Hide security-sensitive mozbrowser events of a widget
2014-08-04 09:06:26 +08:00
Junior Hsu
518ff2f66d Bug 1005818 - Part 1: Load a widget as an app if the |src| is in the |widgetPages|. r=fabrice, sr=sicking
1. Add permission |embed-widgets| and Element attribute |mozwidget|
2. Add |hasWidgetPage| in /mozIApplication.idl
3. Check permission |embed-widgets| and the |src| is in the |widgetPages| when |GetAppManifest|
4. Add test case
5. Should enable preference |dom.enable_widgets|
2014-07-03 13:47:09 +08:00
Antonio M. Amaya
50704bfbd4 Bug 1044278 - Adjust the download cancel timers and fail gracefully if the download couldn't be cancelled. r=fabrice 2014-07-31 09:48:00 -04:00
Fabrice Desré
7ad8bbfd8c Bug 972076 - Make mozApps.mgmt.getAll faster r=ferjm 2014-07-07 11:01:30 -07:00
Fabrice Desré
6128f1e270 Bug 1042881 - ManifestHelper() must resolve uris against the manifest url r=myk 2014-07-30 14:00:15 -07:00
Fernando Jiménez
20ee412e73 Bug 903291 - App download hangs indefinitely if the child process dies before confirming the install. r=fabrice
* * *
Bug 903291 - App download hangs indefinitely if the child process dies before confirming the install
2014-05-24 12:28:13 -07:00
Ryan VanderMeulen
56fbe33b47 Backed out changesets 81f96f02263f and fd84374f63f1 (bug 903291) for causing frequent B2G crashtest timeouts. 2014-07-28 14:31:33 -04:00
Antonio M. Amaya
739d05638b Bug 1036847 - Add a test for mozApps cancel()/download() on installation. r=fabrice 2014-07-22 08:28:00 +02:00
Fernando Jiménez
ad98970216 Bug 903291 - App download hangs indefinitely if the child process dies before confirming the install. r=fabrice
* * *
Bug 903291 - App download hangs indefinitely if the child process dies before confirming the install
2014-05-24 12:28:13 -07:00
Marco Castelluccio
c38f173ebb Bug 1021345 - Allow apps to be installed from the Marketplace staging server. r=fabrice 2014-07-23 13:20:25 +02:00