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

43350 Коммитов

Автор SHA1 Сообщение Дата
Andreas Pehrson 1447402197 Bug 1182426 - Flatten YUV formats conversion code in VP8TrackEncoder. r=roc
--HG--
extra : commitid : 9dFV0mv1iSr
extra : rebase_source : bc4935d580936903461c00312dde61c95a726eca
2015-10-02 13:59:17 +08:00
Andreas Pehrson 82fe052e12 Bug 1182426 - Don't try to encode new frames of a size other than the initial in VP8TrackEncoder. r=roc
--HG--
extra : commitid : 9dFV0mv1iSr
extra : rebase_source : bcf38a8371226b53fd5e731fda50d3c260b60d9f
2015-10-02 13:59:17 +08:00
Andreas Pehrson db0b3b7874 Bug 1182426 - Sort includes in VP8TrackEncoder.cpp alphabetically. r=roc
--HG--
extra : commitid : 9dFV0mv1iSr
extra : rebase_source : fe094fcd39d4620ef50dae24efc6e374c47ba407
2015-10-02 13:59:17 +08:00
Boris Chiou 50975ecf3c Bug 1210265 - Add a pref toggle for copying/pasting only plain text on B2G. r=timdream
Add a new preference, clibboard.plainTextOnly.
1. On:  we only support kUnicodeMIME in SetData/GetData.
2. Off: we can support different MIME types in SetData/GetData

BTW, "copy image" is dependent on non-text/rich text support, so this
menu item is also disabled after we turn the pref off.
2015-10-02 00:26:00 +02:00
Bevis Tseng dc60677bbe Bug 1209891 - Do Not Reply Read-Report if a MMS Message Was Marked from Unread to Read Multiple Times. r=echen 2015-09-30 18:03:40 +08:00
Ting-Yu Chou 2b85c7b794 Bug 1209865 - Add gecko profiler marker when mark() of User Timing API is called. r=baku
--HG--
extra : rebase_source : 7dffbb685cae7a4d94fcba18ba15766b7a602451
2015-09-30 16:53:37 +08:00
Nigel Babu 45398666d6 Backed out changeset b958e25b1ecf (bug 1209744) for mochitest bustage 2015-10-05 14:22:10 +05:30
Martin Thomson 840a4a7b4e Bug 1209744 - Implement canTrickleIceCandidates attribute, r=bwc, r=khuey
--HG--
extra : rebase_source : bfdf5073bec5fd6cb9689701fb1df6ee841362d6
extra : amend_source : e6ec6e7ed24a24b7dfcc8b60eda38d3d2a00d2f1
2015-10-01 12:52:00 +02:00
Nick Fitzgerald ee543a3018 Bug 1209263 - Allow embedders to tell SpiderMonkey how to structured clone principals; r=bz
--HG--
extra : rebase_source : 04835c034431953344e83203e7753043461474ba
2015-10-02 16:44:00 +02:00
Alfredo Yang d66d46126b Bug 1204622 - release codec listener at reader task queue. r=jya
--HG--
extra : rebase_source : adb41147997f51941746af1f8dfe151f784c1771
2015-10-01 00:43:00 +02:00
JW Wang 46d9f98520 Bug 1209890 - add main thread assertions and remove usage of decoder monitor from MediaSourceDecoder. r=jya. 2015-09-30 06:55:21 +08:00
Will Wang a9a921fa81 Bug 1139774 - Add a function to wait promise for bluetooth adapter creation. r=shuang 2015-10-01 07:32:00 +02:00
hansu9866@gmail.com 238476d73a Bug 1112712 - DOM key and code mapping for simple phone hardware keys. r=masayuki
commit eb0f93fdeaba83493ad231b62e8d27793e1a67ca
Author: Hansu Kim <hansu9866@gmail.com>
    Bug 1112712 DOM key and code mapping for simple phone hardware keys

    Change-Id: I8b37b82e374ce287af334061eaaa49f1b9f350b8

--HG--
extra : amend_source : 3331d014f4206e0a6351a5607a83af21c0ca883f
2015-10-01 16:13:00 +02:00
Wes Kocher 76f0587224 Merge b2ginbound to central, a=merge 2015-10-02 13:41:37 -07:00
Carsten "Tomcat" Book ad63778626 Merge m-c to b2g-inbound 2015-10-02 13:53:51 +02:00
Carsten "Tomcat" Book e91d5a31b6 Merge m-c to mozilla-inbound 2015-10-02 13:37:27 +02:00
Carsten "Tomcat" Book ca77b70a8d merge mozilla-inbound to mozilla-central a=merge 2015-10-02 11:52:49 +02:00
Jean-Yves Avenard 04cdb572f3 Revert "Bug 1209388: [mp3] Remove AppleMP3Reader. r=kentuckyfriedtakahe" r=me
This reverts commit ecbe6589d36e

