Commit Graph

45836 Commits

Author SHA1 Message Date
Andrea Marchesini
7271d1d622 Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu 2015-12-11 11:17:33 -05:00
Carsten "Tomcat" Book
8c8e1c0526 Merge mozilla-central to mozilla-inbound 2015-12-11 11:42:10 +01:00
Carsten "Tomcat" Book
b25476080d merge mozilla-inbound to mozilla-central a=merge 2015-12-11 11:38:17 +01:00
Phil Ringnalda
45242f7699 Back out 4 changesets (bug 1229987) for ASan e10s timeout in test_playback.html, Mac timeouts in test_BufferingWait_mp4.html, and Win8 failures in test_WaitingToEndedTransition_mp4.html
Backed out changeset 707a87454058 (bug 1229987)
Backed out changeset 37003d495f20 (bug 1229987)
Backed out changeset c8f4e1eaf884 (bug 1229987)
Backed out changeset 42ca05d8546d (bug 1229987)
2015-12-10 23:10:20 -08:00
Masayuki Nakano
4d21fa83d0 Bug 1179632 part.6 KeyboardEvent.isComposing shouldn't expose IME state on different document r=smaug 2015-12-04 18:50:43 +09:00
Masayuki Nakano
3d27dcecfa Bug 1179632 part.5 WidgetCompositionEvent::mNativeIMEContext should be used at looking for a TextComposition instance for a WidgetCompositionEvent r=smaug 2015-12-04 18:50:34 +09:00
Masayuki Nakano
6a05ca7e0d Bug 1179632 part.4 Clean up the code to request IME to commit composition across process boundary r=smaug 2015-12-11 15:15:58 +09:00
Masayuki Nakano
618611d2c2 Bug 1179632 part.3 TabParent::RecvEndIMEComposition() shouldn't return true with aNoCompositionEvent when there is no widget r=smaug 2015-12-04 18:38:28 +09:00
Masayuki Nakano
da7a2f4f8d Bug 1179632 part.2 WidgetCompositionEvent should store NativeIMEContext which caused the event and PuppetWidget should store it for GetNativeIMEContext() r=smaug, sr=smaug 2015-12-11 15:15:57 +09:00
Masayuki Nakano
6cad726628 Bug 1179632 part.1 native IME context should not be stored in InputContext but should be able to retrieve with nsIWidget::GetNativeData() r=smaug 2015-12-11 15:15:57 +09:00
Phil Ringnalda
9229dc1d27 Back out 13 changesets (bug 1226443, bug 1227015) for a variety of serviceworker web-platform-test failures
CLOSED TREE

Backed out changeset d518261eb3b1 (bug 1226443)
Backed out changeset a7def186c1d3 (bug 1226443)
Backed out changeset e2f21ee1cd4c (bug 1226443)
Backed out changeset 8c4aff8bbfaf (bug 1226443)
Backed out changeset 4c85bf5e9bf5 (bug 1226443)
Backed out changeset 8fbc71a2912a (bug 1227015)
Backed out changeset 00ac71165014 (bug 1227015)
Backed out changeset e261f601b14d (bug 1227015)
Backed out changeset 78896c0bcb95 (bug 1227015)
Backed out changeset 244093d57c03 (bug 1227015)
Backed out changeset 03abf4d48e38 (bug 1227015)
Backed out changeset 2090c1e30933 (bug 1227015)
Backed out changeset 84e011be4e35 (bug 1227015)
2015-12-10 18:49:48 -08:00
Phil Ringnalda
ef25b0a2b7 Back out 5a889d2cc25b (bug 1230428) for Windows 7 failures in 1230428.html
CLOSED TREE
2015-12-10 18:45:07 -08:00
Bob Owen
cb3fdf73ba Bug 1217185: To allow for sandboxing, use null HWNDs when creating the D3D device for video decoding. r=mattwoodrow 2015-12-11 01:23:00 +00:00
Ben Kelly
48021845a7 Bug 1226443 P5 Always use first scheduled update timer instead of rescheduling on new events. r=ehsan 2015-12-10 18:08:14 -05:00
Ben Kelly
04ebcb1626 Bug 1226443 P4 Cleanup ServiceWorkerScriptCache objects when initialization fails. r=ehsan 2015-12-10 18:08:14 -05:00
Ben Kelly
33b46308aa Bug 1226443 P2 Make service worker fetch and functional events used scheduled timer updates. r=ehsan 2015-12-10 18:08:14 -05:00
Ben Kelly
7c8d5aa8c3 Bug 1226443 P1 Add a timer based mechanism for firing service worker updates. r=ehsan 2015-12-10 18:08:14 -05:00
Ben Kelly
1caaf57e47 Bug 1227015 P7 Supress unused ErrorResult exception if the worker runnable failed to dispatch. r=catalinb 2015-12-10 18:08:14 -05:00
Ben Kelly
e591e4d6d5 Bug 1227015 P6 Abort updates if the script spec has changed. r=ehsan 2015-12-10 18:08:14 -05:00
Ben Kelly
5488438bfc Bug 1227015 P5 Remove ServiceWorkerRegistrationInfo mScriptSpec. r=ehsan 2015-12-10 18:08:13 -05:00
Ben Kelly
e1a8ce4de7 Bug 1227015 P4 Make register job always require an explicit script spec. r=ehsan 2015-12-10 18:08:13 -05:00
Ben Kelly
54ff721dfe Bug 1227015 P3 Require a script spec on install jobs. r=ehsan 2015-12-10 18:08:13 -05:00
Ben Kelly
07fda7bc97 Bug 1227015 P2 Move mScriptSpec from registration job into script job base. r=ehsan 2015-12-10 18:08:13 -05:00
Ben Kelly
5a2acd2b46 Bug 1227015 P1 Create ServiceWorkerScriptJobBase as parent class to register and install jobs. r=ehsan 2015-12-10 18:08:13 -05:00
Blake Kaplan
4093ae92b1 Bug 1231695 - Don't use contentWindow on remote browsers. r=mccr8 2015-12-10 16:50:58 -05:00
Gijs Kruitbosch
297357597f Bug 1224605 - also show the OSK when tapping in focused inputs, r=masayuki
--HG--
extra : commitid : Dk5EQ4MMs4X
extra : rebase_source : 3bfa3f930a95904d2b179b58f3735f2e1cae1dc0
2015-12-08 09:56:27 -05:00
Jan de Mooij
1762bca503 Bug 1225396 part 4 - Remove @@iterator workaround in Codegen.py. r=bz 2015-12-09 22:56:17 -05:00
Phil Ringnalda
631f58c4f9 Back out 3 changesets (bug 1214148) for b2g test_browserElement_inproc_AudioPlayback.html, test_browserElement_oop_AudioChannel.html, etc. failures
CLOSED TREE

Backed out changeset e716d9ac93d7 (bug 1214148)
Backed out changeset 5f693237c8c1 (bug 1214148)
Backed out changeset 3a4865d79416 (bug 1214148)
2015-12-09 18:19:33 -08:00
Ben Kelly
3e447dafea Bug 1229970 Abort script loading start requests if a load has been canceled. r=khuey 2015-12-09 18:21:00 -05:00
Kartikaya Gupta
e0c2c8e4f0 Bug 1228597 - Clean up code paths that (un)apply a pres shell resolution. r=tn,botond
A clear separation is introduced between paths that deal with a root
document resolution (at the process boundary in e10s setups) and paths
that deal with a non-root document resolution (elsewhere in Layout code).

