Commit Graph

16347 Commits

Author SHA1 Message Date
Johann Hofmann
cb0a2affd1 Bug 1388512 - Fix browser_menu_touch.js on Windows 10. r=jmaher
This test was failing because we need to set an additional
pref to make our Windows 10 test infra support touch events,
and because some elements it was testing got renamed.

MozReview-Commit-ID: 4h2YxFzRrGp
2017-08-14 15:17:19 +02: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
Sebastian Hengst
47f85969c9 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: FzIkMLHbOh2
2017-08-14 01:30:32 +02:00
Zibi Braniecki
3713212f30 Bug 1389798 - Load browser version of netError.dtd from browser aboutNetError.xhtml. r=gandalf
MozReview-Commit-ID: 4nF2XKgWXxn
2017-08-12 16:53:04 -07:00
Sebastian Hengst
3443590645 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4cZJ3qFjvPY
2017-08-12 23:49:21 +02:00
Sebastian Hengst
c191a5443c 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
a29e4c0d87 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
2017-08-12 17:49:35 +02:00
Gijs Kruitbosch
f2442504b3 Bug 1389505 - set min-width for the flexible spacers to 0, r=florian,ui-r=abenson
MozReview-Commit-ID: 3WP3aPYmmZX
2017-08-11 20:51:56 +01:00
Wes Kocher
399a13fd39 Merge inbound to central, a=merge
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00
Gijs Kruitbosch
eea295f174 Bug 1388990 - avoid breaking the broadcast/listener relationships of the back/fwd buttons when customizing, r=dao
MozReview-Commit-ID: EsH3lv8QXfJ
2017-08-12 11:56:22 +01:00
Dão Gottwald
e4aa04f0e6 Bug 1389744 - Stop repositioning pinned tabs when (un)selecting the Dark/Light theme. r=florian
Dark/Light themes don't affect the tab strip layout anymore, so this entirely unnecessary work.