May be better of waiting a little bit in case we find that the new MP3Demuxer isn't up to scratch
2015-10-02 19:24:54 +10:00
Thomas Zimmermann 61d723c3ce Bug 1209469: Replace |BluetoothNamedValue| with |BluetoothProperty| in Bluetooth backend, r=brsun 2015-10-02 11:07:47 +02:00
Thomas Zimmermann a134b6bbac Bug 1209469: Expose |BluetoothPropertyType| in Bluetooth backend interface, r=brsun 2015-10-02 11:07:47 +02:00
Thomas Zimmermann 7c9e4a41c9 Bug 1209469: Expose |BluetoothServiceName| in Bluetooth backend interface, r=brsun 2015-10-02 11:07:47 +02:00
Thomas Zimmermann 456ba29d7a Bug 1209469: Expose |BluetoothRemoteName| in Bluetooth backend interface, r=brsun 2015-10-02 11:07:47 +02:00
Thomas Zimmermann 8ad37f4f6b Bug 1209469: Expose |BluetoothPinCode| in Bluetooth backend interface, r=brsun 2015-10-02 11:07:47 +02:00
Thomas Zimmermann 7198754086 Bug 1209469: Expose |BluetoothAclState| in Bluetooth backend interface, r=brsun 2015-10-02 11:07:47 +02:00
Jean-Yves Avenard b2c18c37f4 Bug 1209388: [mp3] Remove AppleMP3Reader. r=kentuckyfriedtakahe
Following bug 1209410, it was no longer used.
2015-10-02 18:44:34 +10:00
Jean-Yves Avenard 9d5342e6bb Bug 1209410: [mp3] P4. Change duration of mp3 files used by mochitests. r=cpearce
The owl.mp3 file and derivative is made of 128 0.026122s long samples , which gives us an actual duration of 3.343616s. However, when decoding those files, the first two samples are dropped by the CoreAudio and WMF decoder giving us an actual play time of 3.29s.
We have no way to determine the exact duration at the demuxing stage. External readers such as DirectShow or GStreamer would only report the decoded frames time, while the MediaFormatReader report the demuxed time.

There is no right answer here. So setting a duration that will allow all readers to pass the tests.
2015-10-02 18:44:33 +10:00
Jean-Yves Avenard fc715601b9 Bug 1209410: [mp3] P3. Implement canPlayType for new MP3Decoder. r=kentuckyfriedtakahe 2015-10-02 18:44:33 +10:00
Jean-Yves Avenard a9855a3bd6 Bug 1209410: [webm] P2. Never use gstreamer to decode webm. r=kentuckyfriedtakahe 2015-10-02 18:44:32 +10:00
Jean-Yves Avenard f21d3b8aa3 Bug 1209410: [mp3] P1. Use new MP3Demuxer when possible. r=cpearce 2015-10-02 18:44:32 +10: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
Ehsan Akhgari a46e9289ea Bug 1204596 - Part 4: Disable test_fetch_cors.html on b2g; r=bkelly 2015-10-01 18:47:09 -04:00
Ehsan Akhgari 2430b7dcee Bug 1204596 - Part 3: Store the responses with manual redirect in the tests added for bug 1164397; r=bkelly
This needs to be done so that we match the manual redirect mode
for navigations when the response is stored in the cache.
2015-10-01 18:47:07 -04:00
Ehsan Akhgari cf1376b18d Bug 1204596 - Part 2: Update the schema of the DOM Cache database to remove the response_redirected and response_redirected_url columns; r=bkelly 2015-10-01 18:47:05 -04:00
Ehsan Akhgari 7f68257bc6 Bug 1204596 - Part 1: Avoid overriding the channel final URI when it gets intercepted; r=nsm,bkelly 2015-10-01 18:47:04 -04:00
Liang-Heng Chen 6e929f6435 Bug 1194049 - Part 4: clear discovered devices when re-discover; r=schien 2015-09-30 01:48:00 +02:00
Matthew Noorenberghe 9736cd824c Bug 1208295 - Dispatch notifications-open-settings upon receiving alertsettingscallback so UI can open notification settings. r=nsm
alertsettingscallback only goes to the single observer whereas notifications-open-settings goes through the global observer service.

