Commit Graph

580379 Commits

Author SHA1 Message Date
Aaron Klotz
0213e8a4b6 Bug 1430857: Part 1 - Refactor DllServices to make it possible to obtain them from anywhere in Gecko; r=jimm
MozReview-Commit-ID: GfWata0eCc5

--HG--
extra : rebase_source : f280fec92c867d0adbe7b82c0e829eeb10fce5a9
2018-01-30 14:23:10 -07:00
Edouard Oger
fe060b9d44 Bug 1436636 - Properly start/stop clients engine tracker. r=markh
MozReview-Commit-ID: 19Xv1Hj18Nu

--HG--
extra : rebase_source : 7d81f54ec00891d3e0fa40e2930a01c9821cf684
2018-02-08 11:45:22 +08:00
Xidorn Quan
731735f001 Bug 1435944 part 2 - Use atom for identifier media features. r=emilio
MozReview-Commit-ID: 8NHLNySwcSf

--HG--
extra : rebase_source : 08f25e889d4d94a16de9e9c4948bf2218531949e
extra : source : b1d3e7d7d85d4d898dcd988a63b6f516f8da6e0e
2018-02-08 13:50:42 +11:00
Xidorn Quan
56145e003a Bug 1435944 part 1 - Add ToAddRefed() for nsStaticAtom. r=froydnj
MozReview-Commit-ID: 80HginrqhOi