This allows both code paths to run on all platforms.

--HG--
extra : source : 22bf09630803392dba3052a3f79691475af0c5e2
2015-11-30 19:13:20 -05:00
Botond Ballo
1cb64f6960 Bug 1228597 - Remove the MOZ_SINGLE_PROCESS_APZ define. r=tn
Code previously guarded by this (added in bug 1224015) will now run
unconditionally.

--HG--
extra : source : ce0f51f55572334002ddf1878db447540d4c9b82
2015-11-27 21:39:07 -05:00
David Anderson
d8db9b6470 Add Telemetry for the drawing models that plugins use. (bug 1229961 part 1, r=aklotz,vladan)
--HG--
extra : rebase_source : 235694f543026a0b55d8ed65bb1489a3cf97b04d
2015-12-10 13:16:30 -08:00
Boris Zbarsky
a67ee2ad2f Bug 1230698. Make NS_CreateJSTimeoutHandler with a string propagate out exceptions from the nsJSScriptTimeoutHandler constructor if they happen. r=peterv 2015-12-10 16:14:10 -05:00
Blake Kaplan
8dfc60e1e7 Bug 1225829 - Use a temporary string to avoid string type confusion via references. r=jimm 2015-12-10 15:31:17 -05:00
Jean-Yves Avenard
ad5e2f804f Bug 1230527: P2. Add mochitest. r=jwwang
It's also another way to check for 1130237: we make sure that seeking starts after playback when we have a gap at the beginning of the data
2015-12-10 14:08:06 -05:00
Jean-Yves Avenard
9621f06057 Bug 1230527: P1. Ensure seeked event is fired prior loadeddata. r=jwwang 2015-12-10 14:08:05 -05:00
Makoto Kato
6580374e9a Bug 1230428 - Part 2. Add crashtest. r=eeejay 2015-12-10 13:46:46 -05:00
Makoto Kato
2f8f4466aa Bug 1230428 - Part 1. Check mTask since end event is posted asynchronized. r=eeejay 2015-12-10 13:45:26 -05:00
Jean-Yves Avenard
b8bef7f3f2 Bug 1229987: P4. Stop pre-rolling when encountering WAITING_FOR_DATA. r=cpearce
This allows to start displaying frames even when we have less than 5 frames.
2015-12-10 12:17:29 -05:00
Jean-Yves Avenard
ce54507b17 Bug 1229987: P3. Update mochitests and add new one verifying behavior. r=cpearce 2015-12-10 12:17:26 -05:00
Jean-Yves Avenard
085e65d064 Bug 1229987: P2. Drain decoder when encountering gap. r=cpearce
This allows for all buffered frames to be playable.
2015-12-10 12:17:25 -05:00
Jean-Yves Avenard
18c2b9cb12 Bug 1229987: [MSE] P1. Ensure next random access point properly calculated after seek. r=gerald
When seeking, the next keyframe time would always be set to the seek time (as the next sample to be retrieved would be a keyframe). This could lead to the next key frame logic to be activated too aggressively.
2015-12-10 12:17:25 -05:00
Chris Pearce
f51937602c Bug 1230295 - Add telemetry to report when Ogg chaining is used. r=rillian,r=vladan 2015-12-10 12:10:41 -05:00
Michael Layzell
316de91dc0 Bug 1231193 - Restore the onselectionchange property to the document object, r=ehsan 2015-12-10 11:48:05 -05:00
Carsten "Tomcat" Book
8431613ae5 Backed out changeset bcb4ebf6ffac (bug 1198459) for bustage 2015-12-10 11:14:27 +01:00
Fischer Liu
15acb7cf77 Bug 1230091 - ReferenceError on using not defined aApp variable in OfflineCacheInstaller.jsm, r=fabrice 2015-12-09 13:57:00 +01:00
Alastor Wu
4b8677c514 Bug 1228559 - get MSG by audio channel type. r=roc
--HG--
extra : transplant_source : %0Fe%B6%D5%BA6%88%A0Y%8A%5D%9C%9E%B5%A9%20%EC%A1%24n
2015-12-02 07:36:42 -05:00
Jim Mathies
33f95db847 Bug 1198459 - Prevent accessibility from initializing in content processes when e10s is running. r=tbsaunde
--HG--
extra : transplant_source : %BA%D2uF7%D5%C1jg%0E%BA%9B%84u%3D%10n%C0%93%8B
2015-12-09 08:35:06 -05:00
peter chang
877c081880 Bug 1018527 - test for clearRect API with input in double precision, r=jmuizelaar 2015-12-09 01:09:00 +01:00
peter chang
e0b4369755 Bug 1018527 - bypass canvas API calls when inputs are out of float precision, r=jmuizelaar 2015-12-09 01:08:00 +01:00
Andrea Marchesini
1b682e94be Bug 1214148 - patch 3 - correct window for nested iframes, r=alwu 2015-12-09 16:46:25 -05:00
Andrea Marchesini
4ddcd9bade Bug 1214148 - patch 2 - from toplevel iframe to the nested iframe, r=alwu 2015-12-09 16:46:25 -05:00
Andrea Marchesini
f342b66a2e Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu 2015-12-09 16:46:25 -05:00
Andrea Marchesini
32580a380e Bug 1231100 - Get rid of nsIDOMFileReader - patch 2, r=sicking 2015-12-09 15:52:38 -05:00
Andrea Marchesini
c2230f21f8 Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking 2015-12-09 15:52:15 -05:00
Brian Birtles
c70be15294 Bug 1230056 part 1 - Add EffectCompositor::HasAnimationsForCompositor; r=dholbert 2015-12-09 16:28:10 -05:00
Kyle Machulis
7c9986e33b Bug 1221448 - Leak instead of crashing on off-main-thread NPAPI _releaseobject; r=jandem r=jst r=bsmedberg 2015-12-09 07:59:39 -08:00
Jean-Yves Avenard
e786add25c Bug 1130237: [MSE] P3. Add mochitest testing behavior. r=gerald
We load data from [2ish, 4] and ensure that playback didn't start before data [0, 2ish] is loaded.
2015-12-09 09:55:37 -05:00
Carsten "Tomcat" Book
ce725e397c Merge mozilla-central to mozilla-inbound 2015-12-09 12:27:47 +01:00
Andrea Marchesini
519ac75376 Bug 1231094 - patch 2 - Get rid of FileIOObject, r=sicking 2015-12-09 06:23:16 -05:00
Andrea Marchesini
f503703375 Bug 1231094 - patch 1 - nsDOMFileReader to mozilla::dom::FileReader, r=sicking
--HG--
rename : dom/base/nsDOMFileReader.cpp => dom/base/FileReader.cpp
rename : dom/base/nsDOMFileReader.h => dom/base/FileReader.h
2015-12-09 06:22:40 -05:00
Carsten "Tomcat" Book
0eda110956 merge mozilla-inbound to mozilla-central a=merge 2015-12-09 12:02:12 +01:00
Mike Hommey
158e08c29b Bug 1230355 - Remove include_deps. r=mshal
We used to use include_deps to trigger a fast-path in pymake, but we don't
use pymake anymore, so we can use normal includes now.
2015-12-09 19:23:53 +09:00
Phil Ringnalda
9af3731499 Back out 7 changesets (bug 1227015) for serviceworker bustage
CLOSED TREE

