Commit graph

439 commits

Author SHA1 Message Date
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
arthur.iakab
877c99c523 Merging mozilla-inbound to mozilla central a=merge 2018-03-19 12:43:31 +02:00
Tooru Fujisawa
1adba8c1fc Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Johann Hofmann
a7302750c8 Bug 1425613 - Part 2 - Add a test for repeatedly called pref getters. r=florian
MozReview-Commit-ID: 4doKsld9qGF

--HG--
extra : rebase_source : cfb8c472b1688ee899632e445375c786471010a9
2018-02-18 22:48:06 +01:00
Emilio Cobos Álvarez
a677dca2a8 Bug 1445737: Update stacks in perf tests. r=dao
MozReview-Commit-ID: F9cMQa32Tgm
2018-03-16 17:27:16 +01:00
Emilio Cobos Álvarez
e959ac51b5 Bug 1439875: Flag chevron.svg as intermittently shown on windows. r=johannh
MozReview-Commit-ID: 7gJvF00WDgR
2018-03-16 17:26:50 +01:00
Emilio Cobos Álvarez
4074f8356f Bug 1439875: Update browser_windowopen_flicker.js. r=florian
To avoid hacking around the empty window, and handle the activation issue seen
on Windows / OSX.

MozReview-Commit-ID: oK3T8FKd5n
2018-03-16 17:26:50 +01:00
Emilio Cobos Álvarez
ba3bc3aefb Bug 1439875: Update browser_windowopen_reflows.js to not wait for a resize that no longer exists. r=florian
MozReview-Commit-ID: Jln9ejZh2b6
2018-03-16 17:26:49 +01:00
Gurzau Raul
540992331b Backed out 6 changesets (bug 1439875) for massive breakage for nightly users a=backout
Backed out changeset 990a8eb972cd (bug 1439875)
Backed out changeset 187aef60922c (bug 1439875)
Backed out changeset 9c764daa1234 (bug 1439875)
Backed out changeset f8e091577d2a (bug 1439875)
Backed out changeset 1ee5a2d21901 (bug 1439875)
Backed out changeset 610ba5dfaae1 (bug 1439875)
2018-03-16 11:26:31 +02:00
Emilio Cobos Álvarez
3256e9aa31 Bug 1439875: Flag chevron.svg as intermittently shown on windows. r=johannh
MozReview-Commit-ID: 7gJvF00WDgR

--HG--
extra : rebase_source : 50c250c56941333ba753760ef6b2dcf1e3572ce8
extra : source : bd74c58f27f5cc8b8b7c2b3c43ebd275c76ec9ac
extra : histedit_source : 651580da8005a3ed4fded7171a617a2093df042c
2018-03-15 21:21:33 +11:00
Emilio Cobos Álvarez
97e085269a Bug 1439875: Update browser_windowopen_flicker.js. r=florian
To avoid hacking around the empty window, and handle the activation issue seen
on Windows / OSX.

MozReview-Commit-ID: oK3T8FKd5n

--HG--
extra : rebase_source : 4d1ed1bae673b3b0e533d7c66303a3cf995fda8b
extra : source : 461021b4bf3ab189babba096584682b2469ce9df
extra : histedit_source : eaa97d93bb4e100e1410471b19585ac125bd828d
2018-03-15 21:21:33 +11:00
Emilio Cobos Álvarez
e022841fa9 Bug 1439875: Update browser_windowopen_reflows.js to not wait for a resize that no longer exists. r=florian
MozReview-Commit-ID: Jln9ejZh2b6

--HG--
extra : rebase_source : 7e3eafa77fae784433dffc80ad20dd02a55f1141
extra : source : 8793a244abce5dab717769cbec698a6ece9c28c5
extra : histedit_source : aad1c97c5fe726c1a4ddd35b43aec7224c7e601c
2018-03-15 21:21:33 +11:00
Andreea Pavel
efd81bd597 Backed out 6 changesets (bug 1439875) for browser chrome failures at browser/base/content/test/general/browser_private_browsing_window.js on a CLOSED TREE
Backed out changeset 1ee033e0061a (bug 1439875)
Backed out changeset 7f25473e9b29 (bug 1439875)
Backed out changeset 69550dec0534 (bug 1439875)
Backed out changeset f3b96ce3490b (bug 1439875)
Backed out changeset 9ded55072903 (bug 1439875)
Backed out changeset 7b33ad14ce8c (bug 1439875)
2018-03-14 23:54:24 +02:00
Emilio Cobos Álvarez
0c315d7bb6 Bug 1439875: Flag chevron.svg as intermittently shown on windows. r=johannh
MozReview-Commit-ID: 7gJvF00WDgR
2018-03-14 20:47:46 +01:00
Emilio Cobos Álvarez
238c137d16 Bug 1439875: Update browser_windowopen_flicker.js. r=florian
To avoid hacking around the empty window, and handle the activation issue seen
on Windows / OSX.

MozReview-Commit-ID: oK3T8FKd5n
2018-03-14 20:47:44 +01:00
Emilio Cobos Álvarez
af586f9adf Bug 1439875: Update browser_windowopen_reflows.js to not wait for a resize that no longer exists. r=florian
MozReview-Commit-ID: Jln9ejZh2b6
2018-03-14 20:47:41 +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
manikishan
92de2db258 Bug 1431050 - Replace NS_ASSERT with conditional exceptions/console.assert and remove the debug.js module. r=mak
console.assert keeps the same semantics as NS_ASSERT in that it doesn't throw an exception,
but a lot of the places code was using it in a way that would be better served by throwing
an exception when the condition is false.

MozReview-Commit-ID: DEF5HSfYO36
2018-02-03 11:32:25 +05:30
Gijs Kruitbosch
8fc45f6ac9 Bug 1370930 - remove DirectoryLinksProvider, r=Mardak
MozReview-Commit-ID: 4YcsNvRg7Hn

--HG--
extra : rebase_source : 15518736c9cc52cf18a0540417e6a38c9bed630a
2018-03-01 16:53:49 +00:00
Paolo Amadini
01dda8797e Bug 1420939 - Add an asynchronous version of the description height workaround. r=Gijs
This prevents synchronous reflows when opening subviews. This also removes a superfluous invocation of the workaround while the panel is still hidden.

