Commit Graph

598251 Commits

Author SHA1 Message Date
Noemi Erli
54db5253b6 Merge inbound to mozilla-central. a=merge 2018-06-01 00:51:37 +03:00
Andrea Marchesini
1bfb8a0e93 Bug 1464090 - Assertion in InputStreamLengthHelper::GetAsyncLength to avoid dealing with nsIAsyncInputStream, r=mayhemer 2018-05-31 18:12:26 +02:00
Andrea Marchesini
f6ec0a57a4 Bug 1464090 - InputStreamLengthHelper must swap the callback in order to release them on the owning thread, r=mayhemer 2018-05-31 18:12:25 +02:00
Andrea Marchesini
c2a7f75146 Bug 1464090 - Passing the length if known via IPCStream and use InputStreamLengthWrapper when deserialized, r=froydnj, r=mayhemer 2018-05-31 18:12:25 +02:00
Andrea Marchesini
4a5b123402 Bug 1464090 - Implement InputStreamLengthWrapper to make any stream nsIInputStreamLength and nsIAsyncInputStreamLength, r=froydnj 2018-05-31 18:12:25 +02:00
Yura Zenevich
612dd9593d Bug 1441187 - throttle children() operation on a11y walker. r=pbro
MozReview-Commit-ID: 9G0t68EZZRo
2018-05-31 10:42:49 -04:00
Julian Seward
9e5839e92f Bug 1296819 - Intermittent valgrind-test | Invalid write of size 4 at mozilla:: / _pt_root / start_thread / clone. r=amarchesini@mozilla.com.
If we're running on Valgrind, we'll be making forward progress at a rate of
somewhere between 1/25th and 1/50th of normal.  This can cause shutdown
timeouts frequently enough to be a problem for the Valgrind runs on
automation.  As an attempt to avoid the worst of this, this patch scales up
the presented timeout by a factor of three.  For a non-Valgrind-enabled
build, or for an enabled build which isn't running on Valgrind, the timeout
is unchanged.

--HG--
extra : rebase_source : 7c2c51f65137805a34ededc241eb04708fae15a6
2018-05-31 14:15:39 +02:00
Marco Castelluccio
f54667ea0d Bug 1465740 - Make grcov run on Mac coverage builds. r=jmaher
--HG--
extra : rebase_source : 5ee4a2581fc66256cc0f9a1e2656bf9662641476
2018-05-31 16:35:13 +02:00
Ed Lee
45c3139928 Bug 1447879 - Cannot customize about:preferences#home content when sync or preference searching is disabled. r=k88hudson
Have the home preferences page notify when it loads instead of relying on findInPage to trigger sync pane to init.

MozReview-Commit-ID: EJlJDfYBHFO

--HG--
extra : rebase_source : ae5104ec18aefca9241be1b61072b786fa9e6815
2018-05-30 17:32:44 -07:00
Ryan Hunt
c9fcf05c4a Bug 1465590 - Clean up code for copying between an old tile buffer and a new one. r=nical
Another cleanup patch.

MozReview-Commit-ID: Ak0TTcbFePt

--HG--
extra : rebase_source : 511ea28e5e95bbc949414303a7885985f0fec910
extra : histedit_source : d38c6073f1775e901af3ddee0858bbd291b99cf2
2018-05-29 16:21:32 -05:00
Ryan Hunt
d9dda42436 Bug 1465590 - Kill the nesting in ValidateBackBufferFromFront. r=nical
Just a cleanup patch, this function would be cleaner without the
nesting.

MozReview-Commit-ID: DD48E2HSQOL

--HG--
extra : rebase_source : 79cf6b3eee00149fa5993c10bd69649633307fee
extra : histedit_source : 1fde6b0291acddcf73569b2e43757030c38d9e69
2018-05-29 15:01:54 -05:00
Ryan Hunt
bd906e49c6 Bug 1465590 - Don't clear a tile if we are painting opaque content. r=nical
MozReview-Commit-ID: IKayyoo19eG

