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

24381 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 29013bc45f Merge m-c to inbound 2014-03-27 20:21:50 -07:00
Chris Pearce 7bc425d1e8 Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir
Implement HTMLMediaElement.fastSeek(), basically by changing all the
MediaDecoderReader::Seek() overrides to not call
MediaDecoderReader::DecodeToTarget(), and have MediaDecoderReader::DecodeSeek()
call DecodeToTarget() if we're doing an accurate (non-fast) seek.

Update gizmo.mp4 to have a keyframe every second, instead of only 1 keyframe at
the start of stream. This makes the unit test I added more useful for mp4...

I pushed most of the seek target clamping logic in MediaDecoder up into
HTMLMediaElement, so that we're clamping in fewer places. Note
MediaDecoderStateMachine::Seek() still sanity checks the seek target.

We have to update the currentTime/MediaDecoder playback position after a seek
completes now, rather than assuming the seek always got it exactly right.

Removed those pesky assertions about seek target lying in the first frame after
seek, since actually sometimes the media doesn't have samples for all streams
after a seek (either due to the media being encoded like that, or because of a
bug in the platform's decoder, not entirely sure).

Green: https://tbpl.mozilla.org/?tree=Try&rev=b028258565e2
2014-03-28 15:50:28 +13:00
Wes Kocher 3d817ab8e1 Merge b2g-inbound to m-c 2014-03-27 19:37:17 -07:00
William Chen 1c758b19bd Bug 987031 - Use kNamespaceID_Unknown to match any namespace in the web components custom element registry. r=mrbkap 2014-03-27 11:55:44 -07:00
William Chen 02358ecd6e Bug 984712 - Associate document with existing custom elements registry as specified. r=mrbkap 2014-03-27 11:55:44 -07:00
Andrew McCreight df78134227 Bug 988570 - Initialize nsXBLBinding::mUsingXBLScope. r=bholley 2014-03-27 09:24:33 -04:00
Bevis Tseng 5783e95666 Bug 981077 - Part 4: Add test case for SIM_NOT_MATCHED_ERROR while manually retrieving MMS message. r=vyang 2014-03-25 15:06:09 +08:00
Bevis Tseng bbc8d622ef Bug 981077 - Part 3: Remove unused method of getClientIdByIccId(). r=vyang 2014-03-25 15:04:33 +08:00
Bevis Tseng 5a2dace25b Bug 981077 - Part 2: Define MmsService-owned getConnByIccId() to identify NO_SIM_CARD_ERROR and SIM_NOT_MATCHED_ERROR. r=vyang 2014-03-21 12:00:09 +08:00
Bevis Tseng 3da981a6d2 Bug 981077 - Part 1: Add new error type SIM_NOT_MATCHED_ERROR. r=vyang 2014-03-21 10:52:05 +08:00
Bevis Tseng bb15c4ee8b Bug 981577 - Part 3: Add Test case to verify RadioDisabledError. r=vyang 2014-03-20 15:14:07 +08:00
Bevis Tseng f6b91b282f Bug 981577 - Part 2: Check Radio State in prior to the ICC Id. r=vyang 2014-03-20 12:24:42 +08:00
Bevis Tseng bf45b56afa Bug 981577 - Part 1: Refactor fetching ril.radio.disabled preference into getRadioDisabledState(). r=vyang 2014-03-20 12:15:49 +08:00
Carsten "Tomcat" Book 675f646171 Merge mozilla-central to b2g-inbound 2014-03-27 16:03:36 +01:00
Thomas Zimmermann 41ccdb8f5d Bug 983576: Annotate all assertions for non-main threads in BlueZ backend, r=echou
This patch adds an annotation to each assertion for non-main threads in
the BlueZ backend of Bluetooth. This should make is easy and obvious to
see in which context a method or function is expected to run.
2014-03-27 11:43:49 +01:00
Thomas Zimmermann f756e17674 Bug 983576: Annotate global BlueZ variables, r=echou
The global variables in BluetoothDBusService.cpp are now annotated
for their multi-threading access. Some code still seems to access
some of these variables in an unprotected manner. Follow-up patches
should clean this up.

As a side effect, this patch makes several variables as constant,
which improves correctness of the code.
2014-03-27 11:43:49 +01:00
Thomas Zimmermann 49823019b0 Bug 983576: Fail if sDBusConnection is not set, r=echou
Until now, we had corner cases in Bluetooth where DBus messages might
have been received on connections that are shutting down. This can't
happen any longer and this patch replaces the respective tests with
assertions.
2014-03-27 11:43:49 +01:00
Thomas Zimmermann 371fc3f23b Bug 983576: Refactor BlueZ start/stop code, r=echou
With this patch, the start code of Bluetooth's BlueZ back mostly
runs on the I/O thread. Only the loading of the BT firmware and
the blocking connection setup is done on the BT thread.

The stop code has been moved to the I/O thread, except for some
initial waiting and the final cleanup of the firmware. The code
doesn't wait for errors anymore when cleaning up the connection
to DBus. This makes it run completely non-blocking. The initial
waiting may later be replaced by something more sophisticated.
2014-03-27 11:43:48 +01:00
Thomas Zimmermann b2c765fcbf Bug 983576: Move DispatchToBtThread to mozilla::bluetooth namespace, r=echou
This patch moves DispatchToBtThread to mozilla::bluetooth, so that
it is available on the I/O thread.
2014-03-27 11:43:48 +01:00
Thomas Zimmermann a1cae5603a Bug 986440: Add missing field |number| for REQUEST_QUERY_CALL_FORWARD_STATUS, r=htsai
The field |number| is missing when REQUEST_QUERY_CALL_FORWARD_STATUS
gets invoked from RilContentHelper.js. This patch adds a test to the
function |queryCallForwardingStatus| for handling this case.

--HG--
extra : rebase_source : c56474a2023434ac3658c7771244c6380ca2a6e0
2014-03-27 10:35:30 +01:00
Thomas Zimmermann 22ff293288 Bug 986440: Check for |radioTech| in |voiceRegistrationState|, r=htsai
When starting up RIL, |radioTech| in |voiceRegistrationState| is not
defined before we received REQUEST_VOICE_REGISTRATION_STATE. This
patch adds an extra test to avoid the respective error message.

--HG--
extra : rebase_source : 19927ec9a3892606d81f3209ea470ce297d927d7
2014-03-27 10:35:24 +01:00
Thomas Zimmermann 21da4b0c37 Bug 986440: Test for |options.rilMessageType| in REQUEST_GET_SMSC_ADDRESS handler, r=htsai
The response handler for REQUEST_GET_SMSC_ADDRESS expects the field
|rilMessageType| to be present in its options. This is not the case
if the request was generated from within ril_worker.js.

This patch handles this case by adding an extra test for the existance
of the field. The response handler will return without sending a reply
to the content helper. This is not a problem since the content handler
did not invoke the request anyway.

--HG--
extra : rebase_source : 211d5f4dc29dd99b745bc29d856c291175f156f1
2014-03-27 10:35:17 +01:00
Thomas Zimmermann 0348736e81 Bug 986440: Return 'null' from RIL-worker function, r=htsai
One of the functions in ril_worker.js is supposed to return 'null'
on errors, but returns 'undefined' instead. This patch fixes the
problem.

--HG--
extra : rebase_source : 0f0c1cc06fb4bcb6fe034ab3c88890b351a6cad6
2014-03-27 10:35:09 +01:00
Ryan VanderMeulen c5fd173c74 Merge m-c to inbound. 2014-03-26 23:09:54 -04:00
Ryan VanderMeulen a14baa39be Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Ryan VanderMeulen b92aaa2756 Merge fx-team to m-c. 2014-03-26 20:51:01 -04:00
Ryan VanderMeulen 12d46cf7fa Merge b2g-inbound to m-c. 2014-03-26 20:46:47 -04:00
Randell Jesup 60df1ee9ac Bug 986764: don't leak a thread for every getUserMedia doorhanger r=jib 2014-03-26 17:57:46 -04:00
Carsten "Tomcat" Book 6eaebb92de Backed out changeset 246f001547ac (bug 981085) 2014-03-26 11:09:16 +01:00
Wes Kocher 618b2c258b Merge fx-team to m-c 2014-03-25 20:03:13 -07:00
Wes Kocher 6b9908e2fe Merge inbound to m-c 2014-03-25 19:54:55 -07:00
Marco Castelluccio af2cc5d4e4 Bug 981085 - Stop using OS.File in apps code. r=fabrice 2014-03-25 09:14:06 -04:00
Yoshi Huang ccacba91b6 Bug 987595 - B2G NFC: onpeerready isn't called. r=dimi 2014-03-25 19:14:41 +08:00
Marco Castelluccio 2854ed855e Bug 981085 - Stop using OS.File in apps code. r=fabrice 2014-03-25 09:14:06 -04:00
Henry Chang 85dbe34d0d Bug 986360 - Add nullity check to |flags|. r=chulee 2014-03-21 17:00:38 +08:00
Jocelyn Liu 11efa3b360 Bug 986375 - Use defined constants for HFP result code to avoid typo. r=echou 2014-03-26 19:08:00 +01:00
Carsten "Tomcat" Book 93952458ba Merge mozilla-central to b2g-inbound on a CLOSED TREE 2014-03-26 14:03:43 +01:00
Fabrice Desré 874f87e5ff Bug 982491 - Group apps in activities chains in the same process r=cervantes,gene 2014-03-25 21:56:35 -07:00
Wei Deng 91d0671901 Bug 960946 - Correct events which can be generated and sent repeatedly from longpressing a key. r=yxl 2014-03-25 15:46:52 +08:00
Carsten "Tomcat" Book b13effee27 Merge mozilla-central to b2g-inbound 2014-03-25 13:47:41 +01:00
Carsten "Tomcat" Book 68f47b1cc6 merge b2g-inbound to mozilla-central 2014-03-25 13:23:10 +01:00
Ehsan Akhgari 0410df628a Bug 986993 - Remove the classinfo on the inputmethod API classes because they are already ported to WebIDL; r=bzbarsky
This patch also removes the mention to some non-existent interfaces.
2014-03-24 21:59:33 -04:00
Tatiana Meshkova b05be4f889 Bug 985817 - Move some TabChild functionality into base class to be reusable in Embedlite implementation. r=kats 2014-03-24 19:28:46 -07:00
Ehsan Akhgari c8b92dbc0e Bug 986980 - Remove the classinfo from WifiGeoCoordsObject and WifiGeoPositionObject; r=bzbarsky
These objects are not exposed to Web content, so they don't need the
classinfo.
2014-03-24 23:39:23 -04:00
Mike Habicher 0c985802e1 Bug 985125 - remove unnecessary indirection from DOM error handler, r=dhylands 2014-03-24 17:32:31 -04:00
Ryan VanderMeulen b31f92b6e6 Merge inbound to m-c. 2014-03-24 16:47:07 -04:00
Ryan VanderMeulen 2ba71826c0 Merge m-c to inbound. 2014-03-24 16:51:09 -04:00
Doug Turner 3e747129bf Bug 987019 - Shutdown Wifi scanning after geolocation request has completed. r=kanru 2014-03-24 12:40:42 -07:00
Ms2ger d7c5e3051b Bug 860731 - Part c: Move LockedFile to WebIDL; r=janv 2014-03-24 16:10:27 +01:00
Bobby Holley 830107fc87 Bug 986940 - Remove Cu.createArrayIn. r=gabor 2014-03-24 11:30:20 -03:00