Commit Graph

28 Commits

Author SHA1 Message Date
Arnaud Bienner
39f88b4928 Bug 1470856 - Add AudioWorklet definition. r=baku,karlt
MozReview-Commit-ID: 39eqjisGNTE
2018-06-27 11:31:02 +02:00
Jeff Gilbert
70a22b2878 Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Emilio Cobos Álvarez
4b8b5e1717 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
e5f8a28c84 Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke 2018-05-16 10:53:16 +02:00
Karl Tomlinson
fa046e4e64 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
2018-03-27 15:12:19 +13:00
Andrea Marchesini
3f54b1d29e 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
2018-04-12 16:21:20 +12:00
Andrea Marchesini
5fe176661f 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
2018-04-12 15:14:48 +12:00
Andrea Marchesini
d816ae8dc8 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
2017-05-16 09:51:40 -04:00
Andrea Marchesini
e4f3681898 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
e6e5785154 Bug 1417844 part 2 - Remove JSVersion from CompileOptions, CompartmentBehaviors, scripts. r=evilpie 2017-11-17 12:12:39 +01:00
Andrea Marchesini
1286e4377f 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
a75df33f68 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
79992f48c8 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
4763377ab4 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
80bc31371c 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
2017-05-08 08:24:22 +02:00
Carsten "Tomcat" Book
c4daf63d34 Backed out changeset 5d77f6b14633 (bug 1362119) for android bustage in nsCCUncollectableMarker.cpp:500:7: error: 'TraceScriptHolder' is not a member of 'mozilla' 2017-05-08 09:54:38 +02:00
Andrea Marchesini
71aba8e0ee 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
2017-05-08 08:24:22 +02:00
Nicolas B. Pierron
fc0b4d8b45 Bug 1331662 part 2 - Replace nsJSUtils::EvaluateString calls by ExecutionContext scopes. r=bz 2017-03-22 13:42:27 +00:00
Boris Zbarsky
942ec8bf1b Bug 1335368 part 12. Remove the use of IsCallerChrome in FetchRequest. r=bkelly 2017-02-01 15:43:37 -05:00
Andrea Marchesini
1523b0b124 Bug 1332378 - Worklet must evaluate scripts in the right JS compartment, r=nbp 2017-01-20 14:39:39 +01:00
Andrea Marchesini
3282bee330 Bug 1323948 - PaintWorkletGlobalScope, r=smaug 2016-12-16 22:21:51 +01:00
Andrea Marchesini
10873d224e Bug 1322981 - Correct management of JS exceptions in Worklet, r=smaug 2016-12-14 15:24:33 +01:00
Andrea Marchesini
2157bb96f6 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
00a55f084d 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
1b58f0fa94 Bug 1290021 - Implement a prototype version of Houdini "Worklets Level 1" spec - part 4 - cache for the imports, r=smaug 2016-11-06 09:55:20 +01:00
Andrea Marchesini
997d40c191 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
9365b2b3ba 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
15f0361bdf 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