Граф коммитов

575293 Коммитов

Автор SHA1 Сообщение Дата
Ted Mielczarek 24f3ed4b74 bug 1401647 - use a 64-bit Rust toolchain for win32 builds. r=nalexander,rillian
We currently use a 32-bit Rust toolchain for win32 builds, but this can lead
to OOM situations. This patch makes win32 builds use a 64-bit Rust toolchain,
which requires a little bit of extra configuration because rustc needs to
be able to find a link.exe that produces 64-bit binaries for building
things like build scripts, which are host binaries.

We will now generate a batch file that sets LIB to the paths to 64-bit
libraries and invokes the x64-targeting link.exe, and add a section to the
.cargo/config file to instruct cargo to use that batch file as the linker
when producing 64-bit binaries.

MozReview-Commit-ID: 9vKBbm7Gvra

--HG--
extra : rebase_source : 599b3b661c7a8a5db1f32a2a9732fc202fb55e1e
2017-12-14 10:20:33 -06:00
Ralph Giles 79672f78f9 Bug 1401647 - Add i686 target to win64-rust. r=ted
Add a cross-compilation copy of rust's standard library targeting
i686-pc-windows-msvc to the win64-rust toolchain package so it
can be used to build for win32 as well.

MozReview-Commit-ID: 3598VZrDjIH

--HG--
extra : rebase_source : f1b25a68a67ae7f9c505a42d17f29dbedf59a49d
2017-12-13 22:41:29 -06:00
Joey Chagnon 11c13bea59 Bug 1427670 - Escape warning message when the user can't write to their profile. r=mhowell
MozReview-Commit-ID: C5ZJd6ZQwzz

--HG--
extra : rebase_source : 32ddd55d2c50a314ad2d0d9c7c2f4e8e8e909632
2018-01-02 22:40:44 -05:00
Mark Banner 85b029c2ae Bug 1428040 - Allow PlacesUtils.isRootItem to take guids as well as ids. r=mak
MozReview-Commit-ID: 9ZMA2A879O8

--HG--
rename : toolkit/components/places/tests/bookmarks/test_protectRoots.js => toolkit/components/places/tests/legacy/test_protectRoots.js
extra : rebase_source : d386b6e8b9e1bfc4568032d094a48d7d9a3b3a48
2017-12-21 09:16:48 +00:00
Dão Gottwald 4460c37b81 Bug 1428061 - Remove support for the tabs-bottom class. r=jaws
MozReview-Commit-ID: KvOO0uCjCUC

--HG--
extra : rebase_source : e7b2f3b8740b9eac1c05c1231cd0a19c75f42be9
2018-01-04 16:29:30 +01:00
Mark Banner feaa8433c8 Bug 1424921 - Support Lint dependencies in bootstrap. r=froydnj
- Add node as a dependency on Linux and Mac
- Add python3 for Mac only (linux generally has it installed already).

MozReview-Commit-ID: EpNWFTI9UXc

--HG--
extra : rebase_source : 755e8575e6e6c261c1ccaf9e5fe08e66502a4c3c
2018-01-03 21:11:44 +00:00
Jan Odvarko c7d5d0cf13 Bug 1421335 - Update test; r=nchevobbe
MozReview-Commit-ID: Far6gsV6SXd

--HG--
extra : rebase_source : cdb77acf095e79a9b53942f12b6f3bbed38e5b40
2017-12-11 14:39:37 +01:00
Jan Odvarko f51b48434f Bug 1421335 - Right response info link disappears after request is expanded; r=nchevobbe
MozReview-Commit-ID: 5WEqPQaWGGt

--HG--
extra : rebase_source : fb995b7c51ccba96bc12949079197467791bbe94
2017-12-07 16:28:33 +01:00
Maja Frydrychowicz 60613594fe Bug 1341466 - Stop Marionette test run when Android emulator is unresponsive; r=automatedtester
The clean-up code in FennecInstance now counts and logs consecutive DMErrors.
The Marionette clean-up code then throws an UnresponsiveInstanceException
if we hit consecutive errors more than twice, which interrupts the
test run entirely. (Previously, MarionetteTestRunner would just keep running
tests despite consecutive clean-up failures, and eventually it would time out.)

This change allows us to take advantage of the retry mechanism in the
mozharness script that runs all Android tests: it sets the job status to "retry"
if it finds DMError in the test log after the run_tests step is done.