--HG--
extra : rebase_source : ddd069bc6eb81583f324185dc39d01fc1f5ac6d1
extra : source : 1ff105f064173fa84db031400cc0f95bbf67dfef
2018-02-08 13:50:42 +11:00
Xidorn Quan
a0f0f5d28a servo: Merge #19984 - Use atom for identifier media features (from upsuper:media-ident-atom); r=emilio
This is the Servo side change of [bug 1435944](https://bugzilla.mozilla.org/show_bug.cgi?id=1435944).

Source-Repo: https://github.com/servo/servo
Source-Revision: 0d7c2271c284bcc2d4bd005bd0e89f9a87eba636

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ca7343d75f2fd819e0b6c3277773a33ca863d1dd
2018-02-07 21:43:36 -05:00
Ciure Andrei
0b674adee4 Backed out changeset 86581d5ccbbb (bug 1436272) for failing /builds/worker/workspace/build/src/editor/libeditor/EditorBase.cpp a=backout on a CLOSED TREE 2018-02-08 04:54:47 +02:00
Glenn Watson
8243da60c5 servo: Merge #19982 - Update WR (various transform, hit-testing related fixes) (from glennw:update-wr-fixes); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: ced67db82dbc926d83f98d4a49bd025b59270933

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c4e64b9b477bc85e93754b75d5090f84e0d5578d
2018-02-07 20:32:19 -05:00
Bobby Holley
3d8a3d0d6d Bug 1436541 - Don't clobber the thread-local arenas when we happen to hit a large allocation. r=glandium
MozReview-Commit-ID: 9i5B76vkNfr
2018-02-07 18:17:48 -08:00
Timothy Guan-tin Chien
93223f779f Bug 1418459 - Remove menuitem-iconic-desc-noaccel binding. r=Paolo
MozReview-Commit-ID: 3BjrOyJwBKA

--HG--
extra : rebase_source : d6fac024ebf69e056ad788c835577037a9a4c474
2018-02-07 15:50:22 +08:00
Makoto Kato
b845e3128e Bug 1436272 - Move noscript methods in nsIEditor to EditorBase. r=masayuki
Since We can use EditorBase/TextEditor/HTMLEditor directly,  we can
movei noscript methods in nsIEditor to each class.

Also, Init is unnecessary to use nsIDOMDocument and nsIContent since method
isn't in IDL.  And some methods are unused now.

MozReview-Commit-ID: D3B6oSlcT0L

--HG--
extra : rebase_source : b89698f4ab56fdd97a4cd8c515a8b33f6a74a7af
2018-02-07 15:28:04 +09:00
Emilio Cobos Álvarez
f091b12272 servo: Merge #19983 - style: Tweak font-family serialization so that it is simpler (from emilio:simplify-font-family-serialize); r=xidorn
In particular, every time that there's at least more than one identifier, switch
to quoted family name, since the reconstruction of the serialization will be
lossy anyway.

This allows us to avoid copies and all that.

What Chrome implements doesn't make much sense in the sense that they always
serialize:

  font-family: "foo";  -> font-family: foo;
  font-family: foo bar;  -> font-family: "foo bar";
  font-family: foo\ bar; -> font-family: "foo bar";

This patch makes us match on the second case, but not on the rest, because I
think Gecko's behavior is preferable in those cases.

Bug: 1434802
Reviewed-by: xidorn
MozReview-Commit-ID: JwBECA93lfi
Source-Repo: https://github.com/servo/servo
Source-Revision: f317075147a6725d96a4540262275259d15d9e6c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e1009e0ae0bacd32f21389eccc895421c84aec05
2018-02-07 19:39:54 -05:00
Gregory Szorc
9e795ff565 Bug 1435729 - Always use vendored tooltool.py; r=jlund
Previously, we were downloading tooltool.py from random servers.
Considering tooltool.py is used to secure the download of future
components, downloading tooltool.py from potentially 3rd party
services was a major lapse in our end-to-end security, as a
compromised tooltool.py wouldn't honor integrity checks.

This commit copies the already vendored copy of tooltool.py into
the mozharness directory. A copy needs to be in the mozharness
directory because then a copy of mozharness without access to
a source checkout will have access to it.

We modify the code in mozharness that fetches tooltool to use
the copy from mozharness (unless `mach artifact toolchain` is
available).

Since a copy of tooltool.py is always reliably available, we
can remove all config entries related to tooltool.py.

MozReview-Commit-ID: C7ls1xWrPMq

--HG--
rename : python/mozbuild/mozbuild/action/tooltool.py => testing/mozharness/external_tools/tooltool.py
extra : rebase_source : d7b48d837805f9312c97b6e21c6527cc5f5018dc
2018-02-07 14:37:48 -08:00
Andreas Tolfsen
55ed962925 Bug 896046 - Remove test_text_chrome.py. r=maja_zf
These are duplicate tests.

MozReview-Commit-ID: RIJknq5bnI

--HG--
extra : rebase_source : 404f6836a672414fdd19c4c175533da41b73b76c
2018-02-07 16:27:11 +00:00
Patrick Brosset
40fbce0fbf Bug 1436343 - Simplified the font inspector's CSS; r=gl
MozReview-Commit-ID: CcvkW8NGh9L

--HG--
extra : rebase_source : f8f2c4623c7503af9e8929ee81ed9106390ec897
2018-02-07 23:07:19 +01:00
Mike Hommey
934828f009 Bug 1434765 - Properly reject invalid variables in #if{,n}def. r=froydnj,nalexander
The invalid variable test for #if{,n}def was only checking that the
first character in the variable was alphanumeric or underscore, not
the other characters.

More generally, preprocessor instructions were also cut out such that
whitespaces before and after arguments were part of the arguments.
Subtly, some legitimate strings end with what, in ISO-8859-1, is
considered as whitespaces, and because the preprocessor largely works
on byte strings (str), and because the regexps are using re.U, those
characters (e.g. 0xa0) that can legitimately appear in byte strings of
UTF-8 encoding, are treated as whitespaces. So we remove the re.U from
the instruction regexp, so that only plain ascii whitespaces only are
stripped out.

There's one place in layout/tools/reftest/manifest.jsm that was using
a broken pattern, making the test never true, which, once fixed, unveils
broken tests, so the branch that was never used is removed.

--HG--
extra : rebase_source : b695dec025c55aee0e50f2a0047278fe9c849c9e
2018-02-01 10:40:59 +09:00
Gerald Squelart
8b9a732348 Bug 1436279 - Remove unneeded 'friend class' statements - r=mattwoodrow
Inner classes already have the same visibility as member function of the outer
class, so there's no need to explicitly make them friends.

MozReview-Commit-ID: 3Aovsj0JO2S

--HG--
extra : rebase_source : 8ba686b3904949147c4584eb949f1e3dd5f0e452
2017-12-13 09:21:14 -06:00
Gerald Squelart
92ba5a93e9 Bug 1436279 - Remove unneeded mutable from DisplayItemClipChain::mRefCount - r=mattwoodrow
mRefCount is only accessed from non-const methods, so there is no need for
'mutable'.

MozReview-Commit-ID: Bwv6cO1utU5

--HG--
extra : rebase_source : a7851c9863ca9aeff1deaff4408b89ee1b9f8445
2017-11-21 11:46:48 +11:00
Ciure Andrei
c536f2de2c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-08 00:32:12 +02:00
Ciure Andrei
cda04ea11e Merge inbound to mozilla-central. a=merge 2018-02-08 00:05:57 +02:00
Mark Banner
ff6299c6be Bug 1436389 - Fix space-unary-ops issues picked up by the new version of ESLint. r=mossop
MozReview-Commit-ID: 9yCnRlu2k1a

--HG--
extra : rebase_source : fa1d571ddc3aefd66abcf4f884c9669f64e5f230
2018-02-07 16:41:19 +00:00
Mark Banner
2fd2fd7199 Bug 1436389 - Update complexity rules to adapt for the algorithm in the new ESLint. r=mossop
MozReview-Commit-ID: 1LlfamNvBEM

--HG--
extra : rebase_source : 8e41e5a5f67bfd43444fde25287cb3709452a349
2018-02-07 16:16:09 +00:00
Mark Banner
4cd77e3a20 Bug 1436389 - Switch xbl related files to a different method for determining their environment. r=mossop
MozReview-Commit-ID: JLqFrKZykw

--HG--
extra : rebase_source : 34628f4ead954ba9642b3814bb5692a1bebafb39
2018-02-07 16:02:25 +00:00
Mark Banner
b4f572f5fa Bug 1436389 - Upgrade ESLint to version 4.17.0. r=mossop
MozReview-Commit-ID: I4KBELxhBlM

--HG--
extra : rebase_source : d206fb88f8c70d161cc0541a068db1b2f02e7a37
2018-02-07 16:01:29 +00:00
Mike Hommey
e972446107 Bug 1436208 - Avoid infinite loops in llvm-dsymutil when rust produces broken self-referencing DIEs. r=nalexander
See some details on https://bugs.llvm.org/show_bug.cgi?id=36257.

--HG--
extra : rebase_source : 1ffd99e0d52bca74449760e39138af843c837a1b
2018-02-07 08:23:10 +09:00
Mike Hommey
5c6ace2b80 Bug 1436283 - Add the gdb artifact repository to the debian7-base image. r=dustin
We don't actually go install the package, but if a one-click loaner user
goes on to apt-get install gdb, they will get a version that is useful,
rather than the version in wheezy that won't give them e.g. variables
information.

--HG--
extra : rebase_source : 1f1ba607a759fc3136c59513773a043e8e8680c0
2018-02-07 16:57:50 +09:00
Mike Hommey
a7182c9720 Bug 1436283 - Build a modern gdb version for Wheezy. r=dustin
The GDB version in Debian wheezy doesn't handle the DWARF data that the
GCC version we use to build Firefox and toolchains produce. So we take
the GDB version from Debian stretch and backport it.

--HG--
extra : rebase_source : dae0e9dcd5dde5a7c74b6cefd560480fccd9c5fa
2018-02-07 16:55:49 +09:00
Mike Hommey
b8fc72430b Bug 1436283 - Put package artifact repositories in different sources.lists. r=dustin
When running setup_packages in a docker image that derives from another,
we're currently overwriting the file that contains the apt sources for
the package artifact repositories that were used for the parent docker
image.

This doesn't cause practical problems for the existing docker images,
but in some cases where a user gets a one-click loaner, it might cause
problems when they try to install a package that has a dependency that
can't be fulfilled once those sources are overwritten.

To give a practical example, installing the gdb package from wheezy
requires libpython2.7, but if you try to do that on a derivative of the
debian7-base image, you don't have the deb7-python artifact repository
in your sources.list, and would fail to install gdb because apt can't
install a version of libpython2.7 that can be installed alongside the
python2.7 that is installed.

By putting easy repository in a separate file, named after the task id
of the corresponding package task, we ensure each an every one of them
is uniquely represented in /etc/apt/sources.list.d.

--HG--
extra : rebase_source : efb83b8c292a28c43ede24d5a3879dfbbfe94af7
2018-02-07 16:41:08 +09:00
Gabriele Svelto
17611e974c Bug 1100988 - Remove useless observer parameter in nsIPrintingPromptService.showPageSetup(); r=mconley
MozReview-Commit-ID: IpkwVR4YpO4

--HG--
extra : rebase_source : e7ae21d3a1dece1e4fbb49f1b54345fb12492b46
2018-02-05 11:11:50 +01:00
Emilio Cobos Álvarez
a1c4508524 Bug 1436394: Move selectors and css-scoping WPT tests to CSS Parsing and Computation. r=jgraham
There's nothing CSSOM-specific in them.

MozReview-Commit-ID: Ft5j7MNVlOp

--HG--
extra : rebase_source : 3c2d2c42a53ad82f4a6d3721301f1af5d92cc0d7
2018-02-07 17:05:37 +01:00
Brad Werth
a90f20811d Bug 1418930 Part 7: Change a web platform test to PASS. r=emilio
MozReview-Commit-ID: 69EsrXNoKFz

--HG--
extra : rebase_source : 3d918f014b915bb665aeaf300fa4e9125b7ee8d6
2018-02-05 09:38:33 -08:00
Brad Werth
706974795f Bug 1418930 Part 6: Add a test of shape-outside with and without a CORS violation. r=emilio
MozReview-Commit-ID: KI4itQ1ORYJ

--HG--
extra : rebase_source : c3480a6a4f9a7067053bd5e7c8258786ff03dee3
2018-01-31 17:02:14 -05:00
Brad Werth
f16c68cd42 Bug 1418930 Part 5: Update nsStyleStruct::FinishStyle and nsRuleNode::ComputeDisplayData to set CORS mode for shape-outside images. r=emilio
MozReview-Commit-ID: 7MXJHE2vidS

--HG--
extra : rebase_source : 5dae10f8234b6bcbcb288a3f5e10221faca0673b
2018-01-31 16:08:01 -05:00
Jonathan Watt
4f06ebe51b Bug 1436438 part 2 - Remove the WebIDL methods for creating and mutating SVG path data. r=longsonr,baku
MozReview-Commit-ID: Ey7fROPCaSS
2018-01-26 21:16:49 +00:00
Jonathan Watt
843da70a1a Bug 1436438 part 1 - Remove the tests that test SVG path data DOM interfaces. r=longsonr
MozReview-Commit-ID: 78yzAb6Khf1
2018-01-26 10:39:11 +00:00
Jason Laster
605269a01f Bug 1436210 - Update Debugger Frontend v14. r=jdescottes.
MozReview-Commit-ID: 7hHRQLx5DaZ

--HG--
extra : rebase_source : 7984fae7323c975b3d5586af5c988cf94f47057c
2018-02-07 18:04:07 +01:00
Jan de Mooij
7283c849b7 Bug 1435266 - Enable Spectre index masking by default. r=luke 2018-02-07 17:56:34 +01:00
Tim Taubert
ad0fd7d75a Bug 1406458 - Add WebAuthn extension types r=jcj,baku
Summary:
This only adds the new WebIDL types but doesn't do any plumbing yet.
Bug 1406471 seems to be better suited for that.

Reviewers: jcj

Reviewed By: jcj

Bug #: 1406458

Differential Revision: https://phabricator.services.mozilla.com/D555
2018-02-07 16:37:54 +01:00
Valentin Gosu
4aade813b4 Bug 1435772 - File extensions are stripped out from saved web page source, leading to 404 errors r=me
Backs out the part of part of changeset a20fbbe7b948 (Bug 1432602) that uses nsIURIMutator instead of calling nsIFileURL::SetFile()

MozReview-Commit-ID: 9mC3fv85pUl
2018-02-07 17:30:13 +01:00
Luke Wagner
a9b8d6c731 Bug 1436353: fix non-unified build bustage (rs=me) 2018-02-07 10:16:44 -06:00
Luke Wagner
e6536d905f Bug 1435525 - Baldr: eagerly reject too-big code section sizes and clamp masm reservation size (r=lth)
--HG--
extra : rebase_source : 117620ce71c1afb5d42347f257432798734bdf8a
2018-02-07 10:06:54 -06:00
Benjamin Bouvier
24d387c6b1 Bug 1436353: add wasm perf support for entries/exits; r=luke
MozReview-Commit-ID: 4kZEMpVP0BX

--HG--
extra : rebase_source : 2ce8f06de6a03b1cfc3461cd50f60249fe90339e
extra : histedit_source : c6dddaea3815d80a029358518f9d57cd45a15da1
2018-02-07 14:55:47 +01:00
Benjamin Bouvier
d68b7067f1 Bug 1436353: Fix and enhance perf support in the jits; r=campbell
MozReview-Commit-ID: IKyJf5jRIZu

--HG--
extra : rebase_source : 56ba6731e9918b03e47441673d0eb37d8a8a5387
extra : histedit_source : cce41f271385a436d93289b576ccf0f47ade4f9d
2018-02-07 14:54:48 +01:00
Dorel Luca
6fd86afdb4 Merge mozilla-central to mozilla-inbound. r=merge 2018-02-07 17:09:13 +02:00
Dorel Luca
a539f8f7fe Merge mozilla-inbound to mozilla-central. a=merge 2018-02-07 17:05:03 +02:00
Dorel Luca
cf40524253 Merge autoland to mozilla-central. a=merge 2018-02-07 17:01:50 +02:00
Andrew Osmond
34935cb2ff Bug 1388020. r=nical 2018-02-07 09:33:12 -05:00
Dorel Luca
112cc1ff6b Backed out 3 changesets (bug 1430857) for breaking tests on Windows Code Coverage builds a=backout
Backed out changeset a992887a6060 (bug 1430857)
Backed out changeset cc9b0ac5f66b (bug 1430857)
Backed out changeset 4bdd6d82f993 (bug 1430857)
2018-02-07 15:02:58 +02:00
Coroiu Cristina
1c85c04c62 Backed out 5 changesets (bug 1423896) for bustage at /src/toolkit/components/places/nsNavHistoryResult.cpp on a CLOSED TREE
Backed out changeset 4012bc74e900 (bug 1423896)
Backed out changeset 12239646395f (bug 1423896)
Backed out changeset abf61cd5fb77 (bug 1423896)
Backed out changeset 569173c95238 (bug 1423896)
Backed out changeset 6401e950298d (bug 1423896)
2018-02-07 14:07:31 +02:00
Paul Warner
a4c0f8161c Bug 1399158 - Add --jsdebugger flag to geckodriver. r=ato
When --jsdebugger is passed to geckodriver, it will override
preferences related to starting the Browser Toolbox and pass
-jsdebugger on to the Firefox process.

It is functionally equivalent to "./mach marionette test --jsdebugger".

MozReview-Commit-ID: ADfrLPXtQoy
2018-02-07 12:00:53 +00:00
Tim Taubert
1d2ba2eb2b Bug 1436308 - Generate a ToJSON() method for WebIDL types with records r=bz
We currently don't generate a ::ToJSON() method for WebIDL types with record<K,V>
members. These types should be safe to convert to JSON, as long as type V itself
is. Per spec, type K is always a DOMString, USVString, or ByteString.
2018-02-07 12:01:00 +01:00