Commit Graph

575248 Commits

Author SHA1 Message Date
Kershaw Chang
62a41d6974 Bug 1413999 - Part3: IPC part, send trailers to child process r=dragana
The aim of this patch is to send trailers to child process via SendOnStopRequest.

--HG--
extra : rebase_source : 1a5e16e140ef20cfe2e723c3800d7feeebd9a5af
2018-01-03 02:05:00 +02:00
Kershaw Chang
73d9823e67 Bug 1413999 Part2: Take http trailers from chunk decoder and add serverTiming attribute in nsITimedChannel r=dragana
This patch includes:
1. Save http trailers in the header array in chunk decoder.
2. Take trailers from chunk decoder in OnStopRequest().
3. Add serverTiming attribute in nsITimedChannel.
4. Parse server timing header when GetServerTiming() is called.

--HG--
extra : rebase_source : 77c92b8a31d3d7eebb33aea266888f944af33327
2018-01-03 02:04:00 +02:00
Kershaw Chang
39f697a80b Bug 1413999 - Part1: Parse Serve-Timing header r=dragana
1. Add a helper function Tokenize() which is able to handle quoted-string and quoted-pair.
2. Modify ParsedHeaderValueListList
 - Use Tokenize() to split string by ','.
3. Modify ParsedHeaderValueList
 - Use Tokenize() to split string by ';'.
 - Function ParseNameAndValue() is for getting name and value from the string containing '='.
4. Handle backslash escapes for quoted string.
5. Reuse ParsedHeaderValueListList to parse server-timing header.

--HG--
extra : rebase_source : 7802a1ae9a6410c4ea992b1197018c5a3f994fa0
2018-01-03 02:04:00 +02:00
Mike Hommey
511d112e2d Bug 1427316 - Use the binutils we just built to build GCC. r=gps
We're currently building GCC with the system binutils, which, at the
moment, is whatever version is available on the CentOS 6 build
environments. With the imminent switch to Debian 7, that will be a
different version.

It turns out the GCC configure script does enable some features
depending on the binutils it's built with. For the most notable
differences it makes when going from Centos 6 to Debian, it enables
.init_array/.fini_array depending on the binutils version, and enables
the use of CFI advances depending on gas and objdump respectively
supporting and displaying DW_CFA_advance_loc.

But we're already building a fixed version of binutils (which happens to
be more recent than the one in both CentOS 6 and Debian 7), and we're
using that version when using GCC to build, so we can just as much use
the version we built to build GCC.

In order to avoid any changes to the resulting builds, we explicitly
turn off .init_array/.fini_array (which currently happens implicitly
when building on CentOS 6). This will ensure that there is not other
change to the builds due to this binutils version bump
(.init_array/.fini_array being enabled shifts everything in the
binaries, so it makes the whole diff full of noise)
2018-01-04 19:16:19 +09:00
Noemi Erli
652fbd6270 Merge autoland to mozilla-central r=merge a=merge 2018-01-04 11:44:30 +02:00
Mike Hommey
ebcec7e922 Followup for bug 1421100: deterministically download rustc 1.23.0-beta.2. r=me, a=bustage on a CLOSED TREE 2018-01-04 14:52:20 +09:00
Mike Hommey
f203a9476f Bug 1426324 - Make toolchain cache indexes vary depending on the docker image name. r=dustin 2018-01-04 14:41:29 +09:00
Mike Hommey
41d5a4e777 Backout changeset f41ca59052be (bug 1426324) in an attempt to unbust win32 builds. a=bustage on a CLOSED TREE
Landings of e.g. bug 1427336 triggered new toolchain jobs. One of those
jobs, because of wrong changes in bug 1421100, downloaded a new rust
compiler beta instead of the intended fixed beta version. In turn, that
new rust compiler beta fails to compile the slog crate.

Now, because of how toolchain cache indexes work, every new win32 job
picks that new unintended rust compiler beta version, even on branches
where 1427336 hasn't landed.

I couldn't find a way to force the right beta version, so we're pretty
much stuck with that toolchain index pointing to the wrong version of
rust beta.

By backing out bug 1426324, we return to a toolchain index that is known
to have an artifact for the right rust compiler beta.

