Commit Graph

34221 Commits

Author SHA1 Message Date
Bobby Holley
794cacada7 Bug 1161742 - Introduce ResolveOrRejectValue to make MediaPromise implementation less verbose. r=jww 2015-05-05 21:02:57 -07:00
Bobby Holley
0926bd915c Bug 1161742 - Hoist dispatch-related stuff from ThenValue to ThenValueBase. r=jww
This cleanup was made possibly by the introduction of AbstractThread. :-)
2015-05-05 21:02:56 -07:00
Phil Ringnalda
25e5d3ddc4 Back out dbb002daa455 (bug 1160321) for assertion failures 2015-05-05 20:04:39 -07:00
Ehsan Akhgari
e1b13dac41 Clean up after test_workerupdatefoundevent.html, no bug 2015-05-05 21:45:00 -04:00
Ehsan Akhgari
5c829dd715 Revert the debugging patch for bug 1157901 2015-05-05 21:43:53 -04:00
Jean-Yves Avenard
9c7b67e386 Bug 1161443: Always read SDM::mWaitForInternalDrain while holding monitor. r=gerald 2015-05-06 09:58:09 +10:00
Jean-Yves Avenard
8b0b960e01 Bug 1161416: Don't wait for a drain complete that will never happen. r=cpearce 2015-05-06 09:58:09 +10:00
Jean-Yves Avenard
ac74263022 Bug 1154896: Part2. Ignore kVTDecodeInfo_FrameDropped flag. r=rillian
It appears that on some machine, all video frames are marked with kVTDecodeInfo_FrameDropped even when valid. We just can't rely on it.
2015-05-06 09:58:09 +10:00
Jean-Yves Avenard
a3140613cb Bug 1154896: Report decoding errors back to MP4Reader. r=rillian 2015-05-06 09:58:09 +10:00
Chris Pearce
b8de3abe20 Bug 1160321 - Test whether we can create H.264/AAC decoders before we report we support them. r=mattwoodrow 2015-05-06 11:40:45 +12:00
Blake Kaplan
76c6ef586e Bug 1155494 - Add a 'compressall' message flag. f=handyman r=billm (parts of this patch were written by handyman with r=billm) 2015-05-05 16:20:42 -07:00
Ben Kelly
d8cf2a1f58 Bug 1160138 P3 Test Cache chrome-only Constructor. r=ehsan 2015-05-05 15:45:36 -07:00
Ben Kelly
125fa562ef Bug 1160138 P2 Add a [ChromeConstructor] to CacheStorage to support devtools. r=ehsan 2015-05-05 15:45:36 -07:00
Ben Kelly
6b203358e4 Bug 1160138 P1 Update CacheStorage and Cache webidl to latest spec. r=ehsan 2015-05-05 15:45:36 -07:00
Xidorn Quan
16a9ab3e63 Bug 947854 part 3 - Include testing MozExitedFullscreen event in existing chrome test. r=smaug 2015-05-06 10:04:31 +12:00
Xidorn Quan
502aab52a4 Bug 947854 part 2 - Avoid exiting fullscreen mode when exit from DOM fullscreen. r=smaug,dao 2015-05-06 10:04:31 +12:00
Wes Kocher
0dc3345763 Merge m-c to inbound a=merge 2015-05-05 14:53:34 -07:00
Jeff Gilbert
9adce5ee36 Bug 1159034 - Test uninitialized buffer data. - r=dvander 2015-05-05 13:42:29 -07:00
Christoph Kerschbaumer
bbce6ecace Bug 1038756 - Extending LoadInfo and storing LoadInfo on all channels created through NS_NewChannel - followup: removal of duplicate error check (r=sicking) 2015-05-04 17:02:38 -07:00
Tim Taubert
eb2c298425 Bug 1109875 - Ignore SessionStore:update messages that do not target the browser's latest frameLoader r=billm,smaug 2015-04-28 16:22:38 +02:00
Carsten "Tomcat" Book
f5b213c449 merge mozilla-inbound to mozilla-central a=merge 2015-05-05 12:01:27 +02:00
Fabrice Desré
3e0305d889 Bug 1123846 - Restrict some activities to be provided by the system app r=ferjm 2015-05-04 15:30:08 -07:00
Ryan VanderMeulen
7e9393a827 Merge inbound to m-c. a=merge 2015-05-04 15:59:00 -04:00
Ryan VanderMeulen
ffa09572aa Merge fx-team to m-c. a=merge 2015-05-04 15:53:32 -04:00
Ryan VanderMeulen
07f43f6bdc Backed out changesets c6380188c418 and cc9ff30e82d6 for possible Android debug asserts/crashes.
CLOSED TREE
2015-05-04 14:12:37 -04:00
Carsten "Tomcat" Book
39e98f065d Merge mozilla-central to b2g-inbound 2015-05-04 15:26:45 +02:00
Jamin Liu
9f7a4accc5 Bug 1063444 - Implement LE scan related methods and LE device event. r=joliu, r=mrbkap 2015-05-04 18:59:02 +08:00
Cameron McCormack
214f939d12 Bug 1160724 - Part 1: Resolve a properly parented style context when looking up -moz-binding of a display:none XUL/plugin element. r=dbaron 2015-05-05 14:00:28 +10:00
Wes Kocher
15927ce61e Backed out changeset 256f10c0dbdc (bug 1159810) for reftest failures CLOSED TREE 2015-05-04 18:00:17 -07:00
Fernando Jimenez
f7893cb9e1 Bug 1147214 - Enable app:// urls to use SW. r=bkelly 2015-05-04 23:18:05 +02:00
Olli Pettay
47e7f7e5e2 Bug 1159810 - Kill full gc timer when gc starts, r=mccr8 2015-05-04 23:44:14 +03:00
Edwin Flores
7e6f2900a2 Bug 1150322 - Fix duration parsing in MediaOmxReader - r=sotaro 2015-05-04 11:40:30 +12:00
Andrew McCreight
254dac5936 Bug 1152551, part 3 - Fix more mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Andrew McCreight
aeff7c99ee Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Andrew McCreight
10aa3c7467 Bug 1152551, part 1 - Remove leading tabs in dom/. r=baku
Also, remove trailing whitespace in nsXMLContentSink.cpp
2015-05-03 15:32:33 -04:00
Roger Yang
a347201a38 Bug 1160428 - Fix theoretical take picture memory leak uncovered by coverity. r=aosmond 2015-05-03 13:46:00 -04:00
Blake Wu
afaaf613b7 Bug 1153895 - Support audio AMR-WB for Gonk in MP4Reader. r=jya 2015-05-04 10:11:29 +08:00
Daniel Holbert
34b403379e Bug 1156689: Add 'override' keyword to GetAsAudioInfo(), GetAsVideoInfo(), & Clone() on TrackInfo subclasses. rs=ehsan 2015-05-02 15:32:52 -07:00
Anthony Tseng
96161fc227 Bug 1158425 - Rename _SYNTH event names. r=smaug 2015-05-01 22:06:00 -04:00
Ryan VanderMeulen
eca9ce2103 Merge m-c to inbound. a=merge 2015-05-04 16:11:38 -04:00
Boris Zbarsky
cc888ff4ad Bug 1087330. Make the data structure we use for our promise microtask queue have O(1) first element removal, not O(N). r=khuey 2015-05-01 22:33:01 -04:00
Wes Kocher
ebdbb5f57b Merge m-c to inbound a=merge 2015-05-01 17:23:32 -07:00
Wes Kocher
ddda6aed2d Merge b2ginbound to m-c a=merge 2015-05-01 17:22:34 -07:00
Wes Kocher
9c0b8289bf Merge inbound to m-c a=merge 2015-05-01 17:19:28 -07:00
Ryan VanderMeulen
6ffda2e313 Merge m-c to b2g-inbound. a=merge 2015-05-01 12:59:30 -04:00
Ryan VanderMeulen
f3e32f8fe2 Merge m-c to inbound. a=merge
CLOSED TREE
2015-05-01 10:50:07 -04:00
Jean-Yves Avenard
a5bb7c784d Bug 1157075: Part2. Use MediaPromise to read TrackBuffer metadata. r=bholley,r=karlt 2015-05-01 15:37:31 +10:00
Jean-Yves Avenard
b7327f9efd Bug 1157075: Part1. Rename and make AsyncReadMetadata virtual. r=bholley 2015-05-01 15:37:29 +10:00
Jean-Yves Avenard
51142a971d Bug 1157203: Fix SharedDecoderProxy::IsWaitingMediaResources( . r=kentuckyfriedtakahe
Don't wait until the decoders has received data to check if it's ready or not.
2015-05-01 15:27:29 +10:00
Jean-Yves Avenard
338eea198b Bug 1156689: Part11. Add TrackInfo Clone() and copy constructors. r=cpearce 2015-05-01 15:26:51 +10:00
Jean-Yves Avenard
63b6293bbe Bug 1156689: Part10. Remove static_cast on TrackInfo objects. r=cpearce 2015-05-01 15:26:51 +10:00
Jean-Yves Avenard
a9b67792e7 Bug 1156689: Part4. Create virtual getters. r=cpearce
Will avoid the need for static_cast to retrieve a particular content from
the base class.
2015-05-01 15:26:50 +10:00
Jean-Yves Avenard
3984aeaf76 Bug 1156689: Part3. Add TrackInfo virtual destructor. r=cpearce
So TrackInfo objects can be allocated on the stack.
2015-05-01 15:26:50 +10:00
Jean-Yves Avenard
8b4c79cc59 Bug 1156689: Part1. Remove mp4_demuxer::TrackType. r=cpearce 2015-05-01 15:26:50 +10:00
Boris Zbarsky
5d4fb93bfb Bug 1159743. Stop forcing the dom.animations-api.core.enabled preference on in the test harness. r=birtles 2015-04-30 14:25:03 -04:00
Ryan VanderMeulen
02b52b7666 Merge m-c to fx-team. a=merge 2015-05-01 13:00:21 -04:00
Maire Reavy
439c0bf645 Bug 1159659 - Allow tab sharing on XP and OSX 10.6. r=pkerr 2015-05-01 08:55:33 -04:00
Benjamin Chen
0296c23c49 Bug 1157654 - 1. Do not call MediaRecorder.stop immediately after MediaRecorder.start, because we want to receive an onerror callback. 2. Make the NofityError async. r=roc 2015-04-30 17:13:41 +08:00
Alfredo Yang
cde38c1b43 Bug 1153149 - Remove IsWaitingMediaResources() from PlatformDecoderModule. r=jya 2015-05-04 03:07:00 -04:00
Alfredo Yang
8692261871 Bug 1154512 - Remove MediaTaskQueue::SyncDispatch() from PDM. r=cpearce 2015-05-04 03:04:00 -04:00
Ehsan Akhgari
b9872b41a7 Bug 1159813 - Make sure service worker tests clean up after themselves; r=baku
This makes it possible to run the service workers tests using
--run-until-failure, which will hopefully help with reproducing
intermittent test failures.
2015-05-04 09:21:04 -04:00
Jean-Yves Avenard
fd7ab059d9 Bug 1159496: Ensure decoders are properly shutdown. r=alfredo 2015-05-04 21:16:48 +10:00
Jean-Yves Avenard
f905cf14a9 Bug 1159578: Add a TimeUnit object. r=mattwoodrow
A TimeUnit describes a point in time, without explicit units (it is not a
microseconds nor a second) though can be converted in one or the other.
2015-05-04 21:16:34 +10:00
Jocelyn Liu
ba94cb79c5 Bug 1159685 - Fix BluetoothSspVariant argument passing for SspRequestNotification. r=shuang 2015-04-30 01:04:00 -04:00
Jocelyn Liu
86544a488e Bug 1159650 - Remove incorrect value assertions in BluetoothGattCharacteristic and BluetoothGattDescriptor. r=btian 2015-04-29 19:53:00 -04:00
Bruce Sun
80527f9ad6 Bug 1159552 - Clear local arrays while discovering. r=jocelyn 2015-04-30 14:41:08 +08:00
Blake Wu
b51fc34871 Bug 1159509 - Support audio AMR-NB for Gonk in MP4Reader. r=jya 2015-04-30 22:11:13 +08:00
Ben Kelly
ac5f220423 Bug 1160227 Improve Cache API warnings. r=ehsan 2015-05-01 08:15:52 -07:00
Ben Kelly
ee0372aa27 Bug 1134841 Hold ServiceWorker alive during install event's waitUntil(). r=bz 2015-05-01 08:14:42 -07:00
Ben Kelly
2dbfb37668 Bug 1160147 Improve Cache API WorkerFeature shutdown handling. r=baku 2015-05-01 08:13:36 -07:00
Jim Mathies
e6629f6aea Bug 1129040 - Query the chrome process blocklist service prior to instantiating plugins in the content process. r=billm 2015-05-01 10:07:19 -05:00
Jim Mathies
d4f9c00f75 Bug 1129040 - Provide a way for content processes to query the chrome side blocklist service. r=billm 2015-05-01 10:07:19 -05:00
Gabor Krizsanits
547a796489 Bug 1101182 - One interpose call for one property access. r=bholley 2015-05-04 08:57:52 +02:00
Carsten "Tomcat" Book
2ce9804c19 Merge mozilla-central to fx-team on a CLOSED TREE 2015-05-08 13:27:09 +02:00
Dave Townsend
236b5ec0ce Bug 1160279: Recreate nsIFiles in the content process for dragged files. r=smaug 2015-05-07 09:13:35 -07:00
André Reinald
fd2edfc0f3 Bug 1075157 - Support action: reset search. r=gfritzsche, r=florian, r=bholley 2015-04-24 17:57:52 +02:00
Carsten "Tomcat" Book
133fb87ea3 Merge mozilla-central to fx-team 2015-05-06 12:08:40 +02:00
Dmitry Sagalovskiy
eeed8ee97c Bug 977586 - omit quotes in top-level strings logged via console.log(), and omit extra spaces when custom styles (%c) are used. r=past,baku 2015-05-04 17:28:25 +02:00
Brad Lassey
c8d6950522 Bug 1146955 - Dispatch PluginCrashed event in content process on GMP crash for PeerConnection. r=jesup.
Original patch by Brad Lassey <blassey@mozilla.com>.
2015-04-27 15:44:36 -04:00
Mike Conley
ead628b6ad Bug 1146955 - Make the GMP pluginID a uint32_t, and dispatch it in the PluginCrashed event. r=jesup r=mrbkap 2015-05-04 15:40:29 -04:00
Mike Conley
ec9f02ed7c Bug 1146955 - Unify pluginID for GMP and runID for NPAPI plugins to use the same internal incrementor. r=jesup, mrbkap. 2015-04-27 15:09:45 -04:00
Tom Schuster
22fcad3421 Bug 1161101 - Use JS_GetOwnPropertyDescriptor instead of GetPropertyDescriptor in dom/bindings. r=bz 2015-05-04 20:27:02 +02:00
Bobby Holley
196450c61a Bug 1159974 - Dispatch SetMinimizePrerollUntilPlabackStarts. r=jww 2015-05-04 11:04:48 -07:00
Bobby Holley
9cd6c4764b Bug 1159974 - Dispatch SetAudioCaptured. r=jww
While we're at it, I figured it was time to experiment with lambdas. :-)
2015-05-04 11:04:47 -07:00
Bobby Holley
c13efb1ed1 Bug 1159974 - Mirror mPreservesPitch. r=jww 2015-05-04 11:04:47 -07:00
Bobby Holley
8d8a3d495f Bug 1159974 - Mirror mPlaybackRate. r=jww 2015-05-04 11:04:46 -07:00
Bobby Holley
f9e6e6e78e Bug 1159974 - Mirror mVolume. r=jww 2015-05-04 11:04:45 -07:00
Bobby Holley
0a70eb650b Bug 1159974 - Assert that we're on the state machine thread for most remaining MDSM methods. r=jww
There are a handful of methods where we can't yet assert this. This bug will
tackle several of them.
2015-05-04 11:04:45 -07:00
Benjamin Chen
3471894ef7 Bug 1140995 - Part 2: Don't send the audio/video data when the EOS flag is raised because the decoded data is invalid. r=cpearce 2015-04-23 14:56:52 +08:00
Benjamin Chen
e187a462a6 Bug 1140995 - Part 1 - At end of stream, send the last video frame to decoded stream with deviation usec if the last video frame's duration is 0. r=jwwang 2015-04-22 18:19:19 +08:00
Maksim Lebedev
e0f61be15a Bug 1137555 - Add implementation of PuppetWidget::GetMaxTouchPoints(). r=smaug, r=jimm 2015-05-08 03:29:00 +02:00
Benjamin Chen
7b4213eada Bug 1153690 - Release the Session and MediaRecorder objects correctly if there is no ExtractRunnable running. r=roc 2015-04-22 15:09:49 +08:00
Tom Tromey
403554c877 Bug 1152033 - Expose CSS lexer to js. r=heycam, r=bz 2015-05-04 10:28:00 -04:00
Ben Kelly
fab38f47a7 Bug 1134671 Keep sqlite connection open between Cache API operations. r=ehsan 2015-05-07 05:16:51 -07:00
Ben Kelly
1081d0c0e6 Bug 1162211 Use sqlite private cache mode in Cache API. r=ehsan 2015-05-07 05:16:51 -07:00
Jean-Yves Avenard
bcba77afa1 Bug 1159579: Make IntervalSet destructor virtual r=mattwoodrow 2015-05-07 21:04:29 +10:00
Paul Adenot
5f45a24f0d Bug 926838 - [Part 6] Unbitrot the build system bits. r=gps 2015-05-04 17:19:03 +02:00
Wes Kocher
536a446c56 Merge m-c to fx-team a=merge 2015-05-14 15:41:56 -07:00
Dave Townsend
cff65d13c0 Bug 1162775: Make contentAreaDropListener use dataTransfer.files to get the files dropped. r=smaug 2015-05-11 11:33:15 -07:00
Ehsan Akhgari
e8240458bc Bug 1148818 - Re-enable the Cache part of test_request_context.html on Android now that it passes 2015-05-06 08:15:24 -04:00
Carsten "Tomcat" Book
deaa322f77 Merge mozilla-central to mozilla-inbound 2015-05-06 12:09:53 +02:00
Andrea Marchesini
ef79c93264 Bug 1161507 - BroadcastChannel should use origin+appId+IsInBrowserElement as key in b2g, r=sicking 2015-05-06 11:07:06 +01:00
Andrea Marchesini
135cda43ff Bug 1151495 - Support permission prompting from workers for IDB, r=bent 2015-05-06 09:07:57 +01:00
Aaron Klotz
a5f6f375fc Bug 1160298: Modify TaskFactory::NewTask to support variadic templates; r=gfritzsche 2015-04-30 14:23:24 -06:00
Kartikaya Gupta
52ac400890 Bug 1161206 - Implement native mousewheel event synthesization on OS X. r=mstange 2015-05-05 14:45:11 -04:00
Boris Zbarsky
2b2824bbc7 Bug 1160628. Speed up the URL constructor in the common case of no base URI. r=baku 2015-05-05 13:38:56 -04:00
Boris Zbarsky
9251502233 Bug 1161036 part 2. Only force-enable dom cache in test_serviceworker_interfaces if we're having to force-enable servicewceworkers too. r=bkelly 2015-05-05 13:38:56 -04:00
Ehsan Akhgari
af7e2c03b6 Bug 1134325 - Part 2: Correctly reflect the Request's body to the service worker's fetch event; r=jdm 2015-05-05 13:20:54 -04:00
Olli Pettay
48c2ccc23f Bug 1158633, if EventStateManager::mGestureDownContent is non-null, so should mGestureDownFrameOwner be, r=enndeakin 2015-05-05 19:25:33 +03:00
Olli Pettay
d7937f8597 Bug 1149555 - Update resize event firing to follow the specs, dispatch right before rAF callbacks, r=dbaron 2015-05-05 17:56:01 +03:00
Tooru Fujisawa
e2afefc421 Bug 1158456 - Remove control characters from composition string, and add dom.compositionevent.allow_control_characters pref to control it. r=masayuki 2015-05-01 13:49:29 +09:00
Bobby Holley
470523cda7 Bug 1160064 - Give WatchManager an owner thread and make sure everything happens there. r=jww 2015-04-30 21:29:50 -07:00
Bobby Holley
5329b57e94 Bug 1160064 - Do watching/mirroring initialization on the state machine task queue. r=jww
We take this as an opportunity to remove connect-during-initialization. Always
connecting from the owner thread feels like a stronger invariant.
2015-04-30 21:29:49 -07:00
Bobby Holley
e4d299cfff Bug 1160064 - Switch mirror/canonical initialization to happen in the constructor. r=jww
The goal here is to hoist all meaningful watcher/mirror/canonical manipulation
onto the owner thread. But since that must necessarily happen asynchronously,
we need to make sure that canonicals are in a sane state immediately upon
creation, since otherwise a mirror from another thread may attempt to connect to
a not-yet-initialized canonical.
2015-04-30 21:29:48 -07:00
Bobby Holley
a927a49fdc Bug 1160064 - Initialize the state machine task queue in the initializer list. r=jww 2015-04-30 21:29:46 -07:00
Bobby Holley
667308db2c Bug 1160064 - Explicitly initialize logging at the right time. r=jww
The patches in this bug can cause us to log things before some of the Ensure*Log
macros are called. Let's just do this right.
2015-04-30 21:29:42 -07:00
Karl Tomlinson
86726091ec bug 1159456 finish and exit from Flush() even if MFTManager rejects sample r=cpearce 2015-04-29 04:36:13 +12:00
Boris Zbarsky
7988a3d75a Bug 1160190. Remove most of the pref annotations in test_interfaces and test_worker_interfaces. r=jst 2015-04-30 23:08:44 -04:00
Chris Double
71487ee163 Bug 1160027 - Move ResourceQueue implementation from header file - r=cpearce 2015-05-01 14:09:22 +12:00
Mike Hommey
b673a97a25 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Nicholas Nethercote
29a54c9b3b Bug 1159972 - Remove the fallible version of PL_DHashTableInit(). r=froydnj.
It's no longer needed now that entry storage isn't allocated there. (The other
possible causes of failures in that function are less interesting and simply
crashing is a reasonable thing to do for them.)

This also makes PL_DNewHashTable() infallible, so I removed some
now-unnecessary checks of its result.
2015-04-29 16:38:29 -07:00
Jeff Gilbert
0a8851abfc Bug 1159034 - Only fake no-alpha for the backbuffer. - r=kamidphish 2015-04-30 17:30:26 -07:00
Wes Kocher
043b79669f Backed out changeset 4d85a02e9c28 (bug 1159743) under suspicion of breaking animation tests CLOSED TREE 2015-04-30 15:25:58 -07:00
Olli Pettay
3c04b86ed7 bug 1160181, don't deal with EventTargets for which a JS wrapper can't be created, rs=froydnj 2015-04-30 18:36:09 +03:00
Boris Zbarsky
bc31ab2d6d Bug 1159755. Stop forcing the media.eme.apiVisible preference to be true in our test harness. r=cpearce 2015-04-30 17:36:50 -04:00
Boris Zbarsky
a0d73db08e Bug 1159756 followup. MediaSource got enabled on b2g since yesterday, apparently, so now we have a CLOSED TREE 2015-04-30 17:33:07 -04:00
Boris Zbarsky
a5388eb5e8 Bug 1154505. Speed up test_bug346659.html by dropping the extra gcs, since the test harness now does a better job of disabling the popup blocker. r=smaug 2015-04-30 16:17:53 -04:00
Bobby Holley
f843c7f96c Bug 1159987 - Let consumers declare Mirror<T> rather than Mirror<T>::Holder. r=jww 2015-04-30 12:46:45 -07:00
Bobby Holley
3f2a3c38e5 Bug 1159987 - Let consumers declare Canonical<T> rather than Canonical<T>::Holder. r=jww
The current mechanism is slightly more pure from an implementation-perspective,
but a lot more confusing for consumers. After some thought, I think we should flip
them around.

This patch does Canonical - I'll do Mirror in the next patch.
2015-04-30 12:46:43 -07:00
Bobby Holley
a7682bd885 Bug 1159558 - Redesign watching to use a manager. r=jww 2015-04-30 12:46:40 -07:00
Bobby Holley
17172980e4 Bug 1159558 - Eliminate initial notifies. r=jww
They've proven themselves to be a hassle, and I think we can live without them.
2015-04-30 12:46:38 -07:00
Ben Turner
1c7d1019ca Bug 1159967 - Handle logging after threads have shut down, r=janv. 2015-04-30 11:59:36 -07:00
Daniel Holbert
22d504ffe5 Bug 1156847 followup: annotate workers helper-class "ScriptLoaderRunnable" OnStartRequest/OnStopRequest as override. rs=ehsan 2015-04-30 11:42:16 -07:00
Jonathan Watt
f1759e35aa Bug 1159053 - Cache SVG getBBox and objectBoundingBox calculations for better performance. r=heycam 2015-04-27 11:15:36 +01:00
Jonathan Watt
42dd00a594 Bug 1159208 - Rename variable to avoid misleading prefix. r=longsonr 2015-04-22 17:14:27 +01:00
Tim Taubert
9298719825 Bug 1160098 - XULElement::LoadSrc() should check whether we successfully created a new frameLoader before trying to call SetIsPrerendered() on it r=smaug 2015-04-30 11:50:39 +02:00
Shawn Huang
86c26c9f52 Bug 1143925 - Restart bluetoothd daemon automatically for API V2. r=tzimmermann 2015-04-30 05:46:00 -04:00
Shawn Huang
9e5573a4a3 Bug 1143925 - Avoid crash for HFP/A2DP manager during restart daemon. r=tzimmermann 2015-04-30 05:14:00 -04:00
Shawn Huang
1333ff302c Bug 1143925 - Restart bluetoothd daemon automatically for V1 API. r=tzimmermann 2015-04-30 05:13:00 -04:00
Samael Wang
23be71ff8d Bug 1044721 - Part 7: Update nsISmsService.idl and ensure the type-of-number and number-plan-identification constants match the corresponding enum in MozMobileMessageManager.webidl. r=btseng 2015-04-29 10:42:58 +08:00
Samael Wang
b7093c8bec Bug 1044721 - Part 6: Add marionette and xpcshell test cases. r=btseng 2015-04-29 10:42:40 +08:00
Samael Wang
6af9b02f50 Bug 1044721 - Part 5: Add dummy implementation for Android backend. r=btseng 2015-04-29 10:42:17 +08:00
Samael Wang
60db15e0e1 Bug 1044721 - Part 4: Update IPC protocols and implementation for setSmscAddress API. r=btseng 2015-04-29 10:42:00 +08:00
Samael Wang
adec782c01 Bug 1044721 - Part 3: Add setSmscAddress implementation for Gonk backend. r=btseng 2015-04-29 10:41:47 +08:00
Samael Wang
bb649cfe0e Bug 1044721 - Part 2: Update nsIMobileMessageCallback interface and implementation to support Promise and setSmscAddress. r=btseng 2015-04-29 10:58:16 +08:00
Samael Wang
58d99ac4d1 Bug 1044721 - Part 1: Add setSmscAddress API in MozMobileMessageManager Web IDL interface, and corresponding implementation in MobileMessageManager class. r=hsinyi 2015-04-29 10:41:05 +08:00
Ryan VanderMeulen
60ffba2a66 Merge inbound to m-c. a=merge 2015-04-30 13:56:09 -04:00
Brian Birtles
fb73e3f8ee Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly. r=smaug 2015-04-30 09:06:43 -04:00
Thomas Zimmermann
80b0466f0f Bug 1159709: Cleanup inherited methods of BlueZ's |BluetoothSocket|, r=kmachulis
This patch cleans up the inherited methods of BlueZ's |BluetooothSocket|.
Methods of the same base class are grouped within the file, and each
method is labeled with 'override'.
2015-04-30 12:55:37 +02:00
Thomas Zimmermann
6dc603ac21 Bug 1159709: Cleanup inherited methods of Bluedroid's |BluetoothSocket|, r=kmachulis
This patch cleans up the inherited methods of Bluedroid's
|BluetooothSocket|. Methods of the same base class are grouped
within the file, and each method is labeled with 'override'.
2015-04-30 12:55:37 +02:00
Thomas Zimmermann
d3fc99267d Bug 1159709: Inherit |BluetoothDaemonConnection| from |DataSocket|, r=kmachulis
|BluetoothDaemonConnection| sends and receives data. With this patch
it inherits from |DataSocket|, which provides the respective abstract
interfaces.
2015-04-30 12:55:37 +02:00
Thomas Zimmermann
372bda2fcb Bug 1158818: Only store Bluetooth result runnable after command has been sent successfully, r=shuang
With the current code, the Bluetooth result runnable is saved for
receiving before a command has been sent successfully. If sending
fails afterwards, the saved result runnable will still sit in the
result queue, and interfere with later, successful commands.

With this patch, the result runnable is saved only if the sending
was successful.
2015-04-30 11:29:25 +02:00
Thomas Zimmermann
b3af1051a9 Bug 1159209: Remove template parameters from |DataSocketIO|, r=kmachulis
This patch removes the template parameters from |DataSocketIO| and
moves its methods into the C++ source file. All users have been
adapted.
2015-04-29 11:19:28 +02:00
Thomas Zimmermann
a076ff736c Bug 1159209: Remove template parameters from |SocketIOShutdownTask|, r=kmachulis
This patch removes the template parameters from |SocketIOShutdownTask|
and moves its methods into the C++ source file. All users have been
adapted.
2015-04-29 11:19:28 +02:00
Thomas Zimmermann
2aac7d4aa4 Bug 1159209: Remove template parameters from |SocketIORequestClosingRunnable|, r=kmachulis
This patch removes the template parameters from
|SocketIORequestClosingRunnable| and moves its methods into
the C++ source file. All users have been adapted.
2015-04-29 11:19:28 +02:00
Thomas Zimmermann
a780955c3e Bug 1159209: Remove template parameters from |SocketIOEventRunnable|, r=kmachulis
This patch removes the template parameters from |SocketIOEventRunnable|
and moves its methods into the C++ source file. All users have been
adapted.
2015-04-29 11:19:28 +02:00
Carsten "Tomcat" Book
5791ead1d5 Backed out changeset 1b5fc672f0d4 (bug 1159082) for B2G ICS Emulator opt R6 test failures on a CLOSED TREE 2015-04-30 13:15:04 +02:00
Carsten "Tomcat" Book
a729e93945 Backed out changeset 850cfa6fb794 (bug 1158456) for m-other test failures on a CLOSED TREE 2015-04-30 12:54:06 +02:00
Chris Pearce
b332ab98b5 Bug 1159495 - Only report that Adobe EME is available if we have a plugin-container voucher. r=edwin 2015-04-30 21:52:14 +12:00
Chris Pearce
1572b8b915 Bug 1159495 - Only report Adobe EME supported if required WMF codecs are installed. r=edwin 2015-04-30 21:52:01 +12:00
Chris Pearce
ddabbf4427 Bug 1159300 - Change GMP RemoveAndDeleteDeferredInUse test to ask for an EME plugin. r=edwin 2015-04-30 21:13:48 +12:00
Randell Jesup
273314247a Bug 1159300: Add a clone of gmp-fake that doesn't do decryption r=glandium,cpearce 2015-04-30 00:52:26 -04:00
Edwin Flores
077c80edae Bug 1159300 - Don't use decrypting Gecko Media Plugins for non-encrypted playback - r=cpearce 2015-04-30 00:52:29 -04:00
Kevin Chen
54c5006402 Bug 1097479 - Allow nested content process to embed apps and add a nested pref check function. r=kanru 2015-04-29 03:48:00 +02:00
Blake Wu
b930aff62b Bug 1147304 - Send codec specific data for MPEG4 codec type only. r=jya 2015-04-28 16:08:00 +08:00
Ben Tian
d91b52d14a Bug 1158081 - Patch (2/2): Simplify |BluetoothOppManager::SendObexData| function, r=tzimmermann 2015-04-28 11:12:35 +08:00
Ben Tian
836278fd4d Bug 1158081 - Patch (1/2): Define macro to declare SocketObserver functions, r=tzimmermann 2015-04-28 11:12:13 +08:00
Wes Kocher
c793bf091f Merge fx-team to m-c a=merge CLOSED TREE 2015-04-29 16:46:00 -07:00
Wes Kocher
c35037aa7f Merge inbound to m-c a=merge CLOSED TREE 2015-04-29 16:43:32 -07:00
Ben Kelly
74de9be442 Bug 1154325 P2 Use Blobs for CacheStorage keys to avoid encoding issues. r=ehsan 2015-04-29 09:03:15 -07:00
Ben Kelly
98b548236d Bug 1120501 P2 Move Cache Add/AddAll logic to child process. r=ehsan,smaug 2015-04-29 08:59:43 -07:00
Ben Kelly
ec25f51dcd Bug 1120501 P1 Make it easier to use Promise::All() from C++ code. r=nsm 2015-04-29 08:59:43 -07:00
James Willcox
7f9a166b76 Bug 1153803 - Don't try to test canPlayType() with mp3 and OmxPlugin r=ajones 2015-04-29 10:38:06 -05:00
Sotaro Ikeda
36b10671a5 Bug 1158293 - Fix ResumeStateMachine()'s seek handling r=cpearce 2015-04-29 08:36:49 -07:00
Tooru Fujisawa
4397f3f321 Bug 1102219 - Part 5: Replace more String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
ziyunfei
a2bb96ff77 Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Sotaro Ikeda
d182e25ae8 Bug 1158307 - Add Shutdown checks r=cpearce 2015-04-29 07:55:21 -07:00
Carsten "Tomcat" Book
86f8743c94 Backed out changeset 61b5398161f3 (bug 1129040) 2015-04-29 16:51:40 +02:00
Carsten "Tomcat" Book
e938da1526 Backed out changeset a7aab0099e9e (bug 1129040) 2015-04-29 16:51:32 +02:00
Carsten "Tomcat" Book
25f8b0c5a7 Backed out changeset e3864c540bed (bug 1159495) for breaking Nexus Builds 2015-04-29 16:41:54 +02:00
Carsten "Tomcat" Book
0c0b53d5e7 Backed out changeset cb9c0ddc2e22 (bug 1159495) 2015-04-29 16:41:03 +02:00
Olli Pettay
75b4afa325 Bug 524674, nsIEventListenerService: tracking of dynamically added and removed event listeners, r=masayuki 2015-04-28 23:10:05 +03:00
Roger Yang
f0087f9693 Bug 1129051 - Fix double free in Camera Control Listener. Fix webrtc memory leak. r=aosmond 2015-04-28 16:08:40 -04:00
Ryan VanderMeulen
018e6f3019 Merge m-c to b2g-inbound. a=merge 2015-04-28 15:40:15 -04:00
Ryan VanderMeulen
bef4ad5b4d Merge inbound to m-c. a=merge 2015-04-28 15:27:26 -04:00
Ehsan Akhgari
9d9f6cdd75 Debugging patch for bug 1157901 2015-04-29 08:31:29 -04:00
Jim Mathies
817bf2b86b Bug 1129040 - Query the chrome process blocklist service prior to instantiating plugins in the content process. r=billm 2015-04-29 06:33:10 -05:00
Jim Mathies
3dbd3eb599 Bug 1129040 - Provide a way for content processes to query the chrome side blocklist service. r=billm 2015-04-29 06:33:09 -05:00
Hayden Huang
f1b7222724 Bug 1154665 - Part 2. Testcase against gps parameter. r=aosmond 2015-04-28 13:08:27 -04:00
Hayden Huang
3e96c0bd0b Bug 1154665 - Part 1. Provide gps processing data to avoid setParameters fail. r=aosmond 2015-04-28 13:08:24 -04:00
Sotaro Ikeda
ac45200f1f Bug 1158692 - Change omx AudioSink to GonkAudioSink r=cpearce 2015-04-28 06:50:59 -07:00
Paul Adenot
1596115636 Bug 1157986 - Remove assert in GraphStartedNotificationControlMessage::RunDuringShutdown r=roc
This is a copy/paste issue from AudioContextOperationControlMessage.

Also, until we have audio output device enumaration APIs in cubeb, we can't detect
this situation, so we have to make the code not crash. cubeb will have such API
as part of bug 1142613.
2015-04-29 11:02:59 +02:00
Paul Adenot
0449bf6ea9 Bug 1157994 - Ensure AudioContext operations are started and resolved in the same order. r=roc 2015-04-29 11:02:57 +02:00
Paul Adenot
d6293f5c09 Bug 1158427 - r=roc 2015-04-29 11:02:55 +02:00
Tom Schuster
883c729e3a Bug 1159347 - Make BaseProxyHandler::getPropertyDescriptor not-pure virtual. r=efaust 2015-04-29 10:47:48 +02:00
Carsten "Tomcat" Book
8c28670b1b Backed out changeset ab1ff31a82ae (bug 1159300) for m3 test failures on a CLOSED TREE 2015-04-29 09:57:36 +02:00
Carsten "Tomcat" Book
ccb1bb7eed Backed out changeset 0efce0a97efe (bug 1159310) for xpc bustage on a CLOSED TREE 2015-04-29 09:53:02 +02:00
Bobby Holley
12d325cdbe Bug 1157476 - Remove synchronous dispatch in AndroidMediaResourceServer::Start. r=cajbir 2015-04-28 23:45:59 -07:00
Bobby Holley
e33c8bb71b Bug 1158226 - Eagerly compute keyframe-ness and stash it on the packet holder. r=kinetik 2015-04-28 23:42:51 -07:00
Bobby Holley
33b6930bd8 Bug 1158226 - Separate packet demuxing from the higher-level track-sorting logic. r=kinetik 2015-04-28 23:42:50 -07:00
Bobby Holley
d44cb1cab5 Bug 1158226 - Use NesteggPacketHolder::Timestamp to simplify code. r=kinetik 2015-04-28 23:42:49 -07:00
Bobby Holley
27bd424f8c Bug 1158226 - Store timestamps on the NesteggPacketHolder. r=kinetik 2015-04-28 23:42:49 -07:00
Bob Owen
e32b3278e3 Bug 1156059 Part 2: Ensure that META REFRESH is blocked by iframe sandbox. r=bz 2015-04-29 07:28:17 +01:00
Bob Owen
73257773c8 Bug 1156059 Part 1: Ignore META REFRESH when document is sandboxed from automatic features. r=bz 2015-04-29 07:28:17 +01:00
Marco Bonardo
ae5d19a3b6 Bug 1154877 - Content process shouldn't use the Places Database. r=billm 2015-04-29 10:57:24 +02:00
Edwin Flores
4716fe193c Bug 1159300 - Don't use decrypting Gecko Media Plugins for non-encrypted playback - r=cpearce 2015-04-29 17:23:11 +12:00
JW Wang
f4b987f47e Bug 1159162 - Remove unnecessary testing prefs from media mochitests for they are defined in testing/profiles/prefs_general.js. r=kinetik. 2015-04-29 10:22:15 +08:00
JW Wang
b6027669b0 Bug 1159144 - check (-1, -1) for invalid video size. r=jya. 2015-04-29 09:56:03 +08:00
JW Wang
2572986f17 Bug 752796 - longer timeout on slow platforms. r=cpearce. 2015-04-29 09:55:15 +08:00
Bobby Holley
4fd439f836 Bug 1157803 - Mirror mPlayState and mNextState to the state machine task queue and eliminate cross-thread access. r=jww 2015-04-28 21:56:20 -07:00
Bobby Holley
ebab4bef8e Bug 1157803 - Clean up Canonical assigment to avoid accidentally tripping the default operator= implementation. r=jww 2015-04-28 21:56:20 -07:00
Bobby Holley
365a923d1d Bug 1157803 - Const-correct some methods. r=jww 2015-04-28 21:56:19 -07:00
Bobby Holley
b0378039c3 Bug 1157803 - Don't auto-disconnect mirrors when the holder is destroyed off-owner-thread. r=jww
Another consequence of the MDSM's thread model.
2015-04-28 21:56:19 -07:00
Bobby Holley
b7d2112d71 Bug 1157803 - Support connect-during-initialization for mirrors. r=jww
The MDSM is constructed and destroyed on the main thread, but runs most
everything else on the task queue. So we need to bend the rules a bit here
to conveniently connect its mirrors during construction.
2015-04-28 21:56:18 -07:00
Bobby Holley
b065ae77f7 Bug 1157803 - Loosen dispatch requirements for state mirroring. r=jww 2015-04-28 21:56:18 -07:00
Bobby Holley
32b622ef5b Bug 1157803 - Add an extra assertion to MediaTaskQueue::BeginShutdown. r=jww 2015-04-28 21:56:17 -07:00
Chris Pearce
c628a266ee Bug 1159495 - Only report that Adobe EME is available if we have a plugin-container voucher. r=edwin 2015-04-29 16:47:37 +12:00
Chris Pearce
d658e1fcb4 Bug 1159495 - Only report Adobe EME supported if required WMF codecs are installed. r=edwin 2015-04-29 16:47:14 +12:00
Cameron McCormack
e4451c3407 Bug 1157150 - Add nsDOMWindowUtils.postRestyleSelfEvent method, for use in tests. r=smaug 2015-04-29 14:47:14 +10:00
Doug Turner
8a5c7f847d Bug 1159310 - Remember the push count and last push time for
push events. r=kit
2015-04-28 09:40:57 -07:00
Wes Kocher
4a6ee798ed Backed out changeset d53d91a3fae7 (bug 1155547) for b2g xpcshell orange CLOSED TREE 2015-04-28 13:40:49 -07:00
Ryan VanderMeulen
e3a7d0bdf9 Merge m-c to inbound. a=merge
CLOSED TREE
2015-04-28 16:03:15 -04:00
Doug Turner
6533fae7cc Bug 1149271 - Remove subscriptionid. r=baku 2015-04-26 03:59:38 -07:00
Jed Davis
5cf29d8289 Bug 1151597 - Step 1: Change memory reporting IPC to send one report per message. r=erahm
Also fixes bug 1005154 -- since there's now a method for "end of report",
we might as well call it from ActorDestroy instead of Recv__delete__.
2015-04-27 15:45:00 -04:00
Jed Davis
d0140963db Bug 1151597 - Step 0: Move IPC memory report generation number to parent-side actor. r=erahm
Preliminary cleanup before the main patch.  There's no reason for the
child to send the generation number back to the parent when the parent
already had it; the IPDL actor abstraction will ensure that the binding
between parent-side state and child-side state is maintained.
2015-04-27 15:44:00 -04:00
Aaron Klotz
2cdd852231 Bug 1156800: Post a task to send async NPP_New result from child to parent; r=jimm 2015-04-27 16:07:28 -06:00
Boris Zbarsky
b09b314191 Bug 1157588. Produce a better error message when someone tries to pass a mixin as an argument. r=peterv 2015-04-28 12:25:55 -04:00
Boris Zbarsky
f3b244998d Bug 1155946 part 2. Add mayResolve methods to DOM classes with resolve hooks. r=peterv 2015-04-28 12:25:55 -04:00
Chih-Kai (Patrick) Wang
50ecfe807c Bug 1155547 - Wait Nuwa forking a process if preallocated process isn't present. r=khuey 2015-04-29 00:22:44 +08:00
Bobby Holley
a914f9896b Bug 1158916 - Revert change to NotifyDataArrived. r=me 2015-04-28 09:21:48 -07:00
Dan Glastonbury
5a86e65b92 Bug 1156980 - Validate target in ImageData variants of TexImage2D/TexSubImage2D. r=jgilbert 2015-04-22 23:39:00 +02:00
Andreas Pehrson
9acf1ac9a5 Bug 1157701 - Properly remove usage of Array.prototype.includes(). r=jib 2015-04-28 21:24:00 +02:00
Andrea Marchesini
d9fbccd0df Bug 1159290 - "Add final/override to WebAudio classes". r=padenot 2015-04-28 08:42:00 +02:00
Tooru Fujisawa
3429d1bf2a Bug 1158456 - Remove control characters from composition string, and add dom.compositionevent.allow_control_characters pref to control it. r=masayuki 2015-04-30 17:23:31 +09:00
Valentin Gosu
5477ae6666 Bug 1158868 - PeerConnection should not depend on navigator.onLine r=jesup 2015-04-28 18:29:57 +03:00
Bevis Tseng
2ff7fb2cbf Bug 1155142 - Part 2: Refactor RIL-related Modules. r=kchen 2015-04-17 19:06:24 +08:00
Bevis Tseng
7c589ce5f6 Bug 1155142 - Part 1: Move All IccInfo-related Implementation to IccService to deprecate rilContext. r=echen 2015-04-17 19:03:46 +08:00
Alastor Wu
505b52d53b Bug 1151499 - Correct the FM playable state. r=baku 2015-04-23 19:32:29 +08:00
Jocelyn Liu
5cbad14a13 Bug 1138267 - Unregister bluetooth signal handlers in unlink. r=shuang, r=bz
Without unregistering the bluetooth signal handler when a object unlinked, we
might end up exposing a deleted object to JS or accessing deleted objects while
receiving signals from parent process.

This patch unregister signal handlers in unlink for each Bluetooth* classes
which registers signal handlers. And also checks if the signal handler is not
unregistered before handling signals in content process.
2015-04-27 22:46:00 -04:00
Carsten "Tomcat" Book
724cdab90c Merge mozilla-central to b2g-inbound 2015-04-28 14:05:17 +02:00
Thomas Zimmermann
71aaba0c24 Bug 1158876: Move |DataSocket::ReceiveSocketData| into sub classes, r=kmachulis
|ReceiveSocketData| receives socket data on the main thread. This
is a specific detail of the current socket classes, which should not
be required by future implementations.

This patch moves the receive method and the corresponding runnable
into socket classes.
2015-04-28 10:18:13 +02:00
Thomas Zimmermann
358002fcbd Bug 1158876: Move management of socket I/O buffers into socket I/O classes, r=kmachulis
This patch moves management of received socket I/O buffers from
|DataSocketIO| into the I/O classes. Each I/O class is responsible
for (de-)allocating buffers, and consuming them once data has been
received.

All current I/O classes forward their buffers to the main thread,
but other operations are possible. For example, received data can
be parsed and processed directly in the I/O thread.
2015-04-28 10:18:13 +02:00
Thomas Zimmermann
f1427ebbb7 Bug 1158876: Rename |SocketConsumerBase| to |DataSocket|, r=kmachulis
This patch renames |SocketConsumerBase| to |DataSocket|, and for the
I/O classes |SocketConsumerIO| to |DataSocketIO|. |DataSocketIO| also
contains send and receive functionality from |SocketBaseIO|.

|DataSocket| is a virtual base class that represents a socket that
transfers data, without a particular constraints to what the data
represents. |DataSocketIO| is the corresponding helper class on the
I/O thread.
2015-04-28 10:18:12 +02:00
Ryan VanderMeulen
41cb4ae5ac Merge inbound to m-c. a=merge 2015-04-27 15:13:19 -04:00
Carsten "Tomcat" Book
10699038cd Backed out changeset e0b9c334c95a (bug 1138294) for frequent linux m3 test failures on a CLOSED TREE 2015-04-27 17:47:08 +02:00
Carsten "Tomcat" Book
c30cc836f0 Backed out changeset 3f1afabc2aae (bug 1138294) 2015-04-27 17:46:34 +02:00
Carsten "Tomcat" Book
fc8277f379 Backed out changeset 0c505784e8f6 (bug 1138294) 2015-04-27 17:46:29 +02:00
Carsten "Tomcat" Book
56e8bb249e Backed out changeset 1c0861d7a645 (bug 1138294) 2015-04-27 17:46:24 +02:00
Nathan Froyd
6460d3e650 Bug 1158320 - rename nsThread::mRunningEvent to mNestedEventLoopDepth; r=bsmedberg
The current name reads to me like a boolean variable, even though it's
actually a counter.  Try to make that property more explicit at its uses
by renaming it to something more evocative of counter-ness.
2015-04-24 16:04:50 -04:00
Samael Wang
f0f05ba6be Bug 1147305 - Map settings "mms.debugging.enabled" to preference. r=btseng 2015-04-27 11:46:26 +08:00