Граф коммитов

12 Коммитов

Автор SHA1 Сообщение Дата
Kan-Ru Chen (陳侃如) 4765f57c8e Bug 1098145 - Fix BrowserElement::Download crash and enable mochitest. r=smaug 2014-11-13 18:36:22 +08:00
Kan-Ru Chen (陳侃如) 60c73c4dec 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 (陳侃如) 9be168779e Bug 1044736 - Part 2. Add nsIBrowserElementAPI.idl and implement nsBrowserElement. r=bz 2014-11-12 19:27:31 +08:00
Kan-Ru Chen (陳侃如) 4e79421c31 Bug 1044736 - Part 1. Add BrowserElement.webidl and stub implementation. r=bz 2014-11-12 19:27:31 +08:00
Carsten "Tomcat" Book cca56853a8 Backed out changeset e81aa95ac8d3 (bug 1044736) to fix bustage on a CLOSED TREE 2014-11-12 08:40:14 +01:00
Carsten "Tomcat" Book a3f54a888a Backed out changeset 8505276285fa (bug 1044736) 2014-11-12 08:39:41 +01:00
Carsten "Tomcat" Book 8999b3c663 Backed out changeset 920775ddfb85 (bug 1044736) 2014-11-12 08:39:32 +01:00
Carsten "Tomcat" Book 050c622f95 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 (陳侃如) 4167226bc1 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 (陳侃如) 53bbc67989 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 (陳侃如) ef7ff3f544 Bug 1044736 - Part 2. Add nsIBrowserElementAPI.idl and implement nsBrowserElement. r=bz 2014-11-12 14:20:18 +08:00
Kan-Ru Chen (陳侃如) db2eae553e Bug 1044736 - Part 1. Add BrowserElement.webidl and stub implementation. r=bz 2014-11-12 14:20:18 +08:00