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

907 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini 6866300bc3 Bug 1450644 - Better shutdown approach for Workers - part 1 - CancelingRunnable, r=asuth 2018-04-17 20:51:03 +02:00
Jim Blandy e8bdf3d072 Bug 1454540 - Remove WorkerPrivate::DispatchPrivate, and give WorkerPrivate::Dispatch a default argument instead. r=baku 2018-04-16 20:08:26 -07:00
Tiberius Oros 78bac61f63 Backed out 7 changesets (bug 1450644, bug 1454633) for for failing browser_storage_permission.js on a CLOSED TREE
Backed out changeset f4989e0da221 (bug 1454633)
Backed out changeset 08239799d43e (bug 1450644)
Backed out changeset cbe3ad4833b6 (bug 1450644)
Backed out changeset 0d2088370d0c (bug 1450644)
Backed out changeset 246fb3ee14cd (bug 1450644)
Backed out changeset 629e499c0f75 (bug 1450644)
Backed out changeset ed93e3547096 (bug 1450644)
2018-04-18 01:10:26 +03:00
Andrea Marchesini 848a6e4716 Bug 1450644 - Better shutdown approach for Workers - part 3 - Preference for time worker timeout, r=asuth 2018-04-17 20:51:04 +02:00
Andrea Marchesini 21693d26a6 Bug 1450644 - Better shutdown approach for Workers - part 2 - Timeout + ControlRunnable, r=asuth 2018-04-17 20:51:04 +02:00
Andrea Marchesini c2549f7b53 Bug 1450644 - Better shutdown approach for Workers - part 1 - CancelingRunnable, r=asuth 2018-04-17 20:51:03 +02:00
Nika Layzell 0c3ba13e4c Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj 2018-04-10 17:49:47 -04: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 4292bca4ee Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Tarek Ziadé f9138cc6f4 Bug 1447768 - part 2 - Dispatch counters in the parent process - r=baku
Chromeutils.RequestPerformanceMetrics() is now composed of two parts:
- calls content processes via IPDL to get their counters
- directly dispatch counters from the parent process

MozReview-Commit-ID: HlgcEOzkyAq

--HG--
extra : rebase_source : 60e81a27cd3a1bf1378e6b977529964507633b63
2018-04-04 13:36:25 +02:00
Ben Kelly a6499922db Bug 1448141 P5 Remove the service worker script load failure runnable. r=asuth 2018-04-02 07:50:23 -07:00
Ben Kelly 0247fa2c02 Bug 1448141 P4 Immediately start closing worker scripts if their initial compilation fails. r=baku 2018-04-02 07:50:23 -07:00
Andrea Marchesini 3797da27ff Bug 1450416 - setTimeout/setInterval should silently fail if the worker is shutting down, r=asuth 2018-03-31 09:47:51 +02:00
Andrea Marchesini 4368f4dfab Bug 1446273 - Remove a optional parameter in WorkerPrivate::DestroySyncLoop, r=catalinb 2018-03-16 15:20:29 +01:00
Tom Ritter 6ebcecc30e Bug 1440195 Add a random context seed to the Performance APIs r=baku
We attach it to WorkerPrivate and DOMNavigationTiming so it will be re-used
when it should.

WorkerPrivate is used in the Performance APIs, Performance Storage Worker,
and Event.

DOMNavigationTiming is used only in the Performance APIs, but the crucial
part is that when the individual DOMNavigationTiming object is re-used,
so will the context seed. This in particular came up with the
nav2_test_document_open.html Web Platform Test which illustrated the fact
that even if you .open() a new document, the performance navigation data
is not supposed to change.

MozReview-Commit-ID: GIv6biEo2jY

--HG--
extra : rebase_source : da2ad8d9d6e0172679c6af14dba72938e9d2012c
2018-03-13 12:36:34 -05:00
shindli 9bfc016707 Merge inbound to mozilla-central. a=merge 2018-03-15 12:15:17 +02:00
Kris Maglione 38156094a4 Bug 1445551: Part 5 - Remove add-on path service. r=aswan,mccr8
The path service was created to allow us to track resources that were part of
legacy add-ons, and to map URIs ponting to those resources to add-on IDs, so
that we could apply special behavior to them.

