Commit graph

36 commits

Author SHA1 Message Date
Dão Gottwald
d947f11c21 Bug 1414252 - Remove dysfunctional performance optimization in tabbrowser's resize handler. r=daleharvey
MozReview-Commit-ID: 7JzknebfzlV

--HG--
extra : rebase_source : d51c808301f2d2a238c9e077dd4c32c0169c7889
2017-11-06 12:40:47 +01:00
Dão Gottwald
8be04e714c Bug 1405542 - Replace nav-bar top border and the tabs toolbar's negative margin with a box-shadow to avoid running into bug 477157. r=nhnt11
MozReview-Commit-ID: KXFj740EXEz

--HG--
extra : rebase_source : 3b9d175ea71d2af967c0dc40aca501ad5461f846
2017-10-24 12:37:43 +02:00
Joel Maher
82d0cb98e6 Bug 1402079 - browser/base/content/test/performance/browser_windowopen_reflows.js fails on different screen resolutions. r=mconley 2017-09-24 17:33:07 -04:00
Andrew Halberstadt
5c3e7f369b Bug 1397229 - Remove unused reflow from browser_windowopen_reflows.js on Windows, r=mconley
This test was previously skipped on Windows 8. This bug is migrating the test over to Windows 10
where we discovered the unused reflow.

MozReview-Commit-ID: FqmgeKc1b9o

--HG--
extra : rebase_source : c7e805edbd0e8df1ac5ac3778dbec0d8d0f0f026
2017-09-07 11:38:51 -04:00
Sebastian Hengst
02baf0afd8 Backed out changeset d928ad6475d2 (bug 1397229) for failing browser-chrome's browser/base/content/test/performance/browser_windowopen_reflows.js on Windows 7. r=backout 2017-09-18 19:42:32 +02:00
Andrew Halberstadt
2407f02151 Bug 1397229 - Remove unused reflow from browser_windowopen_reflows.js on Windows, r=mconley
This test was previously skipped on Windows 8. This bug is migrating the test over to Windows 10
where we discovered the unused reflow.

MozReview-Commit-ID: FqmgeKc1b9o

--HG--
extra : rebase_source : 4c15104b9d63c44dc5c397cb34cf9320797a48a4
2017-09-07 11:38:51 -04:00
Dão Gottwald
b34674d9c1 Bug 1054740 - When a session should be restored, don't load the homepage before the session file has been read. r=mikedeboer
MozReview-Commit-ID: 7W4ihQZEeWf

--HG--
extra : rebase_source : c8d6acbed4ddbff148523982b0b218479063855c
2017-08-24 18:39:39 +02:00
Johann Hofmann
1277f8d21b Bug 1390448 - Restore vertical margin calculation in browser-tabsintitlebar.js, add 1px to window control margin on Windows 10. r=dao
MozReview-Commit-ID: LXR2zrAZS0k

--HG--
extra : rebase_source : 807e7c6da20958261b4da2a79b36a9e710931af1
2017-08-15 14:18:22 +02:00
Johann Hofmann
a1333d851e Bug 1375335 - Fix window control height calculation on Windows 10. r=dao
This commit:

- Makes the window controls have exactly the same height as tabs when the
  menubar is hidden, and have the same height as the menubar when it is shown.
  This requires us to remove the menubar height before flushing layout in
  case it is shown, since we need its original height for the calculation.

- Removes the top margin between the menu bar and the window border
  that was present on Windows 10 and makes it apply on Windows 7 only.
  The border was causing miscalculations of the window control height,
  which could have been handled in browser-tabsintitlebar.js, but since
  it's not part of the Photon spec we decide to remove it entirely.

- Makes window control height calculations ignore vertical tabs toolbar
  margins. The only margin it has right now is -1px and the calculation
  code doesn't work right with negative margins.

MozReview-Commit-ID: HJXxUUJFX8x