MozReview-Commit-ID: DohLjntVaPU

--HG--
extra : rebase_source : 8cd1b86168aee23d4e75556c2b11baf2c8dd0b9c
2018-02-27 22:02:55 +00:00
Paolo Amadini
2d4d390d41 Bug 1441284 - Part 1 - Remove the "current" property. r=Gijs
MozReview-Commit-ID: GyqI8N3JQ9O

--HG--
extra : rebase_source : c2ac400d601c259ce17852a85d01230355885454
2018-02-26 18:36:59 +00:00
Brian Grinstead
18bb37dcc8 Bug 1392352 - Part 2 - Translate the tabbrowser implementation into a JS class;r=mconley,r=dao CLOSED TREE
We keep the XBL binding around for <content>, <constructor>, and <destructor>. This can
eventually be migrated to a Custom Element once we have platform support, but in the meantime
this is a way to get the many thousands of LOC into a JS class.

MozReview-Commit-ID: 1dCQp527yF9

--HG--
extra : rebase_source : 26b833413bab71168aa15e03f0f3803884be3f6b
extra : amend_source : 150cef6748ca8a9e819de0c674fac5966dd574cf
2018-02-27 10:04:14 -08:00
Paolo Amadini
c31491834b Bug 1437512 - Part 1 - Remove the "panelmultiview" binding construction. r=Gijs
MozReview-Commit-ID: 3oCvOe5th0B

--HG--
extra : rebase_source : 11ec16d78e61379d6efd359bd221b1829f89efa6
2018-02-25 18:41:45 +00: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
Mike Conley
346e307918 Bug 1401072 - Update browser_urlbar_search_reflows to accomodate DOM dirtying done in setTimeout. r=florian
This patch doesn't introduce new reflows, but adjusts some expected maxCounts
in the test for reflows that were always there but not reliably detected.

MozReview-Commit-ID: 3IV2KBM30rB

--HG--
extra : rebase_source : f15941bc39d879310f4b90c11f16d9793d3f2ced
2018-02-24 20:06:40 -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
Ciure Andrei
855b730941 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-23 00:03:06 +02: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
Paolo Amadini
c6d3def00e Bug 1439358 - Part 8 - Change how visibility is controlled so knownViews can be removed. r=Gijs
MozReview-Commit-ID: 9dVZ1cOto8O

--HG--
extra : rebase_source : be13ed8d5c72b0e018dd0d27ef1fd3b7293bef48
2018-02-22 15:28:15 +00:00
Jan Horak
f77af604c8 Bug 1439857 - Fix too big fonts when devPixelsPerPx is set; r=stransky
This fixes regression introduced by hidpi support for wayland in
case devPixelsPerPx is set (bug 1431337).

MozReview-Commit-ID: DOh0aTcxbVG

--HG--
extra : rebase_source : ac3ac449a99e0123b8a64ea36f25d312bb3c4483
2018-02-22 10:41:30 +01:00
Jan Horak
582ba80b0a Bug 1431337 - Skip hidpi test of startup images because they overflow in Linux r=stransky
MozReview-Commit-ID: Ldu9evdGiWf

--HG--
extra : rebase_source : d4df4d0bb4f48508ded10f3b4ae34bc9f831ab56
2018-02-20 11:13:04 +01:00
Florian Quèze
055aab242e Bug 1403648 - set the 'focused' attribute on the urlbar by default, and remove it when we are unsure, to avoid flickering of the urlbar-history-dropmarker, r=johannh. 2018-02-14 22:15:05 +01:00
Florian Quèze
708b543532 Bug 1403648 - set urlbar focus and about:home favicon in the DOMContentLoaded handler to reduce window open flicker, r=johannh. 2018-02-14 22:15:05 +01:00
Florian Quèze
ed88da887a Bug 1403648 - focus the urlbar at first paint without waiting for a promise to resolve in most cases, r=johannh. 2018-02-14 22:15:05 +01:00
Dão Gottwald
694859a3f8 Backed out changeset f23ac3f571cf
MozReview-Commit-ID: FLl0Gd0oG6o
2018-02-16 09:27:40 +01:00
Dão Gottwald
080e52a924 Backed out changeset c03c60285f5d
MozReview-Commit-ID: 1JWaWpvbii6
2018-02-16 09:27:22 +01:00
Dão Gottwald
3907cbdf72 Backed out changeset 9833d3aa5451
MozReview-Commit-ID: HwyR97pKxfA
2018-02-16 09:27:05 +01:00
Florian Quèze
929dc2dc6f Bug 1403648 - set the 'focused' attribute on the urlbar by default, and remove it when we are unsure, to avoid flickering of the urlbar-history-dropmarker, r=johannh. 2018-02-14 22:15:05 +01:00
Florian Quèze
dc85c9d6d9 Bug 1403648 - set urlbar focus and about:home favicon in the DOMContentLoaded handler to reduce window open flicker, r=johannh. 2018-02-14 22:15:05 +01:00
Florian Quèze
e516fc0d1b Bug 1403648 - focus the urlbar at first paint without waiting for a promise to resolve in most cases, r=johannh. 2018-02-14 22:15:05 +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
Paolo Amadini
d59df3cdd5 Bug 1434883 - Part 2 - Use an asynchronous API to open PanelMultiView panels. r=Gijs
MozReview-Commit-ID: 3VzoxJ3Ociy

--HG--
extra : source : 22c83b1d417d7c7bd21a71109f4800f5d37bbb77
extra : intermediate-source : 6de7133c267288a468804f67f91df68b10b9793e
2018-02-06 09:02:27 +00:00
Florian Quèze
dcb4222a1a Bug 1434945 - the tabbar visibility should be set during a DOMContentLoaded listener, r=johannh. 2018-02-08 19:40:15 +01:00
Florian Quèze
663a6a4c9a Bug 1371610 - Delay getting the search component service until the first StartSearch, r=mak. 2018-02-08 12:28:34 +01:00
Marco Bonardo
1f439da87c Bug 1436347 - Move first PlacesUtils and PlacesBackups use farther in the startup test. r=florian
MozReview-Commit-ID: 2AKeu83ovkr