Backed out changeset a267542e8cb7 (bug 1227015)
Backed out changeset 03c28b711e1f (bug 1227015)
Backed out changeset 5fc6fca28ddf (bug 1227015)
Backed out changeset 7fb0c56916d2 (bug 1227015)
Backed out changeset 4bef51e9c8ae (bug 1227015)
Backed out changeset c46b5abddec5 (bug 1227015)
Backed out changeset fb4554bd3bde (bug 1227015)
2015-12-08 20:37:16 -08:00
Bogdan Postelnicu
ac6c0718c7 Bug 1231124 - addded mCurve to constructor. r=smaug 2015-12-09 00:00:00 +01:00
Ben Kelly
9227b3237b Bug 1227015 P7 Supress unused ErrorResult exception if the worker runnable failed to dispatch. r=catalinb 2015-12-08 17:52:16 -05:00
Ben Kelly
0698a4728b Back out rev 4faa4cf68052 (bug 1227015 P7) for bustage 2015-12-08 17:49:05 -05:00
Reuben Morais
b51e2336d8 Bug 1212679 - Handle KitKat default messaging app intents. r=fabrice r=snorp 2015-12-08 14:43:09 -05:00
Bogdan Postelnicu
a32d8ac57a Bug 1231107 - add an assert on animationProperty. r=heycam 2015-12-08 05:13:00 +01:00
Salah
158db1411f Bug 1222079. Fix the behavior of Object.getOwnPropertyNames for nsDOMAttributeMap. r=bzbarsky 2015-12-07 18:42:36 -05:00
Boris Zbarsky
602de001f4 Bug 1230692. Fix WebAudioDecodeJob to properly suppress exceptions from its callbacks. r=ehsan 2015-12-07 18:42:11 -05:00
Boris Zbarsky
0ad0a0ccb7 Bug 1230700. Make Notification::ShowInternal explicitly suppress the exception from GetPermissionInternal. r=smaug 2015-12-07 18:41:59 -05:00
Boris Zbarsky
a999ef253a Bug 1230704. Change AbortablePromise::DoAbort to not worry about the result of calling its callback. r=smaug 2015-12-07 18:41:41 -05:00
Nicholas Nethercote
16cd9db041 Bug 1230863 - Remove unused nsPresContext args from many functions. r=roc. 2015-12-06 17:15:53 -08:00
Xidorn Quan
cc43119a67 Bug 1040668 followup 3 - Wrap lang attribute mapping code in NS_STYLE_INHERIT_BIT test. r=dbaron
--HG--
extra : source : 08c7fa7f0d4563c69b3a17ae676eaddfed237034
2015-12-08 03:12:44 +11:00
Carsten "Tomcat" Book
2257530fee Backed out changeset b8a9e34748f1 (bug 1130237) for m2 test failures 2015-12-07 11:20:35 +01:00
Dan Glastonbury
856e41412c Bug 1169212 - Part 2: Advertise support for ADTS via DecoderTraits. r=jya
for mimetype audio/aacp
2015-12-07 15:48:59 +10:00
Dan Glastonbury
5a8ca1d0d5 Bug 1169212 - Part 1: Implemented ADTS Decoder & Demuxer. r=jya
Implemented based upon MP3 Demuxer & Decoder.
2015-12-07 15:48:59 +10:00
Ben Kelly
ac0381ca84 Bug 1227015 P7 Suppress unused ErrorResult exception if the worker runnable failed to dispatch. r=catalinb 2015-12-08 17:15:55 -05:00
Martin Thomson
0a36983413 Bug 1225968 - Adding more messages to the push message tests, r=kitcambridge
--HG--
extra : commitid : DKvDzgHBTd7
extra : rebase_source : 953a864bb23b9b24d14957e49490fdcf1ed36818
2015-12-05 21:51:59 +11:00
Martin Thomson
0b2ee432a6 Bug 1225968 - Refactoring to move some of the push crypto logic, r=kitcambridge
--HG--
extra : commitid : DCuRgytkyJI
extra : rebase_source : de8696757ea1ae71071f8e53bed51eb218a6f20e
2015-12-04 08:24:47 +11:00
Nicholas Nethercote
53b8d741ea Bug 1230047 (part 1) - Make SynthesizeNativeTouch{Point,Tap}() take ScreenIntPoints. r=kats.
--HG--
extra : rebase_source : f9a4490edf840b0b506d33076d1b4738bb705fd5
2015-12-02 21:45:38 -08:00
Jonas Sicking
0bb4231605 Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb 2015-12-06 18:33:15 -05:00
Jonas Sicking
f7193fdf30 Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly 2015-12-06 18:33:15 -05:00
Jonas Sicking
28de02f687 Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb 2015-12-06 18:33:14 -05:00
Jonas Sicking
0e0c8c52ea Bug 1226909 part 2: Let CORS preflight logic grab information from nsILoadInfo rather than duplicate it. r=ckerschb 2015-12-06 18:33:14 -05:00
Jonas Sicking
6cc5074df0 Bug 1226909 part 1: Do security checks in a redirect handler rather than when opening the redirected channel. r=ckerschb 2015-12-06 18:33:14 -05:00
L. David Baron
5d4db53387 Merge mozilla-central to mozilla-inbound. 2015-12-06 16:08:06 -05:00
Francois Marier
aacefe1c5c Bug 1217236 - Block trackers loaded by Flash movies. r=gcp 2015-12-06 01:20:56 -08:00
L. David Baron
5bcd1d1b44 Back out changeset 9ebcec50fefa (bug 1223261) for causing unacceptable levels of intermittent orange (bug 1230015, bug 1230020). a=orange 2015-12-05 15:18:32 -08:00
Carsten "Tomcat" Book
8d69e722ff merge mozilla-inbound to mozilla-central a=merge 2015-12-04 11:57:23 +01:00
Carsten "Tomcat" Book
e523d63b9f merge fx-team to mozilla-central a=merge 2015-12-04 11:56:25 +01:00
Phil Ringnalda
a54f2a1eda Back out ce4623289f7f (bug 1230054) for crashtest bustage in 789075-1.html/795892-1.html, Android mochitest-chrome bustage in test_texttrack_chrome.html, and probably Gij video_list_test.js
CLOSED TREE
2015-12-03 22:12:01 -08:00
Jean-Yves Avenard
7b1c9931c6 Bug 1230054: Add missing headers ON A CLOSED TREE. r=me 2015-12-04 15:56:46 +11:00
Chris Pearce
0840e7ba6a Bug 1230272 - Remove version suffix from keySystem string reported by MediaKey*.keySystem attribute. r=gerald 2015-12-04 17:35:40 +13:00
Jean-Yves Avenard
5800cccc88 Bug 1230353: P1. Ensure type and subtype of MIME are lowercase. r=bz
As per RFC 2616 section 3.7, which states "The type, subtype, and parameter attribute names are case-insensitive". So ensure the type and subtype are always lower-case as all our comparisons assume that they are.
2015-12-04 15:24:24 +11:00
Jean-Yves Avenard
b2545f9af0 Bug 1230054: Remove unused WebMReader. r=kinetik 2015-12-04 15:23:43 +11:00
Mark Capella
e43c1dcf7f Bug 1215959 - (GeckoCarets2) - skip-if overlooked perma-orange test 2015-12-03 22:58:08 -05:00
Jean-Yves Avenard
d6b653ae10 Bug 1229605: [MSE] Allow webm/audio independently of video. r=kentuckyfriedtakahe
This adds a media.mediasource.webm.audio.enabled preference (true by default) to disable opus or vorbis audio in webm mediasource.
2015-12-04 14:43:47 +11:00
Jean-Yves Avenard
72d555ab40 Bug 1191833: P1. Properly check webm mimetype against codec type. r=cpearce
Also move the logic inside WebMDecoder, this continue on with the logic used by MP4Decoder
2015-12-04 14:43:46 +11:00
Ben Tian
e6557e5b56 Bug 1230066 - Add missing STATUS_AUTH_REJECTED into enum BluetoothStatus,r=tzimmermann 2015-12-03 18:25:03 +08:00
Wes Kocher
c40454e094 Merge fx-team to central, a=merge
--HG--
extra : commitid : 4Zjf9SresVg
2015-12-03 16:07:50 -08:00
Chris Pearce
ff1b756ddd Bug 1230026 - Add test for 'webm' initDataType for ClearKey initData. r=gerald
--HG--
rename : dom/media/test/test_eme_key_ids_initdata.html => dom/media/test/test_eme_initDataTypes.html
2015-12-04 07:24:32 +13:00
Chris Pearce
9654972991 Bug 1230026 - Support 'webm' initDataType format for MP4 ClearKey initData. r=gerald 2015-12-04 07:24:11 +13:00
Olli Pettay
c1987714e7 Bug 1229760 - CustomElement registry keeps strong reference to the unresolved elements, r=wchen 2015-12-03 18:21:04 +02:00
Mark Capella
0a752a77f3 Bug 1215959 - (GeckoCarets2) - Flip on by default in nightly, r=snorp 2015-12-03 13:33:15 -05:00
David Rajchenbach-Teller
186f04cf6f Bug 1219150 - EventStateManager::{LatestUserInputStart, UserInputCount};r=smaug
To detect slow behaviors, it is useful to find out whether a user
input was handled between two instants.

