Commit graph

58 commits

Author SHA1 Message Date
Kris Maglione
a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Florian Quèze
fc02a39770 Bug 1443578 - avoid dirtying frames after MozAfterPaint events, to ensure we don't repaint all the time and capture 60 screenshots per second when nothing changes on screen, r=mconley. 2018-03-22 21:16:17 +01:00
Florian Quèze
9560fd51b0 Bug 1443578 - only store captured frames when they are actually different, r=mconley. 2018-03-22 21:16:17 +01:00
Florian Quèze
4172e954bd Bug 1443578 - set the expectations for new flicker tests, r=mconley. 2018-03-22 21:16:17 +01:00
Florian Quèze
f7e42bf054 Bug 1443578 - Merge browser_windowopen_{reflow,flicker}.js tests into a single browser_windowopen.js test, r=mconley.
--HG--
rename : browser/base/content/test/performance/browser_windowopen_reflows.js => browser/base/content/test/performance/browser_windowopen.js
2018-03-22 21:16:16 +01:00
Florian Quèze
b1f9e6c506 Bug 1443578 - Introduce a generic withPerfObserver function and separate the data collection from the reflow analysis code for the reflow observers, r=mconley. 2018-03-22 21:16:16 +01:00
Florian Quèze
ff277caa66 Bug 1443578 - Stop providing the dirtyFrameFn function as a parameter to test functions, r=mconley. 2018-03-22 21:16:16 +01:00
Mike Conley
62afea2749 Bug 1358719 - Add window resize reflow test. r=florian
MozReview-Commit-ID: 57mLswnXhC8

--HG--
extra : rebase_source : 136833da5984e9b2e5d150a497aad1d7eb632f5d
2018-03-07 13:29:25 -05:00
Mike Conley
4e9c3d2fe2 Bug 1434376 - Switch over all uses of BrowserUtils.promiseLayoutFlushed to window.promiseDocumentFlushed. r=Paolo
window.promiseDocumentFlushed will call a callback as soon as a style or layout
flush is not required for the document (which might be immediately). This is a
new ChromeOnly API introduced in an earlier patch in this series.

This patch also removes the now-unneeded BrowserUtils.promiseLayoutFlushed and
BrowserUtils.promiseReflowed methods and infrastructure.

MozReview-Commit-ID: Jv7KoxBXhHG

--HG--
extra : rebase_source : b8c9ae40dbdd0f5587d03e8b7c0833bd94032a78
2018-02-11 20:15:11 -05:00
Andreea Pavel
1aac7df383 Backed out 3 changesets (bug 1434376)for failing browser chrome at browser/base/content/test/performance/browser_urlbar_search_reflows.js on a CLOSED TREE
Backed out changeset b636251b75ab (bug 1434376)
Backed out changeset fccbba9cb959 (bug 1434376)
Backed out changeset b5128504011c (bug 1434376)
2018-02-25 12:44:28 +02:00
Mike Conley
96fbfba56f Bug 1434376 - Switch over all uses of BrowserUtils.promiseLayoutFlushed to window.promiseDocumentFlushed. r=Paolo
window.promiseDocumentFlushed will call a callback as soon as a style or layout
flush is not required for the document (which might be immediately). This is a
new ChromeOnly API introduced in an earlier patch in this series.

This patch also removes the now-unneeded BrowserUtils.promiseLayoutFlushed and
BrowserUtils.promiseReflowed methods and infrastructure.

MozReview-Commit-ID: Jv7KoxBXhHG

--HG--
extra : rebase_source : b8c9ae40dbdd0f5587d03e8b7c0833bd94032a78
2018-02-11 20:15:11 -05:00
Florian Quèze
9f32294b8b Bug 1438233 - Make the output of reflow tests more usable, r=mconley. 2018-02-22 22:30:34 +01:00
Florian Quèze
ebf47a580a Bug 1437825 - browser_urlbar_*search_reflows.js tests should force CustomizableUI.jsm's deferred resize code to run before the actual tests starts, r=mconley. 2018-02-14 22:15:05 +01:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Hiroyuki Ikezoe
eb4c606f4c Bug 1380465 - Drop the expected reflows about focus on url bar. r=mconley
Since bug 1377447 we use EnsurePresShellInitAndFrames for
FlushPendingNotification when textbox gets focused, and
EnsurePresShellInitAndFrames should not trigger any reflows.  So in theory,
there is something causes a reflow that we could improve on other platforms.

MozReview-Commit-ID: FAcSZKrv0Fr

--HG--
extra : rebase_source : 727f9ec1803e7046429bc7cf419aed9e4631f971
2017-12-20 08:33:34 +09:00
Florian Quèze
3674c4f0d9 Bug 1421456 - Add a test to prevent flickering regressions on window opening, r=johannh. 2017-12-01 10:44:24 +01:00
Mark Banner
f99ae4c2a9 Bug 1421376 - Change various instances of manually calling getService to use Services.jsm in browser/. r=mossop
MozReview-Commit-ID: FW3X2fkOwK2