We have better ways to track resources belonging to WebExtensions, so this
code does not benefit them in any significant way.

The only remaining legacy extensions are system add-ons, which we control, and
do not need the path service in order to track.

MozReview-Commit-ID: BKXkcaM7jJx

--HG--
extra : rebase_source : c8cb0f7cec919b767bbcfe5433a6838523747676
2018-03-13 20:21:22 -07:00
Andreea Pavel 067622ac36 Merge mozilla-inbound to mozilla-central. a=merge on a CLOSED TREE 2018-03-15 00:07:17 +02:00
Andrea Marchesini 958050f504 Bug 1445540 - Use WorkerRef in PerformanceStorageWorker, r=smaug 2018-03-14 15:27:13 +01:00
Andrea Marchesini 8d4bb177fa Bug 1436784 - Implement WeakWorkerRef, StrongWorkerRef and ThreadSafeWorkerRef, r=smaug 2018-03-13 21:16:48 +01:00
Andreea Pavel 46575fad3b Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-15 00:10:23 +02:00
Tom Ritter 6d43fef7f0 Bug 1443943 Do not clamp/jitter in the JS Engine if it's system context r=jorendorff,luke
MozReview-Commit-ID: LqL7xaYoHCT

--HG--
extra : rebase_source : 5e0e9de48d908d49468a40e0e067be4fdfc6a30e
2018-03-09 09:49:28 -06:00
arthur.iakab 6153368440 Merge mozilla-central to autoland 2018-03-14 12:16:00 +02:00
Tarek Ziadé 86edd52973 Bug 1437438 - Add a performance counter to track scheduler activity - r=farre,froydnj
Adds a PeformanceCounter class that is used in DocGroup and WorkerPrivate
to track runnables execution and dispatch counts.

MozReview-Commit-ID: 51DLj6ORD2O

--HG--
extra : rebase_source : b481c9aa3b735569722bb7472872ec2d22adcb89
2018-03-06 10:19:19 +01:00
Andrea Marchesini 6f7a4bfd5d Bug 1445199 - Remove JSContext parameter in worker NotifyHolder, r=smaug 2018-03-13 15:25:50 +01:00
Olli Pettay 2439836b37 Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis 2017-11-17 11:01:27 +08:00
Boris Zbarsky 7dd7848880 Bug 1442313 part 2. Push down the value of xpc::IsInAutomation into workers. r=bkelly
MozReview-Commit-ID: 5h51oqaf0R
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 3f718c4054 Bug 1442313 part 2. Push down the value of xpc::IsInAutomation into workers. r=bkelly
MozReview-Commit-ID: 5h51oqaf0R
2018-03-01 14:24:20 -05:00
Csoregi Natalia 1fd0486e23 Backed out 7 changesets (bug 1193394) for browser-chrome failures on browser_ext_popup_background.js. CLOSED TREE
Backed out changeset 9683f24ff8ec (bug 1193394)
Backed out changeset 0e7140a7c841 (bug 1193394)
Backed out changeset a0e26f6b2784 (bug 1193394)
Backed out changeset 29e1fceaf48d (bug 1193394)
Backed out changeset b8632bbbd273 (bug 1193394)
Backed out changeset a54ef2d8f896 (bug 1193394)
Backed out changeset 55c94c05c57f (bug 1193394)
2018-03-01 16:29:02 +02:00
Olli Pettay b7726493fb Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis 2017-11-17 11:01:27 +08:00
Dorel Luca 011cfbabae Backed out changeset ab4aab822769 (bug 1426467) for Mochitest failure on dom/workers/test/test_suspend.html 2018-02-15 01:31:10 +02:00
Jim Blandy 6f503001a3 Bug 1426467: Re-enqueue messages from workers when debugger pause ends; don't run them immediately. r=bkelly
MozReview-Commit-ID: 1Yyjqz5S6tZ
2018-01-18 11:49:34 -08:00
Ben Kelly 7506d48306 Bug 1434701 P3 Pass ServiceWorkerRegistrationDescriptor to ServiceWorkerRegistration::CreateForWorker(). r=asuth 2018-02-14 14:23:15 -05:00
Boris Zbarsky 9bdcffc985 Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8
The change to RootAccessible.cpp fixes an obvious bug introduced in bug 741707.

