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