MozReview-Commit-ID: J36XuFVK1aK

--HG--
extra : rebase_source : 4feada21d7b4260e73054339fa79c61911d259ee
2017-11-16 12:00:49 -05:00
Nicolas Chevobbe ac5956e0ec Bug 1404368 - Enable browser_webconsole_document_focus.js in new frontend;r=jdescottes.
MozReview-Commit-ID: Fd9p0oigRpB

--HG--
extra : rebase_source : 5eae9a37c92687e1f5f86d919e295ae33d9f1902
2018-01-04 12:35:06 +01:00
Nicolas Chevobbe b745997208 Bug 1428006 - Remove skip-if for browser_webconsole_cspro.js;r=nchevobbe.
The test was refactored in Bug 1408932, but it wasn't actually enabled.

MozReview-Commit-ID: 85vI9iX5p2V

--HG--
extra : rebase_source : 03182ab24bd057ad0be9d2e3f3e884c346d53d98
2018-01-04 12:18:18 +01:00
Tim Nguyen 597667dde6 Bug 1362425 - Remove unused browser/app/profile/pagethemes.rdf. r=mak
MozReview-Commit-ID: 3ubOgBDMDwk

--HG--
extra : rebase_source : dea29c0f2d249ceb37fa6f05657c5c5d9887b61f
2018-01-04 00:37:11 +01:00
Ricky Chien c32b43da30 Bug 1426809 - Prevent fetching network update packet again after packet arrived r=Honza
MozReview-Commit-ID: 5Ifgj1opsNW

--HG--
extra : rebase_source : 6ceb827520761049f79f420d3305ac9fe8844187
2017-12-23 14:03:24 +08:00
Vedant Chakravadhanula 33ad8d8f1e Bug 1427568 - Adding python 3 support for mozversion. r=wlach
MozReview-Commit-ID: HyRVFvMBNek

--HG--
extra : rebase_source : a8444f8946d576454900fc3223894f2a4f47a2b9
2018-01-02 09:17:28 +05:30
Nicolas Chevobbe 6a750a05bc Bug 1427184 - devtools-reps v0.18.0: update reps bundle from GitHub;r=Honza.
MozReview-Commit-ID: 86gvJSI7grM

--HG--
extra : rebase_source : 525bb92f9c348b7ac648bea47224274f6c8b49c7
2018-01-04 09:02:55 +01:00
Daisuke Akatsuka afb89c1360 Bug 1426194 - Part 2: Add test. r=pbro
MozReview-Commit-ID: 9A0hRjiYGTE

--HG--
extra : rebase_source : 95a5310a5755f951baeabf62ddc8f9c7eb3abe9d
2017-12-22 00:49:18 +09:00
Daisuke Akatsuka 7d7ca7e5f3 Bug 1426194 - Part 1: Correspond to the keyframes which have same offset. r=pbro
The problem with this bug was that it did not correspond to animations that
have multiple keyframes with the same offset.

In summary graph, although we were changing the resolution for the graph
creation by the distance of offset between keyframes, as the calculation of
resolution between keyframes with equivalent offset was infinite, generation
was not completed and it was in a state of freezing.
In here, in case of zero distance of offsets, we make avoiding to affect to
changing the resolution.

In addition, the detail graph did not display correctly.
For example, there is an animation below.

div.animate(
  [
    {
      offset: 0,
      opacity: 1,
    },
    {
      offset: 0.5,
      opacity: 0.5,
    },
    {
      offset: 0.5,
      opacity: 0.1,
    },
    {
      offset: 1,
      opacity: 1,
    },
  ],
  1000
);

In this animation, opacity changes from 1 to 0.5 during 0 - 499ms, from 0.1 to 1
after 500ms.
So, opacity at offset 0.5 behaves 0.5 during 0 - 499ms, 0.1 after 500ms.
Since current animation inspector creates the graph with computed value of the
time of offset, the opacity of offset 0.5 always is 0.1 in the example,
was not correct.
As a solution, same to the actual animation work, create the graph between each
keyframes with range that from start keyframe offset time to just before the
time of end keyframe offset time.
Also, in same offsets, connects between just before the time of the offset time
and the offset time.
So, in the example, we separate as below, then calculate the each coordinates,
then combine as graph shape.

