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
Jan de Mooij
cbb67627a3
Bug 722345 part 3 - Remove request API. r=luke
...
Differential Revision: https://phabricator.services.mozilla.com/D4424
--HG--
extra : rebase_source : 1842588c00dbc8fb4294ce5436cdb787190909b4
2018-08-28 09:53:30 +02:00
Jeff Walden
64fceacad0
Bug 1486577 - Don't #include "js/CompilationAndEvaluation.h" in jsapi.h, minimizing the scope of that header and reducing translation-unit size of anything that needs JSAPI but doesn't need to compile/evaluate JavaScript. r=jandem
...
--HG--
extra : rebase_source : cd9a8becc15477bc5e24408159d4f061ec81c8b2
2018-08-24 22:51:49 -05:00
Jeff Walden
4bdf4a3614
Bug 1486577 - Don't #include js/SourceBufferHolder.h in jsapi.h, and instead require users to do so -- a minor translation-unit size improvement for anyone who never has to use SourceBufferHolder other than by reference. r=jandem
...
--HG--
extra : rebase_source : df47aba0c7dac3fe80ab6ea1b9a34c7acc54850d
2018-08-24 21:01:58 -05:00
Tooru Fujisawa
6d85c982d8
Bug 1317481 - Optimize away Generator/Promise handling for await in the topmost JS frame with already resolved/rejected Promise. r=anba,smaug
2018-08-02 16:11:57 +09:00
Jan de Mooij
01fa47134b
Bug 1479363 part 4 - Use JSAutoRealm instead of JSAutoRealmAllowCCW in dom/workers and dom/worklet. r=baku
2018-07-31 08:37:17 +02:00
Jan de Mooij
80adc67aba
Bug 1478955 part 1 - Rename JSAutoRealm to JSAutoRealmAllowCCW. r=luke
2018-07-28 12:12:26 +02:00
Arnaud Bienner
c0836367e5
Bug 1472324: Update Worklet: s/import/addModule. r=baku,karlt
...
MozReview-Commit-ID: 4HNBeUyzgJS
--HG--
extra : rebase_source : 64be88359f1ef0edc8ef2b7c893a9a2ae53a7d04
2018-07-10 14:24:14 +02:00
Andi-Bogdan Postelnicu
88cc63910d
Bug 1453795 - DOM - Initialize member fields in classes/ structures. r=peterv
...
--HG--
extra : rebase_source : 249fc26e50bded4e94f5effa4308af0f1e54b908
2018-06-16 17:21:46 +03:00
Arnaud Bienner
6de8cbcb2b
Bug 1471843: Remove audioWorklet attribute from Window. r=baku,karlt
...
MozReview-Commit-ID: 9SJRZ2keJpb
--HG--
extra : rebase_source : f71d4be51e06f44cad6d8efb9ecde63a2d1dc7b7
2018-07-03 16:58:16 +02:00
Arnaud Bienner
e89bd4b6e5
Bug 1470856 - Add AudioWorklet definition. r=baku,karlt
...
MozReview-Commit-ID: 39eqjisGNTE
--HG--
extra : rebase_source : 97c18e1125c490f3e9aa3b9d5c864f99da6fd265
2018-06-27 11:31:02 +02:00
Jeff Gilbert
5b753da289
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Joel Maher
50b91c0a14
Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown
2018-06-10 05:01:47 -04:00
Karl Tomlinson
9e0c1c7c2b
bug 1442776 make CycleCollectedJSContext accessible from JSContext private r=peterv
...
Inheriting PerThreadAtomCache on CycleCollectedJSContext permits use of
static_cast, avoiding one level of indirection compared to adding a
CycleCollectedJSContext* to PerThreadAtomCache.
PerThreadAtomCache is over 18kB, and so WorkerJSContext and WorkletJSContext
are moved from the stack to the heap.
MozReview-Commit-ID: 6jdJeZcviK4
--HG--
extra : rebase_source : 3c2accb71faf3f017a44c405ae0484e57aaf039c
2018-05-10 17:04:12 +12:00
Emilio Cobos Álvarez
fffb25b74f
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Jan de Mooij
17f3983d0f
Bug 1461605 part 1 - Rename CompartmentOptions to RealmOptions. r=luke,bz
2018-05-17 10:59:45 +02:00
Jan de Mooij
80e44e8003
Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke
2018-05-16 10:53:16 +02:00
Arnaud Bienner
d2bbf6e2e4
Bug 1460896 - Update AudioWorkletGlobalScope definitions; r=baku,karlt
...
MozReview-Commit-ID: 4x03ADhABlz
--HG--
extra : rebase_source : 5e18ebb01ce565f2a51bd51e39a26bf71876a64d
2018-05-11 17:29:31 +02:00
Karl Tomlinson
3481a11d87
bug 1328964 add CycleCollectedJSContext::IsSystemCaller() to make ThreadsafeIsSystemCaller() safe for worklets r=baku
...
MozReview-Commit-ID: Cg4OBbm5CwA
--HG--
extra : rebase_source : 9a113cf0f945bd48207e81f9fa08bcba1f35303c
2018-04-06 18:53:25 +12:00
Karl Tomlinson
cabef87937
bug 1328964 terminate worklet thread during xpcom shutdown r=baku
...
The final CC does not happen until after threads are shutdown and so we can't
depend on CC to trigger termination.
This management of the worklet thread by worklet code is an intermediate
situation until worklets run on the threads managed by other objects.
MozReview-Commit-ID: 8hWsdRCppC2
--HG--
extra : rebase_source : 1a0bfdc80ffa2d8beaff6249f40d033a0f319d2e
2018-04-12 16:26:08 +12:00
Karl Tomlinson
c130f353db
bug 1328964 don't try to cycle collect after worklet cycle collector has been shut down r=baku
...
MozReview-Commit-ID: 5BTcAOZwvIU
--HG--
extra : rebase_source : e74826a444a14554b53ecd477e8a13eaae638e17
2018-03-06 19:23:07 +13:00
Karl Tomlinson
ad9f69cbf9
bug 1328964 add CycleCollectedJSContext::GetAsWorkletJSContext() and use it in IsOnWorkletThread() r=smaug
...
MozReview-Commit-ID: BUujWXYho1G
--HG--
extra : rebase_source : 78bb6736f74bb59913bc9499fcfdf7b0baa7870d
2018-04-06 09:45:56 +12:00
Karl Tomlinson
233abfb95a
bug 1328964 don't allocate SourceBufferHolder on the heap r=baku
...
I'm not aware of any reason why SourceBufferHolder must be allocated only on
the stack, but bz and bkelly seemed to agree that it should be MOZ_STACK_CLASS
in https://bugzilla.mozilla.org/show_bug.cgi?id=987556#c72
FWIW avoiding SourceBufferHolder saves by not needing to store GiveOwnership.
UniquePtr makes the transfer of ownership clearer.
MozReview-Commit-ID: 2wxkW75TNUM
--HG--
extra : rebase_source : 86b47023f252fd9f009be530d5ada8d6e82499e9
2018-03-27 15:12:19 +13:00
Karl Tomlinson
b568e89319
bug 1328964 add override to ~WorkletJSContext/Runtime and use = default r=baku
...
Addresses modernize-use-override and modernize-use-equals-default
clang-tidy suggestions in "part 2 - Worklet Thread".
MozReview-Commit-ID: H1a9kBCF1Q6
--HG--
extra : rebase_source : eb26cf1f10a703a6c1e7905b27d20131617a30dc
2018-03-27 18:15:54 +13:00
Karl Tomlinson
41c60640a4
bug 1328964 use = default in WorkletGlobalScope and derived constructors r=baku
...
Addresses modernize-use-equals-default clang-tidy suggestions
in "part 1 - Remove the window from worklet".
MozReview-Commit-ID: KDPa70YCR1J
--HG--
extra : rebase_source : fcb4f1c0c07b74717c0914c8991af6d46cb417f3
2018-04-04 18:05:11 +12:00
Andrea Marchesini
2e8f885142
Bug 1328964 - part 3 - Console API exposed to worklets r=baku
...
Initial version r=smaug.
Rebased to c616a6fd5e4b by Jan-Ivar Bruaroey <jib@mozilla.com> r=karlt.
Rebased to 83de58ddda20 by Karl Tomlinson <karlt+@karlt.net> r=baku.
MozReview-Commit-ID: G5E5OXydj3a
--HG--
extra : rebase_source : 4c6c9d396debce92299496c86bb6f55fbbb15a8a
2018-04-12 16:21:20 +12:00
Andrea Marchesini
6bcc1f6196
Bug 1328964 - part 2 - WorkletThread r=baku
...
Initial version r=smaug.
Rebased to c616a6fd5e4b by Jan-Ivar Bruaroey <jib@mozilla.com> r=karlt.
Rebased to 83de58ddda20 by Karl Tomlinson <karlt+@karlt.net> r=baku.
MozReview-Commit-ID: Lo8TWtN8qyz
--HG--
extra : rebase_source : ffcb7b835ea49cda3e25dfa94a91b3725fdbfb29
2018-04-12 15:14:48 +12:00
Andrea Marchesini
a944cd0b3c
Bug 1328964 - part 1 - Remove the window from worklet r=baku
...
Initial version r=smaug.
Rebased to c616a6fd5e4b by Jan-Ivar Bruaroey <jib@mozilla.com> r=karlt.
Rebased to 83de58ddda20 by Karl Tomlinson <karlt+@karlt.net> r=baku.
MozReview-Commit-ID: 6S52ht1zIGh
--HG--
extra : rebase_source : 1ef5177b5abf6760973afd93c1cd881bd1bf43b2
2017-05-16 09:51:40 -04:00
Andrea Marchesini
370acd6950
Bug 1439686 - Console API should print logs on stdout when used by chrome code and if browser.dom.window.dump.enabled is true, r=bgrins
2018-02-22 08:49:51 +01:00
Florian Quèze
2b1c8dccb6
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Andrea Marchesini
1a7b13aab4
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 1 - dump enabled, r=asuth
2018-01-08 14:05:03 +01:00
Andrea Marchesini
797ef68515
Bug 1425463 - Expose Console API to JSM, r=smaug
2017-12-20 14:35:34 +01:00
Andrea Marchesini
1fd1731f81
Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 3 - NS_NewInputStreamPump, r=smaug
2017-11-22 11:18:57 +01:00
Jan de Mooij
7f30bf48a7
Bug 1417844 part 2 - Remove JSVersion from CompileOptions, CompartmentBehaviors, scripts. r=evilpie
2017-11-17 12:12:39 +01:00
Andrea Marchesini
bd3028679b
Bug 1415086 - Fixing a out-of-scope issue for a string in Worklet code, r=qdot
2017-11-08 00:58:11 +01:00
Sebastian Hengst
05f6535141
Backed out changeset 1c6eac3c74d5 (bug 1415086) for build bustage at dom/worklet/Worklet.cpp:204. r=backout on a CLOSED TREE
2017-11-07 22:03:02 +02:00
Andrea Marchesini
7ace780911
Bug 1415086 - Fixing a out-of-scope issue for a string in Worklet code, r=qdot
2017-11-07 20:16:02 +01:00
Andrea Marchesini
4b75cfc9bc
Bug 1373555 - Move the Fetch consume body login in a separate class - part 3 - Move the consuming body logic from FetchBody to FetchBodyConsumer, r=bkelly
2017-06-20 17:53:21 +02:00
Andrea Marchesini
1981f67eb3
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00
Carsten "Tomcat" Book
f0d6de60d7
Backed out changeset 5d77f6b14633 (bug 1362119) for android bustage in nsCCUncollectableMarker.cpp:500:7: error: 'TraceScriptHolder' is not a member of 'mozilla'
...
--HG--
rename : dom/script/ScriptSettings.cpp => dom/base/ScriptSettings.cpp
rename : dom/script/ScriptSettings.h => dom/base/ScriptSettings.h
rename : dom/script/nsIScriptElement.h => dom/base/nsIScriptElement.h
rename : dom/script/nsIScriptLoaderObserver.idl => dom/base/nsIScriptLoaderObserver.idl
rename : dom/script/ScriptElement.cpp => dom/base/nsScriptElement.cpp
rename : dom/script/ScriptElement.h => dom/base/nsScriptElement.h
rename : dom/script/ScriptLoader.cpp => dom/base/nsScriptLoader.cpp
rename : dom/script/ScriptLoader.h => dom/base/nsScriptLoader.h
2017-05-08 09:54:38 +02:00
Andrea Marchesini
7a4ef797cb
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Nicolas B. Pierron
39741d711a
Bug 1331662 part 2 - Replace nsJSUtils::EvaluateString calls by ExecutionContext scopes. r=bz
2017-03-22 13:42:27 +00:00
Joel Maher
f297f17181
Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt
...
MozReview-Commit-ID: 2HbPxGkrVfv
2017-03-01 08:20:25 -05:00
Boris Zbarsky
1f816c60cf
Bug 1335368 part 12. Remove the use of IsCallerChrome in FetchRequest. r=bkelly
2017-02-01 15:43:37 -05:00
Andrea Marchesini
e261213b58
Bug 1332378 - Worklet must evaluate scripts in the right JS compartment, r=nbp
2017-01-20 14:39:39 +01:00
Olli Pettay
0364dbc792
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
...
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Andrea Marchesini
9c9e0b6c60
Bug 1324169 - VoidFunction should be moved to Function.webidl for Worklet global scopes, r=me
2016-12-17 07:19:50 +01:00
Andrea Marchesini
365e4a9f12
Bug 1323967 - Improve how Worklet tests are written, r=smaug
2016-12-16 22:21:51 +01:00
Andrea Marchesini
4623102eac
Bug 1323948 - PaintWorkletGlobalScope, r=smaug
2016-12-16 22:21:51 +01:00
Andrea Marchesini
ade950adbb
Bug 1322981
- Correct management of JS exceptions in Worklet, r=smaug
2016-12-14 15:24:33 +01:00
Andrea Marchesini
1156b79449
Bug 1322858
- Implement AudioWorkletGlobalScope - main-thread only - not meant to be exposed yet, r=smaug
2016-12-14 14:43:26 +01:00
Andrea Marchesini
a7321e8dd3
Bug 1290021 - Implement a prototype version of Houdini "Worklets Level 1" spec - part 6 - assertions, r=smaug
2016-11-06 09:56:03 +01:00
Andrea Marchesini
ed20882087
Bug 1290021 - Implement a prototype version of Houdini "Worklets Level 1" spec - part 5 - dump(), r=smaug
...
--HG--
rename : dom/worklet/tests/file_console.html => dom/worklet/tests/file_dump.html
rename : dom/worklet/tests/test_console.html => dom/worklet/tests/test_dump.html
rename : dom/worklet/tests/worklet_console.js => dom/worklet/tests/worklet_dump.js
2016-11-06 09:55:41 +01:00
Andrea Marchesini
1c9916b76f
Bug 1290021 - Implement a prototype version of Houdini "Worklets Level 1" spec - part 4 - cache for the imports, r=smaug
...
--HG--
rename : dom/worklet/tests/file_basic.html => dom/worklet/tests/file_import_with_cache.html
rename : dom/worklet/tests/test_basic.html => dom/worklet/tests/test_import_with_cache.html
2016-11-06 09:55:20 +01:00
Andrea Marchesini
f8cf3b6565
Bug 1290021 - Implement a prototype version of Houdini "Worklets Level 1" spec - part 3 - Console API in worklet, r=smaug
2016-11-06 09:54:52 +01:00
Andrea Marchesini
8524257019
Bug 1290021 - Implement a prototype version of Houdini "Worklets Level 1" spec - part 2 - WorkletGlobalScope, r=smaug
2016-11-06 09:54:29 +01:00
Andrea Marchesini
31cddcde1d
Bug 1290021 - Implement a prototype version of Houdini "Worklets Level 1" spec - part 1 - WebIDL interface, r=smaug
2016-11-06 09:53:34 +01:00