Commit Graph

592168 Commits

Author SHA1 Message Date
Nicolas Chevobbe
2a7ab5bc4d Bug 1452566 - Release: devtools-reps 0.23.0 bundle; r=nchevobbe.
Change disabledFocus to focusable as it changed in the ObjectInspector.

MozReview-Commit-ID: CDHotb0d4sL

--HG--
extra : rebase_source : 3390cf6aa1d79ef24f98b74cdece50cae36b937b
2018-04-17 15:16:44 +02:00
Masayuki Nakano
9000054fed Bug 1454945 - Get rid of nsIEditor.suppressDispatchingInputEvent since nobody uses it from JS r=m_kato
So, this patch replaces the setter with non-virtual method and removing the
getter since where is already non-virtual getter method.

MozReview-Commit-ID: Is19Yriz8t8

--HG--
extra : rebase_source : bb2f49f380ddb2e2f96e8690effd8d47d24ae0ae
2018-04-18 22:57:41 +09:00
Emilio Cobos Álvarez
de4f346535 Bug 1454747: Assert more tightly about StyleNewChildRange. r=bz
After bug 1303605 we can assert this, since we make sure all children have the
same flattened tree parent, and thus insertion point.

MozReview-Commit-ID: 7AHuGGw2uJI

--HG--
extra : rebase_source : dc6133e36f9810082fb3eaeb479d82ab564b5b81
2018-04-17 21:17:44 +02:00
Emilio Cobos Álvarez
3e3d930acb Bug 1455108: Don't reparent first-line stuff in display: none subtrees. r=heycam
We may no longer know what the right parent style is, and it's not like it
matters anyway, the frame tree under us is dead, including placeholders and such
holding from us.

MozReview-Commit-ID: 1RHTwvKy0zQ

--HG--
extra : rebase_source : 26e9d393d8edc0f068736cfa1cf1cf630e8d55fa
2018-04-19 18:18:35 +02:00
Jan Horak
14578d6f2d Bug 1455235 [gtk] Don't start moving window before mousemove event, r=dao
We need to start moving the window in GTK after mousemove event arrives,
not with mousedown, because the drag area can also process doubleclick
event to restore/maximize window. This also match to the GTK implementation,
see gedit behaviour for example.

MozReview-Commit-ID: WXP3D2wIp0

--HG--
extra : rebase_source : c39ac7884767366aa1964571fa5da9575e4f781c
2018-04-19 12:39:57 +02:00
Jed Davis
c5a7acdf32 Bug 1439057 - Tighten /dev/shm access in Linux content sandbox policy. r=froydnj,gcp
This patch uses the shared memory name prefixes introduced in bug 1447867
to prevent access to /dev/shm files of other applications or other
processes within the same browser instance.

When a shared memory implementation that doesn't use shm_open is available
(specifically, the memfd_create support to be added in bug 1440203),
/dev/shm access is completely denied.

MozReview-Commit-ID: L2ylG5KrXTU

--HG--
extra : rebase_source : ca1deece6117e843d691a13fff05bd0f97ec0408
2018-04-12 23:48:16 -06:00
Jed Davis
6f2db7351f Bug 1447867 - Replace base::SharedMemory POSIX backend with shm_open and ashmem. r=froydnj
This replaces using file_util to open and unlink temporary files
(/dev/shm on Linux, $TMPDIR or /tmp otherwise) with the POSIX shm_open
API, or ashmem on Android (which doesn't implement shm_open).

glibc maps shm_open/shm_unlink to open and unlink in /dev/shm (as does
musl libc), so the Linux situation is mostly unchanged except we aren't
duplicating code from system libraries.  Other OSes may (and some do)
use more efficient implementations than temporary files.

FreeBSD's SHM_ANON extension is used if available.  Sadly, it's not
standard; it would make this patch much simpler if it were.

This patch changes the shm file names; they now start with "org.mozilla"
instead of "org.chromium" because the original Chromium code is mostly
gone at this point.  When running as a Snap package, the required
filename prefix is added; other container/sandbox environments using
AppArmor to restrict the allowed filenames may need to be adjusted.

The shm names now include the creating process's pid, to allow
using sandboxing to prevent interfering with shm belonging to other
applications or other processes within the same browser instance.

MozReview-Commit-ID: 7PirIlcblh4

--HG--
extra : rebase_source : 550a0ab013429c29a57bde5c0e4593d9b426da8e
2018-04-12 21:37:38 -06:00
Gregory Szorc
7efba3beae Bug 1451065 - Require Python 3.5+ to build; r=mshal
But only if we are:

a) not running in CI
b) running in CI on Linux

We will ideally make the requirement global. But Python 3.5 is not
yet available in CI on macOS. And we're not finding the MozillaBuild
copy in configure.