1: 0 ~ 499.999ms
2: 499.999 ~ 500ms (same offsets)
3: 500 ~ 999.999ms
4: 1000ms

MozReview-Commit-ID: p4Cn2N9iFt

--HG--
extra : rebase_source : 0f175fa0b7a3c882171e59a6e4a94bb4802e96d2
2017-12-22 00:49:10 +09:00
Jan Henning a9c822e409 Bug 1352133 - Handle selected tab not yet existing when exiting BrowserSearch. r=nechen
Early during startup there might not be a selected tab yet, so we can't use its
data to decide which home panel to show again.

Fortunately showHomePager can be called with a null panelId, in which case it
will eventually simply fall back to using the default home panel from our
settings.

MozReview-Commit-ID: GbmozJeYZVb

--HG--
extra : rebase_source : 0ed294b6820faa1934105c2719460dd7bef1a852
2017-12-28 15:29:24 +01:00
Jan Henning 1f2c9d7c76 Bug 1414309 - Tell ToolbarEditLayout's title background about private mode changes. r=nechen
The background is enabled when using a theme to increase readability of the URL,
but disabled in private mode, because we don't show the theme while in private
mode.

However for the latter feature to work, the respective layout needs to be told
about the private mode state of the toolbar in the first place. We did this
for the ToolbarDisplayLayout, but had forgotten the ToolbarEditLayout.

MozReview-Commit-ID: 3GAesHvwDEX