--HG--
extra : rebase_source : d5e741cc4ca897ef125ab3e807bc009cd540ade6
2017-08-09 14:36:01 +01:00
Sebastian Hengst
51ddd73782 Backed out changeset 37ba4f932f57 (bug 1375335) for failing browser_windowopen_reflows.js on OS X. r=backout 2017-08-14 15:28:01 +02:00
Johann Hofmann
a2901df84e Bug 1375335 - Fix window control height calculation on Windows 10. r=dao
This commit:

- Makes the window controls have exactly the same height as tabs when the
  menubar is hidden, and have the same height as the menubar when it is shown.
  This requires us to remove the menubar height before flushing layout in
  case it is shown, since we need its original height for the calculation.

- Removes the top margin between the menu bar and the window border
  that was present on Windows 10 and makes it apply on Windows 7 only.
  The border was causing miscalculations of the window control height,
  which could have been handled in browser-tabsintitlebar.js, but since
  it's not part of the Photon spec we decide to remove it entirely.

- Makes window control height calculations ignore vertical tabs toolbar
  margins. The only margin it has right now is -1px and the calculation
  code doesn't work right with negative margins.

MozReview-Commit-ID: HJXxUUJFX8x

--HG--
extra : rebase_source : fdb5db7e5b410cb45cef054d5cbec41048211f75
2017-08-09 14:36:01 +01:00
Mike Conley
09627778f5 Bug 1349555 - Fix windowopen reflows for OS X and Windows. r=dao
MozReview-Commit-ID: 228nAPJ0Wof

--HG--
extra : rebase_source : 8c64a425c5e9c48c263de602aba1e1bae4a19c58
2017-08-02 13:18:43 -04: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
Mike Conley
6804701dfc Bug 1349555 - Fix windowopen reflows for OS X and Windows. r=dao
MozReview-Commit-ID: 228nAPJ0Wof

--HG--
extra : rebase_source : 1b691d2b1999ae9e631688be45ec44a8124c7b26
2017-08-02 13:18:43 -04:00
Mike Conley
048e61eb86 Bug 1386246 - Don't expect async stacks in reflow tests. r=Gijs
MozReview-Commit-ID: 490FB5ABU9K

--HG--
extra : rebase_source : 72089dfb6efd1a44cc100db96c2e545b7abafb2d
2017-08-01 12:27:32 -07: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
Sebastian Hengst
3625be87df Backed out changeset ecaae0733ca1 (bug 1383367)
MozReview-Commit-ID: 2lnZ8OUnXnG
2017-07-30 12:54:02 +02:00
Kris Maglione
89980ca107 Bug 1383367: Part 3 - Defer getComputedStyle call if a reflow is currently pending. r=mconley
MozReview-Commit-ID: 33IRfOlaBxP

--HG--
extra : source : 1f9ec38274940ff20a1bfc0a6b8c76ea5ae16cff
2017-07-26 14:30:00 -07:00
Carsten "Tomcat" Book
fcf974aafe Backed out changeset 8ec898cb33d5 (bug 1356271) 2017-07-28 09:21:53 +02: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
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
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
Mike Conley
c22490b24e Bug 1363361 - Disable browser_windowopen_reflows.js on Linux and Win 8 x64 for frequent failures. r=florian
Bug 1381521 and bug 1380465 were opened to investigate and re-enable these tests.

MozReview-Commit-ID: KbiDfqfF0ht

--HG--
extra : rebase_source : 21e9a0c3aa766c439b537170b2d43e8388cc2ca5
2017-07-14 15:33:57 -04:00
Mike Conley
d920f99fa1 Bug 1363361 - Update expected reflows on window open now that we're using nsIDOMWindowUtils to dirty the frame tree. r=florian
MozReview-Commit-ID: 13NQn1618mR

--HG--
extra : rebase_source : eb0c73f7cb2aa966ff15a0d41f9f3974ecd278a3
2017-07-05 13:57:57 -07:00
Sebastian Hengst
56ff8fb5e9 Backed out changeset 5b631acee0b8 (bug 1363361)
MozReview-Commit-ID: DyrS2OvRCxG
2017-07-20 13:21:39 +02:00
Sebastian Hengst
20c9fcae3e Backed out changeset d94de30b99a3 (bug 1363361)
MozReview-Commit-ID: BUuhjzSZs0Q
2017-07-20 13:21:30 +02:00
Mike Conley
cdc93c59ba Bug 1363361 - Disable browser_windowopen_reflows.js on Linux and Win 8 x64 for frequent failures. r=florian
Bug 1381521 and bug 1380465 were opened to investigate and re-enable these tests.