--HG--
extra : rebase_source : 0c465dac42abb8556b1b3ccb6b0b0ea302e499c5
2018-02-07 12:25:30 +01:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Cosmin Sabou
793dad7903 Backed out 3 changesets (bug 1434883) for frequent leaks in AbstractThread, AnimationTimeline, Annotators, Array, AsyncFreeSnowWhite, ... on a CLOSED TREE
Backed out changeset c8115e90ffa8 (bug 1434883)
Backed out changeset 22c83b1d417d (bug 1434883)
Backed out changeset 085796417462 (bug 1434883)
2018-02-06 16:30:56 +02:00
Paolo Amadini
c5d2e41158 Bug 1427350 - Part 2 - Rename _matchCount to matchCount. r=mak
MozReview-Commit-ID: 2oo0Nxp3Qot

--HG--
extra : source : ec3db0f4e8568dc84043dc375cd475049e804159
2018-02-04 15:00:58 +00:00
Paolo Amadini
5ac445ad8f Bug 1434883 - Part 2 - Use an asynchronous API to open PanelMultiView panels. r=Gijs
MozReview-Commit-ID: 3VzoxJ3Ociy

--HG--
extra : rebase_source : 7302ce6eed5364c80b7dfe9409e5c9d28e030e38
2018-02-06 09:02:27 +00: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
Paolo Amadini
449c7a5310 Bug 1432016 - Part 2 - Move descriptionHeightWorkaround and some other methods to the PanelView class. r=Gijs
MozReview-Commit-ID: 59fUuB35Ygy

--HG--
extra : rebase_source : 65133023f89241da1b8475b783ffc80e35ee3c28
2018-01-25 15:35:45 +00:00
Kris Maglione
aec63e140c Backed out 3 changesets (bug 1431533) for Android mochitest bustage. CLOSED TREE
MozReview-Commit-ID: 5ubE9EMQpZ9

--HG--
extra : histedit_source : df68d7595925c07d9d6e8bacc2c46e69556f479a%2C72b768b9825e20ede6603ead75f871c50dc041f7
2018-01-24 22:04:59 -08:00
Kris Maglione
30b3a49bfd Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
MozReview-Commit-ID: 8V1ZT53ReiP

--HG--
extra : rebase_source : 12b5f8c3e125111db7382eb3d7d20a99fb2c35b3
extra : absorb_source : e99fa7f6eee02e7e6cadeb898c7fcf6dac9c902a
extra : histedit_source : d0dfc31fadc2b81d341c9d0cd1efec02923c003b
2018-01-24 15:48:47 -08:00
Prathiksha
518d2ef5a8 Bug 1363040 - Stop loading tracking-protection-16.svg in windows that don't display it. r=johannh
MozReview-Commit-ID: I6yN3l47k9l

--HG--
extra : rebase_source : 087bacabc9c32f8ecec0fa70fffbb8e56297af7f
2018-01-04 22:22:19 +05:30
Tiberius Oros
0a895028f7 Merge inbound to mozilla-central r=merge a=merge 2018-01-05 11:57:58 +02:00
Florian Quèze
5fb86160b1 Bug 1426559 - Fix browser_windowopen_flicker.js to pass on DevEdition builds. r=johannh 2018-01-04 23:22:26 +01:00
Florian Quèze
a83070dfd4 Bug 1428176 - Enable browser_startup.js on DevEdition builds. r=mccr8, r=florian 2018-01-04 22:17:38 +01:00
Florian Quèze
54388800fe Bug 1410072 - browser/base/content/test/performance tests should not modify startupRecorder data in order to pass test-verify, r=johannh. 2018-01-04 22:23:48 +01:00
Mike Conley
15bb3e6871 Bug 1367797 - Add reflow tests for adding, removing and switching tabs while the tab strip is overflowed. r=florian
MozReview-Commit-ID: DFpA2eGk2X0

--HG--
extra : rebase_source : d60cd34dc25ecfadfac35fd20e6c2e6cc116a7bc
2017-11-20 14:58:32 -05:00
Ryan VanderMeulen
2b7cf88295 Bug 1426793 - Run browser_startup_flicker.js on DevEdition builds. r=florian 2017-12-23 16:39:54 -05:00
Ryan VanderMeulen
09f71f764e Bug 1426793 - Ship startupRecorder.js in DevEdition builds. r=florian 2017-12-23 16:39:53 -05:00
Florian Quèze
daf96ad175 Bug 1426611 - disable browser_urlbar_search_reflows.js on Linux ccov and Windows ccov due to intermittent timeouts, r=Aryx. 2017-12-21 13:01:18 +01:00
Ryan VanderMeulen
249415b414 Bug 1425992 - Only run browser_startup_flicker.js on debug and trunk builds. r=florian
--HG--
extra : rebase_source : 7507b40bb4780e59f8d0be8283b676e405ad409e
2017-12-20 17:48:22 -05:00
Florian Quèze
bf955aea0b Bug 1421460 - restore icon should be visible at first paint, r=johannh. 2017-12-20 16:56:36 +01:00
Florian Quèze
d741a755f2 Bug 1414126 - disable browser_urlbar_search_reflows.js on Linux debug and Windows debug due to intermittent timeouts, r=mconley. 2017-12-20 16:56:33 +01:00
Florian Quèze
7b5a7a03c6 Bug 1394914 - toolbars no longer need to wait for xul overlays to load before initializing CustomizableUI icons (avoid sidebar icon flickering), r=Gijs. 2017-12-19 23:40:40 +01:00
Margareta Eliza Balazs
1eebb5247e Backed out changeset 7c96cab6821a (bug 1394914) for failing bc in browser/base/content/test/performance/browser_windowopen_reflows.js r=backout a=backout on a CLOSED TREE
--HG--
extra : amend_source : 26399ce10f34ab1a32a07ce8669eeda7d2d63fc2
2017-12-20 14:32:53 +02:00
Margareta Eliza Balazs
060948a574 Merge inbound to mozilla-central r=merge a=merge 2017-12-20 11:47:11 +02:00
Florian Quèze
10d90b6bb5 Bug 1394914 - toolbars no longer need to wait for xul overlays to load before initializing CustomizableUI icons (avoid sidebar icon flickering), r=Gijs. 2017-12-19 23:40:40 +01:00
Hiroyuki Ikezoe
3485cf6df8 Bug 1380465 - Enable browser_windowopen_reflows.js on Linux. r=mconley
MozReview-Commit-ID: FoGK0jngVfE