--HG--
extra : commitid : chMffpyqlT
extra : rebase_source : 35ff4a94fbf14899002a6f2395063bbdc124ff48
2015-09-25 13:18:29 -07:00
Jared Wein 427bd639ca Bug 1211479 - Errors when parsing substituting variables should include the generated string to help diagnose the issue. r=bz 2015-10-05 14:04:00 +02:00
Jan Henning 1e4aec48b4 Bug 1202286 - Part 2 - Switch VBR header parsing to use a ByteReader as well instead of directly accessing the buffer. r=esawin
This also contains two small fixes to the VBR header parsing logic itself:
- VBRI parsing was previously broken because the offset wasn't calculated correctly.
- Xing-style headers can use a VBR header ID of "Info" as well.

--HG--
extra : rebase_source : 320a5e7b50e16ab3382e7121dd3d41f5fc439b76
2015-10-04 18:51:40 +02:00
Jan Henning 39b1643cc7 Bug 1202286 - Part 1 - Switch the MPEG frame and ID3 header parsers to use a ByteReader instead of accessing the input buffer directly. r=esawin
--HG--
extra : rebase_source : 4d3c6e1d5f6655163bf59fcdc4238f3740e107d2
2015-10-03 20:36:46 +02:00
Jan Henning 7db0ee08cb Bug 1202286 - Part 0 - Add some explicit namespace references to keep the compiler and IntelliSense happy. r=esawin
DecoderTraits.cpp pulls in MP3Demuxer.h which in turn pulls in mp4_demuxer/ByteReader.h. In that context, for some reason the ByteReader can't find the definition for MediaByteBuffer unless it is prefixed with the proper namespace.

MP3Demuxer.cpp itself compiles fine, but for some reason in Visual Studio IntelliSense complains about TimeUnit and TimeIntervals being undefined unless the using statement uses the full namespace hierarchy.

Also fix a small typo.

--HG--
extra : rebase_source : fc46fc82bf06b61c9ac31c2f4331f84f8557c51e
2015-10-01 11:29:48 +02: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
JW Wang dfaf3aeb42 Bug 1209888 - Remove usage of decoder monitor from OggReader. r=jya. 2015-09-30 06:55:20 +08:00
Morris Tseng 167e962979 Bug 709490 - Part 11: Diabled test_offscreencanvas_many.html on gonk, android, windows and linux. r=jgilbert
--HG--
extra : rebase_source : d6be9dc85ffee9cda6b57735bd8892ca427aa5d7
2015-10-05 10:50:17 +08:00
Morris Tseng f5a52e7dea Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref. r=baku
--HG--
extra : rebase_source : 07b470b9a8865b7d833932c5425e796b852ab466
2015-10-05 10:50:17 +08: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 0b16df6ac0 Bug 709490 - Part 5: Add interfaces test. r=ehsan
--HG--
extra : rebase_source : 306df6c0c7fe3e09e199b5c7b5cd62974b2854c3
2015-10-05 10:50:16 +08:00
Morris Tseng 6b999f3d6f Bug 709490 - Part 4: Mochitests for offscreencanvas. r=baku, r=jgilbert
Thanks Jon Morton [:jmorton] (jonanin@gmail.com) for polishing patches.

--HG--
extra : rebase_source : 08ff521b2ada4eb7f28ad1f5a2557b6d2ea670cb
2015-10-05 10:50:16 +08:00
Morris Tseng 0e4c914203 Bug 709490 - Part 3: Transfer OffscreenCanvas from mainthread to workers. r=baku, r=sfink
Thanks Jon Morton [:jmorton] (jonanin@gmail.com) for polishing patches.