This patch introduces EventStateManager::UserInputCount, which lets
client code determine whether user input was handled between two
points of execution, and EventStateManager::LatestUserInputStart,
which lets client code find out when the altest user input was
handled.

--HG--
extra : commitid : uK1v8pj0fi
2015-12-03 17:40:45 -08:00
Jan Beich
814acd7ab8 Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium 2015-12-02 09:40:50 +00:00
Chris Peterson
46bb7c80dd Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc
--HG--
extra : rebase_source : 4ab2c4a917ea90055e48bd6adcb53904f2266ee0
2015-11-27 20:49:55 -08:00
JW Wang
84171dfe8c Bug 1230004. Part 2 - have MDSM::BeginShutdown return a promise and remove MDSM::mDecoder. r=cpearce. 2015-12-03 15:59:44 +08:00
JW Wang
a62c25461b Bug 1230004. Part 1 - cache data in MDSM so it won't need to ask MediaDecoder. r=cpearce. 2015-12-03 15:59:30 +08:00
Bogdan Postelnicu
4d0c1bf1a0 Bug 1227119 - Set a default value for variable ret. r=dougt 2015-11-23 06:03:00 -05:00
Sebastian Hengst
114ca318d6 Backed out 2 changesets (bug 1221992) for almost permafailing M-e10s(2) on Linux debug. r=backout
Backed out changeset ad20808dd3c4 (bug 1221992)
Backed out changeset 7cdcda3e65fb (bug 1221992)
2015-12-05 21:13:41 +01:00
Sebastian Hengst
774236075d Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout 2015-12-05 16:34:47 +01:00
Jonas Sicking
993136c2c9 Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb 2015-12-05 01:46:21 -08:00
Jonas Sicking
7fae3fd853 Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly 2015-12-05 01:46:20 -08:00
Jonas Sicking
ff12f48c5a Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb 2015-12-05 01:46:20 -08:00
Jonas Sicking
918c689657 Bug 1226909 part 2: Let CORS preflight logic grab information from nsILoadInfo rather than duplicate it. r=ckerschb 2015-12-05 01:46:20 -08:00
Jonas Sicking
df33e62850 Bug 1226909 part 1: Do security checks in a redirect handler rather than when opening the redirected channel. r=ckerschb 2015-12-05 01:46:20 -08:00
Andrea Marchesini
ac93740bb2 Bug 1198095 - FileReader should dispatch an error if the blob changes size in the meantime the read is executed, r=bz 2015-12-05 09:37:35 +00:00
Andrea Marchesini
ebc5b1a50f iBug 1122788 - patch 2 - nsMultiplexInputStream should not use Tell() in debug builds, r=bz 2015-12-05 09:36:51 +00:00
Jonas Sicking
50083808c2 More test bustage from bug 1222624 2015-12-05 00:42:48 -08:00
Jonas Sicking
230c846819 Fix test bustage due to platform line-endings. Bug 1222624 2015-12-04 23:10:03 -08:00
Jean-Yves Avenard
7084f9ab9c Bug 1130237: [MSE] P3. Add mochitest testing behavior. r=gerald
We load data from [2ish, 4] and ensure that playback didn't start before data [0, 2ish] is loaded.
2015-12-05 17:28:38 +11:00
Jean-Yves Avenard
9ae0949e75 Bug 1130237: P2. Reset decoder state even if no decoder has been created yet. r=gerald 2015-12-05 17:28:37 +11:00
Jean-Yves Avenard
a080f16503 Bug 1130237: [MSE] P1. Only ever return a frame if we have data. r=gerald
After a Reset() the definition is that the resource was seeked to 0. As such we should only return a frame if there's data at time==0.
2015-12-05 17:28:37 +11:00
Jonas Sicking
fb82efc07a Bug 1222624: Make xpath document() function use nsIPrincipals and nsIURIs rather than strings. r=peterv 2015-12-04 21:06:47 -08:00
Jonas Sicking
1087e47ca1 Bug 1222624: Make XSLT stylesheet parsing use nsIPrincipals and nsIURIs rather than strings. r=peterv 2015-12-04 21:06:46 -08:00
Martin Thomson
d8c0edad16 Bug 1225968 - Refactor data delivery tests to support addition of new tests, r=kitcambridge
--HG--
extra : commitid : BDX6sCt4cbd
extra : rebase_source : b13732d37c0fce50816f7e96a03f9bf3a8e76458
2015-11-20 14:21:24 -08:00
Martin Thomson
6e6387eecb Bug 1225968 - Add authentication secret to push API, r=kitcambridge,smaug
--HG--
extra : commitid : 5qD0xsj9DLR
extra : rebase_source : 407d4152f897f87fa9b5fae8b6b93ef510cce59f
2015-12-09 07:26:42 +11:00
Kyle Machulis
7d22143e1d Bug 1229971 - Change name and logic of youtube embed telemetry probe; r=vladan, r=cpeterson 2015-12-08 10:04:08 -08:00
Ben Kelly
4db1035d1b Bug 1227015 P6 Abort updates if the script spec has changed. r=ehsan 2015-12-08 11:58:45 -05:00
Ben Kelly
58de757508 Bug 1227015 P5 Remove ServiceWorkerRegistrationInfo mScriptSpec. r=ehsan 2015-12-08 11:58:45 -05:00
Ben Kelly
d40ef59cb0 Bug 1227015 P4 Make register job always require an explicit script spec. r=ehsan 2015-12-08 11:58:45 -05:00
Ben Kelly
00c0e624e5 Bug 1227015 P3 Require a script spec on install jobs. r=ehsan 2015-12-08 11:58:45 -05:00
Ben Kelly
3e15fcaa7d Bug 1227015 P2 Move mScriptSpec from registration job into script job base. r=ehsan 2015-12-08 11:58:45 -05:00
Ben Kelly
48d0ba6249 Bug 1227015 P1 Create ServiceWorkerScriptJobBase as parent class to register and install jobs. r=ehsan 2015-12-08 11:58:44 -05:00
Alfredo Yang
92abcfb61c Bug 1224887: new PlatformDecoderModule based on OpenMax IL. r=jya, sotaro 2015-12-08 15:57:58 +05:30
Bogdan Postelnicu
ae22c83be6 Bug 1230902 - initialize mSampleRate and mMicrophoneActive. r=cpearce 2015-12-07 02:17:00 +01:00
Bogdan Postelnicu
a3215ffb22 Bug 1192982 - increase buffer size, memset it to 0 and then do the right way strncpy. r=jaas 2015-11-27 06:24:00 +01:00
Matt Woodrow
6ef854d267 Bug 1230338 - Record video frames dropped by the compositor, or while flushing during skip-to-keyframe. r=jya 2015-12-04 13:33:21 +13:00
Wes Kocher
caf5976449 Merge m-c to inbound, a=merge
--HG--
extra : commitid : EpefkAb2K9L
2015-12-03 16:11:01 -08:00
Andrew McCreight
ba894c4313 Bug 1230110 - HTMLImageElement should call its superclass's DestroyContent(). r=smaug
--HG--
extra : commitid : 6PKR4a9fssr
extra : source : b9d8d05aa4ee1cca71192d4d6c00900e8d1169b6
2015-12-03 14:03:12 -08:00
Wes Kocher
bfbadfd96d Backed out 2 changesets (bug 1221992) for windows debug assertions in browser_perf-categories-js-calltree.js
Backed out changeset bcd90e591038 (bug 1221992)
Backed out changeset 6affaa386b9b (bug 1221992)

