Граф коммитов

23 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini c0a0edd822 Bug 1612570 - Add promise support to worklet, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61406

--HG--
extra : moz-landing-system : lando
2020-02-06 13:54:19 +00:00
Narcis Beleuzu f7c0c56918 Backed out changeset 5d69fddf45db (bug 1612570) for failing dom/worklet/tests/test_promise.html after bug 1611855 got backed out. CLOSED TREE
--HG--
extra : amend_source : acbba0ec52bc1fe7a262380dc790ff8f3c4bc838
2020-02-06 14:37:36 +02:00
Andrea Marchesini 7a5ddf5fb4 Bug 1612570 - Add promise support to worklet, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61406

--HG--
extra : moz-landing-system : lando
2020-02-05 22:16:21 +00:00
Arthur Iakab 897885fdb0 Backed out changeset 7dddff2d1120 (bug 1612570) for causing mochitest failures on test_promise.html.
CLOSED TREE
2020-02-03 10:27:47 +02:00
Andrea Marchesini 7ca32b64c3 Bug 1612570 - Add promise support to worklet, r=smaug
Depends on D61307

Differential Revision: https://phabricator.services.mozilla.com/D61406

--HG--
extra : moz-landing-system : lando
2020-02-03 07:26:43 +00:00
Karl Tomlinson d0133206f2 bug 1539039 notify WorkletImpl before WorkletThread shutdown on xpcom shutdown r=baku
This gives WorkletImpl a chance to send a message to release worklet thread
objects.

This is used only for PaintWorklet until PaintWorklet uses its own threads.

Differential Revision: https://phabricator.services.mozilla.com/D25353

--HG--
extra : moz-landing-system : lando
2019-04-01 16:51:18 +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 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
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
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 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
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 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 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 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 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 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
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
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