--HG--
extra : rebase_source : 8a91c1e0cc8065d1664ad6ff68b5ace25e63e6f9
2017-12-20 08:33:38 +09: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
Hiroyuki Ikezoe
aecb7c9c6f Bug 1380465 - Drop an expected reflow for Linux in browser_windowopen_reflows.js. r=mconley
The reflow was suppressed by bug 1414252, and the expected reflow
for other platforms was dropped in that bug.

MozReview-Commit-ID: HyYhvntOpGx

--HG--
extra : rebase_source : 956e71c28e3840c8fe39da1aea8b5ea2a06081f6
2017-12-20 08:33:06 +09:00
Dorel Luca
a3324f0843 Backed out changeset cfa04fd0f319 (bug 1367797) for causing browser-chrome failures on browser_tabstrip_overflow_underflow_reflows.js r=backout on a CLOSED TREE
--HG--
extra : rebase_source : c0629a31c28e8f4d543b62fd17b51dfea634a938
2017-12-09 11:32:04 +02:00
Gurzau Raul
15f8898e50 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-09 00:56:50 +02:00
Kershaw Chang
fddbc9814e Bug 1419346 - Move browser_favicon_load.js to favicon folder, r=florian
1. Move browser_favicon_load.js to browser/base/content/test/favicons/
2. Copy some necessary files.
3. Modify some file paths.

--HG--
rename : browser/base/content/test/performance/browser_favicon_load.js => browser/base/content/test/favicons/browser_favicon_load.js
rename : browser/components/originattributes/test/browser/file_favicon.html => browser/base/content/test/favicons/file_favicon.html
rename : browser/components/originattributes/test/browser/file_favicon.png => browser/base/content/test/favicons/file_favicon.png
rename : browser/components/originattributes/test/browser/file_favicon.png^headers^ => browser/base/content/test/favicons/file_favicon.png^headers^
rename : browser/components/originattributes/test/browser/file_favicon_thirdParty.html => browser/base/content/test/favicons/file_favicon_thirdParty.html
2017-12-07 10:40:56 +08:00
Mike Conley
be831823c2 Bug 1367797 - Add reflow tests for adding, removing and switching tabs while the tab strip is overflowed. r=florian
MozReview-Commit-ID: DFpA2eGk2X0

--HG--
extra : rebase_source : 435c0e9830e44531f80ffcc7106bc8066842c03f
2017-11-20 14:58:32 -05:00
Matthew Noorenberghe
e6e4165603 Bug 1415692 - Show the bookmark toolbar in new profiles with > 3 bookmarks on it. r=Gijs,mak
MozReview-Commit-ID: C3tmqIrt5ak

--HG--
extra : rebase_source : 936b8cab5de587e2dde708b94f8be597f9c83e6a
2017-12-04 15:24:02 -08:00
Sebastian Hengst
35e834df9a Backed out changeset 8312a6286023 (bug 1415692) for failing to parse dom/events/test/mochitest.ini on Android due pref usage. r=backout 2017-12-05 19:56:51 +02:00
Matthew Noorenberghe
02471f5cfa Bug 1415692 - Show the bookmark toolbar in new profiles with > 3 bookmarks on it. r=Gijs,mak
MozReview-Commit-ID: C3tmqIrt5ak

--HG--
extra : rebase_source : 20eeacd571e6f50ff076ae1a97924720bf7a55f3
2017-12-04 15:24:02 -08:00
Florian Quèze
8bda591f01 Bug 1422463 - Fix intermittent browser_windowopen_flicker.js and browser_startup_flicker.js failures by whitelisting more intermittent behaviors, r=johannh. 2017-12-04 12:48:03 +01:00
Florian Quèze
1e344a882c Bug 1421456 - Follow-up to take into account that the favicon height is sometimes 15px, rs=bustage-fix. 2017-12-01 11:29:47 +01: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
Sam Foster
c5c9a1666e Bug 1412364 - defer applying maxHeight in PanelMultiView until popup is positioned. r=Paolo
* Let popup code initially measure and place the panel without maxHeight, this ensures alignmentPosition is a reasonable value
* Assign maxHeight from a popuppositioned handler and update the comment explaining the role of the autoPosition property
* Refactor to move the maxHeight calculation into a method on PMV
* panel autoPosition now gets reset to false in popuppositioned (was popupshowing) as the ShowWithPositionedEvent on popupFrame sets it back to true every time
* Update reflow tests with new signatures, and elimination of 1 reflow
* In appMenu reflow test, we must now wait for popupshown before opening subviews

MozReview-Commit-ID: KfHxngnajM3

--HG--
extra : rebase_source : 2918a30f6ecdfded57fb7b93aba3f0479fd4635c
2017-11-16 17:12:06 -08:00
Paolo Amadini
f735328150 Bug 1409301 - Update the site security subview to the Photon style. r=johannh
The site security subview is now implemented using the "photonpanelmultiview" element, replacing the last instance of the "panelmultiview" element. The subview features a standard Photon header, hence the connection state icon was moved to the element below it. This makes the styles more similar between the main view and the subview. The connection state styles are now applied using a class name, and the tests have been updated accordingly.

This change required some fixes in the "photonpanelmultiview" implementation to make sure the height of the subview is correct and to allow keyboard navigation back to the main view.

Since the expander button and the permission controls in the main view are not visible anymore after the subview is shown, some code related to focus and hover could be removed as well.

MozReview-Commit-ID: 4nIAPWJPV8k