--HG--
extra : rebase_source : 8ee6656a9c2008482967962fed280ef78d0ff991
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
Chris Pearce a7e012482a Bug 1207019 - Make EME mochitests specify mime types for video in MediaKeys request videoTypes, ditto for audio. r=gerald 2015-10-05 15:03:58 +13:00
Chris Pearce d4ed7efef9 Bug 1207019 - Remove WMF availability check in MediaKeySystemAccess requests. r=edwin 2015-10-05 15:03:48 +13:00
Phil Ringnalda 93999bd66d Bug 1207936 - Disable test_ril_worker_cellbroadcast.js for constant timeouts 2015-10-04 18:35:12 -07:00
Kit Cambridge cfd53ffe54 Bug 1210943 - Drop subscriptions unconditionally if the UAID changes. r=benbangert
--HG--
extra : commitid : 6vvxcaIIAbE
extra : amend_source : 1ea3d4821cb9a7b799f33da897d14cbd28a0c118
2015-10-03 14:59:24 -07:00
Ehsan Akhgari 8388e828b8 Bug 1166714 - Increase the test timeout to make it pass on the slow b2g emulator 2015-10-03 11:40:29 -04:00
Phil Ringnalda 23f82e924e Back out 2 changesets (bug 1052139) for mochitest-jetpack bustage
Backed out changeset 3dc503961322 (bug 1052139)
Backed out changeset 6f278bc63614 (bug 1052139)
2015-10-02 22:10:24 -07:00
Kartikaya Gupta 3b2d3a423c Bug 1208023 - Avoid using a bad initial-scale when computing the CSS viewport. r=botond
--HG--
extra : commitid : bYtCKg4w35
2015-10-02 23:08:23 -04:00
Kartikaya Gupta 5cf75acb53 Bug 1208023 - Ensure the minimum scale is a sane value greater than zero and add a separate flag to track if the default zoom is valid. r=botond
--HG--
extra : commitid : Iy421h6bUZN
2015-10-02 23:08:18 -04:00
Kartikaya Gupta 1b9e404cf9 Bug 1208023 - Remove unused function. r=botond
--HG--
extra : commitid : Fcz6aZy3ST4
2015-10-02 23:06:42 -04:00
Jan-Ivar Bruaroey 02c80b8fd0 Bug 1207784 - skip permission hooks in createOffer when called from privileged code (add-ons). r=mt
--HG--
extra : transplant_source : %D0%169%0B%99%17%B1%8F%D2%B1%A8%B0%E7%B8%ED%5E%60vxE
2015-10-01 15:49:01 -04:00
Yoshi Huang f97211a451 Bug 1167100 - User originAttribute in ContentPrincipalInfo. r=bholley 2015-09-23 18:19:06 +08:00
Yoshi Huang 836f7732eb Bug 1210459: Add originAttributes for tests that implement nsILoadContext. r=bholley 2015-09-30 18:14:12 -07:00
Kyle Machulis acaa031d49 Bug 1211046 - Remove url parsing warning message for youtube embed check; r=cpeterson 2015-10-05 15:21:05 -07:00
Kartikaya Gupta 0e058bf097 Bug 1209942 - Flush APZ repaints before waiting for paints. r=dvander
--HG--
extra : commitid : ANYadL4Yb6u
2015-10-05 16:18:24 -04:00
Ehsan Akhgari d826574ea3 Bug 1179401 - Call stopImmediatePropagation() on the Event object in respondWith(); r=jdm 2015-10-05 16:12:28 -04:00
Wes Kocher 0628e22f00 Merge m-c to inbound, a=merge CLOSED TREE 2015-10-05 13:11:26 -07:00
Andrew McCreight 5171450b27 Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv 2015-10-05 09:38:14 -07:00
Boris Zbarsky 3f6a60d5c6 Bug 1209658 part 2. Add text/json and text/vtt as text MIME types. r=bkelly
--HG--
rename : parser/htmlparser/tests/mochitest/test_bug667533.html => parser/htmlparser/tests/mochitest/test_bug1209658.html
2015-10-05 12:23:26 -04:00
Boris Zbarsky 880bb3fc42 Bug 1209658 part 1. Refactor some parts of nsContentDLF to reduce code duplication and improve readability a bit. r=bkelly 2015-10-05 12:23:25 -04:00
Liang-Heng Chen 84640eeee7 Bug 1194049 - Part 3: support device update; r=fabrice 2015-09-17 00:43:00 +02:00
Liang-Heng Chen 63cdeef8d2 Bug 1194049 - Part 2: add discovery timeout support; r=schien 2015-09-30 23:55:00 +02:00
Carsten "Tomcat" Book 1cca62afef Merge m-c to b2g-i 2015-10-01 14:17:57 +02:00
Shawn Huang e72212937d Bug 1166647 - Implement MAP bMessage class, r=btian 2015-10-01 16:30:58 +08:00
Catalin Badea 12590da787 Bug 1188545 - Fixup for test_serviceworker_lifetime.html a=testonly 2015-10-01 01:42:18 -04:00
Catalin Badea 75bac2c366 Bug 1188545 - Fixup: disable test_fetch_cors.html on android debug. a=testonly 2015-10-01 00:16:36 -04:00
Jamin Liu 9d55788304 Bug 1207011 - Send Bluetooth OBEX End-of-Body header individually to improve the compatibility with other devices. r=btian 2015-09-30 03:41:00 +02:00
Wes Kocher e53dc84f5c Merge b2ginbound to central, a=merge 2015-09-30 13:53:55 -07:00
Wes Kocher 7c2b0c515f Merge inbound to central, a=merge 2015-09-30 13:49:27 -07:00
Andrea Marchesini 7373ebaca0 Bug 1209919 - Improving naming and comments in StructuredCloneHelper, r=smaug
--HG--
rename : dom/base/StructuredCloneHelper.cpp => dom/base/StructuredCloneHolder.cpp
rename : dom/base/StructuredCloneHelper.h => dom/base/StructuredCloneHolder.h
2015-09-30 13:22:08 +01:00
Carsten "Tomcat" Book 4cb1341e89 Merge mozilla-central to b2g-inbound 2015-09-30 14:00:16 +02:00
Andrea Marchesini 4c9d29dcec Bug 1186805 - Replace nsBaseHashtable::EnumerateRead() calls in dom/datastore/ with iterators, r=njn 2015-09-30 11:59:52 +01:00
Nigel Babu deed7a3903 Backed out changeset 2fd54f322e75 (bug 1166647) for build bustage 2015-09-30 15:27:46 +05:30
Shawn Huang 05a0212871 Bug 1166647 - Implement MAP bMessage class, r=btian 2015-09-30 16:44:27 +08:00
Alastor Wu 4c8b8db1c6 Bug 1196358 - update volume setting to database when the volume changing. r=sotaro.
--HG--
extra : transplant_source : %F7%C4%E9b0%23%91e%88p%A7_2%14D.%88J%7E%FE
2015-09-30 16:14:59 +08:00
Thomas Zimmermann 242a6e7b49 Bug 1207649: Remove obsolete string/address conversion from Bluetooth backend, r=brsun
The code in Bluetooth's current backend doesn't use address strings any
longer. This patch removes the related conversion functions.
2015-09-30 09:42:33 +02:00
Thomas Zimmermann 5facd8834c Bug 1207649: Convert Bluetooth GATT backend to |BluetoothAddress|, r=joliu
This patch converts all methods in Bluetooth's GATT interface to
|BluetoothAddress|.
2015-09-30 09:42:33 +02:00
Thomas Zimmermann 40676b1f19 Bug 1207649: Convert Bluetooth AVRCP backend to |BluetoothAddress|, r=shuang
This patch converts all methods in Bluetooth's AVRCP interface to
|BluetoothAddress|.
2015-09-30 09:42:33 +02:00
Thomas Zimmermann 67ae102c63 Bug 1207649: Convert Bluetooth A2DP backend to |BluetoothAddress|, r=shuang
This patch converts all methods in Bluetooth's A2DP interface to
|BluetoothAddress|.
2015-09-30 09:42:33 +02:00
Thomas Zimmermann dff6da9218 Bug 1207649: Convert Bluetooth Handsfree backend to |BluetoothAddress|, r=brsun
This patch converts all methods in Bluetooth's Handsfree interface to
|BluetoothAddress|.
2015-09-30 09:42:33 +02:00
Thomas Zimmermann bccae2b2f9 Bug 1207649: Convert Bluetooth Socket backend to |BluetoothAddress|, r=brsun
This patch converts all methods in Bluetooth's Socket interface to
|BluetoothAddress|.
2015-09-30 09:42:33 +02:00
Thomas Zimmermann 4a49e25f31 Bug 1207649: Convert Bluetooth Core backend to |BluetoothAddress|, r=brsun
This patch converts all methods in Bluetooth's Core interface to use
|BluetoothAddress|.
2015-09-30 09:42:33 +02:00
Thomas Zimmermann 25f47780dd Bug 1207649: Prepare |BluetoothAddress| for general use throughout Bluetooth code, r=brsun
This patch moves |BluetoothAddress| to BluetoothCommon.h, where it is
available for general use. New utility function convert between strings
and addresses. A new hash-key class allowes for using |BluetoothAddress|
as the key in a hash table.
2015-09-30 09:42:33 +02:00
Wes Kocher 69c6f1bd2f Merge inbound to central, a=merge 2015-09-29 15:35:49 -07:00
Wes Kocher df21b43278 Backed out changeset d0e88c95f3c5 (bug 1167100) for crashes a=backout 2015-09-29 10:25:20 -07:00
Carsten "Tomcat" Book b63d7b04fc merge mozilla-inbound to mozilla-central a=merge 2015-09-29 12:00:25 +02:00
Nigel Babu 2ea092cec1 Backed out changeset 5f02a9d37e56 (bug 1208622) for windows build bustage
CLOSED TREE
2015-09-29 12:10:45 +05:30
Nigel Babu 8852703ac2 Backed out changeset 37c89ad82a13 (bug 1207090) for hazards bustage ON A CLOSED TREE
--HG--
extra : rebase_source : 25a1aed587390254f54c73f87451440dd32ed4f3
extra : amend_source : 1210caccf9a96a464febeac9a1ee11ca0388f490
2015-09-29 11:42:44 +05:30
Bobby Holley 46f21127a1 Bug 1208622 - Separate API entry points. r=bz 2015-09-28 22:51:30 -07:00
Kit Cambridge a958ff06d5 Bug 1209361 - Add missing includes to `dom/base`. r=mccr8
--HG--
extra : commitid : 3rsv1VgB0jB
extra : rebase_source : 677d913e8a0e0955963bbdb65d0e759e9148df7a
2015-09-28 21:31:56 -07:00
Brian Birtles 7f205b8334 Backout changeset 4867b986b2c7 and b4185d03b6d5 (bug 1180589) for bustage on CLOSED TREE 2015-09-29 13:50:23 +09:00
Wes Kocher e03ead4753 Merge m-c to b2ginbound, a=merge 2015-09-28 16:32:01 -07:00
Nicholas Nethercote 7b70ebccdf Bug 1209206 (part 1) - Remove mgfx namespace synonym.
CanvasRenderingContext2D.cpp has a |namespace mgfx = mozilla::gfx;| synonym.
Since the entire file is within the |mozilla| namespace we can use |gfx::Foo|
anyway, which is shorter than |mgfx::Foo|.

