Commit Graph

445245 Commits

Author SHA1 Message Date
Wes Kocher
b620596e75 Backed out 4 changesets (bug 1318004) for xpcshell failures a=backout CLOSED TREE
Backed out changeset a3fe53641526 (bug 1318004)
Backed out changeset a5d1676b6f88 (bug 1318004)
Backed out changeset b56b37f0f4d7 (bug 1318004)
Backed out changeset fb5254baf1cb (bug 1318004)
2016-11-21 16:15:38 -08:00
Matthew Noorenberghe
0aeb918e4d Bug 1319174 - Cleanup content vs. skin CSS separation for the insecure password field. r=mconley
MozReview-Commit-ID: 7yCJ4swuUq1
2016-11-21 12:12:33 -08:00
Drew Willcoxon
5dcb84dbed Bug 1319151 - Bug 1318790 followup: Apply searchbar add-engine overflow menu CSS changes to Windows and Linux. r=florian
MozReview-Commit-ID: PsTt85KS5A
2016-11-21 10:39:19 -08:00
Mike Hommey
38d5de09e1 Bug 1318914 - Fix --with-system-libevent build against libevent 2.1. r=billm 2016-11-20 17:51:17 +09:00
Sylvestre Ledru
7ccbd595c5 Bug 1318004 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11. r=Ehsan
MozReview-Commit-ID: lk5eJXUno9
2016-11-16 17:12:13 +01:00
Sylvestre Ledru
b48ac2ed6f Bug 1318004 - Use C++11's override and remove virtual where applicable. r=Ehsan
MozReview-Commit-ID: H9tAe0YN1tx
2016-11-16 17:08:26 +01:00
Sylvestre Ledru
9851572dbc Bug 1318004 - Replace string literals containing escaped characters with raw string literals. r=Ehsan
MozReview-Commit-ID: KOk13e23Py
2016-11-16 17:07:03 +01:00
Sylvestre Ledru
eaf1a1bb8c Bug 1318004 - Replace default bodies of special member functions with = default; r=Ehsan
MozReview-Commit-ID: 33AOhtFrXS8
2016-11-16 18:26:14 +01:00
Andrew Halberstadt
fd725caf73 Bug 1317970 - Filter python unittests through manifestparser.active_tests, r=chmanchester
The build system's TestResolver does a pretty good job of getting the right manifestparser
based tests to run, but it isn't perfect. Notably, it ignores the 'disabled' key. We filter
the tests through manifestparser here to make sure the build system didn't miss anything.
For context, this is also what the other test harnesses (e.g mochitest) do as well.

MozReview-Commit-ID: FaHb4nvuoK9
2016-11-17 16:30:27 -05:00
Andrew Halberstadt
7663ee0695 Bug 1317970 - Use manifestparser manifests for python unit tests, r=chmanchester
This deprecates PYTHON_UNIT_TESTS and replaces it with PYTHON_UNITTEST_MANIFESTS.
In the build system, this means python unittests will be treated the same as all
other test suites that use manifestparser. New manifests called 'python.ini' have
been created for all test directories containing python unittests.

MozReview-Commit-ID: IBHG7Thif2D
2016-11-16 09:59:22 -05:00
Andrew Halberstadt
e7efd21c97 Bug 1317970 - Make mozbase tests use mozunit for consistent formatting, r=chmanchester
The mozbase unittests don't use mozunit, so their output is confusing in the log.
This makes mozbase output consistent with the rest of the python unittests.

MozReview-Commit-ID: AIs5mza8Rn6
2016-11-17 16:36:18 -05:00
Andrew Halberstadt
507b4dcf8d Bug 1317970 - Move mozsystemmonitor tests to a consistent directory structure, r=chmanchester
The mozsystemmonitor test is under mozsystemmonitor/mozsystemmonitor/test instead of
mozsystemmonitor/tests like all the other mozbase modules.

MozReview-Commit-ID: AIs5mza8Rn6
2016-11-17 16:36:13 -05:00
Hiroyuki Ikezoe
f91503fddc Bug 1316050 - Wait for a single finish event itself instead of waiting two requestAnimationFrame and checking the event. r=birtles
Also we don't need to check the event time, it's out of scope of this test case.

MozReview-Commit-ID: JkbiiVPunGH
2016-11-21 13:33:43 +09:00
Karl Tomlinson
7aa33ad001 bug 1315527 check root node of frame for border color if no border on the "border" subnode r=stransky+263117
Some themes do not draw the "border" subnode, but instead draw a border on the
frame root node.