--HG--
extra : commitid : 4w08gUrbqQr
2015-12-03 15:56:59 -08:00
Jeff Gilbert
26dafe015c Bug 1228711 - Cubemap images must be square. - r=benwa 2015-12-03 15:38:06 -08:00
Wes Kocher
286a265f77 Backed out 2 changesets (bug 1230118, bug 1230110) for windows debug assertions in browser_perf-categories-js-calltree.js
Backed out changeset a9ce85f77af9 (bug 1230118)
Backed out changeset b9d8d05aa4ee (bug 1230110)

--HG--
extra : commitid : 9wnrd9NnBlp
2015-12-03 15:38:04 -08:00
Brian Birtles
3cd1347f35 Bug 1226118 part 15 - Remove no-longer-necessary delays from test_running_on_compositor.html; r=hiro
Since part 3 in this patch series updated the way we clear the "running on
compositor" flag, we can update these tests so they no longer wait for this
flag (see bug 1226118 comment 21).
2015-12-04 08:34:18 +09:00
Brian Birtles
f82ce867cf Bug 1226118 part 12b - Rename CommonAnimationManager::GetAnimations to GetAnimationCollection; r=dholbert
This is to align with the existing GetAnimationCollection method that takes
a frame. Also, by making this name more specific hopefully it will be used less
since we are trying to move as much code as possible over to using EffectSet
instead of AnimationCollection.
2015-12-04 08:34:17 +09:00
Brian Birtles
7806ce3d5d Bug 1226118 part 8 - Add EffectCompositor::GetAnimationsForCompositor that uses the EffectSet rather than AnimationCollection; r=dholbert
This added method should behave in an equivalent manner to the existing
CommonAnimationManager::GetAnimationsForCompositor except for the following
differences:

* It uses the EffectSet attached to a target element rather than one of the
  AnimationCollection object on the owning element.

* It returns an array of Animation objects consisting of only those Animations
  that actually have the specified property as opposed to the
  AnimationCollection consisting of *all* CSS animations or *all* CSS
  transitions for the element regardless of whether they run on the compositor
  or not.

It may not be obvious why these two methods otherwise behave in an equivalent
fashion so the following explains how the existing code is mirrored in the new
method.

The existing code is as follows:

> AnimationCollection*
> CommonAnimationManager::GetAnimationsForCompositor(const nsIFrame* aFrame,
>                                                    nsCSSProperty aProperty)
> {
>   AnimationCollection* collection = GetAnimationCollection(aFrame);
>   if (!collection ||
>       !collection->HasCurrentAnimationOfProperty(aProperty) ||
>       !collection->CanPerformOnCompositorThread(aFrame)) {
>     return nullptr;
>   }
>
>   // This animation can be done on the compositor.
>   return collection;
> }

The new EffectCompositor::GetAnimationsForCompositor begins with two checks
performed at the beginning of CanPerformOnCompositorThread: the checks for
whether async animations are enabled or not and whether the frame has refused
async animations since these are cheap and it makes sense to check them first.

The next part of EffectCompositor::GetAnimationsForCompositor checks if there is
an EffectSet associated with the frame. This is equivalent to the check whether
|collection| is null or not above.

Following, we iterate through the effects in the EffectSet.

We first check if each effect is playing or not. In the above code,
HasCurrentAnimationOfProperty only checks if the effect is *current* or not.
However, CanPerformOnCompositorThread will only return true if it finds an
animation that can run on the compositor that is *playing*. Since playing is
a strict subset of current we only need to perform the more restrictive test.

Next we check if the effect should block running other animations on the
compositor. This is equivalent to the remainder of CanPerformOnCompositorThread.
Note that the order is important here. Only playing animations should block
other animations from running on the compositor. Furthermore, this needs to
happen before the following step since animations of property other than
|aProperty| can still block animations from running on the compositor.

Finally, we check if the effect has an animation of |aProperty|. This is
equivalent to the remainder of HasCurrentAnimationOfProperty.

If all these checks succeed, we add the effect's animation to the result to
return.
2015-12-04 08:34:12 +09:00
Brian Birtles
40c6c207b0 Bug 1226118 part 7 - Rename and rework KeyframeEffectReadOnly::CanAnimatePropertyOnCompositor to ShouldBlockCompositorAnimations; r=hiro
KeyframeEffectReadOnly::CanAnimatePropertyOnCompositor has a comment that says
it, "Returns true |aProperty| can be run on compositor for |aFrame|" but it
does nothing of the sort.

What it *does* do is check answer the question, "If there happened to be an
animation of |aProperty| on |aFrame|, should we still run animations on the
compositor for this element?".

This patch renames the method accordingly and moves the step where we iterate
over a given effect's animated properties from
AnimationCollection::CanPerformOnCompositor to inside this method, making this
method a class method rather than a static method at the same time.