--HG--
extra : rebase_source : abd76713f1741b1b4f078e21d89a0708b7bd65fb
2015-09-28 12:37:18 -07:00
Catalin Badea f4efb99f5e Bug 1188545 - Disable test_fetch_cors.html & test_fetch_cors_reroute.html on android debug. a=testonly 2015-09-30 23:57:33 -04:00
JW Wang f56fdd4173 Bug 1209886 - Clean up InstantiateDecoder() in DecoderTraits.cpp. r=kinetik. 2015-09-30 06:55:20 +08:00
Tim Chien c251097169 Bug 1160923 - [B2G] Waiting for explicit mozContentEvent before sending out mozChromeEvents, r=vingtetun, f=ochaumeau 2015-09-28 09:27:49 -07:00
Christiane Ruetten 4ca99aaf68 Bug 1209091 - Disable add-on signature workaround. r=fabrice
--HG--
extra : rebase_source : fcce79c08380fe8807273bda52839a3928b7548b
2015-09-28 17:22:04 +02:00
Andreas Pehrson 9914ff85f8 Bug 1103188 - Keep track of stopped tracks in gUM stream listener. r=jib
This is needed to avoid something like:
* [old stream] stop track 1 -> deallocate MediaDevice for track 1
* [new stream] gUM() -> allocate MediaDevice for track 1
* [old stream] stop stream -> deallocate MediaDevice for track 1
* [new stream] gUM() -> start MediaDevice for track 1 (oops, MediaDevice was no more!)

