Commit Graph

147 Commits

Author SHA1 Message Date
Ted Clancy
b8d4e5cde4 Bug 1000305 - Part 2 - imported patch bug-1000305-fix-part2. r=mcmanus
--HG--
extra : rebase_source : 980af8e81cc0358a04073d3cc98d90c3a98c5228
2015-02-09 08:39:07 -05:00
Chris Peterson
c0f4d0ffab Bug 1129325 - Remove nonstandard let blocks from dom. r=mrbkap 2015-01-24 23:38:46 -08:00
Fabrice Desré
93d13ccd07 Bug 1113779 - UserCustomizations.jsm spams desktop mochitest test logs r=mccr8 2015-01-16 14:16:03 -08:00
Fabrice Desré
ca929c002b Bug 1108096 - Langpack support for b2g/gaia r=ferjm,sicking 2015-01-10 15:00:27 -08:00
Carsten "Tomcat" Book
1ebfec775a Backed out changeset df960e299bcd (bug 1108096) for m1 test failures 2015-01-12 09:02:13 +01:00
Fabrice Desré
6bebe8f1e3 Bug 1108096 - Langpack support for b2g/gaia r=ferjm,sicking 2015-01-10 15:00:27 -08:00
Fabrice Desré
9115e3adf6 Bug 1113391 - Followup to bug 923897 r=me 2014-12-18 15:16:49 -08:00
Fabrice Desré
d9365a9da5 Bug 923897 - Extensibility support for b2g r=ferjm,bholley 2014-12-16 15:32:28 -08:00
Ehsan Akhgari
309b4049b4 Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05: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
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