Emilio Cobos Álvarez
e2d430e8b4
Bug 1445737: Ensure we only update tabsInTitlebar once during browser startup. r=dao
...
Two fixes here:
updateAppearance really depends on the tabbrowser.xml updateVisibility(), so
make that dependency explicit and remove the event handling from tabbrowser.
After the previous patch, TabsInTitlebar.init() runs much earlier, which means
that the initialization check that bails out from update() is not taken. Turns
out that this is definitely not an edge case, and that tons of initialization
code all over gBrowser.onDOMContentLoaded call updateAppearance(true), causing
tons of extra invalidation and reflows that aren't really needed.
Ensure we only do the work once.
MozReview-Commit-ID: 2E9b12aBast
2018-03-16 17:27:05 +01:00
..
2018-02-09 11:42:21 +01:00
2018-02-15 13:37:30 +00:00
2018-03-10 17:14:38 +01:00
2018-03-05 14:54:03 +01:00
2018-03-16 17:26:50 +01:00
2018-02-28 18:51:33 +01:00
2018-01-29 15:20:18 -08:00
2018-02-26 16:49:34 -08:00
2018-02-22 15:41:12 -08:00
2018-01-27 15:57:42 +08:00
2018-01-27 15:57:42 +08:00
2018-02-09 11:42:21 +01:00
2018-02-09 11:42:21 +01:00
2018-02-09 11:42:21 +01:00
2017-12-18 11:19:53 -05:00
2018-02-09 11:42:21 +01:00
2018-02-08 12:57:31 -05:00
2018-03-05 15:33:14 +00:00
2018-02-26 21:16:01 +02:00
2018-01-29 15:20:18 -08:00
2018-01-29 15:20:18 -08:00
2018-02-28 18:51:33 +01:00
2018-02-26 16:49:34 -08:00
2018-02-28 15:20:05 +01:00
2018-03-05 20:33:36 +01:00
2017-12-19 23:45:10 +01:00
2017-12-19 23:45:10 +01:00
2018-01-26 16:46:03 -06:00
2018-02-28 14:44:19 -05:00
2018-02-25 18:43:55 +00:00
2018-03-14 18:23:46 +02:00
2018-03-15 23:02:13 -03:00
2018-03-15 21:23:12 +02:00
2018-02-28 17:32:01 -06:00
2018-02-22 16:30:39 +08:00
2017-12-21 14:08:30 +01:00
2018-03-16 17:27:05 +01:00
2018-02-13 16:53:50 -08:00
2017-12-19 23:45:10 +01:00
2018-01-26 11:31:34 -05:00
2018-03-11 18:47:14 +01:00
2018-03-16 17:27:05 +01:00
2018-03-13 18:50:14 +01:00
2018-02-26 16:49:34 -08:00
2018-03-14 11:07:43 +01:00
2018-03-12 10:43:35 -07:00
2018-02-26 16:49:34 -08:00
2018-03-12 10:43:35 -07:00
2018-03-13 18:21:47 -04:00
2018-03-01 10:20:38 -06:00
2018-02-15 18:44:29 +05:30
2018-02-07 13:08:55 +01:00
2018-02-07 13:08:55 +01:00
2018-02-15 00:42:58 +01:00
2018-02-28 18:51:33 +01:00
2018-01-27 15:57:42 +08:00
2018-03-05 09:20:34 +01:00
2018-03-07 22:19:53 +02:00
2018-03-16 16:31:59 +01:00
2018-03-16 17:27:05 +01:00
2018-03-10 15:02:33 +01:00
2018-03-16 11:53:43 +02:00
2018-03-13 17:07:40 +01:00
2018-03-12 10:43:35 -07:00
2018-03-09 16:30:49 -06:00
2018-03-12 10:43:35 -07:00
2018-02-06 09:36:57 -08:00