--HG--
extra : commitid : FmkFYbCfel7
extra : rebase_source : e17ad400705198c48e3d561241dd50d0844c472e
2015-09-30 14:08:33 +08:00
Andreas Pehrson 6f60cbc89d Bug 1103188 - Keep track of capture stop only in gUM stream listener. r=jib
--HG--
extra : commitid : AqIOlsR7w1y
extra : rebase_source : 6f5670be3bf711a38eb9f914dc69c5b987dd9b9e
2015-09-30 14:08:26 +08:00
Andreas Pehrson aaef4911a9 Bug 1103188 - Always call MediaManager::NotifyFinished/NotifyRemoved on main thread. r=jib
--HG--
extra : commitid : 8kb5G98FAY9
extra : rebase_source : 97086507d1c546f9423f4d2f790924c21ccfa28a
2015-09-30 14:08:22 +08:00
Andreas Pehrson f5d99891ad Bug 1103188 - Always check tracks on getUserMedia(). r=jib
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : 9820d09e7152de7c59a0aa81dde715dfa21fed18
2015-09-30 09:32:06 +08: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 0239788481 Bug 1103188 - Deprecate DOMMediaStream::Stop(). r=jib
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : cc7351a34694b7b0e822bcd0b7025ded0ab54b9d
2015-09-30 09:32:06 +08:00
Andreas Pehrson ce2776ea0d Bug 1103188 - Remove identical override nsDOMUserMediaStream::Stop(). r=jib
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : 2e37a21b1789bf4ab893c6fb8b2dd2c75f613855
2015-09-30 09:32:05 +08:00
Andreas Pehrson aa989a17b6 Bug 1103188 - MediaStream::AddTrack/RemoveTrack implementation. r=roc
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : 7c8a9d50e5dbb672c773faa3675fe674aed9fb67
2015-09-30 09:32:05 +08:00
Andreas Pehrson bf0d10f4e7 Bug 1103188 - MediaStream WebIDL update with addTrack/removeTrack. r=smaug,jib
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : 030f83f3a79a7f4cb938cb509983f87a5a557aab
2015-09-30 09:32:05 +08:00
Andreas Pehrson f7821ba184 Bug 1170958 - Destroy track-locked MediaInputPorts when the track ends. r=roc
This is needed to make tests pass until we have bug 1208316 implemented.