As noted in the expanded comment, the approach of blocking opacity animations
in these situations seems unnecessary but for now this patch just preserves the
existing behavior.
2015-12-04 08:32:53 +09:00
Brian Birtles
fd98de719c Bug 1226118 part 5 - Move LogAsyncAnimationFailure to AnimationUtils; r=dholbert
This patch also moves AnimationUtils out of the dom namespace since it seems
unnecessary. We typically only put actual DOM interfaces in the dom namespace.
2015-12-04 08:32:53 +09:00
Brian Birtles
a92b5ec6ab Bug 1226118 part 3 - Use EffectSet in CommonAnimationManager::ClearIsRunningOnCompositor; r=hiro, r=dholbert 2015-12-04 08:32:53 +09:00
Brian Birtles
5ea3caedb7 Bug 1226118 part 1 - Add EffectSet::GetEffectSet(const nsIFrame*); r=dholbert 2015-12-04 08:32:52 +09:00
Blake Kaplan
0bb2b116eb Bug 1116478 - Open web content handlers in the proper tab in e10s. r=billm
--HG--
extra : rebase_source : 9ce04d3a3b30ecdcef4c4781639f0e5ea22d8b22
2015-12-03 15:04:28 -08:00
Andrew McCreight
5e1c30c848 Bug 1230110 - HTMLImageElement should call its superclass's DestroyContent(). r=smaug
--HG--
extra : commitid : L6Z2VdVTfXK
extra : rebase_source : fad68a186e8124cab5beffa34e9db960fe5d2d38
2015-12-03 14:03:12 -08:00
Nicholas Nethercote
5a37352d4a Bug 1229665 - Convert widget clip regions to LayoutDevicePixels. r=botond.
--HG--
extra : rebase_source : 315ac98884f84f3b5d53f156f3e02ddde3a57dbc
2015-12-02 14:32:55 -08:00
Catalin Badea
6c1a994648 Bug 1221992 - Fix test using GetMostRecentWindow from the child process. r=smaug 2015-12-03 23:19:29 +02:00
Catalin Badea
889982d7af Bug 1221992 - Prevent ServiceWorkerClients.OpenWindow from opening tabs in private mode windows. r=smaug 2015-12-03 23:19:29 +02:00
Ralph Giles
7723ca9104 Bug 1228721 - Conditionalize other webvtt navigator access. r=kinetik
Missed this in the previous commit.
2015-12-03 09:32:00 -08:00
Jeff Muizelaar
303885a832 Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert 2015-12-03 14:37:02 -05:00
Carsten "Tomcat" Book
df451fe7b0 merge mozilla-inbound to mozilla-central a=merge 2015-12-03 12:00:42 +01:00
Matthew Noorenberghe
d77a8d39c1 Bug 1216986 - Fix usage of nsIURI.host in password manager and prompt code to support IPv6. r=dolske,liuche,kanru
--HG--
extra : commitid : zwoW6hAPKy
extra : rebase_source : 183b3f29af92860fbe232427e9e8f1cdd7116707
2015-12-02 16:13:18 -08:00
Carsten "Tomcat" Book
5adcabb340 merge mozilla-inbound to mozilla-central a=merge 2015-12-02 15:20:57 +01:00
Carsten "Tomcat" Book
541bf4c5e1 merge fx-team to mozilla-central a=merge 2015-12-02 15:17:31 +01:00
Carsten "Tomcat" Book
8230cd1d11 Backed out changeset fdbc50946db3 (bug 1223297) for test failures
--HG--
extra : rebase_source : 0ca7ee0d62d633bc7462fae75787050e8d6463d5
2015-12-02 11:56:45 +01:00
Carsten "Tomcat" Book
1e57fae9f1 Backed out changeset 720b3adb1df5 (bug 1137681) since this need to be out too on a CLOSED TREE 2015-12-02 11:50:27 +01:00
Nigel Babu
cc17273b85 Backed out changeset 1e400c0266e5 (bug 1224887) for build bustage
ON A CLOSED TREE
2015-12-02 14:51:30 +05:30
JW Wang
e4cbe0c128 Bug 1228939 - 1. add mSeekable to MediaInfo. 2. use MediaEventSource to notify the decoder when the media is not seekable. 3. remove unused code. r=jya. 2015-12-02 15:42:32 +08:00
Ethan Lin
c257b89d86 Bug 1228949 - Fix WebGLBuffer content type when the target is LOCAL_GL_COPY_READ_BUFFER or LOCAL_GL_COPY_WRITE_BUFFER. r=jgilbert 2015-11-30 01:30:00 +01:00
Makoto Kato
0e56a625b2 Bug 1228462 - "PluginQuirks.* uses DOS CRLF". r=jmathies 2015-11-26 17:52:00 +01:00
Alfredo Yang
d0c13c6363 Bug 1224887 - new PlatformDecoderModule based on OpenMax IL. r=jya, sotaro 2015-12-01 06:12:00 +01:00
Alastor Wu
1fe60ea737 Bug 1223297 - Multiple audio channel test. r=baku.
--HG--
extra : transplant_source : R%03%ABL%7C%21%BFt%C7%7EM%E4%9D%0CWON%0E%BDJ
2015-11-18 10:01:14 +08:00
Louis_Chang
9843bbdf08 Bug 1217778 - Ensure sBluetoothGattService is not null before accessing GattInterface in GattManager. r=jocelyn 2015-12-02 09:31:45 +08:00
Wes Kocher
50e8f21d5b Merge inbound to central, a=merge
--HG--
extra : commitid : 9WZlbf1Q29D
2015-12-01 15:43:33 -08:00
Carsten "Tomcat" Book
31b570ce3c Merge mozilla-central to b2g-inbound 2015-12-01 15:28:29 +01:00
Carsten "Tomcat" Book
f3e1aec951 merge mozilla-inbound to mozilla-central a=merge 2015-12-01 15:25:14 +01:00
Carsten "Tomcat" Book
207c64c6c1 Backed out changeset f4348b2f5c5f (bug 1223678) for bustage
--HG--
extra : rebase_source : 1e7bf92b54ceff74b6eee2143a2f82434af1e8e3
2015-12-01 15:01:36 +01:00
Mike Conley
9f4da372d6 Bug 1220752 - Fix and enable browser_bug1058164.js for e10s now that bug 918634 has landed. r=mrbkap
This also makes the test more precise since it now checks the order of
the pagehide and pageshow events.

