Commit Graph

185 Commits

Author SHA1 Message Date
Dan Banner
5af4450327 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
d09590d93a Bug 1356674, only adjust arrow position in panel once, r=dao 2017-10-04 11:10:18 -04:00
Drew Willcoxon
64be2ede6b Bug 1402272 - Replace adjustSiteIconStart with padding on all richlistitems. r=mak
MozReview-Commit-ID: 8JyJWLL0nJU
2017-10-03 12:12:19 -07:00
Mike de Boer
3f2ca69f96 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
2017-09-29 13:51:51 +02:00
Joel Maher
73be51f1e9 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
25b721c14f 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
2017-09-22 11:23:22 +02:00
Kershaw Chang
26c8c4d909 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
e2a9ca3dbe 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
b4288e62a3 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
2725af806d 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
8af4df53e5 Bug 1391293 - Remove some hundreds reflows and adapt reflow tests to the new insert method. r=florian
MozReview-Commit-ID: 1a25ZHo2L8n
2017-09-18 11:58:11 +02:00
Andrew Halberstadt
d8243cab8e 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
2017-09-15 15:17:49 -04:00
Andrew Halberstadt
e0132ba923 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
2017-09-07 11:38:51 -04:00
Sebastian Hengst
611cd796d6 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
258740f15f Backed out changeset fed3a10c6ffc (bug 1397229) 2017-09-18 19:41:58 +02:00
Andrew Halberstadt
081643efbe 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
2017-09-15 15:17:49 -04:00
Andrew Halberstadt
b18da08524 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
2017-09-07 11:38:51 -04:00
Kris Maglione
6b566f0c2d 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
2017-09-14 11:30:50 -07:00
Florian Quèze
eefb3ff4cf 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
9278da562f 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
998cb252ae 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
2017-09-12 21:33:25 +02:00
Sebastian Hengst
f5e44610fc 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
0b4bd52893 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
2017-09-11 16:28:06 +02:00
Johann Hofmann
2e23a09b91 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
2017-08-16 15:33:14 +02:00
Dão Gottwald
08f97277b3 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
2017-09-04 18:14:20 +02:00
Edouard Oger
3b9849fe32 Bug 1380377 part 2 - Make sure sync-illustration.svg doesn't get loaded on startup. r=markh
MozReview-Commit-ID: KWWCniJPU44
2017-08-16 14:12:42 -04:00
Simon Lindholm
8c34b5c40f Bug 1388331 - Use more precise criteria for stopping auto-complete searches. r=mak 2017-08-31 12:24:00 -04:00
Ryan VanderMeulen
fc2383f30d 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
ce116881b9 Bug 1388331 - Use more precise criteria for stopping auto-complete searches. r=mak 2017-08-30 08:00:00 -04:00
Felipe Gomes
68a6a9e333 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
e296a49733 Bug 1387088 - Add a reflow test for when the user is typing a search into the AwesomeBar. r=florian
MozReview-Commit-ID: BP0zlLU9Ltp
2017-08-17 16:50:30 -04:00
Dão Gottwald
5cf041ac4e 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
2017-08-24 18:39:39 +02:00
Wes Kocher
e5dbc7e13f 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
2017-08-23 12:26:25 -07:00
Mike Conley
5b99b17752 Bug 1387088 - Add a reflow test for when the user is typing a search into the AwesomeBar. r=florian
MozReview-Commit-ID: BP0zlLU9Ltp
2017-08-17 16:50:30 -04:00
Wes Kocher
7216631f46 Merge inbound to central, a=merge
MozReview-Commit-ID: BMWuqvmTljV
2017-08-22 17:07:23 -07:00
Edouard Oger
39f0064047 Bug 1392280 - Backout bug 1380377. r=mconley
MozReview-Commit-ID: AOD2ol0yzaC
2017-08-22 11:07:47 -04:00
Paolo Amadini
5f6c1c9a8f 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
2017-08-21 15:16:44 +01:00
Sebastian Hengst
b1db9587c3 merge mozilla-central to mozilla-inbound. r=merge a=backout on a CLOSED TREE 2017-08-17 19:34:04 +02:00
Sebastian Hengst
dd2274c84b 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
c7fa9cfb67 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
ba36e7d7a4 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
2017-08-16 15:33:14 +02:00
Wes Kocher
35908f9c27 Merge m-c to autoland, a=merge
MozReview-Commit-ID: DjSlrmDFfe3
2017-08-16 17:14:41 -07:00
Wes Kocher
03a1984d1c Merge inbound to central, a=merge
MozReview-Commit-ID: GEfEDRZk5bo
2017-08-16 16:59:26 -07:00
Edouard Oger
a791b9b936 Bug 1380377 - Make sure sync-illustration.svg doesn't get loaded on startup. r=markh
MozReview-Commit-ID: KWWCniJPU44
2017-08-16 14:12:42 -04:00
Perry Jiang
30e6197cf5 Bug 1382248 - avoid loading autoscroll.png at startup. r=florian
MozReview-Commit-ID: FJppk3NjY2x
2017-07-28 14:13:13 -07:00
Drew Willcoxon
062e2f296c 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
2017-08-16 10:13:15 -07:00
Kris Maglione
693f1ce3fc Bug 1389848: Follow-up: Bustage fix.
MozReview-Commit-ID: FaeHFW1WtPf
2017-08-14 23:00:04 -07:00
Johann Hofmann
3f9b1af46d 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
2017-08-09 14:36:01 +01:00
Sebastian Hengst
3fd459e69e 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
bccad03ca0 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
2017-08-09 14:36:01 +01:00