Commit Graph

43 Commits

Author SHA1 Message Date
Andrea Marchesini
692e31d599 Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu 2015-12-11 11:17:33 -05:00
Carsten "Tomcat" Book
63aa1bf0d5 Backed out changeset afe3d65b74b6 (bug 1214148) on developers request for causing regressions 2015-12-15 14:45:06 +01:00
Andrea Marchesini
ccdb3cddb8 Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu 2015-12-11 11:17:33 -05:00
Phil Ringnalda
61ed209b74 Back out 3 changesets (bug 1214148) for b2g test_browserElement_inproc_AudioPlayback.html, test_browserElement_oop_AudioChannel.html, etc. failures
CLOSED TREE

Backed out changeset e716d9ac93d7 (bug 1214148)
Backed out changeset 5f693237c8c1 (bug 1214148)
Backed out changeset 3a4865d79416 (bug 1214148)
2015-12-09 18:19:33 -08:00
Andrea Marchesini
09dc802de5 Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu 2015-12-09 16:46:25 -05:00
Marcos Caceres
9ac77c56fe Bug 1169633 - [Browser API] getWebManifest(). r=kanru, r=bholley 2015-11-03 03:52:00 +01:00
Nathan Froyd
9c5965b035 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Andrea Marchesini
7abe32d9fb Bug 1167465 - Exposing Allowed Audio Channels in System App's Window, r=alwu, r=fabrice 2015-09-23 08:12:52 +01:00
Ted Clancy
9db53db212 Bug 1195801 - Add GetStructuredData() method to Browser API. r=kanru, r=bholley 2015-09-22 23:02:10 -07:00
Wes Kocher
c0a953beff Backed out changeset dca7021e514a (bug 1169633) for test_browserElement_inproc_getWebManifest.html failures CLOSED TREE 2015-09-17 13:08:32 -07:00
Marcos Caceres
bf5e97d5cd Bug 1169633 - [Browser API] getWebManifest(). r=kanru,bholley 2015-09-16 06:55:00 +02:00
Carsten "Tomcat" Book
be8ea07225 Backed out 2 changesets (bug 1169633, bug 1163254) for linux Mn-e10s test bustage on a CLOSED TREE
Backed out changeset 47ccf6689101 (bug 1169633)
Backed out changeset 503eab197a2d (bug 1163254)
2015-09-17 16:01:25 +02:00
Marcos Caceres
1819dd4f55 Bug 1169633 - [Browser API] getWebManifest(). r=kanru, r=bholley 2015-09-16 06:55:00 +02:00
Brian R. Bondy
b292a92d0f Bug 1188487 - Add API to BrowserElement to mute and set volume. r=fabrice
It's already possible to get mute/volume at the audio channel level, but
this adds it at the iframe level so that audio channels can be created
and destroyed and the setting will be preserved.
2015-07-31 13:21:18 -04:00
Paul Rouget
038fecc79a Bug 1174733 - Browser API: iframe.executeScript. r=kanru, r=bholley 2015-07-16 03:56:00 -04:00
Andrea Marchesini
bbfb9c4aa0 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
6a80a5a324 Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe 2015-07-11 14:14:58 +02:00
Andrea Marchesini
80b5f477f2 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 21:08:43 -04:00
Xidorn Quan
76a19944b1 Backed out 8 changesets (bug 1113086) for build bustage
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)
2015-07-11 10:55:59 +10:00
Andrea Marchesini
fbe5ce79eb Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Paul Rouget
318c07ae1a Bug 1163961 - Browser API: Page search. r=kchen, r=ehsan 2015-06-09 20:04:00 -04:00
Andrew McCreight
aeff7c99ee Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Ting-Yu Chou
d1bc636129 Bug 1127189 part 2 - Initialize browser API directly to get rid of nsBrowserElement observers. r=kanru 2015-02-09 15:04:18 +08:00
Dimi Lee
1b2902b630 Bug 1105666 - [BrowserAPI] Add an API to indicate this iframe could receive NFC event. r=smaug, kanru, yoshi 2015-01-22 17:40:17 +08: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 (陳侃如)
956cb77f56 Bug 1044736 - Part 2. Add nsIBrowserElementAPI.idl and implement nsBrowserElement. r=bz 2014-11-21 18:56:27 +08:00
Kan-Ru Chen (陳侃如)
bde3f1eca4 Bug 1044736 - Part 1. Add BrowserElement.webidl and stub implementation. r=bz 2014-11-21 18:56:27 +08:00
Wes Kocher
37afbcf83e Backed out changeset 78aacc35b4e7 (bug 1044736) for breaking statusbar in b2g, take two a=backout 2014-11-17 22:49:39 -08:00
Wes Kocher
0cbc10e98b Backed out changeset c7c9170ab299 (bug 1044736) 2014-11-17 22:44:13 -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 (陳侃如)
36617edbff Bug 1044736 - Part 2. Add nsIBrowserElementAPI.idl and implement nsBrowserElement. r=bz 2014-11-12 19:27:31 +08:00
Kan-Ru Chen (陳侃如)
a4aab03400 Bug 1044736 - Part 1. Add BrowserElement.webidl and stub implementation. r=bz 2014-11-12 19:27:31 +08:00
Carsten "Tomcat" Book
cee477eb42 Backed out changeset e81aa95ac8d3 (bug 1044736) to fix bustage on a CLOSED TREE 2014-11-12 08:40:14 +01:00
Carsten "Tomcat" Book
9bd1f88cc8 Backed out changeset 8505276285fa (bug 1044736) 2014-11-12 08:39:41 +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 (陳侃如)
d69411de92 Bug 1044736 - Part 2. Add nsIBrowserElementAPI.idl and implement nsBrowserElement. r=bz 2014-11-12 14:20:18 +08:00
Kan-Ru Chen (陳侃如)
4253944a23 Bug 1044736 - Part 1. Add BrowserElement.webidl and stub implementation. r=bz 2014-11-12 14:20:18 +08:00