Corentin Arnould
31ab26890e
Bug 1614019 - Added mochitest for negative sample rate. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D83925
2020-07-30 15:54:55 +00:00
Corentin Arnould
23717c88b4
Bug 1614019 - Removed negative value from the valid range r=padenot,webidl,smaug
...
The condition in the if is changed because the minus operation could overflow.
The declaration of sampleRate has been moved to its next use because its first value was never used.
Differential Revision: https://phabricator.services.mozilla.com/D81550
2020-07-30 23:28:34 +00:00
Emilio Cobos Álvarez
ff61891772
Bug 1653011 - Simplify and make WeakPtr<Derived> usable and compact. r=froydnj,sg,geckoview-reviewers,jgilbert,kvark,snorp
...
Having two classes in the inheritance chain inherit from SupportsWeakPtr
now won't compile, but you can use WeakPtr<Derived> when any base class
inherits from SupportsWeakPtr.
Differential Revision: https://phabricator.services.mozilla.com/D83674
2020-07-23 14:51:46 +00:00
Razvan Maries
b34b73644f
Bug 1650930 - Disabled test_bug1027864.html. r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D82880
2020-07-09 11:49:32 +00:00
Dan Minor
d8e1e4a499
Bug 1650945
- Fix error message in IIRFilterNode::Create; r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D82716
2020-07-08 14:05:33 +00:00
Paul Adenot
bea4d42fdf
Bug 1646743 - Don't attempt to get the output latency from the graph after and AudioContext has been shutdown. r=karlt
...
Depends on D80696
Differential Revision: https://phabricator.services.mozilla.com/D80836
2020-06-29 10:37:14 +00:00
Corentin Arnould
a4fc56119e
Bug 1650030 - Revert changes for bug 1618225. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D82197
2020-07-03 14:27:59 +00:00
Simon Giesecke
cd8b8939b9
Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Karl Tomlinson
a235906df6
Bug 1647750 error out when AudioWorkletProcessor#process() detaches output Float32Array r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D80804
2020-06-25 02:09:39 +00:00
Karl Tomlinson
7fd5763b3a
Bug 1647750 use MakeScopeExit() to avoid repetition of error paths r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D80803
2020-06-24 09:29:38 +00:00
Corentin Arnould
76419cd0d4
Bug 1618225 - Added wpt test for loop with duration r=padenot
...
Silenced the mochitest
Differential Revision: https://phabricator.services.mozilla.com/D79875
2020-06-24 12:00:18 +00:00
Corentin Arnould
2ef567c825
Bug 1618225 - Updated mochitest for loop with duration r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D79874
2020-06-24 12:00:11 +00:00
Corentin Arnould
d3cc80aa8c
Bug 1618225 - Set stop time when using loop with duration. r=padenot
...
The AudioBufferSourceNode can now be looping and stop after duration.
Differential Revision: https://phabricator.services.mozilla.com/D79873
2020-06-24 11:59:53 +00:00
Jean-Yves Avenard
87438519f0
Bug 1637500 - P2. Rename methods as they are not always dealing with "threads". r=froydnj
...
Before P1, GetCurrentThreadSerialEventTarget would have always returned the same data as NS_GetCurrentThread, making the comment incorrect Now it will properly return the running TaskQueue if any.
This change of name more clearly exposes what they are doing, as we aren't always dealing with threads directly; but a nsISerialEventTarget
Differential Revision: https://phabricator.services.mozilla.com/D80354
2020-06-23 05:05:36 +00:00
Corentin Arnould
5d8eb750cd
Bug 1615130 - Fix uninitialized data. r=padenot
...
Values are set to 0 by default rather than uninitialized. It is useful when JSContext is null.
Differential Revision: https://phabricator.services.mozilla.com/D79986
2020-06-22 10:21:40 +00:00
Karl Tomlinson
209a34c2b7
Bug 1642849 shut down MediaTrackGraph from AudioContext when window will be destroyed r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D74814
2020-06-12 03:53:34 +00:00
Karl Tomlinson
f426576017
Bug 1644647 reject promises for Close AudioContextOperations run after forced graph shutdown r=padenot
...
and re-enable OnStateChanged() transition assertions.
Rejecting the promise avoids having AudioContextOperation promises resolve out
of order when AudioContextOperationControlMessage::RunDuringShutdown()
resolves a Close operation shortly after Run() for a previous operation has
queued its update via mUpdateRunnables. mUpdateRunnables are run after
controlMessagesToRunDuringShutdown.
https://searchfox.org/mozilla-central/rev/ea7f70dac1c5fd18400f6d2a92679777d4b21492/dom/media/MediaTrackGraph.cpp#1793,1803
AudioContext::Shutdown() takes care of rejecting JS Promises when the window
is being destroyed.
Differential Revision: https://phabricator.services.mozilla.com/D79055
2020-06-12 02:38:35 +00:00
Karl Tomlinson
632dfeb6cc
Bug 1638243 reject promises for Resume AudioContextOperations that have not run by graph shutdown r=padenot
...
The promises are rejected before shutting down threads so that they don't need
to wait for nested event loops to exit.
Differential Revision: https://phabricator.services.mozilla.com/D76807
2020-06-12 01:12:56 +00:00
Karl Tomlinson
9f36b6849d
Bug 1644647 use AudioContextOperation::Resume to start realtime AudioNodeTracks r=padenot
...
This provides that a new track does not start processing before existing
tracks in the AudioContext, which may not be resumed until an
AudioCallbackDriver is running.
Depends on D79048
Differential Revision: https://phabricator.services.mozilla.com/D79049
2020-06-12 00:50:34 +00:00
Karl Tomlinson
8ebfa90f03
Bug 1644647 use the same mechanism for the first suspended->running transition as for others r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D79048
2020-06-11 08:51:17 +00:00
Karl Tomlinson
32c6cac7db
Bug 1644647 - Bug 1285290 use strong pointers for tracks in ApplyAudioContextOperation() r=padenot
...
This will be helpful when delaying resumption of tracks until there is an AudioCallbackDriver.
The memory for the array is also transferred to the callee to save an allocation.
Differential Revision: https://phabricator.services.mozilla.com/D76801
2020-06-12 01:02:18 +00:00
Simon Giesecke
82dc9b2271
Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D78027
2020-06-10 10:46:14 +00:00
Butkovits Atila
e3dce68834
Backed out 3 changesets (bug 1643289, bug 1642949) for causing failure at test_headless_screenshot.html. CLOSED TREE
...
Backed out changeset 98c420f73380 (bug 1643289)
Backed out changeset 9447ea8910aa (bug 1643289)
Backed out changeset 0c827da9d847 (bug 1642949)
2020-06-10 10:07:23 +03:00
Simon Giesecke
d419f0ff08
Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D78027
2020-06-10 05:49:28 +00:00
Simon Giesecke
ca2d0aaa68
Bug 1644403 - Fix inconsistent uses of CopyableAutoTArray and Clone. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D78893
2020-06-09 14:27:20 +00:00
Simon Giesecke
ebbc7ae838
Bug 1642989 - Use RemoveLastElements instead of RemoveElementsAt where possible. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D78049
2020-06-08 08:50:15 +00:00
Karl Tomlinson
4e78ffdefb
Bug 1641161 - Bug 1285290 alias move() to std::move() in MediaTrackGraph.cpp and AudioContext.cpp r=padenot
...
Depends on D76799
Differential Revision: https://phabricator.services.mozilla.com/D76800
2020-05-27 08:36:18 +00:00
Karl Tomlinson
cd4aaf8433
Bug 1641161 - Bug 1285290 don't add destroyed tracks to graph from Increment/DecrementSuspendCount r=padenot
...
Tracks remove themselves from the graph after DestroyImpl() and so should not
be added again after this.
These methods are now invoked only on the MediaTrack removing the possibility
of calling the wrong method.
Depends on D76797
Differential Revision: https://phabricator.services.mozilla.com/D76798
2020-05-27 08:34:13 +00:00
Masatoshi Kimura
9c7a29b17e
Bug 1531851 - Make WebAudio GC tests more reliable. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D76590
2020-05-25 18:04:58 +00:00
Paul Adenot
781a32b68c
Bug 1607781 - Consistently use a fixed sample-rate when resisting fingerprinting. r=jib
...
Differential Revision: https://phabricator.services.mozilla.com/D75937
2020-05-19 12:50:30 +00:00
Karl Tomlinson
dc85ea650c
Bug 1625372 permit ForceShutDown() on a realtime graph r=padenot
...
Depends on D74812
Differential Revision: https://phabricator.services.mozilla.com/D74813
2020-05-15 08:22:31 +00:00
Karl Tomlinson
e8ab6c7193
Bug 1625372 remove unnecessary DestroyNonRealtimeInstance() call from AudioDestinationNode::DestroyMediaTrack() r=padenot
...
DestroyMediaTrack() is called only on Unlink or destruction of the AudioDestinationNode.
If there are no references to the AudioDestinationNode, then the graph's last stream
will be destroyed and the graph will shut down itself.
Differential Revision: https://phabricator.services.mozilla.com/D74812
2020-05-13 10:13:19 +00:00
Karl Tomlinson
0a1151e126
Bug 1625372 request interrupt of AudioWorklet JS on force shutdown r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D71915
2020-05-15 08:24:06 +00:00
alwu
3581879481
Bug 1509933 - part3 : use the new pref in tests. r=padenot
...
This patch will do :
- replace the old pref with the new pref
The advantage of doing so :
- to ensure those tests can still use the correct blocking autoplay policy
Differential Revision: https://phabricator.services.mozilla.com/D73973
2020-05-15 02:51:18 +00:00
Dorel Luca
68c900462b
Backed out 3 changesets (bug 1509933) for Linting failure in gecko/mobile/android/app/mobile.js. CLOSED TREE
...
Backed out changeset c15ecdcd5d13 (bug 1509933)
Backed out changeset 951ea1d0f42a (bug 1509933)
Backed out changeset 3abb24d6dfc9 (bug 1509933)
2020-05-15 05:02:07 +03:00
alwu
1c6be41aa9
Bug 1509933 - part3 : use the new pref in tests. r=padenot
...
This patch will do :
- replace the old pref with the new pref
The advantage of doing so :
- to ensure those tests can still use the correct blocking autoplay policy
Differential Revision: https://phabricator.services.mozilla.com/D73973
2020-05-07 13:05:22 +00:00
Karl Tomlinson
62c2076a1b
Bug 1637159 remove now-unused public DOMEventTargetHelper::BindToOwner() rebind methods r=smaug
...
The virtual is no longer required since
https://hg.mozilla.org/mozilla-central/rev/a01586b62cf5#l1.92
Differential Revision: https://phabricator.services.mozilla.com/D75042
2020-05-14 05:29:49 +00:00
Philip Chimento
f93330de3e
Bug 1629293 - Expose js::ErrorReport in public API. r=evilpie
...
Renames it to JS::ErrorReportBuilder, since it is used to 'build' a
JSErrorReport object.
Differential Revision: https://phabricator.services.mozilla.com/D73521
2020-05-14 04:44:15 +00:00
Narcis Beleuzu
a12e8bbd08
Backed out 5 changesets (bug 1505129, bug 1506323, bug 1629293) for bustages on testPrintError.cpp . CLOSED TREE
...
Backed out changeset ad1ccad76686 (bug 1629293)
Backed out changeset 452e9ab721bd (bug 1629293)
Backed out changeset 72a63e290177 (bug 1629293)
Backed out changeset faeed99f813e (bug 1505129)
Backed out changeset 7bd84a644d2b (bug 1506323)
2020-05-13 21:23:59 +03:00
Philip Chimento
5606c63575
Bug 1629293 - Expose js::ErrorReport in public API. r=evilpie
...
Renames it to JS::ErrorReportBuilder, since it is used to 'build' a
JSErrorReport object.
Differential Revision: https://phabricator.services.mozilla.com/D73521
2020-05-13 16:10:39 +00:00
Csoregi Natalia
0da2867bf2
Backed out 5 changesets (bug 1625372) for assertion failures on GraphDriver.cpp. CLOSED TREE
...
Backed out changeset b9feee4f447c (bug 1625372)
Backed out changeset d86f066bd68b (bug 1625372)
Backed out changeset 7a38398623f8 (bug 1625372)
Backed out changeset 6e9928fb37d1 (bug 1625372)
Backed out changeset ca93e9921c05 (bug 1625372)
2020-05-13 13:09:22 +03:00
Karl Tomlinson
ef208899b1
Bug 1625372 shut down MediaTrackGraph from AudioContext when window will be destroyed r=padenot
...
Depends on D74813
Differential Revision: https://phabricator.services.mozilla.com/D74814
2020-05-12 08:44:46 +00:00
Karl Tomlinson
989d1fc6db
Bug 1625372 permit ForceShutDown() on a realtime graph r=padenot
...
Depends on D74812
Differential Revision: https://phabricator.services.mozilla.com/D74813
2020-05-12 08:43:11 +00:00
Karl Tomlinson
3e139c32e0
Bug 1625372 remove unnecessary DestroyNonRealtimeInstance() call from AudioDestinationNode::DestroyMediaTrack() r=padenot
...
DestroyMediaTrack() is called only on Unlink or destruction of the AudioDestinationNode.
If there are no references to the AudioDestinationNode, then the graph's last stream
will be destroyed and the graph will shut down itself.
Differential Revision: https://phabricator.services.mozilla.com/D74812
2020-05-12 08:42:38 +00:00
Karl Tomlinson
53bf89e445
Bug 1625372 request interrupt of AudioWorklet JS on force shutdown r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D71915
2020-05-12 07:10:51 +00:00
Hiroyuki Ikezoe
34c6fd1e8c
Bug 1636838 - Undef CurrentTime and define X11CurrentTime instead. r=boris
...
Differential Revision: https://phabricator.services.mozilla.com/D74585
2020-05-11 19:34:02 +00:00
Benoît Chauvet
1854f52b7c
Bug 1626753 - WaveShaperNode.cpp : removed else after return. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D74741
2020-05-11 21:17:24 +00:00
Simon Giesecke
f7f5462a4b
Bug 1626570 - Improve handling of copying arrays in dom/media/. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D73627
2020-05-05 11:38:10 +00:00
Paul Adenot
052b46021c
Bug 1633747 - Flush NaNs to zeros before handing back the audio output buffer to the OS. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D72927
2020-05-01 23:57:30 +00:00
Tom Tung
684a5d3947
Bug 1624266 - Use IsSharedMemoryAllowed to decide whether should the CTOR SharedArrayBuffer be defined for Worklets; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D71536
2020-05-01 11:36:08 +00:00
Paul Adenot
3f634118d6
Bug 1634098 - Fix a few clang-tidy warnings in AudioNodeEngine.cpp and vector sibling files. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D73087
2020-04-29 22:39:15 +00:00
Chris Peterson
d8873bd7de
Bug 1594529 - Replace MOZ_MUST_USE with [[nodiscard]] in dom/media/webaudio. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D72565
2020-04-27 11:46:32 +00:00
Sylvestre Ledru
34acbb653a
Bug 1619165 - Reformat recent changes to the Google coding style r=andi
...
First reformat with clang-format 10
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D68802
2020-04-25 09:40:08 +00:00
Paul Adenot
68f59c15f7
Bug 1626382 - r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D72144
2020-04-24 01:57:47 +00:00
Paul Adenot
bbddb266a3
Bug 1611622 - Add a decode test for an OGG Vorbis file with a nil packet at EOS. r=bryce
...
The test file was created using VLC, that has a muxer that does this.
Differential Revision: https://phabricator.services.mozilla.com/D71351
2020-04-21 09:30:57 +00:00
Paul Adenot
2ff258c252
Bug 1611622 - Allow testing for a decode success without checking the file. r=bryce
...
Useful to test the demuxer in the web audio case.
Differential Revision: https://phabricator.services.mozilla.com/D71350
2020-04-21 09:30:40 +00:00
Paul Adenot
22429adf2a
Bug 1611622 - Add some logging to MediaBufferDecoder.cpp. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D70894
2020-04-21 09:30:00 +00:00
Noemi Erli
0e5b704353
Backed out 5 changesets (bug 1611622) for causing failures in test_mediaDecoding.html CLOSED TREE
...
Backed out changeset f4a83f3ac965 (bug 1611622)
Backed out changeset 87254fc7b777 (bug 1611622)
Backed out changeset 1177ae3a0ef3 (bug 1611622)
Backed out changeset daf821043996 (bug 1611622)
Backed out changeset adab60e7e9c5 (bug 1611622)
2020-04-20 22:50:35 +03:00
Paul Adenot
ea156f7bf4
Bug 1611622 - Add a decode test for an OGG Vorbis file with a nil packet at EOS. r=bryce
...
The test file was created using VLC, that has a muxer that does this.
Differential Revision: https://phabricator.services.mozilla.com/D71351
2020-04-20 18:36:48 +00:00
Paul Adenot
571e9f80af
Bug 1611622 - Allow testing for a decode success without checking the file. r=bryce
...
Useful to test the demuxer in the web audio case.
Differential Revision: https://phabricator.services.mozilla.com/D71350
2020-04-20 18:36:41 +00:00
Paul Adenot
010795c79b
Bug 1611622 - Add some logging to MediaBufferDecoder.cpp. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D70894
2020-04-20 18:36:20 +00:00
Mihai Alexandru Michis
1ad47078f4
Backed out 5 changesets (bug 1611622) for causing bustages.
...
CLOSED TREE
Backed out changeset 8be308a0ff7d (bug 1611622)
Backed out changeset e6286802e8b5 (bug 1611622)
Backed out changeset ca1198a5d65c (bug 1611622)
Backed out changeset 7f14a871f69e (bug 1611622)
Backed out changeset 1db1f7da1215 (bug 1611622)
2020-04-17 21:17:37 +03:00
Paul Adenot
88b9f51e9b
Bug 1611622 - Add a decode test for an OGG Vorbis file with a nil packet at EOS. r=bryce
...
The test file was created using VLC, that has a muxer that does this.
Differential Revision: https://phabricator.services.mozilla.com/D71351
2020-04-17 17:56:45 +00:00
Paul Adenot
d4b4cd9dee
Bug 1611622 - Allow testing for a decode success without checking the file. r=bryce
...
Useful to test the demuxer in the web audio case.
Differential Revision: https://phabricator.services.mozilla.com/D71350
2020-04-17 17:56:25 +00:00
Paul Adenot
60a6cea746
Bug 1611622 - Add some logging to MediaBufferDecoder.cpp. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D70894
2020-04-17 17:55:59 +00:00
Jeff Walden
3dddf97e18
Bug 1624266 - Add code to page/worker/worklet code so that the global "SharedArrayBuffer" property can be trivially omitted from their global objects by changing how a single C++ variable for each case is initialized. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D71253
2020-04-17 08:21:02 +00:00
Steve Fink
a19414b831
Bug 1626772 - gcc compatibility hack for __attribute__ and mutable ordering in lambda decl r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D69402
--HG--
extra : moz-landing-system : lando
2020-04-10 01:09:04 +00:00
Mihai Alexandru Michis
f2e4ef7d2a
Backed out 3 changesets (bug 1626772) for causing bustages in DefineEnum.h
...
CLOSED TREE
Backed out changeset f42150bdee2b (bug 1626772)
Backed out changeset ab5b637f714a (bug 1626772)
Backed out changeset fd4026a9f380 (bug 1626772)
2020-04-10 03:49:33 +03:00
Steve Fink
f052f2616d
Bug 1626772 - gcc compatibility hack for __attribute__ and mutable ordering in lambda decl r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D69402
--HG--
extra : moz-landing-system : lando
2020-04-08 08:48:11 +00:00
Tom Schuster
763682c095
Bug 1626100 - Replace SetPendingExceptionAndStack with a ExceptionStack version. r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D69667
--HG--
extra : moz-landing-system : lando
2020-04-09 12:35:59 +00:00
Tom Schuster
fae4303276
Bug 1626100 - Introduce an ExceptionStack class and StealPendingExceptionStack. r=sfink,mccr8
...
See also the bug for a more detailed description.
Differential Revision: https://phabricator.services.mozilla.com/D69636
--HG--
extra : moz-landing-system : lando
2020-04-09 12:35:29 +00:00
Tom Tung
d33e72aaa9
Bug 1586761 - P5 - Use new methods in media r=tjr,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D63906
--HG--
extra : moz-landing-system : lando
2020-03-25 14:16:15 +00:00
Tom Tung
94183661ac
Bug 1586761 - P2 - Introduce new TimerPrecisionTypes and a set of new Reduce methods to decide the TimerPrecisionType in the nsRFPService; r=tjr
...
To support checking CrossOriginIsolated in performance.now(), we need to:
- Add new types to TimerPrecisionType for nsRFPService
- System, HighResAllowed are added
- All is renamed to Normal
- Introduce a set of Reduce methods which require isSystemPrincipal and
CrossOriginIsolated to be passed and decide the TimerPrecisionType later
- Original Reduce methods should only be called when callsites know the
TimerPrecisionType. Otherwise, they should call the new methods.
- The following patches will use new methods
Differential Revision: https://phabricator.services.mozilla.com/D63293
--HG--
extra : moz-landing-system : lando
2020-03-25 14:09:55 +00:00
Andreas Farre
36eaf82163
Bug 1620594 - Part 2: Use SchedulerGroup::Dispatch instead of SystemGroup::Dispatch. r=nika
...
Depends on D67631
Differential Revision: https://phabricator.services.mozilla.com/D67632
--HG--
extra : moz-landing-system : lando
2020-04-07 15:16:33 +00:00
Alex Chronopoulos
88b8c3cca3
Bug 1626319 - Change async callback logger to log per thread-id. r=padenot
...
TRACE_AUDIO_CALLBACK() and TRACE_AUDIO_CALLBACK_COMMENT(aFmt, ...) log to a hardcoded thread id number. This creates confusion when more than one MTG is running because logs from different threads are depicted to the same thread line and overlapping each other. Those logging commands have been removed and the TRACE* command is used that it logs per thread-id.
Differential Revision: https://phabricator.services.mozilla.com/D69031
--HG--
extra : moz-landing-system : lando
2020-04-07 10:45:52 +00:00
Amogh Kerigond
eac94b6c20
Bug 1624234 - Removes else or else if after return statement r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D67970
--HG--
extra : moz-landing-system : lando
2020-03-30 20:08:39 +00:00
André Bargull
14ca007916
Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj
...
Also adds missing includes in some files, these were previously only transivitely
included through mozilla/TypeTraits.h.
Differential Revision: https://phabricator.services.mozilla.com/D68561
--HG--
extra : moz-landing-system : lando
2020-03-28 16:00:09 +00:00
André Bargull
ebec34a898
Bug 1625138 - Part 16: Replace mozilla::IsIntegral with std::is_integral. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68371
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:15 +00:00
André Bargull
1f5d157732
Bug 1625138 - Part 15: Replace mozilla::IsFloatingPoint with std::is_floating_point. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68370
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:15 +00:00
Paul Adenot
a8b1a92375
Bug 1565464 - Allow not having a parameterDescriptor getter in an AudioWorkletProcessor. r=karlt
...
https://github.com/WebAudio/web-audio-api/issues/2171
Differential Revision: https://phabricator.services.mozilla.com/D65154
--HG--
extra : moz-landing-system : lando
2020-03-27 10:50:23 +00:00
Paul Adenot
02b0f626e1
Bug 1565464 - Accept any iterable for parameterDescriptors in AudioWorkletGlobalScope.registerProcessor(). r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D65003
--HG--
extra : moz-landing-system : lando
2020-03-27 10:50:08 +00:00
Mike Conley
eaccc7871f
Bug 1621684 - Take an audio-playing wakelock when using WebAudio. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D67544
--HG--
extra : moz-landing-system : lando
2020-03-26 08:02:05 +00:00
Paul Adenot
c5169dcde5
Bug 1613070 - Add tracing markers to AudioWorklet code (real-time thread side). r=karlt
...
Moving the trace point for messages to the inner loop allow understanding what
pages are doing better (if they are creating lots of nodes or changing lots of
params, etc.). Also, it is important to be able to characterize `onmessage`
calls.
Having two tracepoints under `ProcessBlockOnPorts` allows gauging the buffer
preparation overhead. vs just the page's processing code.
Differential Revision: https://phabricator.services.mozilla.com/D67464
--HG--
extra : moz-landing-system : lando
2020-03-24 13:21:54 +00:00
Andrea Marchesini
6e5bd2d254
Bug 1402784
- Use nsIContentPolicy::TYPE_INTERNAL_AUDIOWORKLET and nsIContentPolicy::TYPE_INTERNAL_PAINTWORKLET in Worklet code, r=smaug
...
Depends on D67105
Differential Revision: https://phabricator.services.mozilla.com/D67106
--HG--
extra : moz-landing-system : lando
2020-03-17 22:24:39 +00:00
Simon Giesecke
7e9a7de895
Bug 1620632 - Rename confusingly named types/macros for relocation handling of nsTArray. r=froydnj
...
Specifically, this renames
* nsTArray_CopyChooser to nsTArray_RelocationStrategy
* the Copy template argument of nsTArray_base to RelocationStrategy
* nsTArray_CopyWithConstructors to nsTArray_RelocateUsingMoveConstructor
* nsTArray_CopyWithMemutils to nsTArray_RelocateUsingMemutils
* DECLARE_USE_COPY_CONSTRUCTORS to MOZ_DECLARE_RELOCATE_USING_MOVE_CONSTRUCTOR
Differential Revision: https://phabricator.services.mozilla.com/D66243
--HG--
extra : moz-landing-system : lando
2020-03-20 17:04:27 +00:00
Paul Adenot
eb1764b731
Bug 1558124 - When calling the AudioWorkletProcessor ctor, switch to rethrowing exceptions to handle them manually. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D64769
--HG--
extra : moz-landing-system : lando
2020-03-18 10:53:31 +00:00
Paul Adenot
3514c96161
Bug 1558124 - When an exception happens in the AudioWorkletGlobalScope, fire `onprocessorerror`. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D64766
--HG--
extra : moz-landing-system : lando
2020-03-18 10:53:56 +00:00
Paul Adenot
2fef3e1da9
Bug 1558124 - Pass the track and the JSContext to SendProcessorError. r=karlt
...
Those are needed, respectively to be able to ensure the stream doesn't go away
when messaging back to the control thread, and then to access the details of the
exception thrown.
Differential Revision: https://phabricator.services.mozilla.com/D64765
--HG--
extra : moz-landing-system : lando
2020-03-18 10:53:00 +00:00
Paul Adenot
bf21b8928e
Bug 1558124 - Don't suppress the exception when the ctor of an AudioWorkletProcessor throws. r=karlt
...
https://github.com/WebAudio/web-audio-api/issues/2096
Differential Revision: https://phabricator.services.mozilla.com/D64764
--HG--
extra : moz-landing-system : lando
2020-03-18 10:52:53 +00:00
Paul Adenot
0dfeed31ae
Bug 1558124 - Pass a JSContext to AudioWorkletGlobalScope::ConstructProcessor. r=karlt
...
Having nested AutoJSAPI clobbers the exception value of the innermost one on
destruction.
Differential Revision: https://phabricator.services.mozilla.com/D64763
--HG--
extra : moz-landing-system : lando
2020-03-18 10:52:46 +00:00
Alex Chronopoulos
9fb4eecd46
Bug 1617915
- Expose output device id when MediaTrackGraph is created. r=padenot
...
In order to be able to change the audio output device, the device id is exposed to the constructor of MediaStreamGraph. Any component that gets/creates an MTG will be able to provide the device id in order to determine the desired output device. If the provided device id is null the default device will be used.
Differential Revision: https://phabricator.services.mozilla.com/D64133
--HG--
extra : moz-landing-system : lando
2020-03-16 12:56:20 +00:00
Paul Adenot
ae95e91636
Bug 1619607 - When attempting to create an AudioWorkletNode with non-existing processor, throw InvalidStateError. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D65109
--HG--
extra : moz-landing-system : lando
2020-03-11 14:45:12 +00:00
Paul Adenot
dc3afac772
Bug 1621596 - Adjust one patch from bug 1598114 to land what was meant to be landing
...
Differential Revision: https://phabricator.services.mozilla.com/D66382
--HG--
extra : moz-landing-system : lando
2020-03-11 10:56:00 +00:00
Ehsan Akhgari
c6394ae30b
Bug 873335 - Add a crashtest based on the test case for the bug
...
Differential Revision: https://phabricator.services.mozilla.com/D66237
--HG--
extra : moz-landing-system : lando
2020-03-10 15:18:56 +00:00
Paul Adenot
3a25af8174
Bug 1598114 - Never destroy `AudioTimelineEvent` from the render thread when it contains a valid pointer to an `AudioNodeTrack`, and assert it. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D64759
--HG--
extra : moz-landing-system : lando
2020-03-05 16:13:12 +00:00
Paul Adenot
31bc8ab686
Bug 1598114 - Compute the values for each AudioParamTimeline directly into the Float32Arrays and pass the object to `process`. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D63356
--HG--
extra : moz-landing-system : lando
2020-03-05 00:55:28 +00:00
Paul Adenot
a67b86366f
Bug 1598114 - Initialize the javascript objects necessary to pass the third parameter to `process`. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D63355
--HG--
extra : moz-landing-system : lando
2020-03-04 15:22:51 +00:00
Paul Adenot
ae9705970c
Bug 1598114 - Receive AudioParamTimeline events to the render thread. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D63354
--HG--
extra : moz-landing-system : lando
2020-03-04 15:22:48 +00:00
Paul Adenot
4651ad6731
Bug 1598114 - Implement `AudioWorkletNode.parameters`. r=karlt
...
This covers only the main thread part of this attribute.
Differential Revision: https://phabricator.services.mozilla.com/D63353
--HG--
extra : moz-landing-system : lando
2020-03-05 00:49:09 +00:00
Paul Adenot
3902b2f19e
Bug 1598114 - Pass the graph time to ProcessBlockOnPorts. r=karlt
...
This is necessary to then compute AudioParam values for the right time.
Differential Revision: https://phabricator.services.mozilla.com/D63352
--HG--
extra : moz-landing-system : lando
2020-03-04 15:21:28 +00:00
Paul Adenot
ebe89c5caa
Bug 1598114 - Use char16_t for AudioParam names, since they can now be exposed to js and contain non-ascii values. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D63351
--HG--
extra : moz-landing-system : lando
2020-03-04 15:21:23 +00:00
Boris Zbarsky
c878a8bb26
Bug 1619112 part 2. Pass char literals instead of char16_t literals into ErrorResult throwing methods. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D65538
--HG--
extra : moz-landing-system : lando
2020-03-06 21:04:58 +00:00
Boris Zbarsky
8e25df76a8
Bug 1618011 part 10. Use a BindingCallContext for initializing AudioParamDescriptors. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D64891
--HG--
extra : moz-landing-system : lando
2020-03-06 23:05:17 +00:00
Boris Zbarsky
0082f55dee
Bug 1618011 part 7. Switch most error messages used in bindings to having a method name prefix. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D64888
--HG--
extra : moz-landing-system : lando
2020-03-06 23:05:16 +00:00
Arthur Iakab
14247fb057
Backed out 11 changesets (bug 1618011)for Linting failure.
...
CLOSED TREE
Backed out changeset 8b11ddd8999f (bug 1618011)
Backed out changeset 11df2f359473 (bug 1618011)
Backed out changeset c50121035d50 (bug 1618011)
Backed out changeset 8b8c4c60c34b (bug 1618011)
Backed out changeset b01f8c66110b (bug 1618011)
Backed out changeset 433fdf04058c (bug 1618011)
Backed out changeset 29a9227d08ac (bug 1618011)
Backed out changeset b2dfa2e66d24 (bug 1618011)
Backed out changeset 85650ee945c4 (bug 1618011)
Backed out changeset 278a213e5304 (bug 1618011)
Backed out changeset 9119aeb72ea4 (bug 1618011)
2020-03-07 00:15:57 +02:00
Boris Zbarsky
eaa46a9a55
Bug 1618011 part 10. Use a BindingCallContext for initializing AudioParamDescriptors. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D64891
--HG--
extra : moz-landing-system : lando
2020-03-06 20:39:50 +00:00
Boris Zbarsky
bc068d0e54
Bug 1618011 part 7. Switch most error messages used in bindings to having a method name prefix. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D64888
--HG--
extra : moz-landing-system : lando
2020-03-06 20:39:10 +00:00
Simon Giesecke
88ead5d627
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/media. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D65178
--HG--
extra : moz-landing-system : lando
2020-03-04 15:39:20 +00:00
Karl Tomlinson
f2383505ff
Bug 1596655 Keep DestinationNode track after offline completion for worklets r=padenot
...
This keeps the worklet/graph thread alive for control and MessagePort messages
until there are no references to main thread objects.
In test_getUserMedia_audioCapture, the track of the OscillatorNode being
recorded does not end, and, even if it did, MediaRecorder would not listen for
ended notification on the node's track but its pipe track. Recording via
DestinationNode works around this because the DestinationNode track ends and
MediaRecorder listens to this track directly because it has
EXTERNAL_OUTPUT. Previously MediaRecorder would stop when the MediaTrackGraph
was shutdown, but this is no longer happening.
Depends on D65069
Differential Revision: https://phabricator.services.mozilla.com/D65070
--HG--
extra : moz-landing-system : lando
2020-03-03 18:16:03 +00:00
Karl Tomlinson
0c148488c4
Bug 1596655 move offline complete event logic from engine to node r=padenot
...
This will allow the node to drop its self reference without
AudioContext::Shutdown().
Depends on D65068
Differential Revision: https://phabricator.services.mozilla.com/D65069
--HG--
extra : moz-landing-system : lando
2020-03-03 18:01:54 +00:00
Karl Tomlinson
350141becf
Bug 1596655 move OnCompleteTask to anonymous namespace r=padenot
...
This will allow the class to be used from AudioDestinationNode.
Depends on D65067
Differential Revision: https://phabricator.services.mozilla.com/D65068
--HG--
extra : moz-landing-system : lando
2020-03-03 18:01:37 +00:00
Sylvestre Ledru
096c7ab5f0
Bug 1617437 - OggCodecState.h/DynamicsCompressor.h: Fix two -Wnon-c-typedef-for-linkage warnings r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D63785
--HG--
extra : moz-landing-system : lando
2020-03-01 12:39:18 +00:00
Andrew McCreight
4babb2b5ab
Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
...
Patch by bhackett and jlaster. Also reviewed by mccr8.
Differential Revision: https://phabricator.services.mozilla.com/D60197
--HG--
extra : moz-landing-system : lando
2020-02-27 17:39:15 +00:00
Ciure Andrei
00dd87f6f4
Backed out changeset d407a28318e6 (bug 1609815) for causing windows ming bustages CLOSED TREE
...
--HG--
extra : histedit_source : b2c748e31e0f6ba8fcf9960a336e0bbd361b07e6
2020-02-27 07:05:19 +02:00
Andrew McCreight
b197e1f783
Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
...
Patch by bhackett and jlaster. Also reviewed by mccr8.
Differential Revision: https://phabricator.services.mozilla.com/D60197
--HG--
extra : moz-landing-system : lando
2020-02-27 04:43:48 +00:00
Kris Maglione
c31aa68fb4
Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8
...
This covers most cycle collected objects which support weak references, but
not the ones which inherit from a cycle collected class and don't do any cycle
collection on their own.
Differential Revision: https://phabricator.services.mozilla.com/D63962
--HG--
extra : moz-landing-system : lando
2020-02-25 19:44:39 +00:00
Simon Giesecke
aaf6cb4e75
Bug 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D63899
--HG--
extra : moz-landing-system : lando
2020-02-25 17:03:36 +00:00
Sylvestre Ledru
ca6530131a
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan,kvark
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D63787
--HG--
extra : moz-landing-system : lando
2020-02-24 15:33:38 +00:00
Eric Rahm
6ea4ed1c80
Bug 1322095 - Part 2: Remove nsAutoPtr from dom/media. r=jya
...
This converts `nsAutoPtr` usage in dom/media to `UniquePtr`. Beyond just a
search and replace we also needed to update assignment and access of the
`UniquePtr`s. This falls into a few categories:
- Assignment from a newly constructed object switches to `MakeUnique`
- Assignment from a raw ptr switches to `UniquePtr::reset`
- Handing out a raw ptr now requires `UniquePtr::get`
- Uses `UniquePtr::release` rather than `nsAutoPtr::forget`
- A few spots are updated to return a `UniquePtr` rather than a raw ptr
Differential Revision: https://phabricator.services.mozilla.com/D60084
--HG--
extra : moz-landing-system : lando
2020-02-21 22:44:00 +00:00
Simon Giesecke
b50347f917
Bug 1611415 - Prefer using std::move over forget. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60980
--HG--
extra : moz-landing-system : lando
2020-02-13 14:38:48 +00:00
Karl Tomlinson
b7633dada4
Bug 1614551 Allow an unreferenced closed AudioContext to be garbage collected r=padenot
...
Depends on D62521
Differential Revision: https://phabricator.services.mozilla.com/D62522
--HG--
extra : moz-landing-system : lando
2020-02-12 14:40:30 +00:00
Karl Tomlinson
802d8b8b21
Bug 1614551 Add test for GC of closed AudioContext r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D62521
--HG--
extra : moz-landing-system : lando
2020-02-12 14:30:35 +00:00
Karl Tomlinson
d8b56164b2
Bug 1614551 Allow an unreferenced suspended AudioContext to be garbage collected r=padenot
...
Depends on D62517
Differential Revision: https://phabricator.services.mozilla.com/D62518
--HG--
extra : moz-landing-system : lando
2020-02-12 14:30:33 +00:00
Karl Tomlinson
665f67f2c5
Bug 1614551 Add test for GC of suspended AudioContext r=padenot
...
Depends on D62516
Differential Revision: https://phabricator.services.mozilla.com/D62517
--HG--
extra : moz-landing-system : lando
2020-02-12 14:30:26 +00:00
Karl Tomlinson
1b07ed625f
Bug 1614551 Add some tests for AudioContext GC r=padenot
...
Depends on D62515
Differential Revision: https://phabricator.services.mozilla.com/D62516
--HG--
rename : dom/media/webaudio/test/test_ScriptProcessorCollected1.html => dom/media/webaudio/test/test_audioContextGC.html
extra : moz-landing-system : lando
2020-02-12 14:30:24 +00:00
Karl Tomlinson
ee6d3bcf1b
Bug 1221889 suspend new tracks created after AudioContext.close() r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D62515
--HG--
extra : moz-landing-system : lando
2020-02-12 14:14:46 +00:00
shindli
91aa0518dd
Backed out changeset 0c982bc69cb3 (bug 1611415) for causing build bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr CLOSED TREE
2020-02-12 20:13:29 +02:00
Boris Zbarsky
a8af57b293
Bug 1614038 part 2. Improve error reporting in webaudio code. r=padenot
...
The change to throw NotSupportedError in AudioContext::CreateBuffer is
purposeful, to align with the spec and Chrome. There's apparently no web
platform test coverage for this, but we'll work on converting our test to a WPT.
The change to AudioContext::Close is fixing what looks like an obvious bug to
me (it _resolved_ a Promise<void> with a DOMException!). No obvious test coverage; https://bugzilla.mozilla.org/show_bug.cgi?id=1614960 tracks adding some.
The change to throw RangeError in OscillatorNode::Start is purposeful, to align
wih the spec and Chrome. Again, there's apparently no test coverage.
The change to throw RangeError in OscillatorNode::Stop is purposeful, to align
wih the spec and Chrome. Again, there's apparently no test coverage.
Differential Revision: https://phabricator.services.mozilla.com/D62141
--HG--
extra : moz-landing-system : lando
2020-02-12 17:59:41 +00:00
Boris Zbarsky
c798ed8038
Bug 1614038 part 1. Fix ChannelSplitterNode to follow the spec for its setters. r=padenot
...
This is based on looking at what the actual spec constraints around the
channelCount, channelCountMode, and channelInterpretation setters are and on
testing Chrome's behavior: the setters _can_ be called as long as you do it with
the current value. That said, the spec sure could use being clearer here; the
style it's using is pretty hard to follow, unfortunately.
Differential Revision: https://phabricator.services.mozilla.com/D62140
--HG--
extra : moz-landing-system : lando
2020-02-12 15:38:02 +00:00
Simon Giesecke
f604a47fa5
Bug 1611415 - Applied FixItHints from mozilla-non-std-move. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60980
--HG--
extra : moz-landing-system : lando
2020-02-12 17:24:41 +00:00
Andrea Marchesini
acbbf5b903
Bug 1614899 - Support WASM + SAB in AudioWorkletNode processOptions, r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D62598
--HG--
extra : moz-landing-system : lando
2020-02-12 16:16:23 +00:00
Boris Zbarsky
c1c6ce37b3
Bug 1613827. Be more careful with SharedBuffer::Create callsites. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D61959
--HG--
extra : moz-landing-system : lando
2020-02-11 16:58:33 +00:00
Boris Zbarsky
05327f8a52
Bug 1613978. Allow passing u"...", not just nsAStrings, to templated ThrowType/RangeError. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D62061
--HG--
extra : moz-landing-system : lando
2020-02-10 13:08:48 +00:00
Boris Zbarsky
1395be1f23
Bug 1613013 part 3. Annotate TypeErrors and RangeErrors from WebIDL implementations with the method they come from. r=peterv
...
Please review the changes to Errors.msg very carefully. I caught a number of
mistakes there in self-review (e.g. not renumbering replacement markers
correctly when I added {0} to the beginnings of strings), and my confidence
that I caught them all is only middling.
A few lines (MSG_USELESS_SETTIMEOUT, MSG_TYPEDARRAY_IS_DETACHED,
MSG_NOT_SUBMIT_BUTTON) were removed from Errors.msg either because they were
already unused or because they either were single-user constant strings or
became such in the new setup and we could just use the string version of
ThrowTypeError.
Differential Revision: https://phabricator.services.mozilla.com/D61523
--HG--
extra : moz-landing-system : lando
2020-02-06 21:22:32 +00:00
Boris Zbarsky
747a4d9f0a
Bug 1613013 part 1. Annotate DOMExceptions from WebIDL implementations with the method they come from. r=peterv
...
This adds the name of the interface and method to the beginning of the exception
string when reporting the exception from Web IDL codegen, so it's clearer what
was called.
Some existing error messages are adjusted to not duplicate the information
about which method was called.
Differential Revision: https://phabricator.services.mozilla.com/D61521
--HG--
extra : moz-landing-system : lando
2020-02-06 21:16:10 +00:00
Andrea Marchesini
1edd5d228f
Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 7 - nsIGlobalObject::IsSharedMemoryAllowed(), r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D61277
--HG--
extra : moz-landing-system : lando
2020-02-06 13:50:11 +00:00
Andrea Marchesini
175bac3a30
Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 1, r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D61136
--HG--
extra : moz-landing-system : lando
2020-02-06 13:45:47 +00:00
Narcis Beleuzu
d259fe38d8
Backed out 13 changesets (bug 1611855) for wpt failures on /audioworklet-postmessage-sharedarraybuffer.https.html . CLOSED TREE
...
Backed out changeset 2b661d588f96 (bug 1611855)
Backed out changeset 16094fc92bc9 (bug 1611855)
Backed out changeset 3f89bbcaff92 (bug 1611855)
Backed out changeset a906501b6d92 (bug 1611855)
Backed out changeset 54738b88425d (bug 1611855)
Backed out changeset d27de910a6c0 (bug 1611855)
Backed out changeset 261902f6336d (bug 1611855)
Backed out changeset 380d83b61e62 (bug 1611855)
Backed out changeset 39aac60ebf5e (bug 1611855)
Backed out changeset 5ea099787376 (bug 1611855)
Backed out changeset d0f58871f838 (bug 1611855)
Backed out changeset e1be102310a9 (bug 1611855)
Backed out changeset 633357835540 (bug 1611855)
--HG--
rename : dom/base/test/test_postMessages_workers.html => dom/base/test/test_postMessages.html
2020-02-06 12:31:36 +02:00
Paul Adenot
227468453f
Bug 1569809 - Remove AudioNodeOptions from the ctor of AudioWorkletProcessor. r=baku
...
This was changed in https://github.com/WebAudio/web-audio-api/issues/2044
Differential Revision: https://phabricator.services.mozilla.com/D61714
--HG--
extra : moz-landing-system : lando
2020-02-05 19:21:15 +00:00
Andrea Marchesini
db7085724d
Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 7 - nsIGlobalObject::IsSharedMemoryAllowed(), r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D61277
--HG--
extra : moz-landing-system : lando
2020-02-05 22:09:44 +00:00
Andrea Marchesini
2106c7dcda
Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 1, r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D61136
--HG--
extra : moz-landing-system : lando
2020-02-05 22:07:04 +00:00
Paul Adenot
c17dc41bb3
Bug 1161025 - Reject attempts to set non-null AudioBufferSourceNode.buffer more than once r=karlt,baku
...
as spec'd in https://github.com/WebAudio/web-audio-api/pull/743
This also removes the crashtests that don't apply anymore now that a buffer
cannot be set more than once, and changes another one so it still tests what
needs to be tested, but doesn't time-out.
Differential Revision: https://phabricator.services.mozilla.com/D58756
--HG--
extra : moz-landing-system : lando
2020-02-05 16:26:52 +00:00
Boris Zbarsky
b88d5ac5a8
Bug 1612213 part 1. Switch most consumers of ThrowDOMException to the new methods. r=smaug,jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D61267
--HG--
extra : moz-landing-system : lando
2020-02-03 20:19:11 +00:00
Arthur Iakab
ca111b6d55
Backed out changeset e3b626560b0d (bug 1161025) for causing crashtest failures on 966636.html.
...
CLOSED TREE
2020-02-03 13:21:08 +02:00
Paul Adenot
6ceb6a920f
Bug 1161025 - reject attempts to set non-null AudioBufferSourceNode.buffer more than once r=karlt,baku
...
as spec'd in https://github.com/WebAudio/web-audio-api/pull/743
Differential Revision: https://phabricator.services.mozilla.com/D58756
--HG--
extra : moz-landing-system : lando
2020-01-24 08:06:49 +00:00
Karl Tomlinson
4d907bb120
Bug 1606148 align ProcessBlocksOnPorts() Span parameter lengths with number of inputs and outputs r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D59190
--HG--
extra : moz-landing-system : lando
2020-01-15 14:44:39 +00:00
Edgar Chen
9e846bd48a
bug 1610296
- Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D60514
--HG--
extra : moz-landing-system : lando
2020-01-23 03:22:06 +00:00
Edgar Chen
8346d0956a
Bug 1575425 - Part 4: Remove manually checking shareness in various APIs implmentation; r=bzbarsky
...
Now we support [AllowShared] in WebIDL, we don't need to manually check shareness
and throw exception if API don't accept SharedArrayBuffer, the binding will handle
it.
Differential Revision: https://phabricator.services.mozilla.com/D60001
--HG--
extra : moz-landing-system : lando
2020-01-23 13:51:04 +00:00
Andrea Marchesini
a9cf3442be
Bug 1607791 - Get rid of IDBMutableFile.getFile() - part 3 - Rename SameProcessDifferentThread to SameProcess, r=asuth,sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D59142
--HG--
extra : moz-landing-system : lando
2020-01-15 12:02:17 +00:00
Mihai Alexandru Michis
4345a38d0d
Backed out 9 changesets (bug 1607791, bug 1605566) for causing multiple wpt failures.
...
CLOSED TREE
Backed out changeset 39f34852842e (bug 1605566)
Backed out changeset 3427a92445c8 (bug 1605566)
Backed out changeset 36631ec96f1f (bug 1605566)
Backed out changeset 554b2bdce66c (bug 1605566)
Backed out changeset 37026beadbd8 (bug 1605566)
Backed out changeset f15835338319 (bug 1607791)
Backed out changeset 4c92f506cf62 (bug 1607791)
Backed out changeset 80707bcc8427 (bug 1607791)
Backed out changeset 75bc7533c899 (bug 1607791)
2020-01-15 13:45:33 +02:00