MozReview-Commit-ID: C37VZsd8r2J
2017-08-12 12:50:26 +02:00
Sebastian Hengst
42c3e3a63a Backed out changeset 0aca62e914cf (bug 1376895) for asserting IsSafeToRun(), at dist\include\mozilla/SchedulerGroup.h:81 e.g. in mochitest dom/events/test/test_bug336682_1.html on Windows 10 x64. r=backout 2017-08-11 14:48:27 +02:00
Gabor Krizsanits
8861b7e8ab Bug 1376895 - Make preloaded browser use pre-existing content process. r=mconley
We want to avoid to have several cached content processes, one for each
preloaded browser (one per window) and one for the preallocated process.
For that we force the preloaded browser to choose an existing process and
during the first navigation in that tab, that leaves about:newtab, we re-run
the process selecting algorithm
2017-08-11 12:44:11 +02:00
Florian Quèze
18d0169740 Bug 1372518 - the identity block shouldn't flicker when loading a secure internal page in a new window, r=johannh. 2017-08-11 10:19:48 +02:00
Masatoshi Kimura
b5473a8193 Bug 1387805 - Remove [deprecated] nsIScriptSecurityManager.getCodebasePrincipal(). r=bz
MozReview-Commit-ID: CY47PBaQ5oy
2017-08-06 15:31:31 +09:00
Jared Wein
a080e2809f Bug 1387077 - Reimplement Pocket animation in the Page Action area. r=adw
MozReview-Commit-ID: 5pJ96un8W5t
2017-08-08 11:56:49 -04:00
Dennis Schubert
09d0247bf5 Bug 1376602 - Part 2: Add WebCompat Go Faster modules to browser_startup tests. r=Felipe
MozReview-Commit-ID: Ic1tpivC7Na
2017-08-04 14:34:14 +02:00
Wes Kocher
1865918a1a Merge m-c to autoland a=merge
MozReview-Commit-ID: LsPv9Mdodvf
2017-08-11 13:39:17 -07:00
Wes Kocher
86e71c3f47 Backed out changeset 739d6afc27be (bug 1375335) for failures in 739d6afc27be a=backout
MozReview-Commit-ID: CgS230WMXKs
2017-08-11 12:19:01 -07:00
Brian Grinstead
2be258f821 Bug 1388552 - Export the HUDService object directly instead of individual methods and properties;r=nchevobbe
MozReview-Commit-ID: 9AYCuqqv1U7
2017-08-11 09:07:04 -07:00
Mike Taylor
df48db40c1 Bug 1373650. Remove TabListener.jsm from browser_startup.js. r=Gijs
MozReview-Commit-ID: 3aX4GQ8a65r
2017-08-03 23:20:34 -05:00
Johann Hofmann
877e7b6f43 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
Andrew Halberstadt
1ecb0adc26 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw
2017-08-10 14:48:21 -04:00
Phil Ringnalda
5e91797776 Backed out changeset 6896f93a2327 (bug 1385352) for not making it to m-c before the next violation of its new linting rule merged to autoland
MozReview-Commit-ID: 3HDE2C3wSU0
2017-08-10 20:21:19 -07:00
Wes Kocher
d292002f8c Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2YvHbITn9w3
2017-08-10 18:25:34 -07:00
Wes Kocher
b6c157e8cd Merge inbound to m-c a=merge
MozReview-Commit-ID: KRQeIGmhAPA
2017-08-10 18:14:34 -07:00
Wes Kocher
28336ea440 Backed out changeset 93151fa47fcf (bug 1376895) for permafailing test_frameNavigation.html a=backout
MozReview-Commit-ID: 88VukVNkZHW
2017-08-10 14:20:01 -07:00
Sebastian Hengst
1b3c1d0811 Bug 1388215 - Fix broken browser.js after merge. r=bustage-fix on a CLOSED TREE 2017-08-10 18:23:23 +02:00
Sebastian Hengst
c7240206e3 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-10 17:41:11 +02:00
Gabor Krizsanits
136abcdb0d Bug 1376895 - Make preloaded browser use pre-existing content process. r=mconley
We want to avoid to have several cached content processes, one for each
preloaded browser (one per window) and one for the preallocated process.
For that we force the preloaded browser to choose an existing process and
during the first navigation in that tab, that leaves about:newtab, we re-run
the process selecting algorithm
2017-08-10 16:48:11 +02:00
Dão Gottwald
94d669b590 Bug 1015163 - Always show the menu button in popup windows. r=gijs
MozReview-Commit-ID: 6XpFjyVaOR3
2017-08-10 12:59:11 +02:00
Wes Kocher
d497d08bc6 Backed out changeset d4cc2f1e5c48 (bug 1387077) for windows debug crashtest failures a=backout
MozReview-Commit-ID: kEMoucDCJY
2017-08-10 15:46:38 -07:00
Jared Wein
bb3b0a581d Bug 1387077 - Reimplement Pocket animation in the Page Action area. r=adw
MozReview-Commit-ID: 5pJ96un8W5t
2017-08-08 11:56:49 -04:00
Dão Gottwald
8e9d7061d2 Bug 956731 - Remove legacy add-on bar and statusbar shims. r=Gijs
MozReview-Commit-ID: 2deeujcHYUM
2017-08-10 09:17:48 +02:00
Ryan VanderMeulen
4122f66bfc Backed out changesets c95150c0fe9d and 9c1e1102bbc3 (bug 1376602) for ESLint failures. 2017-08-09 22:33:52 -04:00
Dennis Schubert
088a19dae8 Bug 1376602 - Part 2: Add WebCompat Go Faster modules to browser_startup tests. r=Felipe
MozReview-Commit-ID: Ic1tpivC7Na
2017-08-04 14:34:14 +02:00
Ryan VanderMeulen
29860c1c91 Merge m-c to autoland. a=merge 2017-08-09 18:51:26 -04:00
Ryan VanderMeulen
f72c834207 Merge autoland to m-c. a=merge 2017-08-09 18:47:59 -04:00
Felipe Gomes
39923feba0 Bug 1388145 - Move startup crashes tracking to nsBrowserGlue as it should only run once, and not per-window. r=florian
MozReview-Commit-ID: KR1bv1TJGVf
2017-08-09 15:45:24 -03:00
Felipe Gomes
736ca44fa9 Bug 1388145 - Move CombinedStopReload.startAnimationPrefMonitoring to per-window initialization tasks. r=jaws
MozReview-Commit-ID: EECjcWwN9yZ
2017-08-09 15:45:12 -03:00
Felipe Gomes
e00048dfea Bug 1388145 - Move the Downloads progress code initialization to an idle callback. r=Paolo
MozReview-Commit-ID: 5cgvfKq5Mj4
2017-08-09 15:44:43 -03:00
Felipe Gomes
c3838977a6 Bug 1388145 - Move simple things out of delayedStartup to its proper location on _schedulePerWindowIdleTasks. r=florian
MozReview-Commit-ID: LN2ffUyKD13
2017-08-09 15:44:38 -03:00
Felipe Gomes
47c839dca9 Bug 1388145 - Move Services.logins initialization to nsBrowserGlue. r=MattN
This will move this code to a place that will run it once per session (as needed) and not once per window. It also better defines it to run after all sessionstore-windows-restored, instead of arbitrarly after 3 seconds.

MozReview-Commit-ID: 2ekVeZfRYC4
2017-08-09 15:43:25 -03:00
Felipe Gomes
f6c1487360 Bug 1388145 - Make GMPInstallManager telemetry only run once per session (and not per window), and run it after an idle period. r=florian
MozReview-Commit-ID: GB07ftXNvXd
2017-08-09 15:43:14 -03:00
Felipe Gomes
1e26097f9b Bug 1388145 - Make Master Password telemetry only run once per session (and not per window), and run it after an idle period. r=MattN
MozReview-Commit-ID: 1Ecy94TGGar
2017-08-09 15:43:10 -03:00
Felipe Gomes
c6d889d18b Bug 1388145 - Create global and per-window entry points for scheduling initialization-related idle callbacks. r=florian
MozReview-Commit-ID: LDgTz21gDTL
2017-08-09 15:06:08 -03:00
Dão Gottwald
7c5618b310 Bug 1377184 - Consistently use the custom toolbar button styling in all browser toolbars. r=johannh
MozReview-Commit-ID: DvMorv7HhDu
2017-08-09 20:12:36 +02:00
Sebastian Hengst
519980f2b2 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
bf16e28e5a Bug 1377184 - Consistently use the custom toolbar button styling in all browser toolbars. r=johannh
MozReview-Commit-ID: Czp2oURcztE
2017-08-09 10:30:14 +02:00