Commit Graph

471758 Commits

Author SHA1 Message Date
Jonathan Watt
c7da421b17 Bug 1266101, part 1 - Remove various bits of dead code related to painting SVG text. r=heycam 2016-04-21 14:39:30 +01:00
Bevis Tseng
99314e7542 Bug 1265973 - Throw InvalidStateError at IDBCursor.update() if IDBCursor.continue() is in progress. r=khuey 2016-04-20 14:36:19 +08:00
Henry Chang
a516550b03 Bug 1093642 - Part 2: Decide if we allow mixed content before sending click event to remote tab. r=tanvi. 2016-04-21 11:07:40 +08:00
Henry Chang
c4d1435e06 Bug 1093642 - Part 1: Use parentAllowsMixedContent to decide if child tab should load mixed content. r=tanvi, r=MattN
This patch is to fix the "Right click and open in a new tab" case.
2016-04-21 11:07:34 +08:00
Carsten "Tomcat" Book
777dd1d6c4 Backed out changeset b8372d58243b (bug 1264365) for android test bustage on a CLOSED TREE
--HG--
extra : amend_source : 25183f01d96a63610848e641da2d44e55be86478
2016-04-21 14:06:56 +02:00
Jean-Yves Avenard
2f4278ee1e Bug 1247138: [MSE] P2. Add mochitest. r=gerald
2nd media segment also exercise bug 1264622 resolution

MozReview-Commit-ID: F5euopyUiPk

--HG--
extra : rebase_source : b1e1199317612e159507583bcbc4753d106580a6
2016-04-15 01:46:36 +10:00
Jean-Yves Avenard
94cfa0b423 Bug 1247138: [MSE] P1. Allow change of audio format. r=gerald
MozReview-Commit-ID: 9fktsFVXtdt

--HG--
extra : rebase_source : bba6b286c6281b34d21cd2a1d1341ef05a4977e4
2016-04-14 19:12:44 +10:00
Jean-Yves Avenard
046068db58 Bug 1264199: P8. Handle potential resampling errors. r=kinetik
The speex resampler can never return an error in its current state. But just in case and to handle any future changes to the speex resampler.
Also ensure that we can never access a stale speex resampler.

MozReview-Commit-ID: CEME0AA9ghK

--HG--
extra : rebase_source : a8d9ba46a4a4bbfd8d29a7d8bb6df01d9d828ad6
2016-04-19 14:53:18 +10:00
Jean-Yves Avenard
a0ff91528b Bug 1264199: [speex] P7. Handle memory allocation failures during initialization. r=kinetik
Fix submitted upstream.

MozReview-Commit-ID: JpHoVKu2S7w

--HG--
extra : rebase_source : 592c0dcb4e01308116e0ea264a59fe9e592986b3
2016-04-19 14:39:39 +10:00
Jean-Yves Avenard
b6a41a813c Bug 1264199: P6. Drain resampler when changing format or reaching the end. r=kinetik
MozReview-Commit-ID: KqcB0FYxNtC

--HG--
extra : rebase_source : 6004cd28d70f5ac44644aa00f852d0afd95017a9
2016-04-14 15:44:02 +10:00
Jean-Yves Avenard
427e2852c6 Bug 1264199: P5. Perform all downmixing operations in DecodedAudioDataSink. r=kinetik
Performing all audio processing operations in the same place, allows to simplify the code.

Additionally, if accessibility.monoaudio.enable is not set, we always upmix mono to stereo so that if the first audio stream seen was mono, we aren't stuck playing all future streams in mono.

MozReview-Commit-ID: 5yANN6PLFhX

--HG--
extra : rebase_source : f40dfacc9fc323794325de0431c4958854012180
2016-04-13 20:25:50 +10:00
Jean-Yves Avenard
5599bfcc1c Bug 1264199: P4. Add mono to stereo upmix to AudioConverter. r=rillian
MozReview-Commit-ID: 4sCvNWKEMZS

--HG--
extra : rebase_source : 4a77307d2bc5467ff04801d962b73b9bd2ece6f4
2016-04-13 19:50:54 +10:00
Jean-Yves Avenard
f3ef547925 Bug 1264199: P3. Attempt to minimize audio quality loss and unnecessary processing. r=kinetik
We attempt to avoid unnecessary resampling of 44.1kHz and 48kHz content, for all others we use cubeb's preferred sampling rate as final sampling rate.

