Boris Zbarsky
1914ffc8ec
Bug 1450167. Stop using atom-or-string for event names in the listener manager. r=smaug
...
Now that we support atoms off the the main thread, we can just use atoms.
2018-07-24 18:15:19 -04:00
Ben Kelly
083c06c238
Bug 1462772 P1 Add a fallible nsIGlobalObject::GetServiceWorkerRegistration() method. r=mrbkap
2018-07-02 07:44:18 -07: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
Miko Mynttinen
4c85ef17cc
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
--HG--
extra : rebase_source : 1e7eea4f2d4ec16ec0c559a8afb26976ddbf4d07
2018-06-01 17:59:07 +02:00
Jan de Mooij
6ac025d047
Bug 1464772 part 1 - Make JS_GetIsSecureContext take a realm instead of compartment and move to JS namespace. r=bz
2018-06-03 12:22:28 +02: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
Andreas Farre
21d26b0afe
Bug 1450066 - Fall back to 0 if setInterval interval not supplied. r=bkelly
...
--HG--
extra : rebase_source : 55bacede7cacd5b18f710a303acf077e777e817b
2018-05-03 06:20:00 +03:00
Ben Kelly
00d42d9d6b
Bug 1457157 P2 Clear a worker's ClientSource when it reaches Terminating. r=baku
2018-05-02 06:29:26 -07:00
Sebastian Hengst
0819f35e51
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Ben Kelly
a2fce061cf
Bug 1450274 P3 Make WorkerGlobalScope call DisconnectEventTargetObjects() when the worker reaches the Terminating state. r=baku
2018-04-10 11:00:57 -07:00
Boris Zbarsky
2cdc7450c3
Bug 1449631 part 10. Devirtualize AddEventListener. r=smaug
...
The CanCallerAccess check in the "webidl" version of
nsGlobalWindowOuter::AddEventListener was pointless, because bindings never
call things on outer windows.
MozReview-Commit-ID: 1CGMJ277bPu
2018-04-05 13:42:42 -04:00
Andrea Marchesini
6f7a4bfd5d
Bug 1445199 - Remove JSContext parameter in worker NotifyHolder, r=smaug
2018-03-13 15:25:50 +01:00
Ben Kelly
5706606e9b
Bug 1438211 P5 Replace direct window/worker calls with nsIGlobalObject::GetOrCreateServiceWorkerRegistration(). r=asuth
...
--HG--
extra : rebase_source : 2b0f83a5e5a6e5eeac9e1401168c6653b6250c23
2018-03-02 13:02:50 -08:00
Ben Kelly
b7cbf79c03
Bug 1438211 P4 Actually set the worker global on ServiceWorkerRegistration. r=asuth
...
--HG--
extra : rebase_source : 402ab15468191e61d597a246e1f2d8a05f8ee03a
2018-03-02 13:02:50 -08:00
Ben Kelly
84799ae3d5
Bug 1438211 P3 Implement WorkerGlobalScope::GetOrCreateServiceWorkerRegistration(). r=asuth
...
--HG--
extra : rebase_source : 3e6d360edafe30f95a355df25705ab4150372c8f
2018-03-02 13:02:49 -08:00
Boris Zbarsky
6e53866b8e
Bug 1442313
part 3. Expose, test-only, getJSTestingFunctions() in workers. r=bkelly
...
MozReview-Commit-ID: LiErRvJ6CTH
2018-03-01 14:24:20 -05:00
Andreea Pavel
14a1838c54
Backed out 4 changesets (bug 1442313
) for frequently failing crashtests on android, e.g. libeditor/crashtests/772282.html and layout/generic/crashtests/542136-1.html a=backout
...
Backed out changeset bfef9139500f (bug 1442313
)
Backed out changeset 660332ce1bf0 (bug 1442313
)
Backed out changeset 9788a46b8874 (bug 1442313
)
Backed out changeset 8fc2c103027b (bug 1442313
)
2018-03-02 18:08:23 +02:00
Boris Zbarsky
9a576eb44d
Bug 1442313
part 3. Expose, test-only, getJSTestingFunctions() in workers. r=bkelly
...
MozReview-Commit-ID: LiErRvJ6CTH
2018-03-01 14:24:20 -05: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
Ben Kelly
7506d48306
Bug 1434701
P3 Pass ServiceWorkerRegistrationDescriptor to ServiceWorkerRegistration::CreateForWorker(). r=asuth
2018-02-14 14:23:15 -05:00
Adrian Wielgosik
1438296c97
Bug 1436865 - Remove nsIDOMCrypto. r=bz
...
MozReview-Commit-ID: 4bQVSF94bbz
--HG--
extra : rebase_source : 6386e08c4a392b75473c47997e6cf01d35be78e2
2018-02-08 13:22:20 +01:00
Andrea Marchesini
8cdf705535
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Andrea Marchesini
a5bed23bd8
Bug 1432963 - Fixing workers headers - part 15 - static function in a workers namespace, r=smaug
2018-01-31 08:24:30 +01:00
Andrea Marchesini
2c7c69af24
Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug
2018-01-31 08:24:08 +01:00
Andrea Marchesini
6757fa2f75
Bug 1432963 - Fixing workers headers - part 10 - ScriptLoader into a workerinternals namespace, r=smaug
2018-01-31 08:22:03 +01:00
Andrea Marchesini
cfa537d14f
Bug 1413112 - Move WorkerLoadInfo into separate files, r=bkelly
2018-01-30 10:12:04 +01:00
Ben Kelly
e71d8db226
Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth
2018-01-26 13:08:59 -08:00
Ben Kelly
0325169284
Bug 1430139 P2 Make the tree compile again after moving the code to dom/serviceworkers. r=asuth
2018-01-26 13:08:58 -08:00
Ben Kelly
eecacb4a97
Bug 1429486
Expose GetClientInfo() and GetController() on nsIGlobalObject. r=asuth
2018-01-11 20:46:08 -05:00
Andrea Marchesini
9a25904cf8
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 2 - image bitmap, r=asuth
2018-01-08 14:05:03 +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
Ben Kelly
cfb0e62f7b
Bug 1293277 P5 Switch bindings over to new Client and Clients classes. r=baku
2017-12-12 15:44:47 -05:00
Ben Kelly
7fb7be80ac
Bug 1293277 P3 Remove the dom.serviceWorkers.openWindow.enabled pref. r=baku
2017-12-12 15:44:47 -05:00
Andrew McCreight
78807d8776
Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
...
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.
MozReview-Commit-ID: 5agRGFyUry1
--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00
Bevis Tseng
a7505864a8
Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm
...
--HG--
extra : rebase_source : 11319e568a51d16754a6a9990f76c35c86c2bda7
2017-07-26 16:13:35 +08:00
Ben Kelly
db5d0c6b04
Bug 1379243 P4 Make worker EventTargetFor() return a "hybrid" WorkerEventTarget. r=baku
2017-07-21 08:16:24 -07:00
Boris Zbarsky
5c76874a46
Bug 1371259 part 3. Change UnwrapObject<> and the UNWRAP_OBJECT macro to allow passing in mutable object or value handles for the thing being unwrapped, and do so at various callsites. r=peterv
...
I did audit all UNWRAP_OBJECT callers to make sure that the lifetimes of all the
temporary Rooted or the RefPtrs they unwrap into are long enough.
2017-07-10 16:05:24 -04:00
Ben Kelly
227c73cd89
Bug 1366089 Make EventTargetFor() support worker threads. r=baku
2017-06-29 11:28:56 -07:00
Bill McCloskey
f115503a0b
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
8a1350b5a6
Backed out changeset 4f6302a98ae4 (bug 1372405
)
...
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
ea1b86680c
Backed out changeset 9846de3bd954 (bug 1372405
)
...
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Andrea Marchesini
b203932e2d
Bug 1364297 - Use nsString instead nsCString for Worker names, r=smaug
2017-05-17 16:49:34 +02:00
Andrea Marchesini
7453988cd7
Bug 1364297 - Worker and SharedWorker constructors have an optional WorkerOptions parameter, r=smaug
2017-05-17 16:48:54 +02:00
Ehsan Akhgari
e67d3e5c18
Bug 1348453 - Make the second argument to ImageBitmap::ExtensionsEnabled() optional; r=baku
2017-03-23 10:27:41 -04:00