--HG--
extra : rebase_source : 20d765fd3d72bf7c741f6a4ccf20fe5cf7defbb4
extra : histedit_source : 00a95df5678dbf106fb704b47cb54ccc746a53f7
2018-05-29 14:50:36 -05:00
Marco Castelluccio
75ddbd8927 Bug 1465737 - Make CodeCoverageHandler constructor explicit. r=froydnj 2018-05-30 01:52:55 +02:00
Marco Castelluccio
946adaddaa Bug 1465739 - Don't crash when there are late writes in all coverage builds. r=froydnj
--HG--
extra : rebase_source : 214929e40b4275b7deed6dc1f51280e3b316fba2
2018-05-30 16:47:36 +02:00
Andrea Marchesini
76819af4a3 Bug 1465734 Sync nsContentUtils::GetASCIIOrigin and nsContentUtils::GetUTFOrigin implementations for blobURLs, r=smaug 2018-05-31 15:19:43 +02:00
Marco Castelluccio
ead9019e65 Bug 1465738 - Use tooltool_fetch instead of manually reimplementing its functionality. r=jmaher
--HG--
extra : rebase_source : 91544bf93b9a0921fe8bcd3f2205a7e65f1679c2
2018-05-31 15:11:52 +02:00
Andreas Farre
4997325757 Bug 1441972 - Add probe for counting docgroups per tabgroup. r=nika, data-review=chutten
Add ACTIVE_DOCGROUPS_PER_TABGROUP and TOTAL_DOCGROUPS_PER_TABGROUP to
collect data on how many docgroups a tabgroup has whenever a top level
content document associated with that tabgroup would hide. This gives
a fairly accurate estimate of the number of docgroups a site
uses. TOTAL_* counts all docgroups while ACTIVE_* only count docgroups
with at least one document not in the bfcache.
2018-05-30 05:48:00 +03:00
Eliza Balazs
ceb0d57195 Bug 1465435 - remove reference for winxp in manifest file. r=jmaher 2018-05-31 06:08:00 +03:00
Nicolas B. Pierron
24df128873 Bug 1464829 - Ensure the recover instruction vector has the expected size. r=jandem
--HG--
extra : amend_source : ea2625d7cbf7aef4bad3257f81093b208954434e
2018-05-31 14:22:14 +02:00
Josh Aas
cedb6a19de Bug 1457941: Add a number of result checks to nsLocalFileWin, avoid use of uninitialized values. r=froydnj 2018-05-30 19:04:00 +03:00
Andreea Pavel
b56e8c3a64 Bug 1465378 - remove reference to old winxp in manifest file r=jmaher 2018-05-31 04:22:00 +03:00
Andreea Pavel
ad9e98c5d8 Bug 1465378 - removed manifest file r=jmaher 2018-05-31 04:15:00 +03:00
Andreea Pavel
9aadcea110 Bug 1465378 - remove reference to old winxp in manifest file r=jmaher 2018-05-31 03:35:00 +03:00
Andreea Pavel
9a2a34f9f9 Bug 1465370 - removed old osx 10.6 references in manifest files r=jmaher 2018-05-31 01:10:00 +03:00
Eliza Balazs
2bffdf7111 Bug 1465377 - remove reference to old win in manifest file. r=jmaher
--HG--
extra : rebase_source : 876f08337ad19acfd1b99f558c7ecd6b830db1e2
2018-05-31 03:48:00 +03:00
Margareta Eliza Balazs
c6ae447c6a Backed out changeset d09813f5a6a5 (bug 1464829) for bustage in /builds/worker/workspace/build/src/js/src/jit/JitFrames.cpp on a CLOSED TREE 2018-05-31 15:22:04 +03:00
Margareta Eliza Balazs
887efa0828 Backed out 5 changesets (bug 1413098) for frequent failure in toolkit/content/tests/browser/browser_autoplay_policy_user_gestures.js on a CLOSED TREE
Backed out changeset 3c186b3bb909 (bug 1413098)
Backed out changeset b12730d42016 (bug 1413098)
Backed out changeset 49ef875bd65e (bug 1413098)
Backed out changeset 747764af7143 (bug 1413098)
Backed out changeset 5031770d70fd (bug 1413098)
2018-05-31 15:21:15 +03:00
Nicolas B. Pierron
301a80ca2a Bug 1464829 - Ensure the recover instruction vector has the expected size. r=jandem
--HG--
extra : rebase_source : 2abd8976d4b6a3c8bc0c982c592891c6340507d2
2018-05-31 14:05:01 +02:00
Eliza Balazs
ac9aabf1fb Bug 1465377 - remove reference to old win in manifest file. r=jmaher 2018-05-31 03:42:00 +03:00
Honza Bambas
38ced61e49 Bug 1463786 - Make mozilla::Tokenizer work also with char16_t, r=froydnj 2018-05-31 03:40:00 +03:00
Jan Keromnes
88a09b356c Bug 1464162 - Make a few vector operations more efficient by reserving size beforehand. r=jya
Summary:
These automated fixes were generated like so:
    ./mach configure --enable-clang-plugin
    ./mach build-backend --backend=CompileDB
    run-clang-tidy-6.0.py -p obj-x86_64-pc-linux-gnu/ -fix -checks=-*,performance-inefficient-vector-operation *

