Simon Giesecke
1ed2ba9764
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/html. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D63171
--HG--
extra : moz-landing-system : lando
2020-02-20 16:19:15 +00:00
Kyle Machulis
2bb286e58e
Bug 1524683 - Move all nsIFrameLoaderOwner references to nsFrameLoaderOwner; r=nika
...
Depends on D19728
Differential Revision: https://phabricator.services.mozilla.com/D19729
--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:53 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Boris Zbarsky
aede00dddf
Bug 1503070 part 12. Stop using DOMRequest in BrowserElement getCanGoForward/Back APIs. r=ehsan
2018-11-01 17:37:48 -04:00
Boris Zbarsky
9f70661642
Bug 1503070 part 10. Remove sendTouchEvent() API from BrowserElement. r=jryans
2018-11-01 17:37:48 -04:00
Boris Zbarsky
5f1d6448f8
Bug 1503070 part 9. Remove getWebManifest() API from BrowserElement. r=ehsan
2018-11-01 17:37:48 -04:00
Boris Zbarsky
6ca7e6b57e
Bug 1503070 part 8. Remove executeScript API from BrowserElement. r=ehsan
2018-11-01 17:37:48 -04:00
Boris Zbarsky
a595b274e1
Bug 1503070 part 7. Remove find methods from BrowserElement. r=ehsan
2018-11-01 17:37:47 -04:00
Boris Zbarsky
a198d31a62
Bug 1503070 part 6. Remove getContentDimensions() method from BrowserElement. r=ehsan
2018-11-01 17:37:47 -04:00
Boris Zbarsky
cc94a48f78
Bug 1503070 part 5. Remove zoom() method from BrowserElement. r=ehsan
2018-11-01 17:37:47 -04:00
Boris Zbarsky
a0f19a1a33
Bug 1503070 part 4. Remove getScreenshot() method from BrowserElement. r=ehsan
2018-11-01 17:37:41 -04:00
Boris Zbarsky
75e71c08a9
Bug 1503070 part 3. Remove purgeHistory() method from BrowserElement. r=ehsan
2018-11-01 17:36:11 -04:00
Boris Zbarsky
8a0b60f33c
Bug 1503070 part 2. Remove download() method from BrowserElement. r=ehsan
2018-11-01 17:36:11 -04:00
Boris Zbarsky
2d6e9368a0
Bug 1503070 part 1. Remove next-paint listeners from BrowserElement. r=ehsan
2018-11-01 17:36:11 -04:00
Andrea Marchesini
da7aba03b1
Bug 1368712 - Get rid of nsIBrowserElementAPI.{set,get}Visible, r=kanru
2017-05-31 21:15:23 +02:00
btian
03466ff5ab
Bug 1299390 - part 3: Remove BrowserElement methods required by BrowserElementAudioChannel only. r=alwu,baku
...
MozReview-Commit-ID: LAyGMvmmZpz
--HG--
extra : rebase_source : 29d72475fcc809a3e5d1f6f74a8fc3d703987457
2017-05-18 09:31:00 +08:00
btian
a3d3d85da1
Bug 1299390 - part 1: Remove BrowserElementAudioChannel. r=alwu,baku
...
MozReview-Commit-ID: BdRE9biPn5r
--HG--
extra : rebase_source : 53dd4eecac1512a235b340e181d2a5ecb4d88540
2017-05-18 09:31:00 +08:00
Xidorn Quan
a8e64a94e1
Bug 1298756 - Use uint8_t/uint16_t as underlying type for enums from webidl. r=bz
...
MozReview-Commit-ID: 3uS9s5ZrPFd
--HG--
extra : rebase_source : ff64b4468ee99ba08fd8638298a27711b7fb6393
2017-01-12 12:23:37 +11:00
Michelangelo De Simone
682555bbc4
Bug 1313169 - Remove dom/inputmethod/ and related code. r=Ehsan
...
MozReview-Commit-ID: 5jkBVon3ZSz
--HG--
extra : rebase_source : e13a061650abe81ea58ffca22f74e3ec6122fede
2016-12-20 16:32:12 -08:00
Ehsan Akhgari
eac76d9772
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book
3eacc680db
Backed out changeset 7d1f7dd996f7 (bug 1310845)
2016-11-16 14:50:44 +01:00
Ehsan Akhgari
cb369370b3
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Michelangelo De Simone
8641036d15
Bug 1310859 - Remove DOM/nfc and related code. r=jst
...
MozReview-Commit-ID: FiS7uGytipN
--HG--
extra : rebase_source : cd9be62d334568b4abd850398467bce4c4eb1544
2016-10-18 15:16:56 -07:00
Ehsan Akhgari
4a51ebacfa
Bug 1310378 - Remove support for mozwidget; r=baku
2016-10-17 13:15:36 -04:00
J. Ryan Stinnett
b7ca8b1d80
Bug 1301514 - Destroy browser API frame scripts during swap. r=kanru
...
When swapping content from <iframe mozbrowser> to <xul:browser>, we now stop the
frame scripts that implement the content side of the browser API since they are
no longer needed and can cause issues if they remain active.
MozReview-Commit-ID: JrecxA4MI93
--HG--
extra : rebase_source : cc68b975c7d82035410a647ff66eab130055ed04
2016-09-08 16:00:12 -05:00
Gabriele Svelto
4dfafe74a7
Bug 1284535 - Remove dependencies to the mozApps-related APIs from the audio channel code r=gsvelto
...
MozReview-Commit-ID: 9XKMKBkvlfR
--HG--
extra : rebase_source : f08a164c052e996c0aad2cd770ff0ba786596d14
2016-04-14 15:19:41 +02:00
Boris Zbarsky
cf35c3398f
Bug 1273203. Remove the getStructuredData API from BrowserElement. r=kanru
2016-05-18 02:51:49 -04:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Andrea Marchesini
52e65f89d8
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
cccfedda81
Backed out changeset afe3d65b74b6 (bug 1214148) on developers request for causing regressions
2015-12-15 14:45:06 +01:00
Andrea Marchesini
7271d1d622
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
631f58c4f9
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
f342b66a2e
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
9859867e5b
Bug 1169633 - [Browser API] getWebManifest(). r=kanru, r=bholley
2015-11-03 03:52:00 +01:00
Nathan Froyd
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Andrea Marchesini
5bd948cce6
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
4b2d44ae11
Bug 1195801 - Add GetStructuredData() method to Browser API. r=kanru, r=bholley
2015-09-22 23:02:10 -07:00
Wes Kocher
3bc0233be8
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
346978573f
Bug 1169633 - [Browser API] getWebManifest(). r=kanru,bholley
2015-09-16 06:55:00 +02:00
Carsten "Tomcat" Book
c5551bace9
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
1e387b4675
Bug 1169633 - [Browser API] getWebManifest(). r=kanru, r=bholley
2015-09-16 06:55:00 +02:00
Brian R. Bondy
b96697e95d
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
dfe7fcd341
Bug 1174733 - Browser API: iframe.executeScript. r=kanru, r=bholley
2015-07-16 03:56:00 -04:00
Andrea Marchesini
db14826639
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
c07e36b612
Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
...
--HG--
rename : dom/webidl/BrowserElementAudioChannel.webidl => dom/audiochannel/AudioChannelCommon.h
rename : dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html => dom/audiochannel/tests/file_telephonyPolicy.html
2015-07-11 14:14:58 +02:00
Andrea Marchesini
3050bc370c
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 21:08:43 -04:00
Xidorn Quan
f23d866f51
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)
--HG--
extra : histedit_source : d8dfd75d9dae36b7309ce78e3b4488faf57003da%2C48081711b7067191d8e4749fd3b572db59bc03f9
2015-07-11 10:55:59 +10:00
Andrea Marchesini
bbb0a11f31
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/browser-element/mochitest/test_browserElement_inproc_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/browser-element/mochitest/test_browserElement_oop_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
2015-07-10 17:38:44 +01:00
Paul Rouget
53184296fe
Bug 1163961 - Browser API: Page search. r=kchen, r=ehsan
2015-06-09 20:04:00 -04:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00