--HG--
extra : commitid : JT7O7nc24wr
extra : rebase_source : 7be6c9154e8b24cbc392f60fe080821b54cc7930
extra : amend_source : c5acbb1c0b89220efa21b20fdc26c2fea6b51e64
2015-11-27 19:01:46 -05:00
Carsten "Tomcat" Book
590590b407 Merge mozilla-central to b2g-inbound 2015-11-30 13:47:32 +01:00
Jocelyn Liu
963cd9f23f Bug 1228519 - Fix RequestReadNotification for GATT Server API. r=brsun 2015-11-30 20:24:07 +08:00
Jocelyn Liu
a84e009ffd Bug 1228521 - Fix PDU packing in |ServerSendResponseCmd| for GATT Server API. r=brsun 2015-11-30 20:23:04 +08:00
Jocelyn Liu
f692ee9ee4 Bug 1228909 - Fix PDU packing in |ClientSetAdvDataCmd| for GATT API. r=brsun 2015-11-30 20:21:52 +08:00
Carsten "Tomcat" Book
5a9f09086a merge mozilla-inbound to mozilla-central a=merge 2015-11-30 13:19:02 +01:00
Thomas Zimmermann
63fd9969ce Bug 1228946: Remove '#if 0' block from Bluetooth module, r=joliu
This is a cleanup patch for removing an '#if 0' that was landed in
the Bluetooth code.
2015-11-30 12:46:09 +01:00
Mark Capella
83e7fad573 Bug 1218072 - crash in nsTextEditorState::FinishedRestoringSelection, r=smaug 2015-11-28 11:44:54 -05:00
Carsten "Tomcat" Book
57d83d3910 merge mozilla-inbound to mozilla-central a=merge 2015-11-27 11:08:41 +01:00
Ben Tian
9cb17c7756 Bug 1228479 - Remove redundant blob handling in BluetoothMapRequestHandle::ReplyToFolderListing, r=shuang 2015-11-27 14:03:03 +08:00
Chris Pearce
efc8956d13 Bug 1228461 - Implement keyids initData type for ClearKey. r=gerald 2015-11-27 17:13:40 +13:00
Carsten "Tomcat" Book
0a41d103c4 Merge mozilla-central to b2g-inbound 2015-11-26 16:56:39 +01:00
Carsten "Tomcat" Book
358e4575c4 merge mozilla-inbound to mozilla-central a=merge 2015-11-26 16:54:27 +01:00
Carsten "Tomcat" Book
62397997d3 merge b2g-inbound to mozilla-central a=merge 2015-11-26 16:50:50 +01:00
Pierre-Eric Pelloux-Prayer
622194555c Bug 1222935 - Support REQUEST_SEND_USSD command. r=hsinyi 2015-11-26 20:32:51 +08:00
Carsten "Tomcat" Book
23302026c1 Backed out changeset 82c89f573e53 (bug 1191460)
--HG--
extra : rebase_source : 3940f457bfda06bbc7d9236b57403e431a9a5957
2015-11-26 12:02:59 +01:00
Carsten "Tomcat" Book
3d36e0d95d Backed out changeset bc9a43cbbdfa (bug 1227932)
--HG--
extra : rebase_source : a52df07605cf6df721f4d3e0753deb31b66c2d07
2015-11-26 12:02:57 +01:00
Carsten "Tomcat" Book
a1980896be merge fx-team to mozilla-central a=merge 2015-11-26 11:57:05 +01:00
Carsten "Tomcat" Book
11699b74a9 merge b2g-inbound to mozilla-central a=merge 2015-11-26 11:55:11 +01:00
Ben Tian
cdd3762041 Bug 1227440 - Reject pin reply by cancelling bond to trigger BondStateChangedNotification, in order to inform gaia setting app, r=shuang 2015-11-26 16:31:42 +08:00
Jorg K
5c46934990 Bug 1214377 - Hack to solve Thunderbird's need to detect style pre-wrap. rs=ehsan on a CLOSED TREE 2015-11-26 09:21:00 +01:00
Carsten "Tomcat" Book
5fb313776a Backed out changeset e925caf848fa (bug 1214377) for wrong reviewer in commit 2015-12-01 10:31:32 +01:00
Henry
897968f644 Bug 1223678 - Use package-identifier from argument to create principal. r=kanru.
--HG--
extra : rebase_source : d0ae9975c1613172e59a9193cece8992e68f3b4f
2015-11-25 23:17:00 +01:00
DimiL
247159320f Bug 1223672 - NSec package cannot use device storage API. r=kchen
--HG--
extra : rebase_source : ac72a20aaf2bef9d6f33e3701b533f31b880ce5d
2015-11-25 21:50:00 +01:00
Jocelyn Liu
fa7b21647d Bug 1229290 - Pack/unpack UUIDs in a reverse order when adding characteristics and descriptors in GATT server API. r=brsun 2015-12-01 18:54:55 +08:00
Alastor Wu
15fc4f69b0 Bug 1223261 - Add the audio playback test for the case muted-by-default. r=baku.
--HG--
extra : rebase_source : decdc8697cf31a6a55330ab193fc9164c5b1ea3f
2015-11-27 10:19:27 +08:00
Eugen Sawin
61cdb4a6cd Bug 1219178 - [9.1] Make SeekPosition available with tests disabled. a=me for fixing build problems 2015-11-25 06:44:00 +01:00
Carsten "Tomcat" Book
1edd1500db merge mozilla-inbound to mozilla-central a=merge 2015-11-25 12:51:53 +01:00
Carsten "Tomcat" Book
d4ef6710aa Backed out changeset 50441cd0d6a1 (bug 1212321) for causing regressions 2015-11-25 12:37:24 +01:00
Andrew Comminos
544dcecc58 Bug 1203135 - Terminate linking if maximum vertex attribute count is exceeded on Mesa. r=jgilbert 2015-11-24 21:27:29 -08:00
chunminchang
53f35290b7 Bug 1226144 - Free sessionId after using it. r=selin 2015-11-26 02:39:00 +01:00
Wes Kocher
fcb2a5060a Merge b2ginbound to central, a=merge
--HG--
extra : commitid : DY49ZjkFuGD
2015-11-24 16:52:38 -08:00
Carsten "Tomcat" Book
7fc565c303 Merge mozilla-central to fx-team 2015-11-25 13:59:23 +01:00
Wes Kocher
72261b4523 Backed out 12 changesets (bug 1200595) for b2g mochitest crashes in SharedBufferManagerParent CLOSED TREE
Backed out changeset cf8cf1a039dd (bug 1200595)
Backed out changeset 65da564f952c (bug 1200595)
Backed out changeset 7663208f1582 (bug 1200595)
Backed out changeset fc1fbb97c8eb (bug 1200595)
Backed out changeset 3ad5a4c457fe (bug 1200595)
Backed out changeset add3fe9afc0c (bug 1200595)
Backed out changeset 68aba6b39588 (bug 1200595)
Backed out changeset ab326c34f1cf (bug 1200595)
Backed out changeset ed34bc528a1b (bug 1200595)
Backed out changeset 0dc93424546c (bug 1200595)
Backed out changeset 8cc12f12f3d1 (bug 1200595)
Backed out changeset bb84403701b7 (bug 1200595)

--HG--
extra : commitid : AMC6i05xyTh
2015-11-24 10:07:02 -08:00
Thomas Nguyen
7b306d81e1 Bug 1087928 - write marionette-webapi tests for ontagfound. r=yoshi
--HG--
extra : rebase_source : c7b0762cbfd496fdf358f9a327431198f3c0237d
2015-11-24 18:00:00 +01:00
Shawn Huang
fb992c848d Bug 1186840 - [MAP] Implement MessageUpdate function, r=btian 2015-12-01 15:55:41 +08:00
Ben Tian
2b918d0fd2 Bug 1228471 - use Endian.h to write filename and handleId into OBEX packet, r=shuang 2015-12-01 10:36:43 +08:00
Nicholas Nethercote
0f6b051df6 Bug 1186808 - Replace nsBaseHashtable::EnumerateRead() calls in dom/camera/ with iterators. r=mikeh.
--HG--
extra : rebase_source : f332c1005449f2988936ad82cbfce1c3f65bcd7a
2015-11-22 14:39:01 -08:00
JW Wang
6e21f29356 Bug 1227797 - Use MediaEventSource to publish playback events for MDSM. r=jya. 2015-11-30 13:06:19 +08:00
Jean-Yves Avenard
bb0aacbf79 Bug 1227396: P13. Refactor how MP4 buffered range is calculated. r=cpearce
We now use an index of samples made of block of samples delimited by keyframes. The search is performed using a binary search. This allows to quickly find which blocks are found within the media cache.
On a 8 core mac pro, this leads to a 67% improvement on CPU time spent playing a long MP4 video (from 112s CPU to 45s CPU)

