Commit Graph

245480 Commits

Author SHA1 Message Date
Franziskus Kiefer
725659916e Bug 1161221 - Split http referrer tests and enable them on all platforms except https on b2g. r=sstamm 2015-05-14 11:07:38 -07:00
Michael Layzell
2635954b4f Bug 1167396 - Make ProtocolCloneContext::mContentParent a smart pointer. r=bent 2015-05-22 10:10:00 -04:00
chunminchang
e7ffccf507 Bug 1149868 - Move permissionObserver to SpecialPowersObserver to listen all perm-changed signals. r=jmaher 2015-05-24 18:49:00 -04:00
Blake Kaplan
874588c43a Bug 1167412 - Always register testing JS modules. r=ted 2015-05-21 14:57:00 -04:00
Andreas Pehrson
028f3e78ac Bug 1166183 - Reset PipelineListener's flag after ReplaceTrack(). r=bwc 2015-05-21 13:35:29 +08:00
Paul Adenot
016b4c1550 Bug 1166183 - Work around bug 934512 in track_peerConnection_replaceTrack.html. r=pehrson 2015-05-21 13:35:29 +08:00
Paul Adenot
8ceb41cb43 Bug 1166183 - Back out the direct listener removal landed by mistake in bug 1141781. r=jesup 2015-05-21 13:35:29 +08:00
Jeff Muizelaar
ae6471ea81 Bug 1166879. Avoid uninitialized read in FlattenBezier. r=mstange
We only want to read from t2 if count is equal to 2.
Reordering this condition makes that true.
2015-05-20 16:01:23 -04:00
Andrea Marchesini
961419bb29 Bug 1167423 - patch 10 - Handle return values of FallibleTArray functions in MobileMessage, r=smaug 2015-05-25 12:50:15 +01:00
Andrea Marchesini
7d65c828b2 Bug 1167423 - patch 9 - Handle return values of FallibleTArray functions in MediaSource, r=jya 2015-05-25 12:50:15 +01:00
Andrea Marchesini
68ce6f4a2c Bug 1167423 - patch 8 - Handle return values of FallibleTArray functions in HTMLInputElement, r=smaug 2015-05-25 12:50:15 +01:00
Andrea Marchesini
405a2e5eb6 Bug 1167423 - patch 7 - Handle return values of FallibleTArray functions in DataStore API, r=smaug 2015-05-25 12:50:15 +01:00
Andrea Marchesini
38122c45e6 Bug 1167423 - patch 6 - Handle return values of FallibleTArray functions in WebCryptTask, r=smaug 2015-05-25 12:50:15 +01:00
Andrea Marchesini
f831429bbc Bug 1167423 - patch 5 - Handle return values of FallibleTArray functions in WebGL2Context, r=smaug 2015-05-25 12:50:15 +01:00
Andrea Marchesini
c89a834b25 Bug 1167423 - patch 4 - Handle return values of FallibleTArray functions in CanvasRenderingContext2D, r=smaug 2015-05-25 12:50:15 +01:00
Andrea Marchesini
4cb28b400a Bug 1167423 - patch 3 - Handle return values of FallibleTArray functions in MutationObserver, r=smaug 2015-05-25 12:50:15 +01:00
Andrea Marchesini
98514d828a Bug 1167423 - patch 2 - Handle return values of FallibleTArray functions in WebSocket, r=smaug 2015-05-25 12:50:15 +01:00
Andrea Marchesini
34161b93d2 Bug 1167423 - patch 1 - Handle return values of FallibleTArray functions in Console API, r=smaug 2015-05-25 12:50:15 +01:00
Jean-Yves Avenard
885ef719d6 Bug 1168004: Part2. Add sample file. r=bholley
Add MP4 sample file where video starts at 0.8s and audio at 1.95s.
2015-05-25 19:28:02 +10:00
Jean-Yves Avenard
e847e83a18 Bug 1168004: Part1. Ensure buffered range referential starts at 0. r=bholley 2015-05-25 19:27:21 +10:00
Karl Tomlinson
49b1bd6b85 bug 1166107 documentation of mWaitForInternalDrain thread access r=gerald 2015-05-22 11:10:00 +12:00
Karl Tomlinson
29634532f0 bug 1166107 release internal drain monitor before calling Flush() r=gerald
The DrainComplete() caught with mWaitForInternalDrain still won't necessarily
be from the internal Drain(), but all we need is that one DrainComplete() is
caught for the internal Drain() because one more will be generated if there is
a Drain() in progress.