--HG--
extra : rebase_source : 74d6d769421c0f8521bdfae249b4d111e630a3bd
2017-11-11 19:13:43 +00:00
Coroiu Cristina
70cc02de17 Backed out changeset d3c111ae8e20 (bug 1415692) for leaks in windows clipboard tests a=backout r=backout 2017-11-12 00:13:33 +02:00
Matthew Noorenberghe
dbbe80f8f5 Bug 1415692 - Show the bookmark toolbar in new profiles with > 3 bookmarks on it. r=Gijs,mak
MozReview-Commit-ID: C3tmqIrt5ak

--HG--
extra : rebase_source : 40e80b99c1c1e554792438aab8e775b50e1e813d
2017-11-10 15:04:22 -08:00
Dale Harvey
6fe0ace4ae Bug 1385932 - Reenable browser_urlbar_search_reflows.js on Linux. r=mconley
MozReview-Commit-ID: H24TSQKemBp

--HG--
extra : rebase_source : f0c885c24b1716aa5e402c193eeccb94bb3a9fc6
2017-11-09 09:31:08 +00:00
Marco Bonardo
223e6dec30 Bug 1402286 - chunk notifyResults calls so that we don't run all the autocomplete js for each match. r=adw
MozReview-Commit-ID: GuYew5B30WQ

--HG--
extra : rebase_source : 236f6fe83728ddbb9d73c4f7606aca2187e267b5
2017-10-31 11:13:47 +01: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
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
Mark Banner
4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Paolo Amadini
0d66629ad5 Bug 1411241 - Result width is incorrect after maximizing the window. r=mak
We have to handle the item overflow after the popup opens in case the positioning has changed, otherwise the measurements would return incorrect values. This causes additional synchronous reflows the first time the popup is opened or after the window is resized.

MozReview-Commit-ID: DEw4oEiEPBa

--HG--
extra : rebase_source : d6f2edb1ca4f668767d17fca67a2ea2e23784f1f
2017-10-26 15:43:37 +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
Marco Bonardo
1daa7b40ab Bug 1347532 - Allow to set a default icon size for the page-icon protocol. r=standard8
MozReview-Commit-ID: KBQYf14iiQw

--HG--
extra : rebase_source : 568f35d153801a43b1f62ba2e73cb0324ea9bbf7
2017-10-17 16:24:55 +02:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Neil Deakin
4251bca019 Bug 1356674, only adjust arrow position in panel once, r=dao 2017-10-04 11:10:18 -04:00
Drew Willcoxon
b5bff8c930 Bug 1402272 - Replace adjustSiteIconStart with padding on all richlistitems. r=mak
MozReview-Commit-ID: 8JyJWLL0nJU

--HG--
extra : rebase_source : 5f5288b92180744cb5f4a23a8c5ab6d03ed71cdb
2017-10-03 12:12:19 -07:00
Mike de Boer
882fa06e25 Bug 1401991 - Ensure that we don't hide panelviews that are already reparented to another multi-view and ensure to hide other panels consistently. r=Gijs
* Harden the new `hideAllViewsExcept()` to not do erroneous things if called when
   the binding is already gone.
 * Generalize things into `hideAllViewsExcept(thisOne)`:
    - Clear `_viewShowing` in there and do the descriptionHeightWorkaround thing
      in there too,
    - For Photon panels, do all the 'current' attribute setting in there. To show
      a panel during transition, I introduced the 'in-transition' attribute.
 * I had to make sure not to over-eagerly dispatch 'ViewShowing' events, because
   that confuses some,
 * Move the temporary panel handling, which contains an ephemeral panelmultiview
   instance, internally. This cleans up the hacky, duplicate PanelUI.js code nicely.
 * Keep a local copy of `_transitionDetails` to ensure it's still there after transition,
 * Harden `_cleanupTransitionPhase()` to only clear the phase that belongs to a
   specific transition, _if_ that's passed in as an argument. This resolves any
   potential raciness that might occur when `showSubView()` is called again mid-transition.
 * Skip the UITour element visibility check when it's inside a panelview, because
   too many things need to happen and that check is too simple to be useful in
   that case.

MozReview-Commit-ID: 5HpJKs1Ny5j

--HG--
extra : rebase_source : b810e1de2dbd75932a42d68e751fdaecd9fee69a
2017-09-29 13:51:51 +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
Johann Hofmann
b24a640a13 Bug 1400357 - Whitelist maximize.svg in browser_startup_images. r=florian
There have been changes to our Windows infrastructure that cause the
window to be maximized when running tests so the maximize.svg/restore.svg
combination will show restore instead of maximize, though maximize is
still loaded. I think it could be prevented by trying to set the sizemode
attribute a little earlier or not defaulting to maximize in the stylesheet,
but I don't think that's a necessary optimization at this point. We can
just whitelist it.

I also set the intermittentShown flag in case the Windows machines go back
to non-maximized windows.

MozReview-Commit-ID: Gwi0jRBBtGg

--HG--
extra : rebase_source : b92cbd14b873bf8aa0d70e27b140cb0f1a946b74
2017-09-22 11:23:22 +02:00
Kershaw Chang
24e949b4c0 Bug 1247843 - Part 4: A test case for testing whether the channel used to load favicon. r=mak 2017-09-20 20:10:00 -04:00
Florian Quèze
3d16048e68 Bug 1401432 - Remove the 'setTimeout handler' stack frames in browser_urlbar_search_reflows.js to fix failures on beta, r=mak over IRC. 2017-09-21 12:49:52 +02:00
Florian Quèze
ff51587643 Bug 1399660 - Intermittent browser_urlbar_keyed_search_reflows.js - reflow @ _handleOverflow was supposed to be hit 6 more times, r=mak over IRC. 2017-09-21 12:47:18 +02:00
Florian Quèze
728bcfdc95 Bug 1399660 - Remove the 'setTimeout handler' stack frames in browser_urlbar_keyed_search_reflows.js, rs=mak over IRC. 2017-09-20 12:24:02 +02: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
Andrew Halberstadt
601cd31163 Bug 1397229 - Disable browser/base/content/test/performance/browser_startup_images.js hidpi on Windows 10, r=jmaher
This started failing when migrating from Windows 8 -> Windows 10. Fix is
tracked in bug 1400357.

