Commit Graph

575522 Commits

Author SHA1 Message Date
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
159d0ad651 Bug 1381197 - Add tests for browser.cookies APIs with first-party isolation. r=robwu,rpl
MozReview-Commit-ID: 25Cx65Cr8Ry

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

--HG--
extra : rebase_source : 36bccd1ca96f91d2d1fccfbb3b7af37bc38ba279
2017-11-09 17:45:35 +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
d6353b2cd2 Bug 1381197 - browser.cookies APIs support firstPartyDomain. r=robwu,rpl
MozReview-Commit-ID: 2bryWgDLpcF

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

--HG--
extra : rebase_source : 0c86905e8a4a04c82dee9eb07652ae497cb77818
2018-01-04 10:30:07 +08:00
JW Wang
c79a2e5797 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 : c362d0ac18f44862da9b0593ad85ebfc56416325
extra : intermediate-source : 0a70419f9ce639ac0784a0632db4598d6be511f8
extra : source : bfddad9b922386c91fcfa7657a7ac274991d15f4
2017-12-19 17:56:52 +08:00
Julian Descottes
5f1069a0f5 Bug 1425393 - open sw tabs in background in about:debugging tests;r=ochameau
MozReview-Commit-ID: 8UyrTDtHa7b

--HG--
extra : rebase_source : ec05347a3fae742eb72fe489f204cd55b86cc195
2017-12-12 15:49:36 -06:00
Noemi Erli
7306351412 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
--HG--
extra : rebase_source : 0eb526012bdb75e7d27e1e5064d0040cb0a39ff4
2018-01-04 10:42:44 +02:00
Mark Banner
61630d27bc Bug 1427745 - Enable ESLint rule mozilla/use-services for dom/media. r=jib
MozReview-Commit-ID: 5UfN1TJH6D4

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

--HG--
extra : rebase_source : e31bd656aded8dae312e891ce9422bff575c76dc
2018-01-03 15:26:19 +00:00
Makoto Kato
1049bda089 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 : cdc7b763df3b1db35197597a991ee0248cff9c85
2018-01-04 14:27:15 +09:00
JW Wang
22c8322d40 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 : f9d423919e3fe6e34eaff1b4603398e66eaa594e
2018-01-04 11:25:51 +08:00
JW Wang
a9eabe67be Bug 1427934. P2 - disable dormant. r=kaku
This makes tests run slightly faster.

MozReview-Commit-ID: 9gsrgEw4kx5

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

--HG--
extra : rebase_source : cc5d3268e179468b44000799b0e8889c4a03d080
2018-01-04 11:18:19 +08:00
Hiroyuki Ikezoe
aa8102ef3e 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 : 0f1be8b0dba02c7a563f458435e6fe5cba4da041
2018-01-04 15:22:34 +09:00
pd4d10
f19aea9514 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 : 591cf97d4777207e6b6964d28f66ce61795d77d2
2018-01-03 21:33:57 +08:00
Botond Ballo
7e42a77d38 Bug 1425686 - Remove scroll input methods telemetry code. r=kats
MozReview-Commit-ID: 1PC4826SMvh

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

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

--HG--
extra : rebase_source : ff41bc9846400f41bc8152112c92c3bc0e595898
2017-12-22 15:55:10 +08:00
Nicolas Chevobbe
4022bf4f97 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 : 343e6d3828bdacf54d02c79a9e9116837f3b00f1
2018-01-03 18:06:34 +01:00
Pyfisch
05b1cc3e32 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 : rebase_source : 3f5d968815a0a21276d62413b676804266682bfa
2018-01-03 19:49:02 -06:00
Mike Park
2adeae4a8c Bug 1419088 - Hitting the Esc key on the console when sidebar is open should close it. r=bgrins
MozReview-Commit-ID: DqHjv0tXdTW

--HG--
extra : rebase_source : c4bfd034c0ee0d0fe61a7572e9a6484455cc4f57
2017-12-19 10:54:57 -05:00
Alexis Beingessner
42b068a0b3 Bug 1406231 - remove the TextLayer class, and all remaining traces of it. r=mattwoodrow
MozReview-Commit-ID: 5fmKfkO6hnO

--HG--
extra : rebase_source : 3572bba4d1aec75af2ef19d52351d7ea2137cc53
2017-12-07 17:13:05 -05:00
Mike Hommey
f4bebca38e Bug 1427336 - Share dot-config between docker-images. r=dustin
--HG--
rename : taskcluster/docker/android-build/dot-config/pip/pip.conf => taskcluster/docker/recipes/dot-config/pip/pip.conf
extra : rebase_source : 20dcc54de92a5e8daee3460884301a261da636a4
2017-12-29 14:48:23 +09:00
Mike Hommey
83973e67e7 Bug 1427336 - Fix recursive adding of directories through %include in Dockerfiles. r=dustin
Giving a directory to %include would copy all leaf files under one
single directory in the context image. The only image affected is
valgrind-build, which ended up having a dot-config/pip.conf file instead
of dot-config/pip/pip.conf, meaning valgrind jobs weren't using the
pip config.

--HG--
extra : rebase_source : 5a130a39a1ff569c4701a4bc1ce0e535a03a548f
2017-12-29 14:42:14 +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