The optimisation is only possible if all mp4 data chunks are continuous (which they almost always are)
2015-11-30 11:29:37 +11:00
Jean-Yves Avenard
ead53cc75e Bug 1227396: P12. Use MediaByteRangeSet capabilities to filter already processed data. r=cpearce 2015-11-30 11:29:36 +11:00
Jean-Yves Avenard
5c7a8901c8 Bug 1227396: P11. Add IntervalSet::operator- operand. r=gerald
Also fix constness.
2015-11-30 11:29:36 +11:00
Jean-Yves Avenard
fdf27ff498 Bug 1227396: P9. Remove unnecessary monitor. r=cpearce
The Index and MoofParser are now only used via the MP4Demuxer which is guaranteed to always be called on the same taskqueue.
2015-11-30 11:29:35 +11:00
Jean-Yves Avenard
a7975b198f Bug 1227396: P8. Replace MediaByteRange with Interval<int64_t> typedef. r=cpearce
It's now okay to simplify.
2015-11-30 11:29:34 +11:00
Jean-Yves Avenard
c8c275cee2 Bug 1227396: P7. Replace nsTArray<MediaByteRange> with dedicated MediaByteRangeSet object. r=cpearce 2015-11-30 11:29:34 +11:00
Jean-Yves Avenard
98b7b59261 Bug 1227396: P6. Replace MediaByteBuffer with Interval<int64_t>. r=cpearce 2015-11-30 11:29:33 +11:00
Jean-Yves Avenard
dd73df2954 Bug 1227396: P5. Make Interval::Span ignore empty interval. r=gerald
An interval with a length of 0 doesn't really exist and will be removed when used in an IntervalSet. As such, calculating a Span with an empty intervals didn't really make sense
2015-11-30 11:29:33 +11:00
Jean-Yves Avenard
f84dc2e04c Bug 1227396: P4. Add IntervalSet::Clear method. r=gerald 2015-11-30 11:29:31 +11:00
Jean-Yves Avenard
5499ac5293 Bug 1227396: P3. Add IntervalSet::LastInterval method. r=gerald 2015-11-30 11:29:30 +11:00
Jean-Yves Avenard
70f2124283 Bug 1227396: P2. Rename some MediaByteRange methods. r=cpearce
Will facilitate the replacement of MediaByteRange by Interval<int64_t>
2015-11-30 11:29:30 +11:00
Jean-Yves Avenard
c92e468354 Bug 1227396: P1. Remove TimestampedMediaByteRange object. r=cpearce 2015-11-30 11:29:29 +11:00
Ben Kelly
9aa47b7280 Bug 1226441 - Part 2: Delay functional event dispatch until service worker is activated; r=catalinb 2015-11-24 10:49:00 -05:00
Ehsan Akhgari
c755109b2c Bug 1227148 - Add SameObject and NewObject annotations to some ServiceWorkerContainer members; r=bzbarsky 2015-11-24 09:38:28 -05:00
Eugen Sawin
607c52ca89 Bug 1219178 - [8.1] Constrain seek position getter to max duration. r=jya 2015-11-24 15:02:35 +01:00
Eugen Sawin
334574ba77 Bug 1219178 - [7.1] Add out-of-bounds seeking test. r=jya 2015-11-24 15:02:34 +01:00
Eugen Sawin
1d6552cfbe Bug 1219178 - [6.1] Add small test file case. r=jya 2015-11-24 15:02:34 +01:00
Eugen Sawin
3cb42afa72 Bug 1219178 - [5.1] Return invalid resource length when mock resource is uninitialized instead of crashing. r=jya 2015-11-24 15:02:34 +01:00
Eugen Sawin
4356ebc299 Bug 1219178 - [4.1] Accept only layer III frames. r=jya 2015-11-24 15:02:34 +01:00
Eugen Sawin
c389d0fb93 Bug 1219178 - [3.1] Clamp seeking offsets to estimated frame boundaries. r=jya 2015-11-24 15:02:33 +01:00
Eugen Sawin
3bc9e20c06 Bug 1219178 - [2.1] Add frame consistency verification to reduce chance for false positive detection. r=jya 2015-11-24 15:02:33 +01:00
Eugen Sawin
f4295dd666 Bug 1219178 - [1.1] Prevent ScanUntil from overshooting the target time frame. r=jya 2015-11-24 15:02:32 +01:00
Nicholas Nethercote
6f9bc492d5 Bug 1187151 (part 5) - Replace nsBaseHashtable::Enumerate() calls in dom/ with iterators. r=khuey. 2015-11-24 16:55:01 -08:00
Nicholas Nethercote
2ef69fa23a Bug 1187151 (part 4) - Replace nsBaseHashtable::Enumerate() calls in dom/ with iterators. r=khuey. 2015-11-24 16:54:42 -08:00
Nicholas Nethercote
0cea25ad8c Bug 1187151 (part 3) - Replace nsBaseHashtable::Enumerate() calls in dom/ with iterators. r=khuey. 2015-11-24 16:54:27 -08:00
Sunny Sidhu
cfa8942015 Bug 1220873 - Make Layer::mVisibleRegion a LayerIntRegion. r=botond
--HG--
extra : source : dc46048f7a9e9cc008c97e2d9e0a100944743055
extra : amend_source : 63783bc076e5969ebacdc8c74f9b5194a1891d9e
2015-11-29 02:07:55 -05:00
Carsten "Tomcat" Book
4478aaa8da Merge mozilla-central to b2g-inbound 2015-11-25 14:00:32 +01:00
David Rajchenbach-Teller
0da8936844 Bug 1216972 - MediaManager AsyncShutdown for content processes. r=jesup
--HG--
extra : transplant_source : %D9%A4%C4%95%EB%F9%0Fh%83z%21%91A5cu7%B4%DF%DE
2015-11-18 21:42:16 +01:00
Nicholas Nethercote
90bbac13cc Bug 1229237 (part 3) - Make nsIWidget::Invalidate() take a LayoutDeviceIntRect. r=botond.
--HG--
extra : rebase_source : 1afe44a5ab2a3d5478010fc23ba1891ab297bde6
2015-11-16 21:18:31 -08:00
Nigel Babu
8e17dab54a Backed out changeset c9cfbe159b26 (bug 1200133) for failing it's own tests 2015-11-24 17:23:47 +05:30
sgiles
d59ee6148c Bug 1224609 - Ensure the primary screen is always returned in RecvScreenForBrowser if all else fails. r=wmccloskey 2015-11-16 12:54:34 +00:00
Gabriele Svelto
d758582e63 Bug 1207221 - Do not prevent the system app from vibrating when it is hidden. r=bz r=dhylands 2015-11-17 10:18:38 +01:00
Tim Huang
6f05771bd9 Bug 1225549 - Modify the data type of mThreshold of NetworkParams to long long from long. r=ettseng 2015-11-18 18:14:00 +01:00
Mantaroh Yoshinaga
68f136d70e Bug 1200133 - Change mochitest using TV Simulator Service. r=seanlin 2015-11-24 00:00:00 +01:00