--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : b7cb9cb1678a582fbf85b729b8f43508889f5c78
2015-09-30 09:31:54 +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 867415c0b5 Bug 1170958 - Remove ProcessedMediaStream::ForwardTrackEnabled. r=roc,jesup
TrackUnionStream guarantees that TrackIDs are maintained if no tracks
have claimed them before.

In the gUM case, we have a SourceMediaStream which we wholly own (the
DOMMediaStream's Input stream), piped into a TrackUnionStream which
no-one external is able to add tracks to (the DOMMediaStream's Owned
stream) - addTrack()ed tracks are added to the DOMMediaStream's Playback
stream.

The MediaStreamTracks being enabled/disable refer to a TrackID in the
DOMMediaStream's Owned stream.

Alas, we don't need to forward a track's enabled state, we can just do
it on the source.

--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 4388211be87ebe8a3839ea031b5c504d642806ab
2015-09-30 09:31:54 +08:00
Andreas Pehrson 0a75ffee8d Bug 1170958 - Add DOMMediaStream::OwnedStreamListener. r=roc
A DOMMediaStream's owned stream is piped from the input stream which is
under the control of the DOMMediaStream's owner/producer (like
captureStream or gUM). When producers like these create new tracks after
the stream has already been created (the initial set should be available
to JS synchronously), it is nice if the DOMMediaStream picks them up
automatically and create the corresponding MediaStreamTracks.

The OwnedStreamListener added here does just that; creates an owned
MediaStreamTrack when a track appeared in the stream that didn't already
have a MediaStreamTrack.

It also moves the logic for ended tracks from the PlaybackStreamListener
to the OwnedStreamListener as we previously would see a track end in the
playbak stream after removeTrack() and that would be interpreted as the
track ending at the source.

--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : ee7d81282ee3fe0e05b55358dee8fc97a22473fe
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 9ecf8f59c7 Bug 1170958 - Feed a SourceMediaStream-backed dom stream instead of a raw SourceMediaStream in MediaManager. r=jesup
Simplifies the structure of MediaManager somewhat. Possible since
MediaManager owns both the SourceMediaStream and the DOMMediaStream.

--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 494b8b673084ea050420dfaf8d16e44a3bc49672
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 53a6c38d0d Bug 1170958 - Allow MediaInputPort to lock to a specific input track. r=roc
Locking to specific tracks lets us dynamically remove and add single
tracks to a ProcessedMediaStream.

--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 0b1b79077f95bbefc8c71de551c5e3483a7d6ac0
2015-09-30 09:31:53 +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
Carsten "Tomcat" Book 363e40e298 merge mozilla-inbound to mozilla-central a=merge 2015-09-28 14:13:24 +02:00
Carsten "Tomcat" Book fc4b2033ce merge fx-team to mozilla-central a=merge 2015-09-28 14:10:50 +02:00
Carsten "Tomcat" Book 2deb7b2220 merge b2g-inbound to mozilla-central a=merge 2015-09-28 14:08:18 +02:00
Nigel Babu 85f8d8c65e Backed out changeset ee27fc2f6a1d (bug 1208687) for W(4) bustage
ON A CLOSED TREE
2015-09-28 12:23:36 +05:30
Nigel Babu b8f64f3b1e Backed out changeset 967c555a595c (bug 1208289) for B2G build bustage 2015-09-28 12:22:43 +05:30
Nigel Babu 4013fbd739 Backed out changeset efcfe0c08c24 (bug 1208289) for B2G build bustage 2015-09-28 12:22:34 +05:30
Kyle Huey ea0bfdd061 Bug 1208687: Only discard events from the outermost queue. r=ehsan
When workers shut down we discard the event queue rather than running it to completion.  Originally workers managed their event queue themselves and would simply iterate through the array of events and cancel them all.  After bug 914762 this was done by setting a (thread-)global "canceling" flag and then calling NS_ProcessPendingEvents.  But this neglects that a shut down request can be received while the worker is in a sync queue.  In this case, calling NS_ProcessPendingEvents will process any events pending in the sync queue, which is *not* the queue we need to cancel.