MozReview-Commit-ID: HO0AYGjVTGm

--HG--
extra : rebase_source : ff775fdde97c5031e088a4da27e6e0410a6a7c78
2017-09-15 15:17:49 -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
Sebastian Hengst
3681eafaf7 Backed out changeset fed3a10c6ffc (bug 1397229) 2017-09-18 19:41:58 +02:00
Andrew Halberstadt
7b626bb340 Bug 1397229 - Disable browser/base/content/test/performance/browser_startup_images.js hidpi on Windows 10, r=jmaher
This started failing when migrating from Windows 8 -> Windows 10. Fix is
tracked in bug 1400357.

MozReview-Commit-ID: HO0AYGjVTGm

--HG--
extra : rebase_source : 979f41e192a7e862a446b07c55fdde55e5fbdafd
2017-09-15 15:17:49 -04: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
Kris Maglione
8b884c80c8 Bug 1399646: Part 2 - Use the async shutdown service for ServiceWorkerRegistrar. r=baku
The current shutdown handling code is susceptible to deadlocks, since it spins
the event loop while it holds mMonitor, and other main thread methods which
try to acquire mMonitor can be called from code that runs while the event loop
is spinning.

My initial solution was just to release mMonitor before spinning the event
loop, but at this point I think it makes more sense to switch to the
standardized AsyncShutdown routines, which provide better diagnostics and
allow us to avoid one more nested event loop during shutdown.

MozReview-Commit-ID: 1RtFN585IR7

--HG--
extra : rebase_source : 978f3bf7cef73e56b3e1c1c838c2bc6efcefb0c0
extra : amend_source : 2b7c9422004b58ad1d38d7dd705ad446bc47cb23
extra : histedit_source : 7a4e80de7d5aa48e074ea03821bb78e5e287842e%2C92c1119a131adaa33f5691c0e534bb243115817b
2017-09-14 11:30:50 -07:00
Florian Quèze
cc2e281b3b Bug 1398198 - browser_startup_content.js should show the stack when a JS file was loaded earlier than expected, r=felipe,qdot. 2017-09-13 21:19:55 +02:00
Florian Quèze
c3c302fe33 Bug 1398198 - browser_startup.js should show the stack when a JS file was loaded earlier than expected, r=felipe,mccr8. 2017-09-13 21:19:53 +02:00
Mike de Boer
aa0c3dc278 Bug 1374749 - Animate the panelviews differently to make it look as if the view to show is pushing the previous view out of the panel. r=jaws
MozReview-Commit-ID: Dy6UppV3xDH

--HG--
extra : rebase_source : 1c970efaa0b7162450d79f37633afacaadc8d19e
2017-09-12 21:33:25 +02:00
Sebastian Hengst
22c06f3a4b Backed out changeset f09b2b387751 (bug 1374749) for frequently failing browser-chrome's browser/components/extensions/test/browser/test-oop-extensions/browser_ext_browserAction_popup_resize.js on macOS. r=backout 2017-09-11 18:45:35 +02:00
Mike de Boer
bdb3034789 Bug 1374749 - Animate the panelviews differently to make it look as if the view to show is pushing the previous view out of the panel. r=jaws
MozReview-Commit-ID: Dy6UppV3xDH

--HG--
extra : rebase_source : 28e14f7e5764490c3a0a550cb230eb8a800647bf
2017-09-11 16:28:06 +02:00
Johann Hofmann
5aecfa09ef Bug 1390874 - Add a hidpi test directory to emulate high screen resolution for browser_startup_images.js. r=florian
Also adds a warning that the test should only be used in debug mode.

MozReview-Commit-ID: 6X8jSz5O2ue

--HG--
extra : rebase_source : 30a52bcceeb19648e59c10ad29e1c71ca2e4e427
2017-08-16 15:33:14 +02:00
Dão Gottwald
c6455e0be2 Bug 1396624 - Hide URL bar elements and the stop button with display:none instead of visibility:collapse to prevent the icons from being loaded needlessly. r=johannh
MozReview-Commit-ID: 6VB57Lz2bMI

--HG--
extra : rebase_source : 1a0aea95847ac981b177f0d508a4b35f681add8a
2017-09-04 18:14:20 +02:00
Edouard Oger
d0c4b71df2 Bug 1380377 part 2 - Make sure sync-illustration.svg doesn't get loaded on startup. r=markh
MozReview-Commit-ID: KWWCniJPU44

--HG--
extra : rebase_source : ff733d8d04150d464d68ef0d03420fef8908f28b
2017-08-16 14:12:42 -04:00
Simon Lindholm
de414dfd84 Bug 1388331 - Use more precise criteria for stopping auto-complete searches. r=mak 2017-08-31 12:24:00 -04:00
Ryan VanderMeulen
94ba01b62f Backed out changeset 299138aaaecb (bug 1388331) for causing browser_urlbar_keyed_search_reflows.js failures. 2017-08-30 21:04:30 -04:00
Simon Lindholm
440ff638ee Bug 1388331 - Use more precise criteria for stopping auto-complete searches. r=mak
--HG--
extra : rebase_source : 0ed1b334afe7d247eac3368bc4b2148da48b9dcd
2017-08-30 08:00:00 -04:00
Felipe Gomes
f88fc29081 Bug 1391495 - Temporarily remove RecentWindow.jsm from startup blacklist to avoid this test from being disabled. r=me
MozReview-Commit-ID: L2PhXKkjSQA
2017-08-28 12:00:14 -03: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
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
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
Wes Kocher
6dd42e2664 Merge inbound to central, a=merge
MozReview-Commit-ID: BMWuqvmTljV
2017-08-22 17:07:23 -07:00
Edouard Oger
5aca028c2c Bug 1392280 - Backout bug 1380377. r=mconley
MozReview-Commit-ID: AOD2ol0yzaC

--HG--
extra : rebase_source : f55cf56275ceb4dc5872e05dd2819dc46ed7f8bb
2017-08-22 11:07:47 -04:00
Paolo Amadini
601339c92d Bug 1358792 - Fix uninterruptible reflow at adjustSiteIconStart. r=mak
This adds a spacer element before the type icon so we don't have to compute its initial margin.