Reviewers: jya

Reviewed By: jya

Subscribers: jya

Bug #: 1464162

Differential Revision: https://phabricator.services.mozilla.com/D1381

--HG--
extra : amend_source : 648dc48989c5af122a33f8d50c98c0f1efcf3874
2018-05-31 14:52:59 +03:00
Mike Conley
777a5d84f8 Bug 1464405 - Register FormAutofill resource URIs before checking if the feature should be enabled. r=MattN
MozReview-Commit-ID: JU93hA0NBgL

--HG--
extra : rebase_source : dca1bef47e7e8dfcf5d059be667020e7bac83033
2018-05-28 09:50:21 -07:00
Bryce Van Dyk
c9d6056854 Bug 1465409 - Change lint rules for mediasource tests to prefer no spaces for array notation. r=jya
Change rules so we enforce ["foo", "bar"] rather than [ "foo", "bar" ].

MozReview-Commit-ID: KX6wJd8jmeJ

--HG--
extra : rebase_source : 6800cf4e701a33f246418e0deb35a206af8104f4
2018-05-30 08:18:54 -04:00
Oriol Brufau
62a134a580 Bug 1463751 - Tab-specific data not updated when tab is moved to another window and old window closes r=mixedpuppy
MozReview-Commit-ID: IUC8OwV6YHY

--HG--
extra : rebase_source : 1f2822572fe847a34edbcec6aa19b5988dcc8fbc
2018-05-26 21:57:58 +02:00
Dave Hunt
f6a3ef5b8c Bug 1388013 - Remove restriction of Python 2 in mozrunner; r=ahal
MozReview-Commit-ID: 1ARx4Jy2Z83

--HG--
extra : rebase_source : cd401029f79fb8792a0ce5b42947feadf2645cc9
2018-05-30 13:21:51 +01:00
Dave Hunt
c65268bd7a Bug 1388013 - Support running |mach python-test| against Python 3 using pipenv; r=ahal
This patch allows executing |mach python-test| against Python 3 by specifying the optional |--three| command line option. When this option is present, pipenv will be used to manage a virtual environment using Python 3 and attempt to run the tests. When it is not present, pipenv will not be used, and everything will work as it did before this patch.

My original plan was to use pipenv regardless of the target version of Python, however I encountered several issues running some of the tests against our Python packages. Once all tests have been patched to run against Python 3, then we should be able to use pipenv when running them against Python 2.

Note that this patch allows tests to run against Python 3, but there are plenty of issues preventing them from passing. With this patch in place we can start to add Python 3 support to our packages and have the tests running in CI to ensure we don't regress back to just supporting Python 2.

MozReview-Commit-ID: BuU5gZK83hL


IHG: changed taskcluster/ci/source-test/python.yml

--HG--
extra : rebase_source : ca2b15d905f7a5c895a2fd8916144841f5d205de
2018-05-03 10:34:22 +01:00
Dave Hunt
cf0af6d22f Bug 1388013 - Vendor jsmin via |mach vendor python|; r=ahal
MozReview-Commit-ID: 197reaD9GdL