This was previously announced in November at
https://groups.google.com/d/msg/mozilla.dev.platform/rJrPh1QYXrQ/hqRrQsJ_BgAJ.

MozReview-Commit-ID: IyPCAcL3gop

--HG--
extra : rebase_source : f9e3db043a1ce9c1a903c943663f22245febf101
2018-04-03 11:00:00 -07:00
Gregory Szorc
15ac1ad656 Bug 1451065 - Attempt to install Python 3 on Debian distros; r=mshal
Not all distros will have a "python3" package. But the modern ones
should.

Because many people install Python via other means, we only install
the system packages if a Python 3 executable can't be found.

MozReview-Commit-ID: 2ni7Ha92cRD

--HG--
extra : rebase_source : 681085855f785b4857ac1b569c2b0dc4ffb68cad
2018-04-03 10:57:07 -07:00
Gregory Szorc
8b3a5e4dd1 Bug 1451065 - Install Python 3 on Arch; r=mshal
MozReview-Commit-ID: Gg7gn72Xev9

--HG--
extra : rebase_source : c61fca33e29721b6a6f7c1281186f6935da193b7
2018-04-03 10:46:47 -07:00
Cosmin Sabou
a024f6e7c8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-20 06:50:57 +03:00
Cosmin Sabou
b9a82af44a Backed out 2 changesets (bug 1387399) for OSX reftests permafailures on attachment-local-positioning-2.html. a=backout
Backed out changeset b78a225fa8c9 (bug 1387399)
Backed out changeset 4beeacb75bf5 (bug 1387399)
2018-04-20 06:47:41 +03:00
Cosmin Sabou
dcacfcfc71 Backed out 2 changesets (bug 1454598) as requested by Mossop in developers channel. a=backout
Backed out changeset b673e87d6134 (bug 1454598)
Backed out changeset 072dc1504ce6 (bug 1454598)
2018-04-20 06:45:39 +03:00
Bobby Holley
bd13c12e06 Bug 1455115 - Enable parallel parsing. r=me
MozReview-Commit-ID: CFYYVLjJRKP
2018-04-19 18:10:18 -07:00
Bobby Holley
d4c76e366b Bug 1240225 - Make test not racey. r=emilio
Depending on the chunking and timing of the HTML parser, we may end up
firing onload on the image before the script tag is evaluated, leading
to an undefined onLoad (which is the intermittent failure in the test).

MozReview-Commit-ID: 78OAZan1xbC
2018-04-19 18:10:14 -07:00
Cosmin Sabou
10f4083749 Backed out changeset 9dece6b7a594 (bug 1445798) for permafailing on Android lint. a=backout 2018-04-20 01:50:10 +03:00
Cosmin Sabou
4595d43d3a Merge inbound to mozilla-central. a=merge
--HG--
rename : browser/modules/offlineAppCache.jsm => toolkit/modules/offlineAppCache.jsm
2018-04-20 01:29:10 +03:00
Cosmin Sabou
22be639c43 Merge autoland to mozilla-central. a=merge 2018-04-20 01:27:45 +03:00
Cosmin Sabou
83053e4d44 Backed out changeset c1af8cec18e0 (bug 1455115) for turning mochitest test_bug1166138.html (bug 1240225) into almost permafailure on Android. CLOSED TREE 2018-04-19 23:21:25 +03:00
Brindusan Cristian
e15ae260fc Backed out changeset e8df07cc7125 (bug 1431753) as requested. 2018-04-19 22:41:27 +03:00
Marco Castelluccio
b119a517b0 Bug 1431753 - Make AndroidEmulatorTest extend CodeCoverageMixin. r=me CLOSED TREE
--HG--
extra : rebase_source : 48cefc7887943392fb30ce307fea6a5496c3c74e
2018-04-19 21:35:40 +02:00
Brindusan Cristian
de7724a73a Backed out 3 changesets (bug 1431753) for android mochitest failures on mozharness/base/script.py CLOSED TREE
Backed out changeset bc062fa71ca7 (bug 1431753)
Backed out changeset df038cacff14 (bug 1431753)
Backed out changeset 381cc9c492f3 (bug 1431753)