MozReview-Commit-ID: KbiDfqfF0ht

--HG--
extra : rebase_source : c5479538c35a9698c214d463fb59d7ded4128e13
2017-07-14 15:33:57 -04:00
Mike Conley
fa6d325c9d Bug 1363361 - Update expected reflows on window open now that we're using nsIDOMWindowUtils to dirty the frame tree. r=florian
MozReview-Commit-ID: 13NQn1618mR

--HG--
extra : rebase_source : 3f69b4e0e32f9f5c8587d37a472a47d7c0e3d97f
2017-07-05 13:57:57 -07:00
Sebastian Hengst
9592e32e28 Backed out changeset db627e28977e (bug 1363361) 2017-07-18 13:43:36 +02:00
Sebastian Hengst
461782b301 Backed out changeset 40505345a865 (bug 1363361) 2017-07-18 13:43:26 +02:00
Mike Conley
428b02e29a Bug 1363361 - Disable browser_windowopen_reflows.js on Linux and Win 8 x64 for frequent failures. r=florian
Bug 1381521 and bug 1380465 were opened to investigate and re-enable these tests.

MozReview-Commit-ID: KbiDfqfF0ht

--HG--
extra : rebase_source : dcec0e660ff2506c074913268ebc18345f407b99
2017-07-14 15:33:57 -04:00
Mike Conley
6a18a2d759 Bug 1363361 - Update expected reflows on window open now that we're using nsIDOMWindowUtils to dirty the frame tree. r=florian
MozReview-Commit-ID: 13NQn1618mR

--HG--
extra : rebase_source : ab36a672131844d09c110e2ff27e1fc20e0f91e1
2017-07-05 13:57:57 -07:00
Mike Conley
d0db46dda1 Bug 1369140 - Part 6: Adjust the last few reflow tests to reflect reality. r=bustage-fix on a CLOSED TREE
MozReview-Commit-ID: 4mVMX4GzZ7X

--HG--
extra : amend_source : 9990085a0c924d17a34cdf8035bf00b5e156bae3
2017-06-01 11:37:31 -04:00
Ehsan Akhgari
e51b07a10f Bug 1369140 - Part 4: Test that window opening no longer incurs a reflow in focusAndSelectUrlBar 2017-06-01 10:20:55 -04:00
Mike Conley
e6768389f2 Bug 1354194 - Make browser_windowopen_reflows.js use the reflow test helper and make the whitelist reflect reality. r=florian
MozReview-Commit-ID: 1mknVjSVIKe

--HG--
extra : rebase_source : 28079a63543f7d71c1fe649919c3fcc1f8f86cc6
2017-05-03 13:32:36 -04:00
Mike Conley
4cdf0cab90 Bug 1354194 - Add utility method for more easily writing reflow tests. r=florian
This also consolidates the pre-existing style and layout flush regression tests
into the same performance folder.

MozReview-Commit-ID: IA3FqroG75O

--HG--
rename : browser/base/content/test/windows/.eslintrc.js => browser/base/content/test/performance/.eslintrc.js
rename : browser/base/content/test/general/browser_tabopen_reflows.js => browser/base/content/test/performance/browser_tabopen_reflows.js
rename : browser/base/content/test/windows/browser_toolbariconcolor_restyles.js => browser/base/content/test/performance/browser_toolbariconcolor_restyles.js
rename : browser/base/content/test/general/browser_windowopen_reflows.js => browser/base/content/test/performance/browser_windowopen_reflows.js
extra : rebase_source : b226a9aceecf118ffad2f23c2361f0be403d5aaf
2017-05-02 17:30:18 -04:00
Renamed from browser/base/content/test/general/browser_windowopen_reflows.js (Browse further)