Unfortunately, if something triggers a new TW32(rust) job after this,
that toolchain index will be busted as well.
2018-01-04 14:14:43 +09:00
Hiroyuki Ikezoe
b47d85dec0 Bug 1425009 - Take into account the possibility that the animation begins at the moment when the animation was detached from the document. r=birtles
MozReview-Commit-ID: wbM5JW7v76

--HG--
extra : rebase_source : c7ec443f86c6be573ac443f05fdf38a1ed97eefd
2018-01-04 10:19:08 +09:00
Stone Shih
a45e796f42 Bug 1403743 - Keeping the mousemove coalescing enabled in the release build. r=smaug. 2017-12-23 12:39:31 +08:00
Andrew Swan
8268dcdda3 Bug 1426363 Fix host permission parsing for permission strings r=rpl a=abillings
MozReview-Commit-ID: BeisQwgKak9

--HG--
extra : rebase_source : bdb7b759a358f919150cb4cc258fe9590c8a9b40
extra : source : 3719e7fca0abbb1e1c23422034e405b7946db11d
2017-12-21 11:37:34 -08:00
Stone Shih
fc0584db41 Bug 1426527 - Revise test_remove_frame_when_got_pointer_capture.html to correctly run the test in release build. f=RyanVM. r=smaug. 2017-12-23 08:31:35 +08:00
Masatoshi Kimura
efc13822e0 Bug 1426989 - Fix NS_strncmp. r=erahm
--HG--
extra : rebase_source : 0dc3bc4f32a7564dadbdb5e5930679f83b9cdc1d
extra : intermediate-source : 454bde0083c54e8a01c50dc2e7a03b74349a537e
extra : source : 6fa2311f5909e1577d8d515c62d2106b76d1f469
2017-12-24 16:39:24 +09:00
Stone Shih
653167e88f Bug 1426728 - Don't cache the event target of pointer events when they are generated from touch. r=smaug.
The event targets of touch events are not necessarily to be the same as their corresponding pointer events. So we don't have to cache the event target of pointer events when they are generated from touch.

MozReview-Commit-ID: 9Gd6ion7NXf
2017-12-22 12:27:05 +08:00
Daosheng Mu
939d422ae6 Bug 1424378 - Switch off Windows MR mode when the amount of button or axes is less than our expectation; r=kip
MozReview-Commit-ID: AONBdKV0Zqj

--HG--
extra : rebase_source : 86ae1231ec549cf3633dd9a327db7b142a8f1c32
2017-12-12 10:49:03 -06:00
Ryan VanderMeulen
6d70e0117a Merge m-c to autoland on a CLOSED TREE. a=merge 2018-01-03 20:53:02 -05:00
Ryan VanderMeulen
11720f093e Bug 1427918 - Disable Event-timestamp-high-resolution.html for frequent failures. r+a=bustage 2018-01-03 20:46:30 -05:00
Ryan VanderMeulen
7a1add035b Bug 1427918 - Adjust the expectations for Event-timestamp-high-resolution.html due to the performance.now() resolution change. r+a=bustage 2018-01-03 19:42:26 -05:00
Ryan VanderMeulen
5dd0e6568d Bug 1423225 - Skip another jstest that depends on SAB. r+a=bustage 2018-01-03 18:46:45 -05:00
Emilio Cobos Álvarez
47cf299a8b Bug 1427825: Make accessibility use the flattened tree more consistently. r=surkov
MozReview-Commit-ID: 4mFkvqheZOK

--HG--
extra : rebase_source : 34eb8dd0b20295e4f92e3bd2ec827a401b0d3f61
2018-01-03 19:59:16 +01:00
Tom Ritter
29a0059ef9 Bug 1427870 - Change resolution of .now() to 20us. r=bkelly, a=lizzard
The comment about workers was introduced in Bug 1186489 but became obsolete some time after that
(definitely by Bug 1278838)
2017-12-30 13:07:00 -06:00
Mark Hammond
c952b939b9 Bug 1390478 - never block the UI waiting for the FxA profile. r=eoger
MozReview-Commit-ID: 4MNqo9AUuOz

