Commit Graph

5699 Commits

Author SHA1 Message Date
Gijs Kruitbosch
543ebed2bf Bug 1382243 - make all the identity tests async, r=johannh
MozReview-Commit-ID: 370JbqadhaQ
2017-08-14 15:10:15 +01:00
Zibi Braniecki
b8f141fa61 Bug 1386015 - Do not generate styling for each element with inherited color. r=jaws
This patch does a minor refactor of the code used to style popup menu for
the <select> element.
It improves the custom styling experience on MacOS, preserves the functionality
on Windows and removes the unnecessary per-item CSS rules significantly
improving the performance of opening the <select> list.


MozReview-Commit-ID: 7myXq8aDAWr
2017-08-11 17:38:14 -07:00
Mike Cooper
623a562042 Bug 1388823 - Sync shield-recipe-client v65 from GitHub (commit ff1b680c) r=Gijs
MozReview-Commit-ID: F8uuFRyS4li
2017-08-10 10:22:32 -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
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
Gabor Krizsanits
2d5df8b520 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-15 14:05:17 +02:00
Gabor Krizsanits
95ac2f3197 Bug 1376895 - Disabling a perm failing part of a test. r=me
This part is perma failing on OSX and I guess on windows it only passed
because we have never got to that part because of the poorly written async
calls in the test that we never wait for to complete.
2017-08-15 14:04:13 +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
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
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
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
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
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
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
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
Julian Descottes
3401f9c0b2 Bug 1387482 - default to true when reading pref devtools.inspector.enabled from Firefox;r=mixedpuppy
This preference will be moved inside the devtools addon and won't be always available.
By default consuemrs should consider this to be true, as the inspector is always enabled
by default.

If devtools are not installed, the DevToolsShim will be responsible for redirecting the
call to inspect node to the devtools installation flow.

MozReview-Commit-ID: 279mJ5WRzok
2017-08-04 17:55:51 +02:00
Mike Conley
75a936d091 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
2017-08-09 11:24:49 -04:00
Valentin Gosu
b650fda6c5 Bug 1380617 - Fix tests that expect unicode encoding of hostname r=smaug
MozReview-Commit-ID: 6EGhUJmtjTc
2017-08-09 17:44:08 +02:00
Valentin Gosu
7a666609d4 Bug 1380617 - Change firefox code to use uri.displaySpec when unicode URLs are wanted r=Gijs
* Make URL bar show unicode URL by making losslessDecodeURI call uri.displaySpec
* Make sure URL bar copying returns unicode variant

MozReview-Commit-ID: GTESwOSJW0P
* * *
[mq]: bug1380617-url-autofill.patch

MozReview-Commit-ID: JUxFZcpc3rN
2017-08-09 17:43:51 +02:00
Ryan VanderMeulen
41e4f3344f Merge m-c to inbound. a=merge 2017-08-09 18:48:56 -04:00
Joel Maher
6e851b16e8 Bug 1388715 - browser_contextmenu_touch.js needs apz.test.fails_with_native_injection=true to pass on windows 10 in taskcluster. r=johann
MozReview-Commit-ID: 83FqO7FFS0m
2017-08-09 13:12:47 -04:00
Dão Gottwald
8ba4128bab Bug 1387496 - Clean up alert.xul styling. r=ntim
MozReview-Commit-ID: JjgdBEMBOEH
2017-08-10 15:42:55 +02:00
Andrew Halberstadt
6c60ffa524 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
Gijs Kruitbosch
f019fcf508 Bug 1383009 - fix tests, BrowserUITelemetry and pocket to deal with the changes to the navbar, r=jaws
MozReview-Commit-ID: 9dZI5AI3kvP
2017-08-08 15:09:44 +01:00
Zibi Braniecki
26d2804164 Bug 1347800 - Add Localization API for Gecko. r=mossop
MozReview-Commit-ID: 5wAde36zMHP
2017-06-02 10:36:56 +02:00
Zibi Braniecki
7f5d50e8e1 Bug 1333980 - Introduce L10nRegistry.jsm. r=mossop
This patch introduces a new registry for localization resources to replace
ChromeRegistry. It uses asynchronous I/O and iterators to generate
permutations of possible sources of language resources for use in the new
Localization API.

In the initial form the API handles packages resources and has API for
interacting with the AddonsManager which will report language packs.

MozReview-Commit-ID: LfERDYMROh
2017-06-02 10:36:08 +02:00
Zibi Braniecki
b70d784d80 Bug 1347801 - Land Fluent MessageContext (Parser, Resolver, Context). r=mossop
This patch lands the core of the new localization API:
 * Parser for the Fluent syntax called "FTL"
 * Resolver for the Fluent logic
 * MessageContext class which is a central class for storing and operating
   on Fluent messages.

MozReview-Commit-ID: E7nKGsLOCJe
2017-06-02 10:35:15 +02:00
Michael Kohler
f15ab23e9f Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code. r=dao
MozReview-Commit-ID: 8w1vfF2yRui
2017-08-08 12:09:14 +02:00
Carsten "Tomcat" Book
b83067d218 merge mozilla-inbound to mozilla-central a=merge 2017-08-08 13:18:14 +02:00
Kris Maglione
014add5c85 Bug 1387907: Part 1 - Parse JSON files for file references. r=Mossop
MozReview-Commit-ID: 93UIZ6lCar0
2017-08-07 14:41:11 -07:00
Eden Chuang
b82d5ea5a0 Bug 1382092 - Support default payment UI in DOM code part 1. r=MattN 2017-08-07 11:13:04 +08:00
Masatoshi Kimura
0af76969af Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC
2017-08-04 17:49:22 +09:00
Sebastian Hengst
31742f9ca2 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
a220eeb86a Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code r=dao
MozReview-Commit-ID: CoHv9mKpAe
2017-08-05 20:37:40 +02:00
Henri Sivonen
cd9aafd595 Bug 1048191 - Remove capability to generate entities other than quot, amp, gt, lt and nbsp. r=emk.
MozReview-Commit-ID: CHQQzPHxrus
2017-08-04 12:37:53 +03:00
Phil Ringnalda
b611a43dc2 Backed out changeset ec99e3ba4e7a (bug 1355451) for frequent failures in browser_urlbar_search_speculative_connect_mousedown.js
MozReview-Commit-ID: 8NZP5vza6Hz
2017-08-04 23:02:01 -07:00
Evelyn Hung
4905f74f3b Bug 1355451 - Speculative connect to websites on mousedown on awesomebar item. r=mak
We preconnect to an explicit URL or the url in moz-action:remotetab on
the popup.

MozReview-Commit-ID: Itgie3BMehn
2017-08-04 22:27:21 +08:00
Gijs Kruitbosch
1dde1ca8d5 Bug 1354117 - fix telemetry and a number of tests that flip photon prefs, r=johannh
MozReview-Commit-ID: 7ynaIQm22eS
2017-08-01 20:15:48 +01:00
Mike Conley
af215b5763 Bug 1385034 - Add a reflow test for when the tabstrip over and underflows. r=Gijs
MozReview-Commit-ID: FjwYDd2Frh2
2017-05-12 08:34:22 -04:00