Commit Graph

882 Commits

Author SHA1 Message Date
Zoran Jovanovic
085151077e Bug 1066013 - Initialize appCache path r=fabrice 2014-11-12 11:36:36 -08:00
Antonio M. Amaya
462cd555d2 Bug 1022791 - Keep previous values for PROMPT permissions on system updates. r=fabrice 2014-11-03 02:24:00 -05:00
Kan-Ru Chen (陳侃如)
11e5f7286c 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 (陳侃如)
e0422a9fc3 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
21494f3326 Backed out changeset a3604ab2b3ca (bug 1044736) 2014-11-12 08:39:33 +01:00
Carsten "Tomcat" Book
652b5560c5 Backed out changeset 920775ddfb85 (bug 1044736) 2014-11-12 08:39:32 +01:00
Carsten "Tomcat" Book
700f8cf075 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
8c1133c97c 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 (陳侃如)
420f362b77 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 (陳侃如)
48b51af061 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 (陳侃如)
36f6520280 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 (陳侃如)
38188b0729 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
9eeaa9a166 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
957dfc1404 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
ba48994bc6 Bug 1000313 - Adding homescreen-webapps-manage permission. r=sicking 2014-11-02 14:04:08 -05:00
Gina Yeh
0b6725a79b 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
d40727534f 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é
b85bda5263 Bug 1083454 - Aborting marionette tests is causing bootup failure r=gwagner 2014-10-27 17:40:13 -07:00
Alexandre Poirot
3bbce13619 Bug 1019714 - Forbid overloading apps not being pushed via devtools. r=jryans, r=fabrice 2014-10-27 11:17:40 -04:00
Ben Francis
db475f01ad 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
94e29f9c07 Merge mozilla-central to fx-team 2014-10-24 16:12:00 +02:00
Carsten "Tomcat" Book
8c3373dbb8 merge b2g-inbound to mozilla-central a=merge 2014-10-24 15:59:31 +02:00
Fabrice Desré
d1fa0b26d7 Bug 1072090 - Add a way to enable and disable an app. r=myk,sicking 2014-10-23 16:40:08 -07:00
Wes Kocher
35470b2b41 Backed out changeset 556dc4f97e08 (bug 1072090) for m-oth orange 2014-10-23 18:21:11 -07:00
Fabrice Desré
f3c9b8625c Bug 1072090 - Add a way to enable and disable an app. r=myk,sicking 2014-10-23 16:40:08 -07:00
Vaibhav Agrawal
9589249ae8 Bug 1083347 - Remove androidx86.json. r=gbrown 2014-10-22 11:51:00 -04:00
Benjamin Bouvier
86ea81a4db 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
1a22fa2864 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
c349f524eb Bug 1035454, part 4 - Don't send 'Webapps:UnregisterForMessages' at xpcom-shutdown, r=fabrice. 2014-10-15 20:04:33 -07:00
Fabrice Desré
a29f642734 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
6319b913b5 Merge m-c to b2g-inbound a=merge 2014-10-14 17:36:36 -07:00
Zoran Jovanovic
e38018d439 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
3e0ef2f1a8 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
61337fb660 Bug 1074086 - Save widgetPages in UpdateAppHandlers and remove redundant saving. r=fabrice 2014-10-07 18:23:00 +02:00
Bobby Holley
918d525fdc Bug 1065185 - Create content arrays rather than chrome arrays in DOM Apps. r=me 2014-10-03 10:05:51 +02:00
Alexandre Lissy
509bd19fd7 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é
792e7312a3 Bug 1070932 - Updates error handling code can fail r=marco 2014-09-26 10:23:21 -07:00
Evelyn Hung
e4072eab90 Bug 997564 - Implement Engineering Mode Web API. sr=sicking r=fabrice 2014-09-21 09:06:00 +02:00
Ryan VanderMeulen
81d60684ec Merge fx-team to m-c. a=merge 2014-09-24 15:58:32 -04:00
Kyle Machulis
1dee851267 Bug 1058180 - Only create app migrator when absolutely needed; r=fabrice 2014-09-23 13:22:54 -07:00
Kyle Machulis
0695d6b3d5 Backing out 6d28e030fd7b (bug 1058180) due to causing crashes on desktop on a CLOSED TREE 2014-09-22 16:01:50 -07:00
Kyle Machulis
13cbe85c1e Bug 1058180 - Only create app migrator when absolutely needed; r=fabrice 2014-09-22 14:45:39 -07:00
Vlatko Markovic
6abd01ef54 Bug 1011393 - Add support for 'csp' entries in Manifest Helper. r=fabrice 2014-09-22 13:48:45 -07:00
Vlatko Markovic
c31e125948 Bug 1059198 - Permission table update for Trusted Hosted Apps. r=sicking 2014-09-22 07:59:00 -07:00
Vlatko Markovic
fe700364fd Bug 1059216 - Verification of Trusted Hosted Apps manifest signature, part 2. r=sicking 2014-09-22 07:59:00 -07:00
Vlatko Markovic
081fef0a34 Bug 1059216 - Verification of Trusted Hosted Apps manifest signature, part 1. r=dkeeler,rlb 2014-09-22 07:58:59 -07:00
Markus Nilsson
b9ce4526eb Bug 1059202 - Unit test - CSP and CA verfication for Trusted Hosted Apps r=sicking 2014-09-19 14:58:38 -07:00
Zoran Jovanovic
dc17a28218 Bug 1059202 - CSP and CA verfication for Trusted Hosted Apps r=fabrice,sicking,rlb 2014-09-19 14:58:34 -07:00
Fabrice Desrï¿©
70e40b7096 Bug 902165 - System JS : ERROR resource://gre/modules/BrowserElementParent.jsm:219 ReferenceError: DOMApplicationRegistry is not defined in green B2G mochitest-3 runs r=bent 2014-09-24 16:14:54 +10:00
Fabrice Desré
6e8bf2b082 Bug 1059194 - Trusted Hosted Apps, part 3: Basic app install tests r=myk 2014-09-16 13:14:02 -07:00
Vlatko Markovic
12b304479b Bug 1059194 - Trusted Hosted Apps, part 2: CSP infrastructure changes. r=sicking 2014-09-16 13:14:02 -07:00
Vlatko Markovic
e0063e13a5 Bug 1059194 - Trusted Hosted Apps, part 1: App installation & Run. r=fabrice 2014-09-16 13:14:02 -07:00
Fabrice Desré
91769b85a2 Bug 988973 - Remove the deprecated-hwvideo permission, r=fabrice 2014-09-15 17:12:47 -04:00
Fabrice Desré
01fb974a15 Bug 1063852 - Use webidl sequence for the receipts property. r=marco,bholley 2014-09-05 16:55:30 -07:00
Fabrice Desré
38f8927401 backout bug 1063852 (84ac3d72395f) since that breaks Gij. r=bholley to please the dom/ hook. 2014-09-07 20:04:58 -07:00
Fabrice Desré
77ab2ede05 Bug 1063852 - Use webidl sequence for the receipts property. r=marco,bholley 2014-09-05 16:55:30 -07:00
Fabrice Desré
42e493a042 Bug 1056424 - Stuck at loading screen during power cut off test r=myk 2014-09-05 16:41:24 -07:00
Birunthan Mohanathas
f882bf3044 Bug 1058101 - Flatten dom/apps/src/ into parent directory. r=mccr8
--HG--
rename : dom/apps/src/AppDownloadManager.jsm => dom/apps/AppDownloadManager.jsm
rename : dom/apps/src/AppsService.js => dom/apps/AppsService.js
rename : dom/apps/src/AppsService.manifest => dom/apps/AppsService.manifest
rename : dom/apps/src/AppsServiceChild.jsm => dom/apps/AppsServiceChild.jsm
rename : dom/apps/src/AppsUtils.jsm => dom/apps/AppsUtils.jsm
rename : dom/apps/src/FreeSpaceWatcher.jsm => dom/apps/FreeSpaceWatcher.jsm
rename : dom/apps/src/InterAppComm.cpp => dom/apps/InterAppComm.cpp
rename : dom/apps/src/InterAppComm.h => dom/apps/InterAppComm.h
rename : dom/apps/src/InterAppComm.manifest => dom/apps/InterAppComm.manifest
rename : dom/apps/src/InterAppCommService.js => dom/apps/InterAppCommService.js
rename : dom/apps/src/InterAppCommService.jsm => dom/apps/InterAppCommService.jsm
rename : dom/apps/src/InterAppConnection.js => dom/apps/InterAppConnection.js
rename : dom/apps/src/InterAppMessagePort.js => dom/apps/InterAppMessagePort.js
rename : dom/apps/src/OfflineCacheInstaller.jsm => dom/apps/OfflineCacheInstaller.jsm
rename : dom/apps/src/OperatorApps.jsm => dom/apps/OperatorApps.jsm
rename : dom/apps/src/PermissionsInstaller.jsm => dom/apps/PermissionsInstaller.jsm
rename : dom/apps/src/PermissionsTable.jsm => dom/apps/PermissionsTable.jsm
rename : dom/apps/src/ScriptPreloader.jsm => dom/apps/ScriptPreloader.jsm
rename : dom/apps/src/StoreTrustAnchor.jsm => dom/apps/StoreTrustAnchor.jsm
rename : dom/apps/src/Webapps.js => dom/apps/Webapps.js
rename : dom/apps/src/Webapps.jsm => dom/apps/Webapps.jsm
rename : dom/apps/src/Webapps.manifest => dom/apps/Webapps.manifest
2014-08-27 10:12:06 -07:00
Kyle Machulis
b76c51e628 Bug 900551 - Add new permission for wallpaper setting; r=bent 2014-08-27 21:01:30 -07:00
Kyle Machulis
6298f9dcc4 bug 900551 - Settings API OOP; r=bent 2014-08-27 21:01:29 -07:00
Kyle Machulis
d5a218f3be Bug 846200 - Support for granting settings permissions on a per-permission basis; r=bent
--HG--
extra : rebase_source : 941bc56c900d6eb96a49af80be2b328155c0ea45
2014-08-27 21:01:29 -07:00
Fabrice Desré
e0a373214b Bug 1058319 - Add a geolocation-noprompt permission part 1: permission table update r=gwagner 2014-08-28 17:25:01 -07:00
Fabrice Desré
7a94d83b63 Bug 1011738 - Theme support for b2g/gaia, Part 5 : tests r=myk 2014-08-28 17:20:27 -07:00
Fabrice Desré
3495d1f06c Bug 1011738 - Theme support for b2g/gaia, Part 3 : dom/apps checks for role="theme" r=myk 2014-08-28 17:20:27 -07:00
Ryan VanderMeulen
8fd0dcafe2 Merge fx-team to m-c. a=merge 2014-08-28 16:13:41 -04:00
Myk Melez
d7cd800e74 Bug 1059687 - suppress errant "test for equality mistyped as assignment" warning; r=fabrice 2014-08-28 10:35:56 -07:00
Ryan VanderMeulen
4f864e03ab Backed out 11 changesets (bug 1059079, bug 1015518, bug 900551, bug 846200) for Gaia UI test failures on a CLOSED TREE.
Backed out changeset d85b4e48b3b4 (bug 1015518)
Backed out changeset 663b73ba69ec (bug 1015518)
Backed out changeset 5cf1cb5fa022 (bug 900551)
Backed out changeset b953dd5bfdaa (bug 900551)
Backed out changeset a2b6d7c84100 (bug 900551)
Backed out changeset ceb79fe83d15 (bug 900551)
Backed out changeset f6acf344fbf0 (bug 900551)
Backed out changeset fa269ea53937 (bug 846200)
Backed out changeset b89c84a850f9 (bug 846200)
Backed out changeset b7a7dfbe4e3f (bug 846200)
Backed out changeset c6f54d821c11 (bug 1059079)
2014-08-28 12:49:49 -04:00
Garner Lee
556dbdc3ac Bug 979767 - Part 1: Messages and Permissions. Supporting web application triggering based on HCI event EVT_TRANSACTION. r=fabrice 2014-08-27 14:41:00 +02:00
Kyle Machulis
b37838de1c Bug 900551 - Add new permission for wallpaper setting; r=bent 2014-08-27 21:01:30 -07:00
Kyle Machulis
6e78cf8ab0 Bug 900551 - Settings API OOP; r=bent 2014-08-27 21:01:29 -07:00
Kyle Machulis
0b7c608561 Bug 846200 - Support for granting settings permissions on a per-permission basis; r=bent 2014-08-27 21:01:29 -07:00
Ryan VanderMeulen
fbfa40d6b1 Merge inbound to m-c. a=merge 2014-08-26 15:55:57 -04:00
Carsten "Tomcat" Book
012b4e6c73 Backed out changeset 883564cbc9a3 (bug 1058319) for gip test failures 2014-08-26 11:43:36 +02:00
Fabrice Desré
f8e633803b Bug 1058319 - Add a geolocation-noprompt permission r=gwagner 2014-08-25 17:29:25 -07:00
Kyle Machulis
e14c492415 Bug 938171 - Move browser app database file in gecko; r=fabrice 2014-08-25 13:30:07 -07:00
Ryan VanderMeulen
0813fa0d98 Backed out 4 changesets (bug 745283) for merge conflicts with bug 786419.
Backed out changeset 70bad98676c8 (bug 745283)
Backed out changeset fc08327b3d3e (bug 745283)
Backed out changeset ce19c464f5d8 (bug 745283)
Backed out changeset c6ad8ab94461 (bug 745283)