--HG--
extra : rebase_source : 753be3bcbdbe7fef05fddfcb77e7b69926e6fbef
2017-12-22 19:46:20 +01:00
lizhixun 43e33f8506 servo: Merge #19682 - style: Move contain outside of mako (from stevel98:moveContain); r=emilio
<!-- Please describe your changes on the following line: -->
Sub-PR for #19015.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #19656 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because refactoring

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 7a9f99eda881d500ea344382d02037bfd11789da

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7543846743c59ec1d0c917efb915155e2f7e17da
2018-01-04 04:28:23 -06:00
Mike Hommey 72469bba68 Bug 1419638 - Allow to share docker image definitions. r=dustin
Instead of duplicating Dockerfiles between taskcluster/docker/*
directories, which can be error prone for very close images, it can be
desirable to use the same file. This change allows to set the
`definition` keyword on a docker image definition in kind.yml that
will make the task use the files from taskcluster/docker/<definition>
instead of taskcluster/docker/<image_name>.

--HG--
extra : rebase_source : 11ae231f66ca6a77896c1cff6c1580d04210f052
2017-12-24 07:58:08 +09:00
Mike Hommey 49e7b07ecc Bug 1419638 - Allow to pass arguments to docker when building docker-images. r=dustin
Ideally, we'd simply use the --build-arg docker argument along with ARG
in the Dockerfile, but that's only supported from Docker API 1.21, and
we're stuck on 1.18 for the moment.

So we add another hack to how we handle the Dockerfile, by adding a
commented syntax that allows to declare arguments to the Dockerfile.

The arguments can be defined in the docker images kind.yml file through
the `args` keyword. Under the hood, they are passed down to the docker
image task through the environment. The mach taskcluster-build-image
command then uses the corresponding values from the environment to
generate a "preprocessed" Dockerfile for its context.

--HG--
extra : rebase_source : 26a43dd680c1ab97b1a4689a23c55594a3b21b67
2017-12-24 07:51:29 +09:00
Mike Hommey 3b49bb403b Bug 1419638 - Add schema validation to docker image transform. r=dustin
--HG--
extra : rebase_source : 1e5ea44d94e8feb7f5f87bf8cdc4498b90f9325e
2017-12-28 15:46:14 +09:00
Alexandre Poirot 3237dd4fb4 Bug 1426688 - Wait for pending paints after page reload. r=jdescottes
MozReview-Commit-ID: KcdqILBUySO

--HG--
extra : rebase_source : d771b5d319504e892a97061f59b2d125083f92fd
2017-12-20 10:12:00 -08:00
Alexandre Poirot f499e44cce Bug 1426688 - Wait for pending paint updates after opening the toolbox. r=jdescottes
MozReview-Commit-ID: 34Z9dPwUnwI

--HG--
extra : rebase_source : d2e921b65dc97cc56e2e1f95f853364f3f9719be
2017-12-20 02:28:02 -08:00
Chung-Sheng Fu bee971753d Bug 1381197 - Add tests for browser.cookies APIs with first-party isolation. r=robwu,rpl
MozReview-Commit-ID: 25Cx65Cr8Ry

--HG--
extra : rebase_source : 7386555b7a92c0f7650653beaa1a6f39fc4e4fcd
2017-11-07 15:32:19 +08:00
Chung-Sheng Fu 30c3de1192 Bug 1381197 - Fix failures on existent cookies API tests. r=robwu,rpl
MozReview-Commit-ID: 9zVaBw1tt2W

--HG--
extra : rebase_source : f6980d2cca908eca72f3b9e0ea3930e3db1d2739
2017-11-09 17:45:35 +08:00
Chung-Sheng Fu 7afb1b08bd Bug 1381197 - browser.cookies APIs support firstPartyDomain. r=robwu,rpl
MozReview-Commit-ID: 2bryWgDLpcF

--HG--
extra : rebase_source : bb5290c36aef2040532c942957ee943c41a0daf9
2017-11-07 15:31:22 +08:00
JW Wang 3834402eca Bug 1427931. P2 - assert MediaCacheStream::Pin/Unpin is called off the main thread. r=bechen,gerald
MozReview-Commit-ID: 7tanbwvNfEh

--HG--
extra : rebase_source : cac6f3cf525884a280bca20684a8d9ba89716b7d
2018-01-04 10:30:07 +08:00
JW Wang d201fcefe3 Bug 1427931. P1 - remove MediaDecoder::PinForSeek/UnpinForSeek. r=bechen,gerald
PinForSeek() is called only when playback reaches the end. In other words,
it is not called for most cases of seeking. It should be OK not to call it at
all during seeking.

MozReview-Commit-ID: 1xXX1321bO7

--HG--
extra : rebase_source : df8ba3f59da2a337b456546af4b54abaddfe38a9
extra : intermediate-source : 0a70419f9ce639ac0784a0632db4598d6be511f8
extra : source : bfddad9b922386c91fcfa7657a7ac274991d15f4
2017-12-19 17:56:52 +08:00
Julian Descottes aec4f03b2a Bug 1425393 - open sw tabs in background in about:debugging tests;r=ochameau
MozReview-Commit-ID: 8UyrTDtHa7b

--HG--
extra : rebase_source : 2737c3a0b354215713714e6b03c0e76e638fef9d
2017-12-12 15:49:36 -06:00
Noemi Erli 2da14c0702 Backed out changeset 591cf97d4777 (bug 1427077) for ES failures in /builds/worker/checkouts/gecko/devtools/client/shared/webpack/rewrite-lazy-getter.js r=backout on a CLOSED TREE 2018-01-04 10:42:44 +02:00
Mark Banner 351ae38da6 Bug 1427745 - Enable ESLint rule mozilla/use-services for dom/media. r=jib
MozReview-Commit-ID: 5UfN1TJH6D4

--HG--
extra : rebase_source : 07597f865d3ccf5955f99501e3fedb6adbf47b72
2018-01-03 15:11:03 +00:00
Mark Banner ec4d7eb2fd Bug 1427754 - Enable ESLint rule mozilla/use-services for accessible/ r=surkov
MozReview-Commit-ID: EJoFyhMfQzv

--HG--
extra : rebase_source : 4df24c322ff9144f9c38d4d8d7aff35ef0f7419d
2018-01-03 15:26:19 +00:00
Makoto Kato e38403da76 Bug 1427964 - Remove unused methods from CSSEditUtils. r=masayuki
Some methods in CSSEditUtils are unused now, so let's remove it.

MozReview-Commit-ID: H4HiqL6hW9K

--HG--
extra : rebase_source : 80e10ba5e6de5fcc5032dc2e08fa84bf26e80795
2018-01-04 14:27:15 +09:00
JW Wang 37c6437dd1 Bug 1427934. P3 - check v.ended before calling callSeekToNextFrame(). r=kaku
v.ended is set to true before the 'ended' event is fired. Then we can simplify
the code by asserting seekToNextFrame() should never be rejected.

MozReview-Commit-ID: 5fB2QuboU0I

--HG--
extra : rebase_source : b8662773ec6bd0c9292666d1aa29a48cb860b22b
2018-01-04 11:25:51 +08:00
JW Wang 1c1feaca18 Bug 1427934. P2 - disable dormant. r=kaku
This makes tests run slightly faster.

MozReview-Commit-ID: 9gsrgEw4kx5

--HG--
extra : rebase_source : a73724f87160da421eb8ed6edb962fc527bf86d9
2018-01-04 11:19:44 +08:00
JW Wang 4931be7cbe Bug 1427934. P1 - make logging less verbose. r=kaku
MozReview-Commit-ID: J1zxpmxLzy1

--HG--
extra : rebase_source : f9efe61e16ff6be3fb16cef43e0b0b3b86b7efe3
2018-01-04 11:18:19 +08:00
Hiroyuki Ikezoe 68625f879b Bug 1427868 - Run skipped test cases for scrolled-out elements on Android. r=birtles
These tests can be passed now, I don't know what fixed them, presumably
bug 1421476 and bug 1379515 fixed it.

MozReview-Commit-ID: 2srFKTWWvK

--HG--
extra : rebase_source : 418d366ade78d5a9994cb9bbbab39c4c0b42a2a4
2018-01-04 15:22:34 +09:00
pd4d10 32c41ce3c9 Bug 1427077 - Make devtools/client/netmonitor work correctly at browser r=rickychien
Replace `loader.lazyGetter` pattern with normal variable assignment

MozReview-Commit-ID: I08f8hnQ0nN

--HG--
extra : rebase_source : 18d9108d1b49aad92f0c9a2223c2fff58e1dddb1
2018-01-03 21:33:57 +08:00
Botond Ballo 54882430dc Bug 1425686 - Remove scroll input methods telemetry code. r=kats
MozReview-Commit-ID: 1PC4826SMvh

--HG--
extra : rebase_source : de145e653f553a41763ae1ba461478709cb7d905
2017-12-20 15:16:18 -05:00
Dão Gottwald 61416f17d2 Bug 1427787 - Remove .tabs-left and .tabs-right styling. r=jaws
MozReview-Commit-ID: HvGcEBv5FOO

--HG--
extra : rebase_source : 2d20ac1d946434c9d19c2ba1d91dfe17d7c33fb9
2018-01-03 17:17:50 +01:00
Ricky Chien 255b132d6a Bug 1426057 - Move chart style from skin/widgets.css StatisticsPanel.css r=Honza
MozReview-Commit-ID: B08TtEdZ9h

--HG--
extra : rebase_source : efdef2ac32111fe0fd40fc0f8c1d23c87e5b6214
2017-12-22 15:55:10 +08:00
Nicolas Chevobbe 49d939d990 Bug 1406038 - Rename and enable browser_webconsole_bug_1050691_click_function_to_source.js in new console frontend; r=bgrins.
The test differs a bit from the old one since we are now testing that there is
a button to jump to definition.

MozReview-Commit-ID: DnC5uJ3pAea

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug_1050691_click_function_to_source.html => devtools/client/webconsole/new-console-output/test/mochitest/test-click-function-to-source.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug_1050691_click_function_to_source.js => devtools/client/webconsole/new-console-output/test/mochitest/test-click-function-to-source.js
extra : rebase_source : e0700658c4a88b0e16ebf8e14102dacd52aec71f
2018-01-03 18:06:34 +01:00
Margareta Eliza Balazs c06fd8b9d6 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-04 10:07:11 +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
Pyfisch 24b5e64ac1 servo: Merge #19681 - Format parts of layout (from pyfisch:rustfmt-display-lists); r=emilio
Formats the following files:
* components/layout/display_list_builder.rs
* components/layout/webrender_helpers.rs

Remove outdated options from rustfmt.toml.
Configure rustfmt to place binary operators
at the end of line (to match ./mach test-tidy).

Rationale: I am tired of indenting my patches by hand trying my best to do it correctly and match the surrounding code. Just to be told that either my indentation is wrong or that I should switch to block indentation for this function because it looks better.

The new formatting passes `./mach test-tidy`. Compared to the old formatting it is a lot more consistent but also tends to spread the code across more lines. The diff is this big because a lot of code used visual indentation.

See also #8553

Source-Repo: https://github.com/servo/servo
Source-Revision: 3692f13dcbba64741e2f8d15fc1e225667437ef6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 03e42b8bf9b41ecf90a607bcfe8b3b5647fca017
2018-01-03 19:49:02 -06: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