--HG--
extra : rebase_source : b55f1dd13c7256da9a5c3d85502e03148f238961
2018-05-30 13:07:32 +01:00
Michael Ratcliffe
0195b3129a Bug 1463087 - Instrument inspection of JS execution in the Web Console with event telemetry r=yulia
MozReview-Commit-ID: 2lri9Kzso7Q

--HG--
extra : rebase_source : d309387c31f3d52871502db7dd35fe2c93153d38
2018-05-24 16:22:47 +01:00
Michael Ratcliffe
190ce58cbf Bug 1463083 - Instrument inspection of inspector side panel switching with event telemetry r=yulia
MozReview-Commit-ID: ANPWNvYRfdH

--HG--
extra : rebase_source : 2bc1e86ebaa8eda2ec0b858c918996e1f3600f79
2018-05-24 14:21:49 +01:00
Michael Ratcliffe
d4c9aea2cf Bug 1463081 - Instrument inspection of "Edit Rule" in Rule View with event telemetry r=yulia
The changes to telemetry.js::recordEvent() were necessary because the optional value and extra params cannot be sent to Services.telemetry.recordEvent() as undefined without throwing... using null instead works just fine.

MozReview-Commit-ID: CgoqSeR6mkl

--HG--
extra : rebase_source : 45bf8e249836e2a5c1a1281f1658170a44e1c470
2018-05-30 17:53:29 +01:00
Nazım Can Altınova
ced506ea81 Bug 1464496 - Part 2: Move the mRaw before the two booleans for better packing r=emilio
MozReview-Commit-ID: Gi4Is7RgVmN

--HG--
extra : rebase_source : d72bd97913d76c28698fe362e90361f77306c783
2018-05-31 10:31:44 +02:00
Nazım Can Altınova
361380987c Bug 1464496 - Part 1: Merge ServoDeclarationBlock and DeclarationBlock r=emilio
MozReview-Commit-ID: By9fV70Oq0K

--HG--
extra : rebase_source : 837afe9c33b21d7db41ff19d3aaf6cf3e9eedbdf
2018-05-30 18:15:25 +02:00
Arnaud Bienner
e1cac52f37 Bug 1460907 - Implement AudioParamMap definitions. r=karlt,qdot
MozReview-Commit-ID: AdsI9QU3VOX

--HG--
extra : rebase_source : b72d898550289f0637d7cb1c9796a12a7b4fc782
2018-05-13 16:16:23 +02:00
Jan Odvarko
0f7d120ed3 Bug 1462390 - Extract history from JSTerm component; r=nchevobbe
MozReview-Commit-ID: DTlW1h2ACoI

--HG--
extra : rebase_source : 90ecbeee7d198c779c8f19986722dcfd8970fad9
2018-05-31 12:41:29 +02:00
Andreea Pavel
bce82ccf82 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-05-31 13:05:59 +03:00
Andreea Pavel
38bcf897f1 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-31 13:04:21 +03:00
Andreea Pavel
5798120b15 Backed out 4 changesets (bug 1351690) for failing browser chrome at e.g. browser/extensions/pdfjs/test/browser_pdfjs_zoom.js
Backed out changeset 8def346f7119 (bug 1351690)
Backed out changeset 64082649b185 (bug 1351690)
Backed out changeset 64d513f3c02b (bug 1351690)
Backed out changeset 4219d3de5e8b (bug 1351690)
2018-05-31 13:03:06 +03:00
Jan de Mooij
6302682c36 Bug 1465037 - Fix FrameIter principals check to work with same-compartment realms. r=luke
The principals are now on the realm and an activation will contain cross-realm calls, so the principals need to be checked for each frame instead of each activation.
2018-05-31 07:19:08 +02:00
Jan de Mooij
c5f8610e4f Bug 1465002 - Make GetScriptedCallerGlobal work with same-compartment realms. r=luke 2018-05-31 07:18:52 +02:00
Yura Zenevich
f8fc9044ec Bug 1456756 - select parent row if available when ArrowLeft is pressed on collapsed or non-expandable row. r=Honza
MozReview-Commit-ID: 74LXTQcj8H9
2018-05-31 00:10:48 -04:00