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

11 Коммитов

Автор SHA1 Сообщение Дата
Gabriel Luong 1d950732d8 Bug 1409968 - Implement FlexboxActor for fetching all flexbox containers. r=pbro 2017-10-19 15:24:57 -04:00
Patrick Brosset c109f6e2ed Bug 1374587 - Avoid getting NodeActors for grids when we already know them and filter reflows; r=gl
Here we make updates on reflow slower (with a throttle) cause we don't
really need to update live.
We also filter all reflows that do not cause either the list of grids or
the current outline to change.
Finally, we also attach NodeActors to GridActor forms (when they are know)
in order to avoid one more round-trip to the server.

Globally, this makes performance of the grid panel far better on pages that
cause many reflows.

Note that this commit also fixes a debounce vs. throttle confusion that
existed in an inspector utils file. The throttle function there was actually
a debounce function, so it was renamed, and an actual throttle function
was added.

MozReview-Commit-ID: GeqgZR0o0E6

--HG--
extra : rebase_source : 6b9719379dcbd4479bded26014aa3742bd75208e
2017-06-27 12:02:53 -07:00
Sebastian Hengst ee5d5a5174 Backed out changeset 909ccc166a06 (bug 1374587) on suspicion of causing timeouts in browser_grids_number-of-css-grids-telemetry.js. r=backout 2017-06-23 18:55:38 +02:00
Patrick Brosset 9db019a850 Bug 1374587 - Avoid getting NodeActors for grids when we already know them and filter reflows; r=gl
Here we make updates on reflow slower (with a throttle) cause we don't
really need to update live.
We also filter all reflows that do not cause either the list of grids or
the current outline to change.
Finally, we also attach NodeActors to GridActor forms (when they are know)
in order to avoid one more round-trip to the server.

Globally, this makes performance of the grid panel far better on pages that
cause many reflows.

Note that this commit also fixes a debounce vs. throttle confusion that
existed in an inspector utils file. The throttle function there was actually
a debounce function, so it was renamed, and an actual throttle function
was added.

MozReview-Commit-ID: GeqgZR0o0E6

--HG--
extra : rebase_source : a2792a0ec4cad2034965d36648f0675ae4f52d86
2017-06-20 14:57:34 +02:00
Sebastian Hengst cb76f56d60 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen d7ea1c1605 Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Gabriel Luong 4095709c00 Bug 1308257 - Part 2: Implement LayoutActor and GridActor r=pbro, jryans 2016-11-08 20:51:13 +09:00
Gabriel Luong 2cd6e3dddb Bug 1308257 - Part 1: Move ReflowActor to reflow.js r=pbro
--HG--
rename : devtools/server/actors/layout.js => devtools/server/actors/reflow.js
rename : devtools/shared/fronts/layout.js => devtools/shared/fronts/reflow.js
rename : devtools/shared/specs/layout.js => devtools/shared/specs/reflow.js
2016-11-01 11:51:58 +09:00
Eddy Bruel f389d7ede3 Bug 1295171 - Reintroduce the old Actor/FrontClass constructors. r=jryans
Heintroduce the old Actor/FrontClass constructors.
2016-08-22 16:25:57 +02:00
Eddy Bruel 2bdbd75fa0 Bug 1288423 - Rename Actor/FrontClassWithSpec to Actor/FrontClass. r=fitzgen 2016-08-10 17:36:04 +02:00
Nick Fitzgerald 323a754b9a Bug 1279302 - Decouple the ReflowFront from the ReflowActor; r=ejpbruel 2016-06-10 13:28:15 -07:00