--HG--
rename : testing/mozharness/mozharness/mozilla/testing/per_test_base.py => testing/mozharness/mozharness/mozilla/testing/verify_tools.py
2018-04-19 22:31:24 +03:00
Brindusan Cristian
b29d60aaaa Backed out changeset 99ec19154f8a (bug 1454081) for browser chrome failures on browser_test_resolution.js. CLOSED TREE 2018-04-19 22:06:08 +03:00
Marco Castelluccio
3b40dbed3e Bug 1431753 - Don't check per_test_coverage on Android, where we don't have a coverage build. r=me CLOSED TREE
--HG--
extra : rebase_source : ddf6f6a0e1a5449cf146282b8c38296e15187b57
2018-04-19 20:49:28 +02:00
Christoph Kerschbaumer
ec4a331131 Bug 1454914: Test web extensions are exempt from samesite cookie policy.r=jkt 2018-04-19 20:00:52 +02:00
Christoph Kerschbaumer
cf3858588b Bug 1454914: Exempt web-extensions from same-site cookie policy. r=valentin,kmag 2018-04-19 20:00:37 +02:00
Kartikaya Gupta
cdf40babd0 Bug 1454794 - Fuzz an intermittent failure introduced by WR PR 2651. r=me 2018-04-19 14:31:59 -04:00
Marco Castelluccio
ac95649c98 Bug 1431753 - Add a test-coverage test suite, similar to test-verify, that runs tests in isolation in coverage mode. r=gbrown,jmaher
--HG--
extra : rebase_source : 8e151ddc81d528f85e2a4acbd7623935d4246b4f
2018-04-19 19:19:31 +02:00
L10n Bumper Bot
11a2ae294f no bug - Bumping Firefox l10n changesets DONTBUILD r=release a=l10n-bump
crh -> default
2018-04-19 09:43:32 -07:00
Noemi Erli
875e5ed0a1 Merge inbound to mozilla-central. a=merge 2018-04-19 12:53:30 +03:00
Steve Fink
c0c6ab8dfc Bug 1455071 tier 2 bustage followup - s/WriteBytes/AppendBytes/ 2018-04-19 00:37:58 -07:00
Noemi Erli
6b88e0ee99 Backed out 4 changesets (bug 1415342) for bc failures in browser/components/preferences/in-content/tests/siteData/browser_clearSiteData.js on a CLOSED TREE
Backed out changeset 36ff321fc1b8 (bug 1415342)
Backed out changeset d7e30b8499cd (bug 1415342)
Backed out changeset 4913f1571ece (bug 1415342)
Backed out changeset 25d665693e38 (bug 1415342)

--HG--
rename : toolkit/modules/offlineAppCache.jsm => browser/modules/offlineAppCache.jsm
2018-04-19 10:37:30 +03:00
James Teh
a0c54786f9 Bug 1454572: nsComputedDOMStyle: Don't crash when used on a detached pseudo-element. r=emilio,xidorn:emilio
This shouldn't normally happen, but it does in some rare cases; e.g. if an accessibility client queries info for a node that is being removed.

MozReview-Commit-ID: 3nac9ITN66f

--HG--
extra : rebase_source : 238ffc5b14589c91f30f9f0c7d3c23a82914aad3
2018-04-19 15:53:25 +10:00
Gregory Szorc
c90d9acc4d Bug 1455143 - Generate test archives into final path; r=ted
We currently generate these to dist/ and then use upload.py to copy
them into UPLOAD_PATH. This is wasteful. Let's generate the test
archives into UPLOAD_PATH directly, if the variable is defined.

MozReview-Commit-ID: BHoxZYdxzq4

--HG--
extra : rebase_source : f6d80adb4e1eb7333f0cd3f847fd92cbb75c33bc
2018-04-19 14:21:28 -07:00
Gregory Szorc
1747b7b02f Bug 1455143 - Don't remove common test archive; r=ted
This target is a prereq for all test archives. Why we only remove a
single test archive, I don't know. We always build this test archive.
So it should always get overwritten and we don't need to remove an
existing file.

MozReview-Commit-ID: 1qd1T3w6kVT

--HG--
extra : rebase_source : ab27910a45961da636a4077952a2d67819ad701b
2018-04-18 17:34:25 -07:00
Gregory Szorc
5423976a8b Bug 1455143 - Refactor checksumming to occur after upload.py; r=ted
checksums.py is now run after upload.py, as part of the "upload" make
target.

As part of the refactor, checksums.py now takes as arguments a list of
directories containing files to checksum. It will recursively checksum
all files in listed directories.

This means we no longer have to pass an explicit list of files into
checksums.py. Instead, we can pass the artifact directory and
automatically checksum everything within. This will allow us to
generate files directly into the artifact directory instead of
having to run upload.py to copy files there.

MozReview-Commit-ID: 6ntnXU2Pp0E

--HG--
extra : rebase_source : 7e019b366f14b3692ec702ff331a1e0306dc3805
2018-04-18 16:24:03 -07:00
Gregory Szorc
137e7d1403 Bug 1455143 - Use .write() instead of print >>; r=ted
.write() is the preferred mechanism to write to a file object.

MozReview-Commit-ID: 1uhNeFayoxV