MozReview-Commit-ID: 7dJ38Iwistn

--HG--
extra : rebase_source : a2d140d2906dba0858554c4cd7b9e97f05474518
2017-08-21 15:16:44 +01:00
Sebastian Hengst
153fae058e merge mozilla-central to mozilla-inbound. r=merge a=backout on a CLOSED TREE 2017-08-17 19:34:04 +02:00
Sebastian Hengst
a4d9621f69 Backed out changeset 0a543fedee9c (bug 1390874) for unexpected pass and unexpected fail in mochitest browser_startup_images.js, at least on Windows. r=backout a=backout on a CLOSED TREE
MozReview-Commit-ID: 5ZtuMtnrPlH
2017-08-17 19:29:58 +02:00
Dão Gottwald
b3bc155fb6 Bug 1389740 - Use arrow-dropdown-16.svg for the urlbar history dropmarker. r=gijs
MozReview-Commit-ID: BFjr8C5R4yC
2017-08-17 15:18:21 +02:00
Johann Hofmann
94e3bb2575 Bug 1390874 - Add a hidpi test directory to emulate high screen resolution for browser_startup_images.js. r=florian
Also adds a warning that the test should only be used in debug mode.

MozReview-Commit-ID: 6X8jSz5O2ue

--HG--
extra : rebase_source : 67bc022906470695041e37ac1852af1df5b87c90
2017-08-16 15:33:14 +02:00
Wes Kocher
366445521c Merge m-c to autoland, a=merge
MozReview-Commit-ID: DjSlrmDFfe3
2017-08-16 17:14:41 -07:00
Wes Kocher
9e13a44b54 Merge inbound to central, a=merge
MozReview-Commit-ID: GEfEDRZk5bo
2017-08-16 16:59:26 -07:00
Edouard Oger
c2a083e14a Bug 1380377 - Make sure sync-illustration.svg doesn't get loaded on startup. r=markh
MozReview-Commit-ID: KWWCniJPU44

--HG--
extra : rebase_source : c33dcd253c1c00c85f42063fc84d1b6ef2b871ee
2017-08-16 14:12:42 -04:00
Perry Jiang
1d5a1be675 Bug 1382248 - avoid loading autoscroll.png at startup. r=florian
MozReview-Commit-ID: FJppk3NjY2x
2017-07-28 14:13:13 -07:00
Drew Willcoxon
3c27aee62b Bug 1385418 - Remove disabled pocket code for the toolbar button now that it's been replaced by the item in the page action panel. r=Gijs
MozReview-Commit-ID: 1wANxaD3QaV

--HG--
extra : rebase_source : f87650ab8c09f7a313cda9b7ec73ee1e20d6fe34
2017-08-16 10:13:15 -07:00
Kris Maglione
c0fe551926 Bug 1389848: Follow-up: Bustage fix.
MozReview-Commit-ID: FaeHFW1WtPf
2017-08-14 23:00:04 -07: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
Sebastian Hengst
57f655f77a Backed out changeset c73631b194bb (bug 1389740) for failing Firefox-UI's test_windows.py and test_about_private_browsing.py. r=backout 2017-08-12 18:42:57 +02:00
Dão Gottwald
ad2ba7b0b1 Bug 1389740 - Consolidate URL bar history dropmarker styling. r=Gijs
The dropmarker gets the urlbar-icon class for consistency with the other URL bar icons. On this occasion, I increased the urlbar-icon padding and removed the margin to match the photon spec. Also added a rudimentary hover effect.

#urlbar-icons is renamed to #page-action-buttons to better reflect its meaning, and because .urlbar-icon is now used outside of this container.

#urlbar-wrapper wrapper isn't needed anymore -- we can just set the switchingtabs attribute directly on #urlbar.

MozReview-Commit-ID: EiuUW71IKgU

--HG--
extra : rebase_source : dcc7753e92073e06278d714a0b5b976d073e75c8
2017-08-12 17:49:35 +02:00
Dennis Schubert
a4d28780d7 Bug 1376602 - Part 2: Add WebCompat Go Faster modules to browser_startup tests. r=Felipe
MozReview-Commit-ID: Ic1tpivC7Na

--HG--
extra : rebase_source : 6d45e4fd0f1f430aa108fc9a1eb802087fef484c
2017-08-04 14:34:14 +02:00
Mike Taylor
631366df84 Bug 1373650. Remove TabListener.jsm from browser_startup.js. r=Gijs
MozReview-Commit-ID: 3aX4GQ8a65r

--HG--
extra : rebase_source : 1347ae2de03ebc933bcc978101283d264cb377d0
2017-08-03 23:20:34 -05:00
Ryan VanderMeulen
291167d9ca Backed out changesets c95150c0fe9d and 9c1e1102bbc3 (bug 1376602) for ESLint failures. 2017-08-09 22:33:52 -04:00
Dennis Schubert
767bd4d553 Bug 1376602 - Part 2: Add WebCompat Go Faster modules to browser_startup tests. r=Felipe
MozReview-Commit-ID: Ic1tpivC7Na

--HG--
extra : rebase_source : 87260a9aff8e6f2e6c323d67e9bf959e917cf892
2017-08-04 14:34:14 +02:00
Dão Gottwald
d408f82c90 Bug 1377184 - Consistently use the custom toolbar button styling in all browser toolbars. r=johannh
MozReview-Commit-ID: DvMorv7HhDu

--HG--
extra : rebase_source : 2f881aecd4aa668aa4b33f5b1c103fe2b7df4bbe
2017-08-09 20:12:36 +02:00
Sebastian Hengst
e99c254eb9 Backed out changeset c4376773f9cd (bug 1377184) for failing browser-chrome's browser_startup_images.js: chevron.svg should have been shown. r=backout 2017-08-09 19:51:01 +02:00
Dão Gottwald
6883d3efda Bug 1377184 - Consistently use the custom toolbar button styling in all browser toolbars. r=johannh
MozReview-Commit-ID: Czp2oURcztE

