Commit Graph

422991 Commits

Author SHA1 Message Date
Andrea Marchesini
c98f5c0ae8 Bug 1167423 - patch 3 - Handle return values of FallibleTArray functions in MutationObserver, r=smaug 2015-05-25 12:50:15 +01:00
Andrea Marchesini
4f0dec9374 Bug 1167423 - patch 2 - Handle return values of FallibleTArray functions in WebSocket, r=smaug 2015-05-25 12:50:15 +01:00
Andrea Marchesini
0379b80f15 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
b6e238cc5e Bug 1168004: Part2. Add sample file. r=bholley
Add MP4 sample file where video starts at 0.8s and audio at 1.95s.

--HG--
rename : dom/media/test/bipbop-cenc-videoinit.mp4^headers^ => dom/media/test/bipbop-lateaudio.mp4^headers^
2015-05-25 19:28:02 +10:00
Jean-Yves Avenard
37f6e4ba89 Bug 1168004: Part1. Ensure buffered range referential starts at 0. r=bholley 2015-05-25 19:27:21 +10:00
Karl Tomlinson
6fa11d1b02 bug 1166107 documentation of mWaitForInternalDrain thread access r=gerald
--HG--
extra : rebase_source : 09f31f88287e7fa117307a6118c716a109c899d5
2015-05-22 11:10:00 +12:00
Karl Tomlinson
6f61cbaa48 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.

--HG--
extra : rebase_source : 7ee2a84ad8121febe21be7f6c790129e35b28580
2015-05-25 08:52:30 +12:00
Karl Tomlinson
46699a8546 bug 1162364 detect and abort MF_E_TRANSFORM_STREAM_CHANGE infinite loops r=cpearce
--HG--
extra : rebase_source : 0c54d8634a46d350fb9dafc7e94ea1705b48de93
2015-05-22 15:23:00 +12:00
Jean-Yves Avenard
fc75b668bb Bug 1163227: Part10. Properly recalculate next keyframe time after seeking. r=cpearce 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
932eb6007f 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
da82e0ff2b 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
53af195bf0 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
c3488b4694 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
f6ab7b2760 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
defc1834b4 Bug 1166836: Part3. Optimise most common addition to IntervalSet. r=mattwoodrow 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
097193a76b Bug 1166836: Part2. Only rescans MP4's moof when necessary. r=cpearce 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
c0532dc0aa 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
d59c0aad95 Bug 1163227: Part4. Fix MP4TrackDemuxer eviction offset calculations. r=mattwoodrow 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
a6f5c5d407 Bug 1163227: Part3. Notify mediasource sub-readers that data was evicted. r=mattwoodrow 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
4ef7b191ea Bug 1163227: Part2. Add MediaDecoderReader::NotifyDataRemoved method. r=cpearce 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
8277c4fa05 Bug 1163227: Part1. Notify parent decoder that data got removed. r=mattwoodrow 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
8adb944d2f Bug 1166282: Have TimeIntervals and IntervalSet nsTArray_CopyChooser specialization. r=nfroyd 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
7bf22f4679 Bug 1165938: Disable test on XP/Linux for intermittent failures. r=karlt 2015-05-25 15:09:15 +10:00
Jean-Yves Avenard
bf921d645a 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
ec6163456c back out 780f3d9c7cc3..afb28a3157b3 for test failures (bug 1167045, bug
1162364, bug 1166107) CLOSED TREE