MozReview-Commit-ID: Fx67mQhhYmz
2016-11-21 18:07:48 +13:00
Andreas Tolfsen
893ca682db Bug 1317344 - Remove unused Marionette configs from mozharness; r=whimboo
This removes gaia_desktop, gaia_emulator, marionette_emulator,
webapi_desktop, and webapi_emulator test suite definitions.

MozReview-Commit-ID: Lf8slbzKNLz
2016-11-14 16:16:44 +00:00
James Cheng
36b8387a04 Bug 1319016 - Part2 - Make IsVariant class use IntegralConstant as true false type. r=froydnj
MozReview-Commit-ID: G4ohbnUy049
2016-11-21 14:28:49 +08:00
James Cheng
1b4b1e0a0d Bug 1319016 - Part1 - Make IntegralConstant::value use constexpr. r=froydnj
MozReview-Commit-ID: DtrDeMC1f5T
2016-11-21 14:27:58 +08:00
Wes Kocher
13642ca8af Backed out 4 changesets (bug 1318004) for xpcshell failures a=backout
Backed out changeset 6995bd33872b (bug 1318004)
Backed out changeset 9be5c856bc78 (bug 1318004)
Backed out changeset 365b0b7f289a (bug 1318004)
Backed out changeset 2f2ebf176eac (bug 1318004)
2016-11-21 12:23:17 -08:00
Ethan Glasser-Camp
eacca6a7d0 Bug 1318669 - Remove stripPrivateProps from blocklist-clients.js, r=mgoodwin
MozReview-Commit-ID: 84yvzpBr3Q6
2016-11-18 10:07:39 -05:00
Andrew Halberstadt
780ef3ecab Bug 1318488 - [mozlint] Use sys.stdout.encoding when printing formatter's output, r=smacleod
This fixes a UnicodeDecodeError when sys.stdout's encoding can't handle unicode.

MozReview-Commit-ID: 3INna8MRje5
2016-11-17 17:36:34 -05:00
Nick Alexander
cc437a6158 Bug 1255914 - Part 2: mostly back out multiDex (changeset 6972bef6693c). r=sebastian
Since we're Proguarding the automation build now, we shouldn't need to
multiDex anymore -- even in beta.

MozReview-Commit-ID: 6Yc73Vi9Fhd
2016-11-13 14:43:00 -08:00
Nick Alexander
03a18f0c86 Bug 1255914 - Part 1: Proguard (minify) Gradle builds in automation. r=sebastian
moz.build achieves better results than Gradle, and I can't fully
explain why that is.  At first I thought it was due to
-optimizationpasses, which is 6 for MOZILLA_OFFICIAL; however, it's
not -- I see no change (let alone an improvement), when I set the
number of passes to 1, 6, 10, or 100.  I think there are two things at
play.  First, moz.build strips debugging information from "libraries",
which are broadly the Google support libraries.  I don't think it's
possible to strip debug information in this fine-grained manner using
Gradle.  Second, I think the Gradle build might be including more code
than the moz.build configuration (see the follow-up patch removing
multidex support), but I can't determine what's actually different.

After APK compression, I see less than a 50kb regression in APK size
between Gradle and moz.build outputs, which I deem reasonable.

MozReview-Commit-ID: 4q4Zye2wnOF
2016-11-21 11:58:57 -08:00
Nick Alexander
5c04b75374 Bug 1318823 - Use com.getkeepsafe.dexcount in Gradle builds. r=sebastian
MozReview-Commit-ID: DHkWkztgJZB
2016-11-18 18:28:58 -08:00
Wander Lairson Costa
5efd067718 Bug 1316077 part 3: Add in-tree config support to taskcluster_helper. r=jlund
If there is a property called 'installer_path', the job is from in-tree
config.

MozReview-Commit-ID: E5SIHyxp0dM
2016-11-18 16:52:16 -02:00
Wander Lairson Costa
e3784a7304 Bug 1316077 part 2: remove taskcluster scheduler from mozharness. r=jlund
taskcluster-scheduler is deprecated. mozharness uses it to get the task
graph in order to discover the parent of a task.

We now use queue to get the task definition, which contains the
'requires' field.

MozReview-Commit-ID: 8IivfxLvxVA
2016-11-18 16:52:16 -02:00
Wander Lairson Costa
14dde0a8a2 Bug 1316077 part 1: Support buildbot-bridge for talos tests. r=dustin
While we don't have physical machines running taskcluster-worker, we
want to schedule talos tests on Taskcluster and run them on buildbot.

buildbot-bridge acts as a worker that runs its tasks in buildbot
machines. Any talos task is redirected to buildbot-bridge.