--HG--
rename : netwerk/test/unit/test_udpsocket.js => netwerk/test/unit/test_bug952927.js
2014-08-25 13:07:14 -04:00
Ted Clancy (:tedders1)
2e809370b7 Bug 1000315 - Part 7: App tests automatically confirm uninstallation. r=myk 2014-06-11 14:33:02 -07:00
Ted Clancy (:tedders1)
fc9077a74d Bug 1000315 - Part 3: Uninstall prompting on Desktop and WebRT. r=myk 2014-06-11 14:23:18 -07:00
Shih-Chiang Chien
c5c659b63a Bug 745283 - Part 2: Add udp-socket permission. r=sicking, r=baku 2014-05-28 13:56:23 +08:00
Shih-Chiang Chien
472b74bc05 Bug 745283 - Part 2: Add udp-socket permission. r=sicking, r=baku 2014-05-28 13:56:23 +08:00
Sean Lin
73a41c0822 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
9fdf0f930e Bug 1048615 - Test case for multiple simultaneous access. r=fabrice 2014-08-21 19:09:37 +08:00
Fabrice Desré
8453feb8d7 Bug 1056226 - "Unrecoverable" app uninstall does not send manifest information to uninstall event r=marco 2014-08-20 12:27:32 -07:00
Kyle Machulis
c3c4d72110 Backed out d71120161e89 b5d49f1885af (bug 846200) due to missing xpc shell test fix patch 2014-08-20 12:01:18 -07:00
Kyle Machulis
13feac6197 Bug 846200 - Support for granting settings permissions on a per-permission basis 2014-08-20 10:40:37 -07:00
Ryan VanderMeulen
7e4df53bec Merge inbound to m-c. a=merge 2014-08-19 16:09:47 -04:00
Fabrice Desré
9b50f59ed0 Bug 899322 - Convert the mozApps API to use webidl r=marco,bholley 2014-08-19 09:30:54 -07:00
Ed Morley
38fed2679e Backed out changeset a880d4e0d656 (bug 846200) for xpcshell failures in test_bug808734.js; CLOSED TREE 2014-08-19 09:17:30 +01:00
Kyle Machulis
53015f7363 Bug 846200 - Support for granting settings permissions on a per-permission basis; r=bent 2014-08-18 22:06:54 -07:00
Junior Hsu
012e6ed0a7 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
7c8c44b873 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
8265642165 Backed out changeset e020d647d6d3 (bug 1005818) for exceptions during test_widget.html 2014-08-19 15:06:12 +01:00
Ed Morley
e5e3a2cfc3 Backed out changeset e71a3cac1b3d (bug 1005818) 2014-08-19 15:05:51 +01:00
Ed Morley
1129a8ed5e Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-12 17:05:36 +01:00
Fabrice Desré
edc30acde0 Bug 1051114 - 400 MozInterAppMessagePort registered on frame message manager r=bent 2014-08-11 10:37:09 -07:00
Wes Kocher
4d3dfafdc4 Backed out changeset 49086e9caa4e (bug 1051114) for making Gaia-unit tests timeout on a CLOSED TREE 2014-08-11 15:27:58 -07:00
Chris Lord
46a53f7d64 Bug 1051513 - Fix update of webapp activity registration. r=fabrice
Remove all old activities for a given manifest before re-registering new ones.
2014-08-11 23:21:44 +01:00
Fabrice Desré
e5abfe4060 Bug 1051114 - 400 MozInterAppMessagePort registered on frame message manager r=bent 2014-08-11 10:37:09 -07:00
Junior Hsu
3452a4c90a 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
1ec54a88be 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