--HG--
extra : rebase_source : b53f108d880f33246b351c5320e47c235ee9c7fb
2017-12-08 11:27:40 +11:00
Ryan VanderMeulen
e07d278ac1 Merge m-c to autoland. a=merge 2018-01-03 18:01:44 -05:00
Oriol Brufau
ff98f5e44d Bug 1426094 - Add test for URL linkification in the JSON Viewer r=Honza
MozReview-Commit-ID: Xbn28TLcMu

--HG--
extra : rebase_source : d2249d7fc9ddc392b3b907b3e9b9b9b938939e2f
2017-12-22 17:41:09 +01:00
Mike Hommey
30a3720ffb Bug 1427468 - Allow to run mach python without a virtualenv. r=nalexander
Sometimes, one just wants to run a one-off script with access to all
(or most) the libraries available like mozbuild, etc. but without
the weight of the whole virtualenv, which implies having an objdir
setup, etc.

One of my use cases is to run our preprocessor before the objdir is even
setup, and I'd rather not have one automatically created.

--HG--
extra : rebase_source : a6ad30a47ea8e497b274845caf7a9504b9f13282
2017-12-31 15:50:29 +09:00
Mike Hommey
bd1eb0ab94 Bug 445128 - Stop putting the version number in the target directory for make install. r=nalexander
Back when I filed this bug, $appname-$version was already useless, but
there actually were multiple supported versions (e.g. 3.5/3.6). So it
made sense to have e.g. firefox-3.5 and firefox-3.6, but not
firefox-3.5.12 and firefox-3.5.13.

Fast forward 10 years, and we change "major" versions every 6 to 8
weeks, have multiple chemspills every other week, and installing to
firefox-57.0, firefox-57.0.1, firefox-57.0.2, firefox-57.0.3 doesn't
make any kind of sense. Even firefox-56, firefox-57 is pretty much
useless.

There /kind/ of was some usefulness to the version in the SDK
directories, but those are gone.

I'm pretty sure no downstream is actually using versioned directories
anyways.

At this point, it seems better to just use the application name, without
the version. A case could be made about ESR, but that would be better
handled with a separate application name (e.g. firefox-esr).

--HG--
extra : rebase_source : 333e10ea1316714bf0008ec772b35093edfc45ff
2017-12-31 17:18:52 +09:00
Mike Hommey
7a9ee121e8 Bug 1427466 - Allow mach clobber python to work without an objdir. r=nalexander
--HG--
extra : rebase_source : e7190fdfbfd8fdecd0e2bf638ca09444d455dc94
2017-12-31 15:38:34 +09:00
Mike Hommey
25c3f317c0 Bug 1427404 - Always export PATH when passing it through mk_add_options. r=nalexander
mk_add_options has this kind of awkward feature where
  mk_add_options VAR=value
would set VAR for the build through client.mk, but not when running
make -C objdir target. But
  mk_add_options "export VAR=value"
does.

We might want to change that on the long run, but the side effects would
have to be calculated first.

OTOH, we have automation jobs that run compilations during `make check`
(e.g. rusttests), which is not invoked through client.mk. So they
currently don't get the same PATH as the build part, meaning that
they're using system binutils instead of the one from the GCC toolchain
package.

--HG--
extra : rebase_source : aab7f221243c486cf70c7b0c91b9313231050ed8
2017-12-31 08:50:29 +09:00
Grigory Kruglov
656416871a Bug 1426305 - Migrate FxA state machine to store only derived keys, not kB itself r=nalexander
MozReview-Commit-ID: 8npk7bTAYDA

--HG--
extra : rebase_source : 4564b7fa9837ccb8e2e9c99f706a4fa4cc95faa0
2018-01-03 16:08:06 -05:00
Jeremy Lempereur
010e4ca3fb Bug 692386 - sync: Add missing requested URL on NS_ERROR_NET_RESET. r=markh
The requested URL was logged on almost each failing request exception.
Added a warn message to log the request method and url when any request fails.

MozReview-Commit-ID: GKwd7HabTp6

