Luke Wagner
fc9dea6cc7
Bug 1520931
- Remove asm.js cache hooks JS API (r=bbouvier)
...
--HG--
extra : rebase_source : aac95865af1b87970d49b89edbec0acad6c74219
2019-02-11 11:41:57 -06:00
Karl Tomlinson
ad3740ae59
bug 1516956 keep AudioContext alive from AudioWorklet r=baku
...
to keep the graph/worklet thread running as long as the Worklet is alive.
Differential Revision: https://phabricator.services.mozilla.com/D15802
--HG--
extra : moz-landing-system : lando
2019-01-31 07:16:31 +00:00
Arnaud Bienner
0de7c09e8d
Bug 1501709
- AudioWorkletGlobalScope::RegisterProcessor: check descriptors and convert them to an internal representation. r=karlt,baku,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D11741
--HG--
extra : moz-landing-system : lando
2019-01-10 18:45:38 +00:00
Emilio Cobos Álvarez
d2ed260822
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Karl Tomlinson
d5065c1a5d
Bug 1513722 run AudioWorklet for OfflineAudioContext on MSG thread r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D13220
--HG--
extra : moz-landing-system : lando
2018-12-20 07:58:13 +00:00
Karl Tomlinson
01f71ced46
bug 1513722 expose WorkletJSContext creation and deletion and delay creation until required r=baku
...
The on-demand creation from Worklet.addModule() provides the same creation
path for clients that provide their own thread.
Differential Revision: https://phabricator.services.mozilla.com/D13217
--HG--
extra : moz-landing-system : lando
2018-12-20 07:28:04 +00:00
Andreea Pavel
d5f0aa2919
Backed out 2 changesets (bug 1513722) for build bustages
...
Backed out changeset 8e2c3015fc95 (bug 1513722)
Backed out changeset 0c454fd1dbcb (bug 1513722)
2018-12-20 06:57:15 +02:00
Karl Tomlinson
880bb5a5a9
Bug 1513722 run AudioWorklet for OfflineAudioContext on MSG thread r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D13220
--HG--
extra : moz-landing-system : lando
2018-12-20 04:22:15 +00:00
Karl Tomlinson
3736657c41
bug 1513722 expose WorkletJSContext creation and deletion and delay creation until required r=baku
...
The on-demand creation from Worklet.addModule() provides the same creation
path for clients that provide their own thread.
Differential Revision: https://phabricator.services.mozilla.com/D13217
--HG--
extra : moz-landing-system : lando
2018-12-20 04:21:57 +00:00
Mark Banner
8c00ef3f30
Bug 1512052 - Add more .eslintrc.js files for test directories. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D13746
--HG--
extra : moz-landing-system : lando
2018-12-11 13:15:08 +00:00
Ciure Andrei
ed617be144
Backed out 2 changesets (bug 1512052)for causing build bustages CLOSED TREE
...
Backed out changeset 4773a3f46c22 (bug 1512052)
Backed out changeset 2f48c5afbe57 (bug 1512052)
--HG--
rename : browser/components/attribution/test/xpcshell/.eslintrc.js => browser/components/attribution/test/.eslintrc.js
2018-12-05 05:47:39 +02:00
Mark Banner
8256078237
Bug 1512052 - Add more .eslintrc.js files for test directories. r=mossop
...
Depends on D13745
Differential Revision: https://phabricator.services.mozilla.com/D13746
--HG--
extra : moz-landing-system : lando
2018-12-04 22:27:35 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Razvan Maries
12299139d5
Backed out changeset 0e1dbfd10378 (bug 1501709
) for build bustages on Windows platform, CLOSED TREE.
2018-11-30 06:58:06 +02:00
Arnaud Bienner
6a459e7170
Bug 1501709
- AudioWorkletGlobalScope::RegisterProcessor: check descriptors and convert them to an internal representation. r=karlt,baku,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D11741
--HG--
extra : moz-landing-system : lando
2018-11-30 02:55:06 +00:00
Karl Tomlinson
74a06ee99d
Bug 1476514 replace WorkletThread::mJSContext with a boolean r=baku
...
Depends on D13215
Differential Revision: https://phabricator.services.mozilla.com/D13216
--HG--
extra : moz-landing-system : lando
2018-11-29 05:44:47 +00:00
Karl Tomlinson
b94bfb9feb
Bug 1476514 remove Get() and GetJSContext() from WorkletThread r=baku
...
Depends on D13214
Differential Revision: https://phabricator.services.mozilla.com/D13215
--HG--
extra : moz-landing-system : lando
2018-11-28 17:31:48 +00:00
Karl Tomlinson
76f7458b87
bug 1476514 use a distinct method to send runnables from parent to worklet thread r=baku
...
and create the worklet thread on demand from there.
Differential Revision: https://phabricator.services.mozilla.com/D13213
--HG--
extra : moz-landing-system : lando
2018-11-28 23:47:01 +00:00
Karl Tomlinson
cc08802d30
bug 1476514 rename WorkletImpl::TerminateThread to NotifyWorkletFinished r=baku
...
This is more appropriate when WorkletImpl will not necessarily create a thread.
Differential Revision: https://phabricator.services.mozilla.com/D13212
--HG--
extra : moz-landing-system : lando
2018-11-28 23:45:04 +00:00
Karl Tomlinson
9db064fcec
Bug 1476514 move TimeStampToDOMHighRes() from WorkletThread to WorkletGlobalScope r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D13210
--HG--
extra : moz-landing-system : lando
2018-11-28 17:09:24 +00:00
Jeff Walden
7dd0d06d8c
Bug 1485800 - Rename SourceBufferHolder to SourceText, and add a <typename Unit> template parameter to it so it can hold putative UTF-8 or UTF-16 source text. r=tcampbell, r=fitzgen
...
--HG--
rename : js/public/SourceBufferHolder.h => js/public/SourceText.h
extra : rebase_source : 34df669c2481eaccd6845f53c5ecf656b636f895
2018-11-08 18:42:48 -08:00
Jeff Walden
f2196f8c8f
Bug 1503086 - Initialize all SourceBufferHolders with a fallible function that in all cases assumes ownership of given-ownership data. r=tcampbell, r=bz, r=mrbkap on some finicky worker code lightly touched here
...
--HG--
extra : rebase_source : 94b1a13dc03a7f1a5d07a2c665fdc0cde162d411
2018-10-23 12:27:16 -07:00
Arnaud Bienner
6c33998bfb
Bug 1503236 - Move WorkletImpl reference from WorkletGlobalScope to classes inheriting WorkletGlobalScope r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D10215
--HG--
extra : moz-landing-system : lando
2018-10-31 23:03:39 +00:00
Arnaud Bienner
a354c4ec9c
Bug 1503228 - Move PaintWorkletGlobalScope from dom/worklet to layout/style. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D10212
--HG--
rename : dom/worklet/PaintWorkletGlobalScope.cpp => layout/style/PaintWorkletGlobalScope.cpp
rename : dom/worklet/PaintWorkletGlobalScope.h => layout/style/PaintWorkletGlobalScope.h
extra : moz-landing-system : lando
2018-10-31 03:47:04 +00:00
Arnaud Bienner
af69f8bf68
Bug 1502004 - Move AudioWorkletGlobalScope from dom/worklet to dom/media/webaudio. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D9768
--HG--
rename : dom/worklet/AudioWorkletGlobalScope.cpp => dom/media/webaudio/AudioWorkletGlobalScope.cpp
rename : dom/worklet/AudioWorkletGlobalScope.h => dom/media/webaudio/AudioWorkletGlobalScope.h
extra : moz-landing-system : lando
2018-10-25 18:50:05 +00:00
Arnaud Bienner
bb6b29da9d
Bug 1473467: implement AudioWorkletGlobalScope::RegisterProcessor(). r=baku,karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D6368
--HG--
extra : moz-landing-system : lando
2018-10-08 19:15:13 +00:00
Karl Tomlinson
504add51d9
Bug 1492014 replace WorkletLoadInfo::mDumpEnabled with StaticPrefs r=baku
...
Depends on D6382
Differential Revision: https://phabricator.services.mozilla.com/D6383
2018-09-24 17:19:09 +00:00
Karl Tomlinson
9545786556
Bug 1492014 add AudioWorkletImpl/PaintWorkletImpl subclasses r=baku
...
This will be useful for AudioWorklet-specific storage and behavior.
PaintWorkletImpl is in layout/style, because it will be referenced
from CSS.cpp in the same directory.
Depends on D6108
Differential Revision: https://phabricator.services.mozilla.com/D6109
2018-09-20 11:34:01 +00:00
Karl Tomlinson
6471490b0a
Bug 1492014 remove now-unused WorkletThread::mWorkletLoadInfo r=baku
...
Depends on D6107
Differential Revision: https://phabricator.services.mozilla.com/D6108
2018-09-18 09:28:28 +00:00
Karl Tomlinson
f2eadaf575
Bug 1492014 get WorkletLoadInfo from global instead of thread in Console r=baku
...
Depends on D6106
Differential Revision: https://phabricator.services.mozilla.com/D6107
2018-09-18 09:29:15 +00:00
Karl Tomlinson
0fdde9c5ed
Bug 1492014 store global as nsIGlobalObject on Console so that this may be used for Worklets also r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6106
--HG--
extra : amend_source : dc4a241f4f60662c4f0e07730470375dde40aa24
extra : transplant_source : %D4%D5%8B%81b%89z%E9%5D%80o%D6u%9E%3Ep%C8%B5e%E9
2018-09-28 19:10:07 +12:00
Karl Tomlinson
a55913cf8b
Bug 1492014 get WorkletLoadInfo from global rather than thread in WorkletGlobalScope r=baku
...
We'll need to support multiple worklets sharng a single execution thread for
AudioWorklet.
Depends on D6103
Differential Revision: https://phabricator.services.mozilla.com/D6104
2018-09-20 11:27:25 +00:00
Karl Tomlinson
8348bf096e
Bug 1492014 reference WorkletImpl from WorkletGlobalScope r=baku
...
Depends on D6102
Differential Revision: https://phabricator.services.mozilla.com/D6103
2018-09-18 09:33:49 +00:00
Karl Tomlinson
130c756840
Bug 1492014 document WorkletLoadInfo thread safety and relax destructor thread assertion r=baku
...
Depends on D6101
Differential Revision: https://phabricator.services.mozilla.com/D6102
2018-09-18 09:34:11 +00:00
Karl Tomlinson
c724b9dd1f
Bug 1492014 introduce WorkletImpl as an object to identify a worklet from parent and execution threads r=baku
...
Depends on D6100
Differential Revision: https://phabricator.services.mozilla.com/D6101
--HG--
rename : dom/worklet/Worklet.cpp => dom/worklet/WorkletImpl.cpp
rename : dom/worklet/Worklet.h => dom/worklet/WorkletImpl.h
2018-09-18 09:36:38 +00:00
Karl Tomlinson
fa619dbb11
Bug 1492014 remove unused aWorkletLoadInfo parameter to ExecutionRunnable() r=baku
...
Depends on D6099
Differential Revision: https://phabricator.services.mozilla.com/D6100
2018-09-18 09:36:41 +00:00
Karl Tomlinson
7ac2065c2e
Bug 1492014 remove declaration for non-existant WorkletThread::GetWorkerPrincipal() r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6099
2018-09-18 09:36:44 +00:00
Narcis Beleuzu
bf9a9a6b50
Backed out 13 changesets (bug 1492014) for multiple failures. a=backout
...
Backed out changeset f629b66a235f (bug 1492014)
Backed out changeset 0a8510efbba3 (bug 1492014)
Backed out changeset 2798792623cf (bug 1492014)
Backed out changeset 8818f5ae0d13 (bug 1492014)
Backed out changeset 0c6b469c9618 (bug 1492014)
Backed out changeset d1654231ffb8 (bug 1492014)
Backed out changeset 5a3967f37d3f (bug 1492014)
Backed out changeset ac095c2fdd8b (bug 1492014)
Backed out changeset 4d1ba44e30ab (bug 1492014)
Backed out changeset e34938a11fab (bug 1492014)
Backed out changeset 3e142ea44140 (bug 1492014)
Backed out changeset b0f2fafdba8c (bug 1492014)
Backed out changeset d77330a1cbfa (bug 1492014)
2018-09-25 16:26:04 +03:00
Karl Tomlinson
eed1f3fdf3
Bug 1492014 replace WorkletLoadInfo::mDumpEnabled with StaticPrefs r=baku
...
Depends on D6382
Differential Revision: https://phabricator.services.mozilla.com/D6383
--HG--
extra : moz-landing-system : lando
2018-09-24 17:19:09 +00:00
Karl Tomlinson
b4ae5484b7
Bug 1492014 add AudioWorkletImpl/PaintWorkletImpl subclasses r=baku
...
This will be useful for AudioWorklet-specific storage and behavior.
PaintWorkletImpl is in layout/style, because it will be referenced
from CSS.cpp in the same directory.
Depends on D6108
Differential Revision: https://phabricator.services.mozilla.com/D6109
--HG--
extra : moz-landing-system : lando
2018-09-20 11:34:01 +00:00
Karl Tomlinson
18b9edd04f
Bug 1492014 remove now-unused WorkletThread::mWorkletLoadInfo r=baku
...
Depends on D6107
Differential Revision: https://phabricator.services.mozilla.com/D6108
--HG--
extra : moz-landing-system : lando
2018-09-18 09:28:28 +00:00
Karl Tomlinson
1bbf3f704b
Bug 1492014 get WorkletLoadInfo from global instead of thread in Console r=baku
...
Depends on D6106
Differential Revision: https://phabricator.services.mozilla.com/D6107
--HG--
extra : moz-landing-system : lando
2018-09-18 09:29:15 +00:00
Karl Tomlinson
49a69c3443
Bug 1492014 store global as nsIGlobalObject on Console so that this may be used for Worklets also r=baku
...
Depends on D6105
Differential Revision: https://phabricator.services.mozilla.com/D6106
--HG--
extra : moz-landing-system : lando
2018-09-20 11:29:20 +00:00
Karl Tomlinson
56d7a21566
Bug 1492014 get WorkletLoadInfo from global rather than thread in WorkletGlobalScope r=baku
...
We'll need to support multiple worklets sharng a single execution thread for
AudioWorklet.
Depends on D6103
Differential Revision: https://phabricator.services.mozilla.com/D6104
--HG--
extra : moz-landing-system : lando
2018-09-20 11:27:25 +00:00
Karl Tomlinson
be45c2c15d
Bug 1492014 reference WorkletImpl from WorkletGlobalScope r=baku
...
Depends on D6102
Differential Revision: https://phabricator.services.mozilla.com/D6103
--HG--
extra : moz-landing-system : lando
2018-09-18 09:33:49 +00:00
Karl Tomlinson
e02575f37a
Bug 1492014 document WorkletLoadInfo thread safety and relax destructor thread assertion r=baku
...
Depends on D6101
Differential Revision: https://phabricator.services.mozilla.com/D6102
--HG--
extra : moz-landing-system : lando
2018-09-18 09:34:11 +00:00
Karl Tomlinson
89c6ae2a56
Bug 1492014 introduce WorkletImpl as an object to identify a worklet from parent and execution threads r=baku
...
Depends on D6100
Differential Revision: https://phabricator.services.mozilla.com/D6101
--HG--
rename : dom/worklet/Worklet.cpp => dom/worklet/WorkletImpl.cpp
rename : dom/worklet/Worklet.h => dom/worklet/WorkletImpl.h
extra : moz-landing-system : lando
2018-09-18 09:36:38 +00:00
Karl Tomlinson
b1571dd6e0
Bug 1492014 remove unused aWorkletLoadInfo parameter to ExecutionRunnable() r=baku
...
Depends on D6099
Differential Revision: https://phabricator.services.mozilla.com/D6100
--HG--
extra : moz-landing-system : lando
2018-09-18 09:36:41 +00:00
Karl Tomlinson
5ca777a6b5
Bug 1492014 remove declaration for non-existant WorkletThread::GetWorkerPrincipal() r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6099
--HG--
extra : moz-landing-system : lando
2018-09-18 09:36:44 +00:00
Andrew McCreight
2abe1a8480
Bug 1351501, part 1 - Handlify TryPreserveWrapper r=bzbarsky
...
The patch in the next part will need a handle to the object in
TryPreserveWrapper.
Differential Revision: https://phabricator.services.mozilla.com/D6197
--HG--
extra : moz-landing-system : lando
2018-09-21 18:20:33 +00:00