MozReview-Commit-ID: Im9IhhT0Mr1
2016-11-18 16:52:15 -02:00
Luca Greco
38946946e6 Bug 1316875 - Fix page-worker SDK test addon intermittency and re-enable it. r=mossop
MozReview-Commit-ID: 94ImlSy0dU8
2016-11-11 04:09:29 +01:00
Ricky Chien
4d9340c716 Bug 1317205 - CSS improvement for summary button r=Honza
MozReview-Commit-ID: JRJWybwvQIx
2016-11-18 18:06:29 +08:00
Ethan Glasser-Camp
76f4506754 Bug 1317841 - Stylistic pass on new kinto-storage-adapter, r=MattN
- Reflow things to try to avoid long lines.

- Add terminal comma where possible.

MozReview-Commit-ID: 1USxo0lO33w
2016-11-16 11:13:32 -05:00
Ethan Glasser-Camp
789a803a51 Bug 1317841 - Update version of kinto.js to v6.0.0, r=MattN
This major version of kinto.js released without a FirefoxStorage
adapter. Since Gecko is the only project with a need for this adapter
as well as the only one who can use it, that file moves to this repo
as a new kinto-storage-adapter.js. This file is mostly a copy of the
most recent FirefoxStorage.js, plus some other non-exported utility
functions copied from kinto.js to make it work.

This changes the export of the kinto-offline-client.js from a
`loadKinto` function which returns the Kinto class, to the actual
Kinto class itself, with the user expected to "hook up" the
adapter. It turns out that this doesn't change much in how we actually
use Kinto, since we were always previously explicitly selecting the
Kinto adapter.

This release of kinto.js also changes some of the build options
around, which changes the minified output of kinto-offline-client.js.

There are still some outstanding stylistic complaints about
FirefoxAdapter having to do with its _init static method which is
public and the fact that sometimes FirefoxAdapter manages its own
Sqlite connection and sometimes it doesn't. These will be addressed in
a future patch.

MozReview-Commit-ID: HF0oNCEDcFs
2016-11-15 19:38:53 -05:00
Kaku Kuo
940c17ccf5 Bug 1312148 - report memory allocation while creating ImageBitmap; r=mtseng,smaug
Creating ImageBitmap from the following sources includes allocating new memory:
(1) from ImageData.
(2) from Blob.
(3) from HTMLCanvasElement.
(4) from CanvasRenderingContext2D.
(5) from Structured-clone.
(6) from Transferring.
(7) from OffscreenCanvas.
(8) from ArrayBuffer/TypedArray.

We need to report to DOM so that the GC would be triggered appropriately.

MozReview-Commit-ID: 7rvNsjVNqpz
2016-10-28 18:18:48 +08:00
Masatoshi Kimura
b582797a18 Bug 1318857 - Unhide nsTSubstring_CharT::StripChars in nsTString_CharT. r=froydnj
MozReview-Commit-ID: CyQhH2y9lbm
2016-11-20 00:53:37 +09:00
Shane Caraveo
c3343d8a1e Bug 1318154 test remote iframe in background page, r=aswan
MozReview-Commit-ID: 6FgNvi9jwTu
2016-11-21 10:46:39 -08:00
Justin Wood
b0eb3504ad Bug 1319141 - Make MOZ_RUST_URLPARSE dependant on 'NIGHTLY_BUILD' rather than UPDATE_CHANNEL. r=ted
MozReview-Commit-ID: J2Gm9xP0zCI
2016-11-21 13:20:39 -05:00
Milan Sreckovic
c354fbb3eb Bug 1318007: When the surface is already allocated, just check for non-positive dimensions. r=aosmond
MozReview-Commit-ID: C0Fkq1SVO3s
2016-11-21 12:48:40 -05:00
Sylvestre Ledru
ea83e5e8bd Bug 1318004 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11. r=Ehsan
MozReview-Commit-ID: lk5eJXUno9
2016-11-16 17:12:13 +01:00
Sylvestre Ledru
9fbcdd2d4f Bug 1318004 - Use C++11's override and remove virtual where applicable. r=Ehsan
MozReview-Commit-ID: H9tAe0YN1tx
2016-11-16 17:08:26 +01:00
Sylvestre Ledru
057d135c4c Bug 1318004 - Replace string literals containing escaped characters with raw string literals. r=Ehsan
MozReview-Commit-ID: KOk13e23Py
2016-11-16 17:07:03 +01:00
Sylvestre Ledru
c30faf12df Bug 1318004 - Replace default bodies of special member functions with = default; r=Ehsan
MozReview-Commit-ID: 33AOhtFrXS8
2016-11-16 18:26:14 +01:00
Nils Ohlmeier [:drno]
42c66c2252 Bug 1318803: provide reason for IPC_FAIL in case of STUN filtering. r=jdm
MozReview-Commit-ID: JTClCwfLB0f
2016-11-18 16:25:34 -08:00
Drew Willcoxon
e6a0d9610c Bug 1318790 - Don't use mouseenter and mouseleave in searchbar binding. r=florian
MozReview-Commit-ID: 5SKzyEC0fVi
2016-11-21 09:50:37 -08:00
Nicolas Chevobbe
3f9b359e8f Bug 1312178 - Make Reps modes constants; r=Honza
Edit tests and component creation accordingly.