What protecting mWaitForInternalDrain access with the monitor provides here is
that the compiler won't use its address for storage of other data meaningless
in the context of mWaitForInternalDrain and so, for example, two
DrainComplete() calls won't unintentionally think that they are both for one
internal drain.
And TSan warnings.
2015-05-25 08:52:30 +12:00
Karl Tomlinson
0f158b319f bug 1162364 detect and abort MF_E_TRANSFORM_STREAM_CHANGE infinite loops r=cpearce 2015-05-22 15:23:00 +12:00
Jean-Yves Avenard
de9065833d Bug 1163227: Part10. Properly recalculate next keyframe time after seeking. r=cpearce 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
076004e0b2 Bug 1163227: Part9. Don't reset demuxer when skipping to next keyframe. r=cpearce 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
f7a6aa17d0 Bug 1163227: Part8. Fix incorrect seconds / microseconds conversion. r=mattwoodrow
This led to incorrect data eviction in sourcebuffer
2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
4dc728204b Bug 1163227: Part7. Never do blocking read if we don't have data. r=kentuckyfriedtakahe 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
04ba19f488 Bug 1163227: Part6. Always notify MediaSourceReader of new data on its own task queue. r=mattwoodrow 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
2b44f4a3e5 Bug 1163227: Part5: Increase verbosity content for debugging purposes. r=cpearce
Small reorganisation of Update(). With bug 1153295 fixed, remove need for
StorensRefPtrPassByPtr.
2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
b37bb7571f Bug 1166836: Part3. Optimise most common addition to IntervalSet. r=mattwoodrow 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
70c9952e4a Bug 1166836: Part2. Only rescans MP4's moof when necessary. r=cpearce 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
c2737df50a Bug 1166836: Part1. Cache main thread buffered time range. r=cpearce
GetBuffered() can be particularly slow under some circumstances.
2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
f7e131b6e0 Bug 1163227: Part4. Fix MP4TrackDemuxer eviction offset calculations. r=mattwoodrow 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
7186ab86c1 Bug 1163227: Part3. Notify mediasource sub-readers that data was evicted. r=mattwoodrow 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
da404110e2 Bug 1163227: Part2. Add MediaDecoderReader::NotifyDataRemoved method. r=cpearce 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
7801d65945 Bug 1163227: Part1. Notify parent decoder that data got removed. r=mattwoodrow 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
88bb1a8eb1 Bug 1166282: Have TimeIntervals and IntervalSet nsTArray_CopyChooser specialization. r=nfroyd 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
50d43ee5fb Bug 1165938: Disable test on XP/Linux for intermittent failures. r=karlt 2015-05-25 15:09:15 +10:00
Jean-Yves Avenard
cd5471d5c9 Bug 1159171: Part2. Fix pts calculations in older LibAV version. r=edwin
LibAV v0.8 always set the pts to 0 while the dts is set to the pts.
2015-05-25 15:09:15 +10:00
Karl Tomlinson
2be891d110 back out 780f3d9c7cc3..afb28a3157b3 for test failures (bug 1167045, bug
1162364, bug 1166107) CLOSED TREE
2015-05-25 14:31:02 +12:00
JW Wang
23f2b638f4 Bug 1163489 - Remove dependency on MediaDecoder from DecodedStream. r=roc. 2015-05-10 12:07:14 +08:00
Nicholas Nethercote
adcd365f5e Bug 1166598 (part 8) - Use PLDHashTable2 in nsHostResolver. r=froydnj. 2015-05-12 17:33:45 -07:00
Nicholas Nethercote
4cdc3dfb3c Bug 1166598 (part 7) - Use PLDHashTable2 in nsLoadGroup. r=froydnj.
Things to note:

- nsLoadGroupConnectionInfo and its methods were just moved higher up in the
  file so it could be referenced in nsLoadGroup's constructor; none of that
  code has been changed;

- ~nsLoadGroup() is made public because NS_GENERIC_AGGREGATED_CONSTRUCTOR
  requires it to be.
2015-05-12 17:33:44 -07:00
Nicholas Nethercote
16479c9560 Bug 1166598 (part 6) - Clean up nsStaticCaseInsensitiveNameTable. r=froydnj.
This patch simplifies nsStaticCaseInsensitiveNameTable greatly by taking
advantage of the following observations.

- |new| is infallible, so |new nsStaticCaseInsensitiveNameTable()| calls don't
  need their return value checked.

- nsStaticCaseInsensitiveNameTable::Init() checks if any of the added entries
  differ only in case, so the callers of that function don't need to do the
  same check.

- nsStaticCaseInsensitiveNameTable::Init() never returns false because
  moz_xmalloc() is infallible. (Its callers never check the return value
  anyway.) So it can be merged into the constructor. And
  ~nsStaticCaseInsensitiveNameTable() need not null-check |mNameArray|.

- PLDHashTable now has an initializing constructor and destructor, so these can
  be used in nsStaticCaseInsensitiveNameTable, thus avoiding manual
  PLD_HashTable{Init,Finish}() calls.
2015-05-05 21:13:53 -07:00
Nicholas Nethercote
6f0071f229 Bug 1166598 (part 5) - Use PLDHashTable2 in InMemoryDataSource. r=froydnj. 2015-05-05 18:39:20 -07:00
Nicholas Nethercote
0c7ca68cbe Bug 1166598 (part 4) - Use PLDHashTable2 in RDFServiceImpl. r=froydnj. 2015-05-05 18:30:27 -07:00
Nicholas Nethercote
ff4aa2cbfd Bug 1166598 (part 3) - Use PLDHashTable2 in nsCommandParams. r=froydnj. 2015-05-05 18:23:39 -07:00
Nicholas Nethercote
42ce5ac7f4 Bug 1166598 (part 2) - Use PLDHashTable2 in SpanningCellSorter. r=froydnj,dbaron. 2015-05-05 16:11:43 -07:00
Nicholas Nethercote
92cf4ee2ff Bug 1166598 (part 1) - Use PLDHashTable2 in nsScriptNameSpaceManager. r=froydnj. 2015-05-05 16:11:43 -07:00
Kartikaya Gupta
b04762c394 Bug 1151617 - Add async-zooming tests for async scrollbar positioning. r=tn,botond 2015-05-24 16:48:26 -04:00