MozReview-Commit-ID: 413qnsDFHzY

--HG--
extra : rebase_source : a469cb7269be48bfbca82fbbd90c3e2caf21b9a7
2016-04-13 17:55:48 +10:00
Jean-Yves Avenard
ad7e31a76a Bug 1264199: P2. Ensure the AudioStream only ever receive the same content format. r=kinetik
The audio is automatically converted to always match the format of the first processed sample.
This is a temporary approach, as it would be preferred to use a final sampling rate not causing too much quality loss.

MozReview-Commit-ID: Lo3827aon43

--HG--
extra : rebase_source : 51322d12415995bd5ba7d8a25500860f333c9c3e
2016-04-13 17:30:23 +10:00
Jean-Yves Avenard
d8c778f022 Bug 1264199: P1. Perform audio conversion in the reader's taskqueue and ahead of use. r=kinetik
This will allow to easily detect audio configuration change prior immediate playback.

MozReview-Commit-ID: IwDUGOd17ND

--HG--
extra : rebase_source : 3af32634eb431661436bf1d3aaeb80124b229716
2016-04-13 17:17:54 +10:00
Jean-Yves Avenard
df2fed92a5 Bug 1258922: [MSE] Disable noisy test. r=me
MozReview-Commit-ID: 7GR6cBq5wM0

--HG--
extra : rebase_source : f7ba8e37e2066dd51c39ba22c54a52456305d67c
2016-04-21 21:30:59 +10:00
Nicolas Silva
43e7522b88 Bug 1264365 - Disable hardware acceleration for small popup widgets. r=dvander 2016-04-21 12:20:31 +02:00
Jon Coppeard
97354de045 Bug 1266107 - Simplify typed object tracing now type descriptors are traced first r=terrence 2016-04-21 11:06:29 +01:00
Jon Coppeard
bf79b44dd7 Bug 1266107 - Update type descriptors first when compacting r=terrence 2016-04-21 11:06:29 +01:00
Jon Coppeard
1ad037d76c Bug 1266107 - Track all existing typed object descriptor objects r=terrence 2016-04-21 11:06:29 +01:00
Jon Coppeard
bf6c2c67d1 Bug 1266105 - Only purge runtime tables once per slice when compacting r=terrence 2016-04-21 11:06:29 +01:00
Ted Mielczarek
38f0f05268 bug 1266046 - remove NSPR_CONFIGURE_ARGS. r=glandium
MozReview-Commit-ID: 4lwouR4LVit

--HG--
extra : rebase_source : 6103e3ab1ff077efc3109b412e4f3bbcb53c8f5f
2016-04-20 08:37:39 -04:00
JW Wang
d9e2bd240b Bug 1265974 - Don't fire push events in MediaQueue::PushFront(). r=jya.
MozReview-Commit-ID: FEqDlD854vM
2016-04-21 10:18:20 +08:00
Thomas Zimmermann
d812f7602e Bug 1266033: |nsDBusHandlerApp|: Use private connection to DBus session bus, r=bz
Sharing DBus connections can interfere with other modules (e.g., watching
connections on multiple threads concurrently might introduce race conditions).

