Andreas Farre
890fcec29b
Bug 1441972 - Add probe for counting docgroups per tabgroup. r=nika, data-review=chutten
...
Add ACTIVE_DOCGROUPS_PER_TABGROUP and TOTAL_DOCGROUPS_PER_TABGROUP to
collect data on how many docgroups a tabgroup has whenever a top level
content document associated with that tabgroup would hide. This gives
a fairly accurate estimate of the number of docgroups a site
uses. TOTAL_* counts all docgroups while ACTIVE_* only count docgroups
with at least one document not in the bfcache.
2018-05-30 05:48:00 +03:00
Emilio Cobos Álvarez
f48fa2314c
Bug 1445392: Make HTMLSlotElement slot change event stuff not linear. r=smaug
...
Also fix refcount churn in nsDOMMutationObserver and such.
MozReview-Commit-ID: GwEB0LZY7Ss
2018-05-08 16:10:27 +02:00
Tarek Ziadé
481052965e
Bug 1452580 - remove RELEASE_OR_BETA defines for PerformanceCounter usage - r=baku,erahm,farre
...
PerformanceCounters are currently disabled in two ways:
- a preference that's off by default "dom.performance.enable_scheduler_timing"
- calls made only for nightly using #ifndef RELEASE_OR_BETA
In order to simplify the code, let's remove the #ifndef and rely only on the pref.
That will also allows us to use the feature in every version going forward.
The performance will not be impacted since the current code is already using
the (cached) pref value to determine if the counters are used.
MozReview-Commit-ID: 47t2M1O13aH
2018-04-24 22:03:06 +02:00
Tarek Ziadé
e463333fe4
Bug 1443443 - Extend PContent to retrieve Performance Counters in the parent process - r=baku
...
Adds the IPDL layer to asynchronously retrieve in the parent process the performance counters.
MozReview-Commit-ID: RbKstNx8pi
2018-03-20 20:07:41 +01:00
Cosmin Sabou
3a4bdd413d
Backed out changeset fae7d9814403 (bug 1443443) for mochitest browser-chrome failure on browser_test_performance_metrics.js
2018-03-20 20:31:01 +02:00
Tarek Ziadé
e4239d612f
Bug 1443443 - Extend PContent to retrieve Performance Counters in the parent process - r=baku
...
Adds the IPDL layer to asynchronously retrieve in the parent process the performance counters.
MozReview-Commit-ID: RbKstNx8pi
2018-03-20 17:19:32 +01:00
Noemi Erli
68cc0e4e1b
Backed out changeset 20e9096156b0 (bug 1443443) for failing in dom/tests/browser/browser_test_performance_metrics.js on a CLOSED TREE
2018-03-20 18:07:54 +02:00
Tarek Ziadé
a402a2a595
Bug 1443443 - Extend PContent to retrieve Performance Counters in the parent process - r=baku
...
Adds the IPDL layer to asynchronously retrieve in the parent process the performance counters.
MozReview-Commit-ID: RbKstNx8pi
2018-03-20 14:13:37 +01:00
Tarek Ziadé
23ef934c8e
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
2018-03-06 10:19:19 +01:00
Jessica Jong
5158c030ed
Bug 1409976 - Part 1: Add support for slotchange event. r=smaug
...
MozReview-Commit-ID: FoJXlXfqDxU
2017-12-19 23:14:55 +08:00
Bevis Tseng
2ecbda13e2
Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm
2017-07-26 16:13:35 +08:00
Bill McCloskey
85355b4f89
Bug 1372733 - EventTargetFor should return an nsISerialEventTarget (r=bkelly)
...
MozReview-Commit-ID: Kchg4kqBERt
2017-06-15 20:16:25 -07:00
Bill McCloskey
38109b908e
Bug 1350436 - Rename ValidatingDispatcher to SchedulerGroup (r=froydnj)
...
MozReview-Commit-ID: 1gWB9ZLPQfY
2017-04-10 16:49:39 -07:00
Bill McCloskey
33dc6c429a
Bug 1350436 - DocGroup should not inherit from Dispatcher (r=froydnj)
...
MozReview-Commit-ID: 2oxHkcRjrSM
2017-04-10 16:49:39 -07:00
Bill McCloskey
5a9c3656df
Revert "Bug 1340719 - Throw an exception if accessing Xray from wrong docgroup (r=bholley)"
...
This reverts commit ff10f4faedd42f13ed2899cf4ea05c47411aba95.
2017-04-07 14:23:06 -07:00
Bill McCloskey
89fbb60be1
Bug 1340719 - Throw an exception if accessing Xray from wrong docgroup (r=bholley)
...
MozReview-Commit-ID: BBrRsk3KvGb
2017-04-05 13:26:20 -07:00
Olli Pettay
d31089ef72
Bug 1350964 - Add more assertions to TabGroup and DocGroup to ensure non-main-threads aren't accessing main thread only member variables, r=mystor
2017-03-29 14:37:38 -04:00
John Dai
786ba84ced
Bug 1347446 - Move custom element reactions stack to DocGroup. r=wchen
2017-03-21 00:42:00 -04:00
Bill McCloskey
3fdff512cf
Bug 1337537 - Assert that runnables labeled with a given TabGroup never touch other TabGroups (r=ehsan)
...
MozReview-Commit-ID: sOdn9e5f57
2017-02-13 17:02:57 -08:00
Bill McCloskey
4a1cd90b0e
Bug 1337537 - Move Dispatcher.{cpp,h} to xpcom/threads (r=froydnj)
...
MozReview-Commit-ID: AYyKynUv4bX
2017-02-13 17:02:48 -08:00
Bevis Tseng
ba2d99d8bb
Bug 1314833 - Part 1.2: Define AbstractThreadFor(TaskCategory aCategory) in Dispatcher and DispatcherTrait. r=billm
...
MozReview-Commit-ID: 2kt3EN2WyXl
2016-12-01 18:33:05 +08:00
Nicholas Nethercote
f4831a6bad
Bug 1330512 (part 0) - Add an nsresult return value to DocGroup::GetKey(). r=billm.
...
Because we need to treat failing cases differently in some places.
2017-01-17 11:10:27 +11:00
Bill McCloskey
a36d03f52a
Bug 1320753 - Stop using already_AddRefed for EventTargetFor (r=ehsan)
...
MozReview-Commit-ID: ECy1jlQ7qne
2016-12-23 11:48:13 -08:00
Bill McCloskey
85fe8298e7
Bug 1320753 - Refactor for new event target idea (r=ehsan)
...
MozReview-Commit-ID: AyhemNqBedb
2016-11-30 18:01:59 -08:00
Bill McCloskey
d23f8f598f
Bug 1305926 - Dispatcher API for assigning DocGroups to runnables (r=ehsan)
...
MozReview-Commit-ID: 8qO95a6z1Ut
2016-11-17 17:01:00 -08:00
Michael Layzell
7e5386d8f8
Bug 1313739 - Move TabGroup into its own file, seperate from DocGroup, r=bkelly
...
MozReview-Commit-ID: AndPWOBpkox
2016-10-31 13:40:36 -04:00
Michael Layzell
6d10f04819
Bug 1310345 - Change FindChildWithName and related methods to take nsAString& instead of char16_t*, r=bz
...
MozReview-Commit-ID: 4aQwYX9ObcN
2016-10-27 15:53:35 -04:00
Michael Layzell
43ece972ae
Bug 1303196 - Part 3: Update the named window resolution logic to be scoped to TabGroup instead of being process-global, r=bz
...
MozReview-Commit-ID: FaGoj6wmEuG
2016-10-27 15:53:35 -04:00
Michael Layzell
be69155ac6
Bug 1303196 - Part 1: Add the DocGroup and TabGroup Objects, r=billm
...
MozReview-Commit-ID: ILXWUlPPeHM
2016-10-27 15:53:35 -04:00