--HG--
extra : rebase_source : 25ec81ea2922f66ef4833121f1a3b4af8977c702
extra : amend_source : 3be0042bd1fafbeab56cc207a2b4c336148a975d
2015-05-25 14:31:02 +12:00
JW Wang
befae12d3f Bug 1163489 - Remove dependency on MediaDecoder from DecodedStream. r=roc. 2015-05-10 12:07:14 +08:00
Nicholas Nethercote
a6d3fc9f49 Bug 1166598 (part 8) - Use PLDHashTable2 in nsHostResolver. r=froydnj. 2015-05-12 17:33:45 -07:00
Nicholas Nethercote
ecae0d4f96 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
01e0dbf44b 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
8cecb0de92 Bug 1166598 (part 5) - Use PLDHashTable2 in InMemoryDataSource. r=froydnj.
--HG--
extra : rebase_source : abacc7bb778bf312f7e15495046e4e68af334c3b
2015-05-05 18:39:20 -07:00
Nicholas Nethercote
2d482a5d52 Bug 1166598 (part 4) - Use PLDHashTable2 in RDFServiceImpl. r=froydnj.
--HG--
extra : rebase_source : 5466d753cdeb972c3efe55b1fe78536f0f276a49
2015-05-05 18:30:27 -07:00
Nicholas Nethercote
bf1839cd7a Bug 1166598 (part 3) - Use PLDHashTable2 in nsCommandParams. r=froydnj.
--HG--
extra : rebase_source : 8e7e616c93cae653440a6ea2e11cd1c6da2e8821
2015-05-05 18:23:39 -07:00
Nicholas Nethercote
51dc9c3dc9 Bug 1166598 (part 2) - Use PLDHashTable2 in SpanningCellSorter. r=froydnj,dbaron.
--HG--
extra : rebase_source : 2ca65083c218523b8f6dba043979f61358a79ca1
2015-05-05 16:11:43 -07:00
Nicholas Nethercote
2d6942191e Bug 1166598 (part 1) - Use PLDHashTable2 in nsScriptNameSpaceManager. r=froydnj.
--HG--
extra : rebase_source : 210c5fe6722060beaf24226651d28f7a5a87b41e
2015-05-05 16:11:43 -07:00
Kartikaya Gupta
58b0d94d59 Bug 1151617 - Add async-zooming tests for async scrollbar positioning. r=tn,botond 2015-05-24 16:48:26 -04:00
Timothy Nikkel
f3507bdc3b Bug 1160642. Add reftest-async-zoom to apply an async zoom before taking snapshot. r=dbaron 2015-05-24 16:48:26 -04:00
Phil Ringnalda
3d9a135adb Merge m-c to m-i 2015-05-24 15:27:08 -07:00
Phil Ringnalda
83030f8fc0 Merge f-t to m-c, a=merge 2015-05-24 12:15:26 -07:00
Phil Ringnalda
ab3d55878e Merge b-i to m-c, a=merge 2015-05-24 12:14:37 -07:00
B2G Bumper Bot
d0160b0551 Bumping manifests a=b2g-bump 2015-05-24 08:17:19 -07:00
B2G Bumper Bot
f77926f7c5 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/66ad152ea509
Author: Martijn <martijn.martijn@gmail.com>
Desc: Merge pull request #30201 from mwargers/1166873

Bug 1166873 - Pin treeherder-client to 1.0 in requirements.txt

========

https://hg.mozilla.org/integration/gaia-central/rev/6014f21d9a01
Author: Martijn Wargers <mwargers@mozilla.com>
Desc: Bug 1166873 - Pin treeherder-client to 1.0 in requirements.txt
2015-05-24 08:15:23 -07:00
Jordan Santell
912df7a555 Bug 1167006 - Refactor marker details to not handle stack traces explicitly, and move logic into marker utils. Separate out some source link styles. r=vp 2015-05-24 00:18:08 -07:00
Kai-Zhen Li
175fd0487d Bug 1167106 - Keep the default value if it is smaller than the physical partition size. r=fabrice 2015-05-24 14:08:13 +08:00
Phil Ringnalda
53b4601f96 Back out 4 changesets (bug 1167022) for reftest-e10s bustage
CLOSED TREE

Backed out changeset de4013b979a7 (bug 1167022)
Backed out changeset b97f76c4be1c (bug 1167022)
Backed out changeset cbc7f8b88a46 (bug 1167022)
Backed out changeset 00b1c04181d3 (bug 1167022)
2015-05-23 21:40:21 -07:00
Phil Ringnalda
78a19c744b Merge m-c to m-i 2015-05-23 18:46:00 -07:00
Phil Ringnalda
8c3e8480c6 Merge m-c to b-i 2015-05-23 18:45:13 -07:00
Masayuki Nakano
bdb3dae876 Bug 1167022 part.4 Get rid of MozIMEFocus(In|Out) events r=smaug 2015-05-24 10:11:37 +09:00
Masayuki Nakano
999bfdde66 Bug 1167022 part.3 Fix test_imestate.html for conforming to the new IME focus notification behavior r=nchen 2015-05-24 10:11:37 +09:00
Masayuki Nakano
bbfdde48f6 Bug 1167022 part.2 IMEStateManager::UpdateIMEState() should try to restart to observe focused editor when it's reframed r=smaug+nchen 2015-05-24 10:11:37 +09:00
Masayuki Nakano
3a846afa05 Bug 1167022 part.1 Make IMEContentObserver possible to restart to observe editor root node r=smaug 2015-05-24 10:11:37 +09:00