--HG--
extra : rebase_source : 5244e5548cefb8ebf98cb2415ab139e96e967433
2018-04-18 15:39:26 -07:00
Gregory Szorc
8faaa397e7 Bug 1455143 - Use a reasonable buffer size for reading files; r=ted
Reading in 1kb chunks in 2018 is insane.

MozReview-Commit-ID: 7wJv6fTAOh7

--HG--
extra : rebase_source : 9553fdd1b50c6da21fb2e15f63b0accc62bb01e8
2018-04-18 15:38:04 -07:00
Gregory Szorc
ed4699f57b Bug 1455143 - Remove code for failing to obtain a hash; r=ted
digest_file() should always return something.

MozReview-Commit-ID: 6PpSUnxhCcL

--HG--
extra : rebase_source : 932a7e296a6bf32b03dc8b1ac5360d3287e44d38
2018-04-18 15:36:55 -07:00
Gregory Szorc
29eac5d14d Bug 1455143 - Handle directory inputs earlier; r=ted
This makes the logic in process_files() simpler.

MozReview-Commit-ID: KdphRJZLinx

--HG--
extra : rebase_source : 14a89fc9ba85d1dd4c2d2d18d0383552bb2d8e69
2018-04-18 15:35:57 -07:00
Gregory Szorc
10322471bc Bug 1455143 - Use a global logger instance; r=ted
MozReview-Commit-ID: 1RyLZBMx6mH

--HG--
extra : rebase_source : d83c756488c698680965badc953c9b3e3efb5403
2018-04-18 15:33:31 -07:00
Gregory Szorc
fcd36e363c Bug 1455143 - Remove hash name validation; r=ted
Garbage in garbage out. Let's make this code simpler.

MozReview-Commit-ID: Gv0ZcMacyOX

--HG--
extra : rebase_source : 2e8131bc1926b6ad7f186d0778fe4b339c6ba834
2018-04-18 15:31:59 -07:00
Gregory Szorc
4f096bd777 Bug 1455143 - Make hashlib required; r=ted
A missing or unimportable hashlib is only possible on very old or very
busted Pythons. Remove code for conditionally handling a failure to
import it.

MozReview-Commit-ID: EXVlmttcwUa

--HG--
extra : rebase_source : 30177c86dc5e92dd3234177f383681f9aa70682e
2018-04-18 15:31:11 -07:00
Daisuke Akatsuka
6aafb71029 Bug 1226272 - Part 5: Add test for reordering the tabs in toolbox. r=jdescottes
MozReview-Commit-ID: 563QluM2sGw

--HG--
extra : rebase_source : 897214e6882be7f0c5ce92c54eb4c15571648189
2018-04-19 18:49:02 +09:00
Daisuke Akatsuka
a1056f191a Bug 1226272 - Part 4: Change the style which is for while dragging. r=jdescottes
MozReview-Commit-ID: 1JQ0bix8eZ

--HG--
extra : rebase_source : 24d2f411dd47382dac6897f1969d7632a496e13a
2018-04-19 18:48:58 +09:00
Daisuke Akatsuka
00f1e63edd Bug 1226272 - Part 3: Handle overflowed tabs. r=jdescottes
MozReview-Commit-ID: 77V2VIbIp0l

--HG--
extra : rebase_source : 22583399166915bd4eeb7fa22297a008824c5f1f
2018-04-19 18:48:53 +09:00
Daisuke Akatsuka
099d3af18c Bug 1226272 - Part 2: Implement saving and loading the tabs order preference. r=jdescottes
MozReview-Commit-ID: JoVcnPwvVW7

--HG--
extra : rebase_source : 4d8026100088525815cb1fdc64e4843f8405aafc
2018-04-19 18:46:55 +09:00
Daisuke Akatsuka
740415b61d Bug 1226272 - Part 1: Make devtools tab draggable and reorderable. r=jdescottes
MozReview-Commit-ID: 3EdbVvG69H8

--HG--
extra : rebase_source : 544d099fa8634cc82da8541d9ffe3544c8cc9569
2018-04-19 18:41:56 +09:00
Mike Hommey
fd130aa298 Bug 1455065 - Shell quote environment variable values when dumping them in dump_env.py. r=mshal
The mozconfig output parsing code already handles shell quoted strings
to some extent (except for bug 818377), because that's what `set`
outputs. By quoting environment variable values, we avoid a bunch of
problems with "weird" values.

--HG--
extra : rebase_source : 7a45b99c3fee807da395fc42352296b000b7535f
2018-04-19 07:26:28 +09:00
mbkupfer
b352ec670b Bug 1455087 - Support deleting autofill records with the delete key. r=MattN
MozReview-Commit-ID: FiqauWe5oDh

--HG--
extra : rebase_source : bb09a2885d0fc3c3fbb467a9f5c33964cde5fe2c
2018-04-19 13:06:59 -07:00