--HG--
extra : rebase_source : c5383d50402a1d2161334278261e785c348cfd9a
2017-08-09 10:30:14 +02:00
Mike Conley
98ce69f791 Bug 1388342 - Ensure browser_tabstrip_overflow_underflow_reflows.js works for both the e10s and non-e10s case. r=florian
We hit the _adjustFocusAfterTabSwitch function in both the e10s and non-e10s cases, but through
different code paths. This makes the expected stack less specific to account for both cases.

MozReview-Commit-ID: AI4KLUNjUqZ

--HG--
extra : rebase_source : b1fd2df5231e406fe33b7cb4f778c7dc5797b08c
2017-08-09 11:24:49 -04:00
Michael Kohler
674e1b96fb Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code. r=dao
MozReview-Commit-ID: 8w1vfF2yRui

--HG--
extra : rebase_source : 222d8e9d3b9543552ff5b08967375fa46d62b896
2017-08-08 12:09:14 +02:00
Mike Conley
6afae48a3c Bug 1385034 - Add a reflow test for when the tabstrip over and underflows. r=Gijs
MozReview-Commit-ID: FjwYDd2Frh2

--HG--
extra : rebase_source : 548592137d4a9fd19265fe2424667b09bedf610c
2017-05-12 08:34:22 -04:00
Sebastian Hengst
ca40024d84 Backed out changeset 1538b0445eda (bug 1366555) for timing browser_locationBarCommand.js and browser_locationBarExternalLoad.js. r=backout 2017-08-05 23:15:16 +02:00
Michael Kohler
45d5f35624 Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code r=dao
MozReview-Commit-ID: CoHv9mKpAe

--HG--
extra : rebase_source : 20d6404db9f90cfcb7de03d4c527ad6ed79d49f8
2017-08-05 20:37:40 +02:00
Gijs Kruitbosch
03a486b23d Bug 1354117 - fix telemetry and a number of tests that flip photon prefs, r=johannh
MozReview-Commit-ID: 7ynaIQm22eS

--HG--
extra : rebase_source : 703ceae16cbf521de2fa1689668c68f1f06f682a
2017-08-01 20:15:48 +01:00
Johann Hofmann
4ac05f9ead Bug 1386439 - Record image-drawing in RasterImage::GetImageContainer and RasterImage::GetFrameAtSize for browser_image_startup.js. r=tnikkel
MozReview-Commit-ID: 1JDWyx8toTB

--HG--
extra : rebase_source : 32659556571acb887f85b922731489f91fcd9075
2017-08-02 00:08:02 +02: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
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
Nihanth Subramanya
34c4b0035b Bug 1355455 - Replace shared icons with Photon versions. r=dao
MozReview-Commit-ID: 64TLH0OHp5J

--HG--
extra : rebase_source : bdbd52a4704b34c7d07d96ecfe3df0337e82f37e
2017-07-31 01:36:43 +05:30
Wes Kocher
baf6cddc4c Merge inbound to central, a=merge
MozReview-Commit-ID: 9NFjSEt96iT
2017-08-02 17:11:51 -07:00
Marco Castelluccio
3ba893cc62 Bug 1357517 - Add Preferences.jsm to browser_startup.js blacklist until "before handling user events" phase. r=Gijs
--HG--
extra : rebase_source : 83608eecb16f6c24254d501edcb556b039d62b44
2017-07-31 02:30:20 +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
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
Wes Kocher
3c2dc39278 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BgPWEtPV0sy
2017-07-31 17:49:47 -07:00
Geoff Brown
556ad94e5e Bug 1369959 - Skip test browser_appmenu_reflows.js on more platforms, for frequent intermittent failures; r=me,test-only 2017-07-31 18:17:53 -06:00
Jared Wein
3f9f0fd20b Bug 1385407 - Add an extra selector for the urlbar-icon within the star-button-box now that the urlbar-icon for the bookmark star isn't a direct child of urlbar-icons. r=Gijs
This change in markup was necessary to implement bug 1352063. I have audited all other CSS to make sure other selectors looking for this icon still apply. This was the only one found that needed to be updated.

The change to browser_startup_images.js is not actually a new image that is loaded at startup, but a revert of 767224f031ac (bug 1352063) which removed that section (the test failing due to that section no longer applying should have called out what was necessary to fix this bug).

MozReview-Commit-ID: 6O1iUUjJ0dh

--HG--
extra : rebase_source : a3d41391bda3464fa4c6d4f06638dcfbe8daff3f
2017-07-31 11:39:05 -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
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
Drew Willcoxon
838d1a8a02 Bug 1374477 - Update consumers of Photon page action panel for changed identifiers. r=Gijs
MozReview-Commit-ID: 1skE8YJaqA7

--HG--
extra : rebase_source : 42517e7d5e273acb8fdb22a7c04436f157c1ba7d
2017-07-29 20:25:08 -07:00
Carsten "Tomcat" Book
6aa98d7df0 Merge mozilla-central to autoland 2017-07-28 09:50:36 +02: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
8cfbdba9c5 Bug 1385005 - Put toolbarbutton-dropdown-arrow.png on the non-Photon browser_startup_images.js whitelist. r=johannh
This was originally removed from the whitelist when bug 1372689 landed. With
Photon enabled, this image doesn't load at all. Instead of trying to debug
the non-Photon case, we're whitelisting this again because Photon is going
out the door in the next release anyways.

MozReview-Commit-ID: DdN38s3oqST

--HG--
extra : rebase_source : 986c338fb8448f26719ecefd7c4a72db19614622
2017-07-27 13:52:18 -07: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
Mike Conley
c44ed4698e 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 : 638ac6fd1fc867358471c5c60294fdf33285dab8
2017-07-13 08:41:51 -07:00
Mike Conley
b6867b29a5 Bug 1376822 - Re-enable appmenu reflow tests for sync subview. r=Gijs
MozReview-Commit-ID: B95VVqaTDja

--HG--
extra : rebase_source : 484b78d839e16650167c7dc9937d7f2ec908b8e3
2017-07-13 07:59:35 -07:00