--HG--
extra : rebase_source : 012bb9c322ecda93be32f43582492b37e407396d
2018-01-03 12:59:03 +01:00
Cosmin Sabou
81a8319b46 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
--HG--
rename : dom/xul/templates/nsXULSortService.cpp => dom/xul/nsXULSortService.cpp
2018-01-03 23:59:59 +02:00
Cosmin Sabou
eff09826f7 Backed out changeset 9a95b205f3e8 (bug 1427635) for cl failures at dom/browser-element/mochitest/test_browserElement_oop_CopyPaste.html r=backout a=backout 2018-01-03 23:48:48 +02:00
Ciure Andrei
a5dc81b094 Merge inbound to mozilla-central r=merge a=merge 2018-01-03 23:38:04 +02:00
James Graham
918e6b1ec1 Bug 1427831 - Update mozlog version number for release, r=ahal
MozReview-Commit-ID: 2mL3HzpjTTj
2018-01-03 19:15:34 +00:00
Tom Schuster
7fb8dab210 Bug 1371551 - Make ES6 modules work for webextension URLs. r=baku 2018-01-03 19:08:29 +01:00
Olli Pettay
811a9c30ca backout Bug 1414204 because of regressions, r=backout
--HG--
extra : rebase_source : 97927ab24b0f24e4cfce8ce9199dda24857cfd3b
2018-01-03 18:42:50 +02:00
Olli Pettay
f32a75dab4 backout Bug 1414204 because of regressions, r=backout
--HG--
extra : rebase_source : afc007d6310bb5f4c06da319aa66f50085f3926f
2018-01-03 18:42:37 +02:00
Olli Pettay
d86b117d29 backout Bug 1414204 because of regressions, r=backout
--HG--
extra : rebase_source : c35fa4faba8511954bc76630fbcbdf4919d3bd14
2018-01-03 18:42:27 +02:00
Olli Pettay
3d4ddd17a3 backout Bug 1414204 because of regressions, r=backout
--HG--
extra : rebase_source : 2086705dc590ba844900ea9f28e514128bdcf60c
2018-01-03 18:42:13 +02:00
Coroiu Cristina
ee5a3e707d Backed out changeset 7a47accb11c5 (bug 1420449) for build bustage r=backout on a CLOSED TREE 2018-01-03 19:04:32 +02:00
Geoff Brown
23fe001526 Bug 1416977 - Ensure handler removed before file closed in test_structured.py; r=ahal 2018-01-03 09:29:32 -07:00
Geoff Brown
9b8926168a Bug 1427750 - Run a few more android emulator test tasks on xlarge instances; r=jmaher
Android cppunit, test-verify, and mochitest-gpu have been running on lower end
aws instances. It is probably better to run all emulator tasks on xlarge.
2018-01-03 09:29:32 -07:00
Geoff Brown
8e192994f8 Bug 1423771 - Suppress error when no reftests verified; r=jmaher
There are some edge cases in test verification where mozharness requests
reftest verification of a non-reftest. In this case, it is best for the
reftest harness to figure out that the requested file is not a test,
do no work and exit cleanly without complaint.
2018-01-03 09:29:32 -07:00
Ben Kelly
6cb7f39713 Bug 1426162 Convert worker main script principal assertion to runtime check. r=baku 2018-01-03 10:56:14 -05:00
Andrea Marchesini
06cf5a6213 Bug 1425440 - Get rid of GetChildAt_Deprecated in nsCSSFrameConstructor, r=catalinb 2018-01-03 16:30:15 +01:00
Andrea Marchesini
b3f813ca74 Bug 1425440 - Get rid of GetChildAt_Deprecated in txMozillaXMLOutput, r=catalinb 2018-01-03 16:29:59 +01:00
Andrea Marchesini
badda32851 Bug 1425440 - Get rid of GetChildAt_Deprecated in nsTextControlFrame, r=catalinb 2018-01-03 16:29:44 +01:00
Andrea Marchesini
e20eafa0a5 Bug 1425440 - Get rid of GetChildAt_Deprecated in nsListBoxBodyFrame, r=catalinb 2018-01-03 16:29:30 +01:00
Andrea Marchesini
64f62042f8 Bug 1425440 - Get rid of GetChildAt_Deprecated in nsXULTooltipListener, r=catalinb 2018-01-03 16:29:13 +01:00
Andrea Marchesini
6cd6b02755 Bug 1425440 - Get rid of GetChildAt_Deprecated in nsTreeColumns, r=catalinb 2018-01-03 16:28:55 +01:00