MozReview-Commit-ID: Gsj6QwNTjL0
2016-11-20 19:53:16 +01:00
Jonathan Kingston
19aab6fb7a Bug 1317317 - Await for popup menu to exist for container long press button r=Gijs
MozReview-Commit-ID: 2QW0meqYbEt
2016-11-14 19:52:00 +00:00
Mike Conley
00f55fd519 Bug 418833 - Bump fuzzyness on ua-style-sheet-checkbox-radio-1 reftest for Android. r=jrmuizel
I talked to mstange about this, and what might be happening here is that there's
a difference in rounding going on during (I think) rasterization. The change is
very small and not human-noticable, so I think taking this fuzzyness is worth
the cost considering the gain in functionality.

MozReview-Commit-ID: C0CPNrIdCDu
2016-11-18 11:55:53 -05:00
Mike Conley
e68f1fb1d1 Bug 418833 - Get rid of some padding rules for checkbox and radio on Fennec that were never being applied. r=snorp
MozReview-Commit-ID: LDrUKaP0nN0
2016-11-18 13:28:49 -05:00
Mike Conley
13b21c15c6 Bug 418833 - Make browser_toolbox_computed_view.js have a longer timout to avoid a permaorange on debug builds. r=gl
MozReview-Commit-ID: D1y1kR4Qkm0
2016-11-10 19:29:33 -05:00
Mike Conley
daeb44bc16 Bug 418833 - Make browser_toolbox_options.js more resilient to things being added to the document loading queue. r=jryans
Earlier patches in this series add SVG icons for unstyled checkboxes and radio buttons.
This causes us to queue extra loads to documents that have those elements, even when
we're natively styling those input elements by default.

browser_toolbox_options works by loading up the DevTools options iframe, and then
clicking on things to make sure that the right prefs are set. There are checkboxes
in the iframe document, which means the extra loads I referred to happen. When
our presentation subsystems notice that there are extra loads occurring, we do
"paint suppression" to avoid flashes of unstyled content. During paint suppression,
nothing is displayed (painting is suppressed), and so nothing is clickable.

browser_toolbox_options was not waiting for the "load" event before clicking on
items. It got lucky up until the SVGs were added, but this was a race waiting
to happen. I've added a wait for the "load" event, and this test now passes.

MozReview-Commit-ID: EjzvhxhKlDs
2016-11-09 18:08:59 -05:00
Mike Conley
098bc8f404 Bug 418833 - Make non-native checkbox and radio input styles look right in Fennec. r=snorp
<input>'s of type checkbox and radio are rendered as native widgets by default
on Desktop, but on Fennec, we fallback to using the built-in, non-native
checkboxes.

The earlier patches in this series made it possible for agent, user and page
stylesheets to make changes to the non-native checkbox and radio input fields.

Unfortunately, some of the default agent styles for those checkbox and radio
elements on Fennec were accidentally setting rules that they shouldn't. That
wasn't a problem before because the inputs couldn't be styled before. Now that
they can, we're failing a bunch of reftests because the inputs look wrong in
certain situations.

For example:

1) We were setting background: var(--form_background) for every radio and
   checkbox input. --form_background is just a colour though, and that meant
   that the rest of the background styles were being overwritten. This has
   been fixed by setting background-color: var(--form_background) instead.
   The same also applied to some usage of --form_background_disabled.

2) We were setting border-radius: var(--form_border_radius) on all input
   elements, but this was putting rounded corners on the checkbox and
   radio inputs as well. This rule has been modified to skip checkbox
   and radio inputs.

MozReview-Commit-ID: CnpTRXcCxoY
2016-11-10 20:46:46 -05:00
Mike Conley
013b644e3e Bug 418833 - Remove !important padding and border-radius rules for checkbox and radio form controls. r=tnikkel
MozReview-Commit-ID: 86X3PHxmKFg
2016-10-21 14:07:43 -04:00
Wes Johnston
0a827888cd Bug 418833 - Move default checkbox/radio drawing to images. Allow overriding checkbox/radio styling. r=tnikkel
MozReview-Commit-ID: HqyXXuYzjrE
2016-11-03 16:54:49 -04:00