This patch changes |nsDBusHandlerApp| to use it's private connection to
the session bus to avoid interference.
2016-04-21 11:24:23 +02:00
Thomas Zimmermann
b8fa61ee49 Bug 1266033: |nsDBusHandlerApp|: Hold reference to |DBusMessage| in |RefPtr|, r=bz 2016-04-21 11:24:23 +02:00
Thomas Zimmermann
809e2dc71c Bug 1266033: |nsDBusHandlerApp|: Hold reference to |DBusConnection| in |RefPtr|, r=bz
|nsDBusHandlerApp| currently leaks its DBus connection. This patch
fixes the leak with automated reference-counting by using |RefPtr|.
2016-04-21 11:24:23 +02:00
Thomas Zimmermann
ec0b5f67ca Bug 1266033: Fix white-space errors in |nsDBusHandlerApp|, r=bz 2016-04-21 11:24:23 +02:00
Seth Fowler
4b0251d526 Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond 2016-04-21 01:22:10 -07:00
Seth Fowler
82aae6c3ed Bug 1261554 (Part 2) - Mark frames which are added to the display list when painting to the window as having Visibility::IN_DISPLAYPORT. r=mstange 2016-04-21 01:22:10 -07:00
Seth Fowler
0847460298 Bug 1261554 (Part 1) - Prepare for implementing in-displayport visibility tracking. r=mstange 2016-04-21 01:21:58 -07:00
Brian Birtles
e82da4fa99 Bug 1265611 - Add tests that we ignore disabled properties when creating animations from the Web Animations API; r=heycam
MozReview-Commit-ID: 81XkkwtyJLt
2016-04-21 17:05:47 +09:00
Brian Birtles
383f4aa97c Bug 1265611 - Add tests for CSS animations; r=heycam
MozReview-Commit-ID: LTnRxQixqzJ
2016-04-21 17:05:47 +09:00
Brian Birtles
825d83d3fc Bug 1265611 - Don't trigger transitions for properties that are disabled; r=heycam
Currently if we have transition-property: 'all' and trigger a transition
on the 'color' property we will end up generating a transition on
-webkit-text-fill-color even if that property is disabled.

However, when we later call StyleAnimationValue::ToValue() in
nsTransitionManager::UpdateTransitions() to see if there are any transitions we
need to cancel, the comparison for currentValue != anim->ToValue() will pass
(since, as of the first patch in this patch series, ToValue() returns a null
value) so we end up cancelling the transition as soon as we create it).

Nevertheless, we will still trigger the warning introduced in the first patch
in this series when we call ToValue().

This patch stops us from creating transitions in the first place (and hence
triggering the warning). It also removes the code that suppresses transition
events for transitions on disabled properties since we should no longer be
generating such transitions in the first place (unless the pref is switched
while the transition is in motion which is probably not worth worrying about).

Note that we only test if the property is enabled for all content. This is
consistent with what we do throughout animation code including the existing
code in nsTransitionManager which iterates through shorthand sub-properties
using CSSPROPS_FOR_SHORTHAND_SUBPROPERTIES with the flag
nsCSSProps::eEnabledForAllContent.

The test case in this patch doesn't actually fail without this change, all it
does it trigger the warning in StyleAnimationValue::ToValue() introduced
in the first patch in this series. It's still a useful regression test however,
particularly if we later upgrade the warning in StyleAnimationValue::ToValue()
to a fatal assertion.

MozReview-Commit-ID: H9swDKLyiOf
2016-04-21 17:05:46 +09:00
Brian Birtles
135b397103 Bug 1265611 - Crashtest; r=heycam
I have verified that without the fix in the first patch in this series this
test fails, but passes with the fix applied.

MozReview-Commit-ID: JmncnapbVLa
2016-04-21 17:05:46 +09:00
Brian Birtles
99ba8fd7de Bug 1265611 - Make TransitionProperty() and ToValue() safe when mProperties is not set; r=heycam
MozReview-Commit-ID: KIzE5jdvPfT
2016-04-21 17:05:46 +09:00
Cervantes Yu
a7ec2e32a7 Bug 1258317 - Part 1: Annotate the crash report with process information on failure to transfer an IPC transport to another process. r=krizsa
MozReview-Commit-ID: LE2FnrQgzze

--HG--
extra : rebase_source : ff891052985ae8411725f7df7c21eaacae84732f
2016-04-19 19:08:55 +08:00
Makoto Kato
9d4015aa91 Bug 1248821 - Force Flash to windowless mode regardless of sandbox level. r=jimm
MozReview-Commit-ID: B6X6DS42tYb

--HG--
extra : rebase_source : e76a22ee8790d67d7416f1a2b38bc00c9abfbc74
extra : histedit_source : dedc94e4adad27e3d1c5cb800da100ed682ef959
2016-04-15 19:59:58 +09:00
Brian Birtles
c316784247 Bug 1266257 - Split iteration progress tests into 'simple iteration progress' and 'active time' tests; r=hiro
MozReview-Commit-ID: 1fc6Wpi9nN8

