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

427 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
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
Ben Kelly 7506d48306 Bug 1434701 P3 Pass ServiceWorkerRegistrationDescriptor to ServiceWorkerRegistration::CreateForWorker(). r=asuth 2018-02-14 14:23:15 -05: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 dc6e77233b Bug 1435263 - Get rid of WorkerPrivateParent template - part 10 - PreStartRunnables, 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
Andrea Marchesini cbee166ef4 Bug 1435263 - Get rid of WorkerPrivateParent template - part 4 - LoadInfo, JSSettings, ParentFrozen, IsSecureContext and IsChromeWorker, r=bkelly 2018-02-08 09:33:33 +01:00
Andrea Marchesini d4eb2f7f98 Bug 1435263 - Get rid of WorkerPrivateParent template - part 3 - creation time, r=bkelly 2018-02-08 09:33:32 +01:00
Andrea Marchesini 5f3cee24f1 Bug 1435263 - Get rid of WorkerPrivateParent template - part 2 - mMainThreadObjectsForgotten, r=bkelly 2018-02-08 09:33:32 +01:00
Andrea Marchesini 6c62c6ebec Bug 1435263 - Get rid of WorkerPrivateParent template - part 1 - BusyCount and ParentStatus, r=bkelly 2018-02-08 09:33:32 +01:00
Andrea Marchesini 2dfbe16467 Bug 1435263 - Get rid of WorkerPrivateParent template - part 0 - WorkerPrivate::EventTarget, r=bkelly 2018-02-08 09:33:32 +01:00
Andrea Marchesini 94e0ff94f0 Bug 1435196 - Move the webidl binding interfaces out of WorkerPrivate - part 3 - Comments, r=bkelly 2018-02-08 08:26:05 +01:00
Andrea Marchesini f6957bfded Bug 1435196 - Move the webidl binding interfaces out of WorkerPrivate - part 1 - WebIDL bindings, r=bkelly 2018-02-08 08:26:05 +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 9294ce8532 Bug 1435197 - Reduce the number of headers included in WorkerCommon.h, r=smaug 2018-02-02 17:35:28 +01:00
Andrea Marchesini 0c7e47f8eb Bug 1434934 - Remove dom.workers.enabled pref, r=bkelly 2018-02-01 18:34:08 +01:00
Andrea Marchesini 7e52540256 Bug 1432963 - Fixing workers headers - part 16 - JSSettings in a workerinternals namespace, r=smaug 2018-01-31 08:24:59 +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 063723a1f0 Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug 2018-01-31 08:23:44 +01:00
Andrea Marchesini c4b257cdc6 Bug 1432963 - Fixing workers headers - part 12 - WorkerRunnable without workers namespace, r=smaug 2018-01-31 08:22:56 +01:00
Andrea Marchesini ddb6745c9c Bug 1432963 - Fixing workers headers - part 7 - WorkerDebugger without workers namespace, r=smaug 2018-01-31 08:21:06 +01:00
Andrea Marchesini 8582d79ad5 Bug 1432963 - Fixing workers headers - part 5 - WorkerEventTarget in a separate file, r=smaug 2018-01-31 08:20:25 +01:00
Andrea Marchesini 6425dc0809 Bug 1432963 - Fixing workers headers - part 4 - WorkerThread without workers namespace, r=smaug 2018-01-31 08:20:07 +01:00
Andrea Marchesini 1127e83395 Bug 1432963 - Fixing workers headers - part 2 - Get rid of WorkerCrossThreadDispatcher and WorkerTask, r=smaug 2018-01-31 08:19:29 +01:00
Andrea Marchesini c08095be82 Bug 1432963 - Fixing workers headers - part 1 - no workers namespace for SharedWorker, r=smaug 2018-01-31 08:19:10 +01:00
Andrea Marchesini 9774cec092 Bug 1413112 - Fixing includes in dom/workers, r=bkelly 2018-01-30 10:14:00 +01:00
Andrea Marchesini 1be2954fe1 Bug 1413112 - WorkerError in separate files, r=bkelly 2018-01-30 10:12:50 +01:00
Andrea Marchesini 900cbdf1e3 Bug 1413112 - Separate files for WorkerDebugger, r=bkelly 2018-01-30 10:12:26 +01:00
Andrea Marchesini cfa537d14f Bug 1413112 - Move WorkerLoadInfo into separate files, r=bkelly 2018-01-30 10:12:04 +01:00