--HG--
extra : rebase_source : f71e053e18017d675d4ea4d758e2552adcf5adc6
2017-11-28 19:21:33 +00:00
Dale Harvey
3a35c9f7b3 Bug 1384582 - Ensure browser_urlbar_search_reflows.js test runs are isolated. r=mconley
When running these tests with --verify the places results from
previous test runs can effect tests so give each test run a unique
search term to ensure that they do not.

MozReview-Commit-ID: Lp9YCoUdul5

--HG--
extra : rebase_source : 10178da06863a421ca752970a3f926a61f9c9f43
2017-11-07 12:33:50 +00:00
Dão Gottwald
04dd278456 Bug 1415537 - Rename mTabstrip to arrowScrollbox. r=florian
MozReview-Commit-ID: IcGH5npSsrg

--HG--
extra : rebase_source : faafb7bcf8044a924640ef6989e8b00111f9a277
2017-11-08 14:53:14 +01:00
Marco Bonardo
740c7954fb Bug 1391293 - Remove some hundreds reflows and adapt reflow tests to the new insert method. r=florian
MozReview-Commit-ID: 1a25ZHo2L8n

--HG--
extra : rebase_source : 1b0d5f88f911097c67572060ec6d77fdf4ab1ea4
2017-09-18 11:58:11 +02:00
Mike Conley
1a48acd481 Bug 1387088 - Add a reflow test for when the user is typing a search into the AwesomeBar. r=florian
MozReview-Commit-ID: BP0zlLU9Ltp

--HG--
extra : rebase_source : 93563fa6386a3cdb31aba8e330b9ffa7b0cafc8c
2017-08-17 16:50:30 -04:00
Wes Kocher
e452e627ec Backed out changeset e903ef2fd85a (bug 1387088) for win debug failures like browser_urlbar_keyed_search_reflows.js a=backout CLOSED TREE
MozReview-Commit-ID: 6awooAlq2m4

--HG--
extra : amend_source : 0be51ad3b8c767c70b3d4f611023352c12ed805c
2017-08-23 12:26:25 -07:00
Mike Conley
55bc28be99 Bug 1387088 - Add a reflow test for when the user is typing a search into the AwesomeBar. r=florian
MozReview-Commit-ID: BP0zlLU9Ltp

--HG--
extra : rebase_source : 4841e0420b16bf60ea767274d77eeeda79569dec
2017-08-17 16:50:30 -04:00
Dão Gottwald
48da2d49f0 Bug 1349555 - Implement most of the photon tab strip. r=johannh
MozReview-Commit-ID: 96ug22yZt5G

--HG--
extra : rebase_source : 248c9e43cfd11de7ecee80d73b5b634b8d60e4d8
2017-08-03 09:15:23 +02:00
Wes Kocher
cffa02b4bb Backed out 2 changesets (bug 1349555) for failures in viewport-units-css2-001.html a=backout
Backed out changeset 5f1e7e8de03f (bug 1349555)
Backed out changeset 3ef0f35adc9f (bug 1349555)

MozReview-Commit-ID: Ly8AeXQy5Mn
2017-08-02 15:22:58 -07:00
Dão Gottwald
4204a10e89 Bug 1349555 - Implement most of the photon tab strip. r=johannh
MozReview-Commit-ID: GmWBIdjNMkC

--HG--
extra : rebase_source : f8e7a73b751e59ead4ed67c3fc2aaccd5f939798
2017-08-02 15:06:10 +02:00
Sebastian Hengst
4843c0f278 Backed out changeset c9594a10a88a (bug 1349555) for failing browser_windowopen_reflows.js. r=backout 2017-08-02 18:26:37 +02:00
Dão Gottwald
e1b916e06e Bug 1349555 - Implement most of the photon tab strip. r=johannh
MozReview-Commit-ID: GmWBIdjNMkC

--HG--
extra : rebase_source : f8e7a73b751e59ead4ed67c3fc2aaccd5f939798
2017-08-02 15:06:10 +02:00
Mike Conley
9d127d0c7f Bug 1356271 - add a test to measure how many layout flushes it takes for a simple location bar search. r=florian
MozReview-Commit-ID: GFDvSIn53Zh

--HG--
extra : rebase_source : 63e1b8421dbbc320e3eaf39822ef3fd8b1069211
extra : source : fdea4300bc5dabf5d1bb2b77a419bac489a56b6d
2017-06-14 15:45:33 -04:00
Mike Conley
5f9f0cd7f2 Bug 1356271 - Make it so that it's easier to define repeating reflows for reflow tests. r=florian
MozReview-Commit-ID: 5ZL5RtItbiL

--HG--
extra : rebase_source : 93fbacfde3a9825e46c0d81bb3ad29af448551fa
extra : source : 7629e34f7fb6f756c09f0d6735b746a9d1050c5f
2017-07-10 18:07:25 -04:00
Mike Conley
7670733223 Bug 1356271 - Clean up comment about reflow test helper now that we're using a better mechanism to dirty the frame tree. r=florian
MozReview-Commit-ID: 6YjhG0fOyjO