The fix is, if we are in a sync queue when NotifyInternal is called, to defer clearing the queue until the top-most sync queue is destroyed and we are about to return to the regular event queue.  Only then can we call NS_ProcessPendingEvents to clear out the queue.  Because we can never process any events from this queue while sync queues are active, the timing of the mass cancellation is unchanged from the perspective of events in the regular queue.

--HG--
extra : rebase_source : f67fbee27c0751068a4e7aaf692cbfc1d3c9aa7c
2015-09-27 21:57:36 -07:00
Chris Pearce faefcaba27 Bug 1208289 - Log outstanding frames in GMP DrainComplete() and detect dropped ResetComplete. r=jwwang
* * *
Bug 1208289 - Yet another bustage fix. r=bustage
2015-09-28 17:57:10 +13:00
Chris Pearce 8493a808b6 Bug 1208289 - Add SimpleTimer to make setting timeouts in C++ easy. r=jwwang 2015-09-28 17:57:10 +13:00
Chris Pearce 0f328b5200 Bug 1208348 - Check whether DirectShow can decode MP3 before assuming it will work. r=jya 2015-09-28 17:57:10 +13:00
Martin Thomson 2627615a00 Bug 1155923 - Temporarily restoring moz-prefixed interface, r=jesup,smaug
--HG--
extra : transplant_source : j%0DQ%EA%DD%1C%DCtL%A0g%8E%7D%9D%BC%DFf%19%C9%AE
2015-09-28 11:25:04 -07:00
Martin Thomson 4574e04530 Bug 1155923 - Add Deprecated attribute to interfaces, r=peterv
--HG--
extra : transplant_source : q%B6%21%A22%A6%8Ftg%C8%1D%02%91/%C7%8A%AA%E2%C6g
2015-09-28 11:25:04 -07:00
Martin Thomson afdaddf1d7 Bug 1155923 - Removing moz prefix from RTC interfaces, r=jesup,smaug
--HG--
extra : transplant_source : %0Adu%1E%A6j%9E%C2B%25%ECruo%F7%7Fc%EA%99%18
2015-09-28 11:25:04 -07:00
Jean-Yves Avenard dacd5751f3 Bug 1208953: [mp3] Don't parse data we've already parsed. r=cpearce
NotifyDataArrived may be called again due to reads performed in NotifyDataArrived ; causing stall and serious slowdowns.
2015-09-30 16:07:56 +10:00
Mantaroh Yoshinaga df06088026 Bug 1180589 part 3 - Rename shadowed variable name; r=bholley 2015-09-30 14:32:32 +09:00
Mantaroh Yoshinaga a98dfba30c Bug 1180589 part 2 - Add code to create a simulated mediastream; r=seanlin 2015-09-30 14:32:32 +09:00
Mantaroh Yoshinaga af4a197416 Bug 1180589 part 1 - Add simulator code for TV Manager API; r=seanlin 2015-09-30 14:32:32 +09:00
Olli Pettay cca9c7578b bug 1072150, backout the release assertion which changed the ancient requirements of nsContentUtils::IsCallerChrome(), a=backout 2015-09-27 00:52:26 +03:00
Bas Schouten 1369a96bd4 Bug 1208465 - Part 1: Fix some reftest annotations. r=jrmuizel 2015-10-01 04:45:26 +02:00
Wes Kocher eff494e681 Backed out changeset 919a831786f1 (bug 1208638) for windows build failures 2015-09-30 16:43:26 -07:00
Bobby Holley e91aae8249 Bug 1208622 - Separate API entry points. r=bz 2015-09-30 16:31:46 -07:00
David Anderson b0e2473678 Don't use Direct2D if CompositorD3D11::Initialize fails. (bug 1208638, r=jrmuizel)
--HG--
extra : rebase_source : 2c0b1febd9bcc3a52f48a98243ab853f5b58848d
2015-09-30 16:16:16 -07:00
Catalin Badea d327e60f64 Bug 1207850 - Temporary fix for canceling the pump used by FetchBody. r=nsm 2015-09-30 19:11:04 -04:00