Jean-Yves Avenard
38486b8704
Bug 1217304: P1. Only fire loadeddata once the first frame has been decoded. r=jwwang
...
We can't determine otherwise if data is actually playable at the current position
2015-10-23 23:34:05 +11:00
Wes Kocher
5ba2dcfe5c
Merge b2ginbound to central, a=merge
2015-10-22 16:50:22 -07:00
Carsten "Tomcat" Book
a58c789859
Merge m-c to b2g-inbound
2015-10-22 12:00:41 +02:00
Alastor Wu
5a7dd93588
Bug 1215447 - move flag setting from SeekStarted() to Seek(). r=roc.
...
--HG--
extra : transplant_source : f94M3%13%FA%B1%C3t%94%3B%E29%9A%19%07%FC%F4%3E
2015-10-22 11:37:16 +08:00
Guang-De Lin
5fc8c948b4
Bug 1150305 - sourcebuffer.buffered returns the same object if not changed. r=roc, r=bz, r=jya
...
--HG--
extra : rebase_source : ffacfcb39b567a6cd034b081f4330d88aacb98f4
2015-10-19 14:10:47 +08:00
Tooru Fujisawa
24ab66bc98
Bug 1217093
- Remove for-each from dom/. r=smaug
...
--HG--
extra : commitid : DcjxshJqlKg
extra : rebase_source : 23bc9a985f1e6d13e13837e31bb9b88b9be24d55
2015-10-19 02:00:50 +09:00
Xidorn Quan
5a106ab56a
Bug 1203089 - Add test for fullscreen element in parent with perspective property. r=dholbert
...
--HG--
extra : rebase_source : 4f19451e2fe25495d3d9bbce6b291f133688c8ac
extra : source : b9dc969ee585ebca7038cac82272318a3597437b
2015-10-22 11:08:35 +11:00
Jonathan Watt
38abda8b15
Bug 1099103 - Prevent numbers input using a grouping separator from being mis-processed as if the separator was a decimal separator. r=dholbert
...
--HG--
extra : rebase_source : ae7f771134638e9d3988750de98a9e0a0374697a
2015-09-17 22:17:35 +01:00
Jonathan Watt
b96e199943
Bug 1207088 - Don't show the "Choose folder..." button for a directory picking <input> on platforms that don't have a directory picker. r=jfkthame
...
--HG--
extra : rebase_source : 836a5eff5b37398af019f3a29848ee42092939dc
2015-09-16 11:42:27 +01:00
Carsten "Tomcat" Book
43610824f0
Backed out changeset 780061f96448 (bug 1213154)
...
--HG--
extra : rebase_source : 0d1ba1ee2f11faeedf93fa0baa4c06348deffdc4
2015-10-20 16:08:51 +02:00
Andrea Marchesini
7e6f1c0dce
Bug 1127703 - "Support iteration on FormData" r=bz
...
--HG--
extra : rebase_source : a98ecef5346fd2936474e4056d2f99019162d13b
2015-10-20 04:06:00 +02:00
Andrea Marchesini
ca59daf031
Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc
...
--HG--
extra : rebase_source : f9ee2ae4ea973b4c69633368cb5e0c5e6afa6540
2015-10-20 01:33:00 +02:00
Bobby Holley
3b14342481
Bug 1216308 - Hoist IsCallerChrome check in HTMLMediaElement::Play to API entry point. r=bz
2015-10-19 17:54:46 -07:00
Wes Kocher
4713742f00
Backed out changeset c159526f9145 (bug 1127703) for test_formSubmission.html failures
2015-10-19 16:02:06 -07:00
Andrea Marchesini
c628603a97
Bug 1127703 - Support iteration on FormData, r=bz
2015-10-19 19:23:52 +01:00
Wes Kocher
db78fde55b
Backed out changeset 736f0981762c (bug 1127703) for build bustage
2015-10-19 10:55:41 -07:00
Andrea Marchesini
c94d30fc34
Bug 1127703 - Support iteration on FormData, r=bz
2015-10-19 16:16:42 +01:00
Olli Pettay
fee6bc69e2
Bug 1215072
- throw in case dictionary initialization fails in canvas.getContext, r=baku
2015-10-18 14:14:22 +03: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
Nathan Froyd
583afa0965
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Phil Ringnalda
dc7a4cc45e
Back out changeset 09e059daabae (bug 1215072
) for adding a permaorange-on-b2g test
...
CLOSED TREE
2015-10-16 18:42:41 -07:00
Olli Pettay
2b21892477
Bug 1215072
- throw in case dictionary initialization fails in canvas.getContext, r=baku
...
--HG--
extra : rebase_source : 006bfed7cfec46e6150ee15135de08941283dbb7
2015-10-16 22:52:11 +03:00
Boris Zbarsky
8d9b5ee469
Bug 218093. Whitelist more mouse movement events to apply to disabled form controls. r=smaug
2015-10-16 14:36:19 -04:00
Carsten "Tomcat" Book
5207756269
Backed out changeset 97e9ac5785f5 (bug 1213154) for bc7 test failures
...
--HG--
extra : rebase_source : 5989b1677b925c6503290637e4c0fd4597d6f4e9
2015-10-16 12:03:40 +02:00
Andrea Marchesini
bc1b4affc1
Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc
...
--HG--
extra : rebase_source : c75b227254aa5701eb728afef09a803e2698e600
2015-10-15 05:00:00 +02:00
Andrea Marchesini
d92668f3a0
Bug 1214659 - HTMLMediaElement::UpdateAudioChannelPlayingState() should be easy to read, r=roc
2015-10-15 00:59:00 +02:00
Morris Tseng
aba970f2a8
Bug 1214571
- Only create mContextObserver once. r=baku
...
--HG--
extra : commitid : JlT1u9F257B
extra : rebase_source : 7898e6c864c6851e05f47425462d5048483c9633
2015-10-16 10:01:53 +08:00
Boris Zbarsky
b6743e865b
Bug 1214819. Add support for @crossorigin to <link rel=prefetch> so resources can be prefetched via anonymous CORS, for example. r=hurley
2015-10-15 15:12:00 -04:00
JW Wang
5147e1f0af
Bug 1214989. Part 3 - remove MediaDecoder::Init() and its callers. r=gerald.
2015-10-15 11:39:45 +08:00
JW Wang
e868f91ff6
Bug 1214989. Part 2 - add MediaDecoderOwner to Clone() and overrides. r=gerald.
2015-10-15 11:37:47 +08:00
Boris Zbarsky
04e8705012
Backing out changeset f6759ed53f46 (bug 799937) due to causing extension breakage.
2015-10-14 11:07:06 -04:00
JW Wang
1cc6677a90
Bug 1214065 - Remove unused arguments from MediaDecoder::Load() and its friends. r=kinetik.
2015-10-14 11:46:27 +08:00
Nigel Babu
a2f3106ede
Backed out changeset e184609e1d13 (bug 1207546) for bustage ON A CLOSED TREE
...
--HG--
extra : amend_source : 2ba50d75927848525041bea8ab3bbf371c72342d
2015-10-14 13:29:03 +05:30
Aryeh Gregor
73266dd62b
Bug 1214164 - Don't honor all <option> descendants of <select>; r=bz
...
Per spec, we should only pay attention to options that are children of
the select, or of an optgroup child of the select.
2015-10-13 11:28:00 +02:00
Andrea Marchesini
94c0ba5263
Bug 1207546 - Integrate WebRTC with audio channels, r=roc
...
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
extra : histedit_source : 194f9f7d34be735e8359d0e769dd4783d46b304c
2015-10-14 11:32:23 +05:30
Aryeh Gregor
f8cdabf861
Bug 799937 - Make createElement()'s result always in the HTML namespace (except for XUL documents); r=bz
...
The new expected failures in web-platform are in a test that doesn't
match the spec, which has already been synced upstream and will be
synced shortly. For the same test in imptests, I chose to modify the
test instead, because it's easier and imptests is going to be removed.
2015-10-14 11:16:08 +05:30
Carsten "Tomcat" Book
2b1a321946
merge mozilla-inbound to mozilla-central a=merge
2015-10-12 11:57:06 +02:00
Morris Tseng
a8eab58fba
Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer. r=roc
...
--HG--
extra : rebase_source : cc7761567d60d652b8d0bc9cab04cf310ef100e3
2015-10-12 11:21:03 +08:00
Morris Tseng
d5147a9b2a
Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers. r=nical, r=jgilbert, r=jrmuizel, sr=ehsan
...
Thanks Jon Morton [:jmorton] (jonanin@gmail.com ) for polishing patches.
--HG--
extra : rebase_source : ce16acdc340cbe67102da651552f574eee897ca9
2015-10-12 11:21:03 +08:00
Morris Tseng
acf60f0d3e
Bug 709490 - Part 1: Let ImageBridge transfer CanvasClient async. r=nical
...
Thanks Jon Morton [:jmorton] (jonanin@gmail.com ) for polishing patches.
--HG--
extra : rebase_source : f4ec56dc106357e30660343166ff51e7d9dc0c62
2015-10-12 11:21:02 +08:00
Xidorn Quan
f44406c15c
Bug 1212299 part 3 - Add test for requesting fullscreen from doc inside frame/object. rs=smaug
...
--HG--
extra : source : c931d9c561e66a9a026bfc3c69e4c664f3168055
2015-10-12 11:24:23 +11:00
Xidorn Quan
9162652384
Bug 1212299 part 2 - Rewrite fullscreen-denied test to have a clearer structure. r=smaug
...
--HG--
extra : source : 3d1344b51bfb31af836199f0fbef870934a2ea77
2015-10-12 11:24:23 +11:00
Xidorn Quan
2814f667b7
Bug 1213168 - Use the top window for checking window state in fullscreen test utils. rs=smaug
...
--HG--
extra : source : 5c94ae5936b81cb4e5f19ddb9c231f91d1496d1e
2015-10-10 12:19:23 +11:00
Steffen Wilberg
42308fe6a6
Bug 1119049 - Keyboard shortcuts should work in MediaDocuments without explicitly focusing the media element. r=bz
...
--HG--
extra : commitid : 1pFjSo5cBNc
extra : rebase_source : 91d4ddd382c9e8607b61eafa6fa17724a35c212f
extra : amend_source : 3a170b92b18759e767e8fe45505d0c446c273b37
2015-10-04 13:04:55 +02:00
Xidorn Quan
eba013fd82
Bug 1187801 part 4 - Add test for iframe fullscreen flag. r=smaug
...
--HG--
extra : source : 3abe23b442edf1db41892ce620ca02fb09f2ac0b
2015-10-08 17:47:39 +11:00
Xidorn Quan
f6fe1e11ba
Bug 1187801 part 3 - Add iframe fullscreen flag and stop auto-rollback when this flag presents. r=smaug
...
--HG--
extra : source : f7801f9c5b8e65862ead640f7b07ad87a40c9345
2015-10-08 17:47:39 +11:00
Andrea Marchesini
c53e405b13
Bug 1211511 - AudioChannelAgent::NotifyStartedPlaying and NotifyStoppedPlaying should use the same level of playback notification, r=roc
2015-10-07 20:06:47 +01:00
Bill McCloskey
c5d5457154
Back out bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process
2015-10-07 11:15:11 -07:00
Andrew McCreight
ae5fe6a2ad
Bug 1210591, part 1 - Use nsVariantCC in various places. r=smaug
...
Most of these will end up in DataTransfer:mItems, so this is needed
for it to do anything useful.
2015-10-09 10:24:23 -07:00
Andrew McCreight
0ff7248107
Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
...
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.
I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Carsten "Tomcat" Book
08997000eb
Backed out 2 changesets (bug 1202902
) to recking bug 1202902
to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902
)
Backed out changeset d70c7fe532c6 (bug 1202902
)
2015-10-07 14:03:21 +02:00
Sebastian Hengst
cdcff6d0a7
Backed out changeset c6b267589d0d (bug 1202902
) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE
2015-10-07 13:36:26 +02:00
Carsten "Tomcat" Book
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Xidorn Quan
ccd57823e9
Bug 1126230 part 10 - Add test for fullscreen top layer. r=dbaron
...
--HG--
extra : source : 565db2ee35652291d8d502301f50da22fb87cddd
2015-10-07 14:04:32 +11:00
Xidorn Quan
a52fd07abd
Bug 1126230 part 9 - Remove fullscreen override and related test. r=dbaron
...
--HG--
extra : source : 3abf655d87187abc2d3dcd100a267410c42abbb0
2015-10-07 14:04:32 +11:00
Ehsan Akhgari
158253749d
Bug 1210302 - Part 3: Add a NS_ParseRequestContentType API; r=mcmanus,sicking
2015-10-06 20:26:46 -04:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Shu-yu Guo
52e365bb7b
Bug 1202902
- Fix the world. (r=ato for marionette, rs=Mossop for rest)
2015-10-06 14:00:30 -07:00
Wes Kocher
c1750b75c7
Backed out 11 changesets (bug 709490) for webgl-color-test.html failures a=backout
...
Backed out changeset fc04c5d43550 (bug 709490)
Backed out changeset cd8f9410d335 (bug 709490)
Backed out changeset 6e687c9143c1 (bug 709490)
Backed out changeset 9b20f2c833c4 (bug 709490)
Backed out changeset f9d130aea88e (bug 709490)
Backed out changeset fc513b410949 (bug 709490)
Backed out changeset acf6220b431a (bug 709490)
Backed out changeset 9bceaf913791 (bug 709490)
Backed out changeset 37fba20111e2 (bug 709490)
Backed out changeset 2285ce1596b8 (bug 709490)
Backed out changeset fb4e09920569 (bug 709490)
2015-10-05 08:28:25 -07:00
Nicholas Nethercote
77d38112ab
Bug 1209351 (part 2) - Optimize nsTHashTable::RemoveEntry() usage in dom/. r=bz.
...
--HG--
extra : rebase_source : 8550f181356550b6c0e540c12f61f2d1148d2050
2015-09-24 19:05:16 -07:00
Morris Tseng
861bb61b91
Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer. r=roc
...
--HG--
extra : rebase_source : bfdf6a97f372a3a5a2ecdd4a3c216ec64ec98e84
2015-10-05 10:50:16 +08:00
Morris Tseng
2d11e76151
Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers. r=nical, r=jgilbert, r=jrmuizel, sr=ehsan
...
Thanks Jon Morton [:jmorton] (jonanin@gmail.com ) for polishing patches.
--HG--
extra : rebase_source : 16b8b4eaa5f4c649c02cbae6425e895134d4ae41
2015-10-05 10:50:16 +08:00
Morris Tseng
298e6642c3
Bug 709490 - Part 1: Let ImageBridge transfer CanvasClient async. r=nical
...
Thanks Jon Morton [:jmorton] (jonanin@gmail.com ) for polishing patches.
--HG--
extra : rebase_source : 9833dd57592081737ce74ad5b6ba8441a243ca0b
2015-10-05 10:50:15 +08:00
Bobby Holley
fcde3e0716
Bug 1210293 - Remove legacy check from the XPIDL HTMLInputElement::SetUserInput. r=bz
2015-10-02 14:13:26 -07:00
Tooru Fujisawa
9065b64733
Bug 1207494 - Part 7: Remove use of expression closure from dom/html/. r=peterv
...
--HG--
extra : commitid : FrP0WhG4UG1
extra : rebase_source : 29f2a04781285026a0cbcdf8db9d29ccf3c087c8
2015-09-23 18:39:14 +09:00
Simon Montagu
e5b15415e7
Bug 321491: Refactor error handling in nsIDNService, r=mcmanus
2015-10-02 01:27:34 -07:00
Nigel Babu
a47d2e063f
Backed out 9 changesets (bug 1126230) for Mulet Gij(25) and M(5) failures
...
Backed out changeset 8a9d8a556183 (bug 1126230)
Backed out changeset 441b55f015c2 (bug 1126230)
Backed out changeset 7bfa2a2d4e29 (bug 1126230)
Backed out changeset b55511536c65 (bug 1126230)
Backed out changeset ada76e419aac (bug 1126230)
Backed out changeset 745d659bef49 (bug 1126230)
Backed out changeset 7c303cc4c30b (bug 1126230)
Backed out changeset 8bf708acbad4 (bug 1126230)
Backed out changeset 590404aac357 (bug 1126230)
2015-10-02 13:39:20 +05:30
Milan Sreckovic
d781f5c2bd
Bug 1205900 - Compare context and canvas element sizes before extracting the data. r=gwright
2015-10-02 09:18:26 +02:00
Xidorn Quan
7580549351
Bug 1126230 part 9 - Add test for fullscreen top layer. r=dbaron
...
--HG--
extra : source : 6d08c20b20847b1bc980774658974103fc25e498
2015-10-02 16:34:09 +10:00
Xidorn Quan
fd6366f6e5
Bug 1126230 part 8 - Remove fullscreen override and related test. r=dbaron
...
--HG--
extra : source : 13c6349bea96873967ba5113b552d31f1dab1bac
2015-10-02 16:34:09 +10:00
Bill McCloskey
207404ad2d
Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs)
2015-10-01 21:18:48 -07:00
Chris Pearce
0b254631ce
Bug 1224080 - Ensure attaching MediaKeys before MediaSource doesn't cause load failure. r=gerald
2015-11-14 08:57:52 +13:00
Sebastian Hengst
c7cc4bc5c8
Backed out changesets 5a3092c456c0,8dcbfd14f1e5 (bug 1218433) for M3, W3 failures and M10 failure on Android. r=backout
...
* * *
Backed out changeset 8dcbfd14f1e5 (bug 1218433)
462 INFO TEST-UNEXPECTED-FAIL | dom/security/test/csp/test_child-src_worker-redirect.html | CSP child-src worker test other-src-worker_redir-same - got "Error: Failed to load script (nsresult = 0x805e0006)", expected "blocked"
479 INFO TEST-UNEXPECTED-FAIL | dom/security/test/csp/test_child-src_worker.html | Test timed out.
486 INFO TEST-UNEXPECTED-FAIL | dom/security/test/csp/test_child-src_worker_data.html | Test timed out.
2015-11-12 18:44:51 +01:00
Wes Kocher
27c21e540a
Backed out changeset 4f43cdaedec3 (bug 1207546) for webgl-capturestream-test.html failures
...
--HG--
extra : rebase_source : c009c44dd54148ee19769f470987b786e14a8b53
2015-10-01 10:10:47 -07:00
Andrea Marchesini
022d787457
Bug 1207546 - Integrate WebRTC with audio channels, r=roc
...
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
2015-10-01 16:22:25 +03:00
Miko Mynttinen
132b6bcf2e
Bug 1206720 - Remove invalid assertions during response image loading. r=jdm
2015-09-30 16:22:49 +03:00
Andreas Pehrson
f8854279f0
Bug 1103188 - MediaStream::AddTrack/RemoveTrack tests. r=jib,roc
...
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : 5f0de2f5babfd762ec81ecaf2cf060f93d616326
2015-09-30 09:32:06 +08:00
Andreas Pehrson
eb480b5acd
Bug 1103188 - Break out MediaTrackListListener to an interface. r=roc
...
Other modules than MediaTrackLists may want to receive updates on a
DOMMediaStream's track set. This moves the MediaTrackListListener out of
the MediaTrackList class into DOMMediaStream as a general interface.
The logic for adding MediaTracks to the MediaTrackList when
MediaStreamTracks are added or removed from a DOMMediaStream is moved to
HTMLMediaElement as this fits the model better - HTMLMediaElement is the
owner of the MediaTrackLists.
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : 66b8ffcfb5343811c181e4169f295b08494f2ee0
2015-09-30 09:32:06 +08:00
Andreas Pehrson
2415aa80a7
Bug 1170958 - Don't create owned MediaStreamTracks in MetadataLoaded. r=roc
...
When play()ing a media element after it has ended, MediaDecoder will
again call MetadataLoaded(). When capturing the media to a
DOMMediaStream, that will attempt to create new MediaStreamTracks in the
stream with the original TrackIDs. That won't work, since the original
tracks with the same TrackIDs have already ended.
We solve it by only explicitly creating MediaStreamTracks in the stream
in captureStream(), and only if they're already known. Otherwise the
tracks will be created asynchronously when available in the underlying
stream.
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 3ba4a6fc7cc46a8bedf1799c4c6aa25585361269
2015-09-30 09:31:54 +08:00
Andreas Pehrson
5b79fead9f
Bug 1170958 - Improve logging of MediaStreams and playback. r=roc
...
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 7463915dc8f14e6f9dde2e934e55b9c68d4148d6
2015-09-30 09:31:54 +08:00
Andreas Pehrson
937747498a
Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc
...
This lets us separate tracks by ownership like so:
* Input - Owned by the producer of the DOMMediaStream (gUM etc.)
* Owned - Contains Input tracks (per above) or tracks cloned tracks
if this DOMMediaStream is a clone.
* Playback - Contains Owned tracks plus tracks addTrack()ed to this
DOMMediaStream minus tracks removeTrack()ed from this
DOMMediaStream.
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : fba22e96c6c65a74e012509f3da67a4d7df7a244
2015-09-30 09:31:54 +08:00
Andreas Pehrson
2802ee3e88
Bug 1170958 - Add input stream and track as args to NotifyQueuedTrackChanges. r=roc
...
This allows for tracking the input track of an added track (for
ProcessedMediaStream tracks; SourceMediaStream tracks don't have input
tracks) directly in the NotifyQueuedTrackChanges handler, which will be
necessary for locking MediaInputPorts to specific tracks.
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 4bed5dffe66b71b7ad23f4c02531d84af25cd316
2015-09-30 09:31:53 +08:00
Xidorn Quan
ed06bdf859
Bug 1201798 part 3 - Add test for viewport scrollbar on fullscreen. r=roc
...
--HG--
extra : source : 4ebd6caa70383189c51f9436d5777b5e828617a0
2015-09-30 10:48:41 +10:00
Wes Kocher
8631de9c2b
Backed out 13 changesets (bug 709490) for android webgl-color-test.html failures
...
Backed out changeset 5be7514914b6 (bug 709490)
Backed out changeset 04b6f94fbe8a (bug 709490)
Backed out changeset 00c0e85dd8cd (bug 709490)
Backed out changeset 221385b7b81a (bug 709490)
Backed out changeset ecc38c18734f (bug 709490)
Backed out changeset 22878c936384 (bug 709490)
Backed out changeset 0edcbb60eee3 (bug 709490)
Backed out changeset 5feceec2014b (bug 709490)
Backed out changeset 835b655cb873 (bug 709490)
Backed out changeset 6fbb4a3f8cf7 (bug 709490)
Backed out changeset a5f8646fa156 (bug 709490)
Backed out changeset 2ae1386916b3 (bug 709490)
Backed out changeset 6b29a2a0a8fb (bug 709490)
2015-09-29 08:57:36 -07:00
Andrea Marchesini
bf1fcf2bb6
Bug 709490 - Part 13 - explicit CTORs for a couple of runnables, CLOSED TREE
2015-09-29 14:13:13 +01:00
Morris Tseng
c5927f2dae
Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer, r=roc
2015-09-29 11:51:25 +01:00
Morris Tseng
1d4157900a
Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers., r=ehsan, r=jgilbert, r=nical
2015-09-29 11:51:24 +01:00
Morris Tseng
6c605d106d
Bug 709490 - Part 1: Let ImageBridge transfer CanvasClient async, r=nical
2015-09-29 11:51:23 +01:00
Ehsan Akhgari
cbf56a9898
Bug 1208895 - Fix a typo in nsGenericHTMLElement::GetItemId(); r=baku
...
Found by Viva64.
2015-09-28 09:08:45 -04:00
Wes Kocher
03a1803261
Backed out 9 changesets (bug 1170958) for frequent test_getUserMedia_addTrackRemoveTrack.html failures
...
Backed out changeset 277c1f8098d1 (bug 1170958)
Backed out changeset aa86bb9eea95 (bug 1170958)
Backed out changeset 8af8b85a4b26 (bug 1170958)
Backed out changeset ec1bf225e9cb (bug 1170958)
Backed out changeset 4a04ddca2b6b (bug 1170958)
Backed out changeset e85c9977a311 (bug 1170958)
Backed out changeset 16b40ff04e8f (bug 1170958)
Backed out changeset ad206925c84a (bug 1170958)
Backed out changeset 2106eccec79b (bug 1170958)
2015-09-25 13:08:55 -07:00
Wes Kocher
b4a25c9f58
Backed out 7 changesets (bug 1103188) for frequent test_getUserMedia_addTrackRemoveTrack.html failures
...
Backed out changeset f0f33a8ef14c (bug 1103188)
Backed out changeset dbe0ebdebad5 (bug 1103188)
Backed out changeset bb656022a1a7 (bug 1103188)
Backed out changeset cc6b5f5ba444 (bug 1103188)
Backed out changeset ca97d52bf144 (bug 1103188)
Backed out changeset de8cc967f8eb (bug 1103188)
Backed out changeset 6da8f4905060 (bug 1103188)
2015-09-25 13:08:44 -07:00
Andreas Pehrson
35220b1c7c
Bug 1103188 - MediaStream::AddTrack/RemoveTrack tests. r=jib,roc
...
--HG--
extra : commitid : FxucwRqUZUo
2015-09-25 23:23:31 +08:00
Andreas Pehrson
9d10fc1441
Bug 1103188 - Break out MediaTrackListListener to an interface. r=roc
...
Other modules than MediaTrackLists may want to receive updates on a
DOMMediaStream's track set. This moves the MediaTrackListListener out of
the MediaTrackList class into DOMMediaStream as a general interface.
The logic for adding MediaTracks to the MediaTrackList when
MediaStreamTracks are added or removed from a DOMMediaStream is moved to
HTMLMediaElement as this fits the model better - HTMLMediaElement is the
owner of the MediaTrackLists.
--HG--
extra : commitid : FxucwRqUZUo
2015-09-25 23:23:31 +08:00
Andreas Pehrson
8a2adce7e2
Bug 1170958 - Don't create owned MediaStreamTracks in MetadataLoaded. r=roc
...
When play()ing a media element after it has ended, MediaDecoder will
again call MetadataLoaded(). When capturing the media to a
DOMMediaStream, that will attempt to create new MediaStreamTracks in the
stream with the original TrackIDs. That won't work, since the original
tracks with the same TrackIDs have already ended.
We solve it by only explicitly creating MediaStreamTracks in the stream
in captureStream(), and only if they're already known. Otherwise the
tracks will be created asynchronously when available in the underlying
stream.
--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:18 +08:00
Andreas Pehrson
3c0c283fea
Bug 1170958 - Improve logging of MediaStreams and playback. r=roc
...
--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:18 +08:00
Andreas Pehrson
eacfc2cf0e
Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc
...
This lets us separate tracks by ownership like so:
* Input - Owned by the producer of the DOMMediaStream (gUM etc.)
* Owned - Contains Input tracks (per above) or tracks cloned tracks
if this DOMMediaStream is a clone.
* Playback - Contains Owned tracks plus tracks addTrack()ed to this
DOMMediaStream minus tracks removeTrack()ed from this
DOMMediaStream.
--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:18 +08:00
Andreas Pehrson
7aca9eb1fd
Bug 1170958 - Add input stream and track as args to NotifyQueuedTrackChanges. r=roc
...
This allows for tracking the input track of an added track (for
ProcessedMediaStream tracks; SourceMediaStream tracks don't have input
tracks) directly in the NotifyQueuedTrackChanges handler, which will be
necessary for locking MediaInputPorts to specific tracks.
--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:17 +08:00
Boris Zbarsky
72895c72dd
Bug 1203973 - Move <style> and <link> attribute change handling to AfterSetAttr so that it doesn't trigger for no-op attribute changes. r=smaug
2015-09-22 21:19:49 -04:00
Nicholas Nethercote
842dd1cf5a
Bug 1207741 - Remove gfxIntSize. r=nical.
...
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.
--HG--
extra : rebase_source : 67fd15f87222b16defa70ef795c6d77dfacf1c36
2015-09-23 11:49:05 -07:00
Bobby Holley
110f12e7ca
Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz
2015-09-24 14:02:41 -07:00
Jonathan Watt
d0d01ca3fc
Bug 1207570 - Make HTMLInputElement::GetFilesAndDirectories throw when the type is not file. r=baku
2015-09-02 10:00:48 +01:00
Jonathan Watt
ef5c78b025
Bug 1203588 - Return the same Promise object from HTMLInputElement.getFilesAndDirectories when possible. r=baku
2015-08-31 13:37:23 +01: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
0ceb5b85ae
Backed out changeset 19320abf76b1 (bug 1207088) for Werror bustage CLOSED TREE
2015-09-22 12:46:09 -07:00
Jonathan Watt
d62f457c73
Bug 1207088 - Don't show the "Choose folder..." button for a directory picking <input> on platforms that don't have a directory picker. r=jfkthame
2015-08-27 20:19:37 +01:00
Wes Kocher
18eb6f5805
Backed out changeset f7cbf3aa76fc (bug 1099103) for test_input_number_l10n.html failures
2015-09-21 17:37:29 -07:00
Jonathan Watt
f5f105b74f
Bug 1099103 - Prevent numbers input using a grouping separator from being mis-processed as if the separator was a decimal separator. r=dholbert
2015-08-25 00:00:07 +01:00
Christoph Kerschbaumer
9f1e9e2eaa
Bug 1048048 - add preload content policy types for images (r=seth)
...
--HG--
extra : source : 88c2333ff7455b6988eb8d6ccc5e92b414a7ccf8
2015-09-20 14:55:59 -07:00
Wes Kocher
cd079d2bf9
Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
...
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
19dc79ddbb
Bug 1048048 - add preload content policy types for images (r=seth)
2015-09-20 14:55:59 -07:00
Tim Taubert
95303eccef
Bug 1206030 - Remove nsIDOMHTMLCanvasElement::MozFetchAsStream() f=Ms2ger r=jst
2015-09-18 12:21:27 +02:00
Neil Deakin
77303a0ee5
Bug 1168042, return a bool from PerformAccessKey indicating if focus was changed, r=masayuki
2015-09-18 08:18:42 -04:00
Randall Barker
b1c0d79c4e
Bug 1166961 - Show click to play button on Fennec when autoplay is blocked. r=mfinkle
...
--HG--
extra : rebase_source : c2e78e8c5720e14cdcab1be8f12c92b60055a996
2015-09-16 16:22:00 +02:00
Andreas Pehrson
3f1d386795
Bug 1161913 - Part 2. Request canvas to push out its next drawn frame instead of pulling it. r=mt
...
--HG--
extra : transplant_source : %FF%3D%E7%BE%A1%EA%BE%5E%00w%07%084%D8%27D%CFp%EB%D6
2015-09-17 12:36:57 +08:00
Andreas Pehrson
37ac1b6da7
Bug 1161913 - Part 1 - Add invalidation state for CaptureStream to Canvas and Contexts. r=mt
...
--HG--
extra : transplant_source : %C0%AFU%9CA%E9b%28%11%E0%EF%A6%81%9EZF9%5D%F3j
2015-09-17 11:37:05 +08: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
Kilik Kuo
90420c357e
Bug 1204882 - Move MediaDecoder::FrameStatistics out of MediaDecoder for easier use in other classes. r=jwwang
...
--HG--
extra : transplant_source : 3%E1%C1%3B%B5%8B%82%20%DF%AE%1A%21%E0f%FF%7C%3C%0EF%10
2015-09-15 22:57:20 +08:00
Marcos Caceres
1e387b4675
Bug 1169633 - [Browser API] getWebManifest(). r=kanru, r=bholley
2015-09-16 06:55:00 +02:00
Nicholas Nethercote
647b520991
Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
...
--HG--
rename : xpcom/glue/pldhash.cpp => xpcom/glue/PLDHashTable.cpp
rename : xpcom/glue/pldhash.h => xpcom/glue/PLDHashTable.h
extra : rebase_source : 06b9d30db96ed78500fd44d9c0b51609103508a3
2015-09-15 20:49:53 -07:00
Nicholas Nethercote
f429eae6a5
Bug 1203427 (part 5) - Add logging of timer firings. r=froydnj.
2015-09-10 00:50:51 -07:00
Robert O'Callahan
95ebfe3aa1
Bug 1189506. Don't bother blocking captured media-element MediaStreams while we're not decoding. r=jwwang
...
They should just run in realtime since we're getting rid of blocking.
--HG--
extra : commitid : K0MeENZ5JAa
extra : rebase_source : ed3cd908faa96fd4dab2f178836449774f085d27
2015-09-04 00:46:33 +12:00
Shu-yu Guo
64db2267cf
Bug 1202902
- Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Masayuki Nakano
95e9124e8e
Bug 895274 part.245 Rename NS_SHOW_EVENT to eShow r=smaug
2015-09-15 00:14:35 +09:00
Masayuki Nakano
683794135c
Bug 895274 part.244 Rename NS_TOUCH_CANCEL to eTouchCancel r=smaug
2015-09-15 00:14:35 +09:00
Masayuki Nakano
51d7268995
Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug
2015-09-15 00:14:35 +09:00
Masayuki Nakano
52a7afe36c
Bug 895274 part.242 Rename NS_TOUCH_MOVE to eTouchMove r=smaug
2015-09-15 00:14:35 +09:00
Masayuki Nakano
7a48a6f2ab
Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug
2015-09-15 00:14:34 +09:00
Masayuki Nakano
7928f48bc1
Bug 895274 part.232 Rename NS_EDITOR_INPUT to eEditorInput r=smaug
2015-09-15 00:14:33 +09:00
Franziskus Kiefer
653efda290
Bug 1174915 - Allow changing meta referrer policy on the fly (r=baku,sstamm)
2015-06-19 17:42:49 -07:00
Ehsan Akhgari
a4ac3ec0b4
Bug 1199049 - Part 1: Move nsCORSListenerProxy.* to necko; r=jduell
...
--HG--
rename : dom/security/nsCORSListenerProxy.cpp => netwerk/protocol/http/nsCORSListenerProxy.cpp
rename : dom/security/nsCORSListenerProxy.h => netwerk/protocol/http/nsCORSListenerProxy.h
2015-09-12 19:20:52 -04:00
Michael Layzell
fc03111ce2
Bug 1196479 - Fire selectstart and selectionchange events on the input node when the selection in that editor changes. r=ehsan
2015-09-12 17:56:46 -04:00
Phil Ringnalda
90becf3639
Back out 574a93c36fd8 (bug 1203668) for Moth bustage
...
CLOSED TREE
2015-09-12 08:23:23 -07:00
Mats Palmgren
9c95b58321
Bug 1203668 - Setting the value of a <select> to a non-matching option should deselect all options and set selectedIndex to -1. r=bz
2015-09-12 12:34:37 +02:00
Masayuki Nakano
93a08167ad
Bug 895274 part.214 Rename NS_SCROLLPORT_UNDERFLOW to eScrollPortUnderflow r=smaug
2015-09-12 01:19:27 +09:00
Masayuki Nakano
2237026931
Bug 895274 part.213 Rename NS_SCROLLPORT_OVERFLOW to eScrollPortOverflow r=smaug
2015-09-12 01:19:27 +09:00
Xidorn Quan
6c0a3ef75f
Bug 1202908 part 1 - Remove pref layout.css.will-change.enabled. r=dbaron
...
--HG--
extra : source : 8d109efd4ab3b60644e7251900151d38cb70862c
2015-09-11 16:00:10 +10:00
Phil Ringnalda
9565dedf7d
Merge m-c to m-i
...
CLOSED TREE
2015-09-10 15:30:31 -07:00
Phil Ringnalda
22565071a2
Merge m-i to m-c, a=merge
...
CLOSED TREE
2015-09-10 15:22:15 -07:00
Andrew Osmond
d46f639332
Bug 1203151 - Allow disabling of screen wakelocks for video elements. r=baku
2015-09-02 09:18:16 -04:00
Wes Kocher
3687626c35
Merge inbound to central, a=merge CLOSED TREE
2015-09-09 13:47:08 -07:00
Alastor Wu
fe229da440
Bug 1201969 - pause element only when start playing. r=baku
...
--HG--
extra : transplant_source : %F8%A7%11%0D%F2%E6-%C6%8F%2C%D2%01e.%FE%AC%DF%85%11%FD
2015-09-09 10:41:33 +08:00
Kan-Ru Chen
57f614afaf
Bug 1170894 - Implement nsIFrameLoader::SwitchProcessAndLoadURI. r=smaug
2015-09-03 13:21:21 +08:00
Robert O'Callahan
6abd4c751d
Bug 1200099. Stop using a distinct mPlaybackStream to play a media stream through an HTMLMediaElement. r=jwwang
...
--HG--
extra : commitid : 3xsVxxZxINX
extra : rebase_source : 7c51fb071f9f303919ece13ff44d7a9a4cc438a9
2015-08-31 23:33:53 +12:00
Masayuki Nakano
5c484163a4
Bug 895274 part.72 Rename NS_UI_ACTIVATE to eLegacyDOMActivate r=smaug
2015-09-02 15:08:01 +09:00
Masayuki Nakano
35e18152d5
Bug 895274 part.70 Rename NS_BLUR_CONTENT to eBlur r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
cc5db3b160
Bug 895274 part.69 Rename NS_FOCUS_CONTENT to eFocus r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
2586c79eb1
Bug 895274 part.66 Rename NS_FORM_SELECTED to eFormSelect r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
8fa33d4666
Bug 895274 part.65 Rename NS_FORM_CHANGE to eFormChange r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
5bb3e1799f
Bug 895274 part.64 Rename NS_FORM_RESET to eFormReset r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
167dc4aade
Bug 895274 part.63 Rename NS_FORM_SUBMIT to eFormSubmit r=smaug
2015-09-02 15:08:00 +09:00
Jonathan Watt
9e10f05732
Bug 1203090 - Ensure we always use '/' as the starting path separator for the DOM path of the Directorys initially returned by HTMLInputElement.getFilesAndDirectories. r=baku
2015-08-20 15:01:59 +01:00
Jonathan Watt
d2ceb3fc28
Bug 1202964 - Use the correct nsIFilePicker API for directory picking in HTMLInputElement::nsFilePickerShownCallback::Done. r=baku
2015-08-18 10:30:19 +01:00
Jonathan Watt
5101569e41
Bug 1201106 - Make sure that HTMLInputElement.files is always null if the 'directory' attribute is set. r=baku
2015-08-21 13:38:25 +01:00
Ms2ger
4812f07957
Bug 1193637 - Use IsMap() in HTMLImageElement::PreHandleEvent; r=mrbkap
2015-09-10 13:49:19 +02:00
Gerald Squelart
f31596e5a6
Bug 1198435 - Call RemoveMediaElementFromURITable before modifying mLoadingSrc, so that a future LookupMediaElementURITable won't access this element anymore. r=rillian
...
--HG--
extra : rebase_source : 9702e206ed2bfaa0d32449e4f8798348ed307b63
2015-09-10 09:01:44 +02:00
Gerald Squelart
7c02d61a29
Bug 1198435 - MediaElementTableCount now checks that the element is not present for URIs other than the expected one. r=rillian
...
--HG--
extra : rebase_source : 642fee057d7f65a88bfca349b660fe91dccbf4d8
2015-09-10 09:00:15 +02:00
Ryan VanderMeulen
de604630c2
Bug 1200607 - Request a longer timeout on tests that are now timing out as the first tests in the chunk.
...
CLOSED TREE
2015-09-01 13:35:58 -04:00
Ehsan Akhgari
3586ffc05f
Bug 1200673 - Try to create the audio channel agent in the constructor for AutoNotifyAudioChannelAgent too; r=baku
...
Landed on a CLOSED TREE
2015-09-01 12:10:46 -04:00
Carsten "Tomcat" Book
5fc6f6bfbb
Backed out changeset e4e12583c280 (bug 1170894) for various mochitest testfailures on a CLOSED TREE
2015-09-01 09:39:25 +02:00
Kan-Ru Chen
5c7496d286
Bug 1170894 - Implement nsIFrameLoader::SwitchProcessAndLoadURI. r=smaug
2015-09-01 12:54:36 +08:00
Ehsan Akhgari
3bdf742e41
Bug 1200208 - Send the audio-playback notification when the page calls HTMLMediaElement::Play() before the metadata has been fully loaded; r=baku
2015-08-31 20:44:23 -04:00
Ehsan Akhgari
b2e0a0c784
Backout bug 1200208 for build bustage on a CLOSED TREE
2015-08-31 16:49:27 -04:00
Ehsan Akhgari
8809ddec9b
Bug 1200208 - Send the audio-playback notification when the page calls HTMLMediaElement::Play() before the metadata has been fully loaded; r=baku
2015-08-31 16:24:51 -04:00
Ryan VanderMeulen
851115d952
Backed out changeset 6b264cf230a0 (bug 1200208) for Windows bustage.
...
CLOSED TREE
2015-08-31 14:11:58 -04:00
Ehsan Akhgari
1fd49e2d20
Bug 1200208 - Send the audio-playback notification when the page calls HTMLMediaElement::Play() before the metadata has been fully loaded; r=baku
2015-08-31 13:44:55 -04:00
Paul Adenot
d0ba0d8c85
Bug 1190676 - Part 12 - Fix mozCaptureStream. r=pehrsons
...
--HG--
extra : rebase_source : 7c65617a6a668df64672aadcda9269ae15d5d813
2015-08-27 16:13:56 +02:00
Paul Adenot
1d89543d08
Bug 1190676 - Part 9 - Fix consumers: AudioCapture. r=roc
...
--HG--
extra : rebase_source : b099a3682e305c3ebe02600a08b68c9f547991f0
2015-08-25 10:29:51 +02:00
Paul Adenot
25b51c89e7
Bug 1190676 - Part 1 - Use the right MediaStreamGraph when setting a MediaStream as mozSrcStream on an HTMLMediaElement. r=roc
...
--HG--
extra : rebase_source : 450f8351390e0c9461cae90e21c9a1b135e03d67
2015-08-25 10:16:41 +02:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Xidorn Quan
07dea239b5
Bug 1199522 - Apply :fullscreen pseudo-class to all elements in the fullscreen element stack. r=smaug
...
--HG--
extra : source : 80c4e9abd269bac5ddda49ed64c7c9247fa7a150
2015-08-29 13:53:28 +10:00
Masayuki Nakano
7645260328
Bug 895274 part.34 Rename NS_MOUSE_OUT to eMouseOut r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
da4db5d296
Bug 895274 part.33 Rename NS_MOUSE_OVER to eMouseOver r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
a516285180
Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
b9439c75d9
Bug 895274 part.30 Rename NS_MOUSE_DOUBLECLICK to eMouseDoubleClick r=smaug
2015-08-29 08:58:31 +09:00
Masayuki Nakano
bd4bf17fbd
Bug 895274 part.29 Rename NS_MOUSE_EXIT_WIDGET to eMouseExitFromWidget r=smaug
2015-08-29 08:58:31 +09:00
Masayuki Nakano
9895f90eca
Bug 895274 part.28 Rename NS_MOUSE_ENTER_WIDGET to eMouseEnterIntoWidget r=smaug
2015-08-29 08:58:31 +09:00
Masayuki Nakano
db00b74a82
Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
30fdd39afb
Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
717c415187
Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
28c9f34179
Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
d311a11cc1
Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug
2015-08-29 08:58:27 +09:00
Andrea Marchesini
813316efe8
Bug 1184292 - Remove some Wakelock warning messages when unlocking. r=smaug
...
CLOSED TREE
2015-08-26 09:21:00 -04:00
Masayuki Nakano
0d22745cda
Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug
2015-08-26 21:56:59 +09:00
Mike Taylor
87f93dfa80
Bug 976616 - Part 1: Call ProcessViewportInfo when meta viewport is changed. r=bholley
2015-08-24 15:34:00 -04:00
Masayuki Nakano
24352f9317
Bug 930843 part.2 NS_UI_ACTIVATE event should be trusted event even if it's caused by an untrusted event r=smaug
2015-08-22 13:02:39 +09:00
Masayuki Nakano
66f2c27305
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
Ehsan Akhgari
e5b36bb128
Bug 1188754 - Do not notify the audio channel agent on Firefox OS when the document activity change callback detects that the element is muted by the audio channel; r=baku
2015-08-21 12:29:24 -04:00
Xidorn Quan
fb176b3009
Bug 1180574 - Retry once if we open a window in fullscreen mode in fullscree-api-race test. r=smaug
...
--HG--
extra : source : 7f6997fe1c98bb2e24ba2d1c037b55ac8234b089
2015-08-21 09:17:18 +10:00
Xidorn Quan
24406b034a
Bug 1189655 - Define MOZ_HAVE_CXX11_CONSTEXPR on VS2015 or later. r=Waldo
...
--HG--
extra : source : c3fa493499954504073d8abeb7104f46c4f3f953
2015-08-21 09:17:18 +10:00
Wes Kocher
fa57aa7153
Merge m-c to inbound, a=merge
2015-08-20 12:51:40 -07:00
Wes Kocher
d8fffe1765
Merge inbound to central, a=merge
2015-08-20 12:42:21 -07:00
Ehsan Akhgari
f9752f535c
Bug 1196361 - Remove the media.useAudioChannelService pref; r=baku
...
We need to rely on the audio channel service for all products now,
so supporting running without it seems pointless at this point.
2015-08-19 21:00:18 -04:00
Blake Kaplan
8e41b83bca
Bug 1196815 - Mark passing tests as passing. r=jst
2015-08-20 10:30:10 -07:00
Blake Kaplan
3ee8feffb3
Bug 1194886 - Don't create files in tests. r=jld
2015-08-20 10:30:10 -07:00
Alastor Wu
f66ecbff3f
Bug 1191207 - cancel chrome checking
2015-08-06 14:54:01 +08:00
Markus Stange
183a73b7d1
Bug 1164766 - Clean up error checking in CanvasRenderingContext2D. r=mats
...
--HG--
extra : rebase_source : a71e00f5a888e62a4d3e879ffff0e9c38a9424fa
2015-07-14 16:59:12 -04:00
Nathan Froyd
797182f90f
Bug 968923 - part 5b - add nsIDOMWindowUtils::forceUseCounterFlush; r=bz
...
Use counter submission normally happens at document destruction. For
testing use counters, however, we need to have use counters updated in
telemetry at deterministic points. Therefore, we provide a method on
nsIDOMWindowUtils that forces use counters out to telemetry so we can
examine them.
2015-03-17 15:25:35 -04:00
Karl Tomlinson
6de7f1f2d4
bug 962719 update NextFrameStatus() on finished notification r=roc
...
This provides HAVE_CURRENT_DATA readyState.
--HG--
extra : rebase_source : d18abe878bc97b6165474f58ef550d1936fe2494
2015-08-04 17:43:46 +12:00
William Chen
148ff86273
Bug 1181130 - Part 3: Keep track of editable descendants per node and prevent NS_STYLE_USER_SELECT_ALL selection for nodes with editable descendants. r=bz
2015-08-14 10:52:38 -07:00
Francois Marier
34de332db0
Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb
...
Code changes
2015-08-12 20:19:11 -07:00
Aryeh Gregor
5aeef0231d
Bug 874842 - Return Event instead of nsIDOMEvent
2015-08-12 14:39:31 +03:00
Jeff Walden
1b62a9d07b
Bug 1158399 - Expose the [[DateValue]] field in Date objects only through a ClippedTime class that enforces prior TimeClip-ing on the given value. r=evilpie, r=bz, r=dhylands, r=mt, r=froydnj, r=khuey, r=baku, r=smaug
...
--HG--
extra : rebase_source : 803fe39f338b6b32cb0fe2be6cf4056bab57283a
2015-05-01 19:12:52 -07:00
Ehsan Akhgari
4db099dbd2
Bug 1191491 - Do not dispatch an audio-playback notification when swapping browsers; r=smaug
...
We send a pagehide event during swapping docshell frame loaders, and
before this patch we would not be able to differentiate this event with
the one that we send when navigating away from a page, so we would
incorrectly dispatch an audio-playback notification indicating that
audio playback has stopped. This patch adds a flag to the root docshell
when the frame loader swapping is in progress and disables the above
behavior when that flag is set.
2015-08-07 12:18:24 -04:00
Ryan VanderMeulen
568c3a360e
Merge b2g-inbound to m-c. a=merge
2015-08-06 15:37:49 -04:00
Ehsan Akhgari
f22dea9a72
Bug 1190040 - Part 2: Teach the audio channel service how to not notify audio-playback, and do that when a media element has no audio track; r=padenot
2015-08-06 10:26:27 -04:00
Ehsan Akhgari
41ec611711
Bug 1190040 - Part 1: Do not dispatch media-playback notifications for media elements that do not have an audio track; r=cpearce
2015-08-06 10:25:38 -04:00
Daosheng Mu
c611da3596
Bug 1178725 - Fix create videoFrameContainer crash on B2G desktop. r=roc
2015-08-05 20:02:00 +02:00
Ehsan Akhgari
94250b165e
Backout bug 1190040 for test failures
2015-08-05 01:12:05 -04:00
Ehsan Akhgari
672483ef08
Bug 1190023 - Ensure that muting a media element dispatches the media-playback event, and also include the muted state in computing whether a media element is actively playing audio; r=cpearce
2015-08-04 20:07:41 -04:00
Ehsan Akhgari
9e8a849881
Bug 1190040 - Do not dispatch media-playback notifications for media elements that do not have an audio track; r=baku
2015-08-04 19:38:51 -04:00
Birunthan Mohanathas
7315345693
Bug 1191100
- Remove XPIDL signature comments in .cpp files. r=ehsan
...
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
JW Wang
d1c5eb9e63
Bug 1189204 - activate autoplay when playing a media source. r=jya.
2015-08-04 11:17:03 +08:00
Robert O'Callahan
efd3df82d6
Bug 1184842. Add aNewValue to nsIMutationObserver::AttributeWillChange. r=peterv
...
--HG--
extra : commitid : 8C2GnpowyCS
extra : rebase_source : 3f2948df48fe13f65425345f7b674e4e4869c861
2015-07-25 18:05:19 +12:00
Robert O'Callahan
d5d49432af
Bug 1184842. Allow BeforeSetAttr to preparse aValue. r=peterv
...
We will pass the preparsed value into AttributeWillChange.
--HG--
extra : commitid : HCiY4DRKWkC
extra : rebase_source : aa17a819a20578322380d388299279e4e41a690b
2015-08-01 17:14:06 +12:00
Robert O'Callahan
1e49288224
Bug 1184842. Pass aOldValue to all mutation observers. r=peterv
...
--HG--
extra : commitid : CYjyQn3BAqb
extra : rebase_source : ef153c7cf1e08a058d8de6a76dbe7dc343a299fb
2015-07-25 18:01:19 +12:00
Tanvi Vyas
dca6e7eb28
Bug 1181683 - Update test_anchor_ping.html to disable mixed active content blocking. ping is now considered mixed active so the mixed content pings in this test would get blocked and fail without this change. r=ttaubert
2015-08-03 15:25:24 -07:00
Jan-Ivar Bruaroey
f01e4a40fe
Bug 1175523
- Add HTMLMediaElement.srcObject alias to .mozSrcObject. r=roc, r=smaug
...
--HG--
extra : rebase_source : 3fa835114a9157f872bd52e585f5c7c9c84e7e2f
2015-07-14 00:04:14 -04:00
Arnaud Bienner
52ee71547c
Bug 1186603 - Add a "Contains" method for string classes and use it in HTMLInputElement. r=nfroyd
2015-07-30 19:45:25 +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
Boris Zbarsky
57621e1167
Bug 1135961. Implement subclassing of DOM objects. r=peterv
2015-07-31 13:30:55 -04:00
Kartikaya Gupta
223bdc4578
Bug 1187056 - Dispatch the meta tag mutation events sooner so that any meta-viewport changes can be processed before scripts continue running. r=smaug
2015-07-31 13:08:40 -04:00
Hiroyuki Ikezoe
5a1cc68844
Bug 1189162 - Clamp gamepad.timestamp and VideoPlaybackQuality.creationTime. r=bz
2015-07-30 01:41:00 -04:00
Kaku Kuo
976d0f9acf
Bug 1044102 - Part 2 - Support ImageBitmap as CanvasImageSource. r=smaug
...
--HG--
extra : rebase_source : e53ca97680dd12e0f1be217b4396a443b04bbeee
2015-07-30 20:49:00 +02:00
Kaku Kuo
9c3f995e43
Bug 1044102 - Part 1 - Implement ImageBitmap. r=roc, sr=smaug
...
--HG--
extra : rebase_source : c26f327064125a6d5690b03571f25ea0e25347eb
2015-07-30 20:47:00 +02:00
Boris Zbarsky
78a7f7fb69
Bug 1183491. Null-check the document we get from our contentWindow in the contentDocument getter, because apparently it can end up null. r=bkelly
2015-07-30 13:55:16 -04:00
Xidorn Quan
aecaf4e294
Bug 1181446 - Retry requesting fullscreen one more time if it fails initially on fullscreen-api-race test. r=smaug
...
--HG--
extra : source : 56df9ae079433f53e3c22cba6140b4e2ec80539b
2015-07-29 08:59:59 +10:00
Ehsan Akhgari
03f8195321
Bug 1188095 - Don't pause media elements on 'graphene'; r=baku
...
Note that MOZ_GRAPHENE currently only exists on the larch project branch,
but this is so simple that it seems worth taking.
2015-07-28 08:53:23 -04:00
Randall Barker
40f480f76d
Bug 1178858 - Video would not playback after seek seekbar first if media.autoplay.enabled = false. r=cpearce
...
When autoplay is disabled, the media element was not detecting user
initiated seeking so when a script attempted to play after seeking,
playing would be blocked.
2015-07-24 15:56:00 +02:00
Birunthan Mohanathas
108e139c8d
Bug 1186806 - Part 4: Replace nsBaseHashtable::EnumerateRead() with iterators in HTMLPropertiesCollection. r=khuey
2015-07-27 18:45:12 -07:00
Birunthan Mohanathas
1813cfd1dd
Bug 1186806 - Part 3: Replace nsBaseHashtable::EnumerateRead() with iterators in HTMLMediaElement. r=khuey
2015-07-27 18:45:12 -07:00
Birunthan Mohanathas
04fd401f87
Bug 1186806 - Part 2: Use NS_IMPL_CYCLE_COLLECTION_TRAVERSE instead of manual traversal in HTMLFormElement. r=khuey
2015-07-27 18:45:12 -07:00
Birunthan Mohanathas
a55459b97f
Bug 1186806 - Part 1: Replace nsBaseHashtable::EnumerateRead() with iterators in HTMLFormControlsCollection. r=khuey
2015-07-27 18:45:12 -07:00
Jeff Gilbert
c047687d8f
Bug 1187174 - Use 'webgl2' not 'experimental-webgl2'. - r=kamidphish
2015-07-27 12:10:17 -07:00
Paul Adenot
f7bb3fd5bd
Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang
2015-07-24 14:28:17 +02:00
Paul Adenot
2ab300ac7b
Bug 1156472 - Part 6 - Connect HTMLMediaElement and AudioContext to the capture stream when capturing is needed. r=roc
2015-07-24 14:28:17 +02:00
Paul Adenot
6187533e7d
Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
...
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Chris Pearce
e220da3249
Bug 1187113 - Add more logging around EME promise rejects and method calls that often fail. r=edwin
2015-07-27 11:52:19 +12:00
Christoph Kerschbaumer
9d66aa4b3b
Bug 1182540 - Use channel->ascynOpen2 in dom/html/HTMLTrackElement.cpp (r=sicking)
2015-07-25 10:29:22 -07:00
Wes Kocher
83b4188234
Backed out 14 changesets (bug 1156472) for test_getUserMedia_audioCapture.html failures on b2g emulator
...
Backed out changeset deec8eb18346 (bug 1156472)
Backed out changeset 0f5bec4c05ba (bug 1156472)
Backed out changeset 2dd83ac00bf9 (bug 1156472)
Backed out changeset abd4e47887f7 (bug 1156472)
Backed out changeset 4824d9874663 (bug 1156472)
Backed out changeset 12805598e6fa (bug 1156472)
Backed out changeset e2f0062a1f67 (bug 1156472)
Backed out changeset 99ef8e436a7f (bug 1156472)
Backed out changeset 65bbfc1546af (bug 1156472)
Backed out changeset 2ab4f16eaf0a (bug 1156472)
Backed out changeset 7f565685e20a (bug 1156472)
Backed out changeset 28c03c98cb2b (bug 1156472)
Backed out changeset d477cfba6e1d (bug 1156472)
Backed out changeset 9819fa56caa1 (bug 1156472)
2015-07-24 13:15:57 -07:00
Paul Adenot
62ea7fce4b
Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang
2015-07-24 14:28:17 +02:00
Paul Adenot
b195db60a7
Bug 1156472 - Part 6 - Connect HTMLMediaElement and AudioContext to the capture stream when capturing is needed. r=roc
2015-07-24 14:28:17 +02:00
Paul Adenot
7c02310414
Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
...
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Carsten "Tomcat" Book
2b73aa4f63
Backed out 14 changesets (bug 1156472) for bustage on a CLOSED TREE
...
Backed out changeset 2ddbf85a42c0 (bug 1156472)
Backed out changeset 306d02e17081 (bug 1156472)
Backed out changeset 03598139f39a (bug 1156472)
Backed out changeset 4b1e6069b598 (bug 1156472)
Backed out changeset 6c588a5eaaec (bug 1156472)
Backed out changeset 8c98d7beaea7 (bug 1156472)
Backed out changeset fbf59fbb5875 (bug 1156472)
Backed out changeset 66479dd9eed9 (bug 1156472)
Backed out changeset c8502deeed33 (bug 1156472)
Backed out changeset 1a60ff1149a1 (bug 1156472)
Backed out changeset af1638279785 (bug 1156472)
Backed out changeset 8210276a98ca (bug 1156472)
Backed out changeset 13730e7c5997 (bug 1156472)
Backed out changeset 05acb71cf981 (bug 1156472)
2015-07-24 17:08:37 +02:00
Paul Adenot
27a91916bf
Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang
2015-07-24 14:28:17 +02:00
Paul Adenot
c1a9ba0ab9
Bug 1156472 - Part 6 - Connect HTMLMediaElement and AudioContext to the capture stream when capturing is needed. r=roc
2015-07-24 14:28:17 +02:00
Paul Adenot
bae1e652bf
Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
...
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Benjamin Chen
3dc8ab47ea
Bug 1183394 - Remove the assertion message when shutdown. r=jwwang
2015-07-21 18:01:00 +08:00