--HG--
extra : rebase_source : e61ba6915f3d4a006388f5131d0b3bb1c51a4b0a
extra : source : 0db5eafa8f0ba0ec86977a05f250f66d61da0b92
2017-07-13 08:41:51 -07:00
Sebastian Hengst
e557bfb46a Backed out changeset 4047a260173d (bug 1356271) for failing browser_urlbar_search_reflows.js on Linux. r=backout 2017-07-29 11:47:41 +02:00
Sebastian Hengst
ad0c33867d Backed out changeset 742643bf1bcb (bug 1356271) 2017-07-29 11:46:54 +02:00
Sebastian Hengst
dd1760d6bc Backed out changeset cf8d9788723a (bug 1356271) 2017-07-29 11:46:34 +02:00
Mike Conley
ba8eb72242 Bug 1356271 - add a test to measure how many layout flushes it takes for a simple location bar search. r=florian
MozReview-Commit-ID: GFDvSIn53Zh

--HG--
extra : rebase_source : 8e03360a10c0a33b57b515959bad087953006619
extra : source : fdea4300bc5dabf5d1bb2b77a419bac489a56b6d
2017-06-14 15:45:33 -04:00
Mike Conley
8bbe36922b Bug 1356271 - Make it so that it's easier to define repeating reflows for reflow tests. r=florian
MozReview-Commit-ID: 5ZL5RtItbiL

--HG--
extra : rebase_source : 2ebb0b9bd458cb1673f504304872371c175255e2
extra : source : 7629e34f7fb6f756c09f0d6735b746a9d1050c5f
2017-07-10 18:07:25 -04:00
Mike Conley
ff4c2e6317 Bug 1356271 - Clean up comment about reflow test helper now that we're using a better mechanism to dirty the frame tree. r=florian
MozReview-Commit-ID: 6YjhG0fOyjO

--HG--
extra : rebase_source : 4a481313e6a8a76356fa94640ef3282d2e98643c
extra : source : 0db5eafa8f0ba0ec86977a05f250f66d61da0b92
2017-07-13 08:41:51 -07:00
Carsten "Tomcat" Book
a3353ae62a Backed out changeset 33172a0a496a (bug 1356271) for broken tests after the backout of bug 1351148 on try 2017-07-28 09:22:30 +02:00
Carsten "Tomcat" Book
fcf974aafe Backed out changeset 8ec898cb33d5 (bug 1356271) 2017-07-28 09:21:53 +02:00
Carsten "Tomcat" Book
808d73d8fc Backed out changeset 54b35cdc1f84 (bug 1356271) 2017-07-28 09:21:50 +02:00
Mike Conley
6e9f0d9045 Bug 1356271 - add a test to measure how many layout flushes it takes for a simple location bar search. r=florian
MozReview-Commit-ID: GFDvSIn53Zh

--HG--
extra : rebase_source : 5d3938d62b92503a692cdb4476b20e2ed91d999c
extra : source : fdea4300bc5dabf5d1bb2b77a419bac489a56b6d
2017-06-14 15:45:33 -04:00
Mike Conley
af3acf6f54 Bug 1356271 - Make it so that it's easier to define repeating reflows for reflow tests. r=florian
MozReview-Commit-ID: 5ZL5RtItbiL

--HG--
extra : rebase_source : bac2ac9f7eb73ef50132a3343956e98dc1308af0
extra : source : 7629e34f7fb6f756c09f0d6735b746a9d1050c5f
2017-07-10 18:07:25 -04:00
Mike Conley
ba5af40f6f Bug 1356271 - Clean up comment about reflow test helper now that we're using a better mechanism to dirty the frame tree. r=florian
MozReview-Commit-ID: 6YjhG0fOyjO

--HG--
extra : rebase_source : 675b36cc835c18e4fe104743dd4141495f6134d7
extra : source : 0db5eafa8f0ba0ec86977a05f250f66d61da0b92
2017-07-13 08:41:51 -07:00
Wes Kocher
9b2a8970fa Backed out 3 changesets (bug 1356271) for failures in browser_urlbar_search_reflows.js a=backout
Backed out changeset cfb6f5820871 (bug 1356271)
Backed out changeset cebc6bb19d83 (bug 1356271)
Backed out changeset f8860e47d9c3 (bug 1356271)

MozReview-Commit-ID: 6QukEKjUkku
2017-07-26 10:04:28 -07:00
Mike Conley
f95cf18748 Bug 1356271 - add a test to measure how many layout flushes it takes for a simple location bar search. r=florian
MozReview-Commit-ID: GFDvSIn53Zh

--HG--
extra : rebase_source : 175921cf95440c6e6b81a85a556211d6d7b30c7d
2017-06-14 15:45:33 -04:00
Mike Conley
51e3a9ac3a Bug 1356271 - Make it so that it's easier to define repeating reflows for reflow tests. r=florian
MozReview-Commit-ID: 5ZL5RtItbiL

--HG--
extra : rebase_source : 6a56a5e82d33090c79119776f5dffa1522a385bf
2017-07-10 18:07:25 -04:00