The visibility changes in gfx/thebes are because NS_DECL_ISUPPORTS has a
trailing "public:" that those classes were relying on to have public
constructors.

MozReview-Commit-ID: IeB8KIJCGhU
2018-02-12 15:44:40 -05:00
Coroiu Cristina 0038490a71 Backed out changeset 42deb2563aa8 (bug 1426467) for ESlint failure at /devtools/server/tests/mochitest/suspendTimeouts_content.js on a CLOSED TREE 2018-02-12 18:14:49 +02:00
Jim Blandy d4700814c9 Bug 1426467: Re-enqueue messages from workers when debugger pause ends; don't run them immediately. r=bkelly
MozReview-Commit-ID: 1Yyjqz5S6tZ

--HG--
extra : rebase_source : 4f54bd6a6a3385ba4e424ac5ffe4354db4592b45
2018-01-18 11:49:34 -08:00
Andrea Marchesini 0c305c1eaa Bug 1435263 - Get rid of WorkerPrivateParent template - part 18 - private/public sections, r=bkelly 2018-02-08 09:33:34 +01:00
Andrea Marchesini 5211065bf5 Bug 1435263 - Get rid of WorkerPrivateParent template - part 17 - WorkerPrivateParent, r=bkelly 2018-02-08 09:33:34 +01:00
Andrea Marchesini 9241a14957 Bug 1435263 - Get rid of WorkerPrivateParent template - part 16 - Dispatch methods, r=bkelly 2018-02-08 09:33:34 +01:00
Andrea Marchesini 5deb3ddc49 Bug 1435263 - Get rid of WorkerPrivateParent template - part 15 - update methods, r=bkelly 2018-02-08 09:33:34 +01:00
Andrea Marchesini e898847369 Bug 1435263 - Get rid of WorkerPrivateParent template - part 14 - MaybeWrapAsWorkerRunnable and ProxyReleaseMainThreadObjects, r=bkelly 2018-02-08 09:33:34 +01:00
Andrea Marchesini 67ce33a460 Bug 1435263 - Get rid of WorkerPrivateParent template - part 13 - Start/Close/Kill/Terminate, r=bkelly 2018-02-08 09:33:34 +01:00
Andrea Marchesini 80346a9dd6 Bug 1435263 - Get rid of WorkerPrivateParent template - part 12 - Freeze/Thaw, r=bkelly 2018-02-08 09:33:33 +01:00
Andrea Marchesini bc2868d467 Bug 1435263 - Get rid of WorkerPrivateParent template - part 11 - Debugger, r=bkelly 2018-02-08 09:33:33 +01:00
Andrea Marchesini 329cf111f1 Bug 1435263 - Get rid of WorkerPrivateParent template - part 9 - SharedWorkers, r=bkelly 2018-02-08 09:33:33 +01:00
Andrea Marchesini 021d8073d5 Bug 1435263 - Get rid of WorkerPrivateParent template - part 8 - QueueRunnables, ParentWindowPauseDepth, r=bkelly 2018-02-08 09:33:33 +01:00
Andrea Marchesini 1a9bd2a590 Bug 1435263 - Get rid of WorkerPrivateParent template - part 7 - WorkerType, r=bkelly 2018-02-08 09:33:33 +01:00
Andrea Marchesini d10bc7b6cb Bug 1435263 - Get rid of WorkerPrivateParent template - part 6 - ScriptURL and WorkerName, r=bkelly 2018-02-08 09:33:33 +01:00
Andrea Marchesini 707fce6000 Bug 1435263 - Get rid of WorkerPrivateParent template - part 5 - mParent, r=bkelly 2018-02-08 09:33:33 +01:00