--HG--
rename : testing/web-platform/tests/web-animations/timing-model/iteration-progress.html => testing/web-platform/tests/web-animations/timing-model/simple-iteration-progress.html
2016-04-21 14:51:36 +09:00
Brian Birtles
d1b44c418c Bug 1266257 - Move getComputedTiming-* tests to timing-model; r=hiro
--HG--
rename : testing/web-platform/tests/web-animations/keyframe-effect/getComputedTiming-currentIteration.html => testing/web-platform/tests/web-animations/timing-model/current-iteration.html
rename : testing/web-platform/tests/web-animations/keyframe-effect/getComputedTiming-progress.html => testing/web-platform/tests/web-animations/timing-model/iteration-progress.html
2016-04-21 14:51:36 +09:00
Brian Birtles
1e1f683439 Bug 1266257 - Revise timing model calculations to use fraction-based approach; r=hiro
As per updates to Web Animations spec:

  https://github.com/w3c/web-animations/compare/10fc97366041%5E...b9a721e6536ae27c37df1e3948b013c6a52d5f4c

MozReview-Commit-ID: 5NHnF56aETJ
2016-04-21 14:51:36 +09:00
Randell Jesup
7d950772fc Bug 1266285: Don't include UNPLUGGED cubeb devices in getUserMedia list, and use correct default r=kinetik
MozReview-Commit-ID: 1hBNLCAu2rW
2016-04-21 01:42:50 -04:00
Mantaroh Yoshinaga
72f7003eb5 Bug 1266251 - Modify the order of web-platform tests manifest. r=birtles
MozReview-Commit-ID: 7SZjS0SX51I
2016-04-21 09:09:01 +09:00
Brian Birtles
629bf12364 Bug 1266273 - Change type of ComputedTimingProperties.progress from unrestricted double? to double? r=bz
To reflect updates to the spec: df138ee131

MozReview-Commit-ID: 525eLGCK4tl
2016-04-21 14:34:05 +09:00
Jan Varga
4834a1cc3e Bug 1182987 - Part 5: Change mode of "readwrite" transaction to "cleanup" after QuotaExceeded is fired; r=baku
--HG--
rename : dom/indexedDB/test/unit/test_quotaExceeded_recovery.js => dom/indexedDB/test/unit/test_cleanup_transaction.js
2016-04-21 06:53:30 +02:00
L. David Baron
1fff16a212 Bug 1053986 - Rename nsBox::DoLayout to DoXULLayout. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

(While this wasn't explicitly reviewed, I'm considering it as r=dholbert
based on the request in comment 47 in the bug.)

MozReview-Commit-ID: 6Q0F4ViOyjJ
2016-04-20 21:28:35 -07:00
L. David Baron
a5934125bf Bug 1053986 - Rename nsBox::EndLayout to EndXULLayout. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

(While this wasn't explicitly reviewed, I'm considering it as r=dholbert
based on the request in comment 47 in the bug.)

MozReview-Commit-ID: 6D6A0XqArES
2016-04-20 21:28:35 -07:00
L. David Baron
5d96d363af Bug 1053986 - Rename nsBox::BeginLayout to BeginXULLayout. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

(While this wasn't explicitly reviewed, I'm considering it as r=dholbert
based on the request in comment 47 in the bug.)

MozReview-Commit-ID: 5gQYEEY6jJ1
2016-04-20 21:28:34 -07:00
L. David Baron
7f9ad26421 Bug 1053986 - Fix ordering of methods in nsIFrame.h r=dholbert
This moves the declaration of a method that was incorrectly inserted between:
  // BOX LAYOUT METHODS
and:
  // END OF BOX LAYOUT METHODS

MozReview-Commit-ID: AbboPVCM4Gx
2016-04-20 21:28:34 -07:00
L. David Baron
e0db98947a Bug 1053986 - Rename nsIFrame::AddCSSPrefSize, AddCSSMinSize, AddCSSMaxSize, and AddCSSFlex by replacing CSS with XUL. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: BTsQw1EMqvY
2016-04-20 21:28:34 -07:00
L. David Baron
29a427f28f Bug 1053986 - Rename nsIFrame::DumpBox to XULDumpBox. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

MozReview-Commit-ID: 7fWf9Z1ugB9
2016-04-20 21:28:34 -07:00