544026 Commits

Author SHA1 Message Date
Ting-Yu Lin
322430d9e4 Bug 1375513 Part 1 - Support non-chrome XBL bindings with stylesheets for stylo. r=heycam
MozReview-Commit-ID: bclwwk6uzI

--HG--
extra : rebase_source : 1dcbc7ef2f482333991e3bce1cf18ee5924c2740
2017-06-27 22:49:19 -07:00
Nihanth Subramanya
84841ecdaf Bug 1375973 - Color the tabstrip instead of the titlebar on macOS. r=dao
MozReview-Commit-ID: HhvF8sGhoWC

--HG--
extra : rebase_source : 765a4bf4a5d4b8e706b7f9468a9a561d4485bbed
2017-06-24 03:38:29 +05:30
Sebastian Hengst
0dae3d6940 Backed out changeset ee62473b968c (bug 1376647) for build bustage: no member named 'MayHaveAnonymousChildren' in 'nsIContent' at dom/base/nsContentUtils.cpp:10258. r=backout on a CLOSED TREE 2017-06-29 01:09:42 +02:00
Ricky Chien
e04c3ddc59 Bug 1371494 - Save All As HAR does not populate log.entries[x].time r=Honza
MozReview-Commit-ID: A0kY2xVyVDq

--HG--
extra : rebase_source : d5ec5be427a017ed30c0d90bec8be3551cb18e83
2017-06-23 23:06:37 +08:00
Christian Holler
428858f77b Bug 1376959 - Fix broken/missing LibFuzzerRegistry.h include. r=froydnj
MozReview-Commit-ID: WoHveMcQqt

--HG--
extra : rebase_source : 8da048c921f2aa2b248dce2ac646e67056ed4d8b
2017-06-28 15:20:11 -07:00
Mike Hommey
dd3660441c Bug 1374946 - Only download what's needed for l10n repacks. r=Callek
As of bug 1373150, l10n repacks do not require a anything to compile, so
they can stop downloading most toolchains from tooltool. However some
tools are still required, such as mozmake on Windows and DMG-related
tools on cross OSX.

--HG--
extra : rebase_source : f46e851c7941491530ce65490d0cfce4f9f02e35
2017-06-21 16:36:23 +09:00
Chris Pearce
c1a1beca7f Bug 1376509 - Bump supported playack rates to [1/16,16]. r=padenot
Chrome supports playback rates in the ranges of [1/16,16], so we may as well
support the same.

MozReview-Commit-ID: 7mMXQfPiv9d

--HG--
extra : rebase_source : 5dd0b717ad711f49ff3df5156cc07d48c8a694b7
2017-06-28 10:00:58 -07:00
Patrick Brosset
c109f6e2ed Bug 1374587 - Avoid getting NodeActors for grids when we already know them and filter reflows; r=gl
Here we make updates on reflow slower (with a throttle) cause we don't
really need to update live.
We also filter all reflows that do not cause either the list of grids or
the current outline to change.
Finally, we also attach NodeActors to GridActor forms (when they are know)
in order to avoid one more round-trip to the server.

Globally, this makes performance of the grid panel far better on pages that
cause many reflows.

Note that this commit also fixes a debounce vs. throttle confusion that
existed in an inspector utils file. The throttle function there was actually
a debounce function, so it was renamed, and an actual throttle function
was added.

MozReview-Commit-ID: GeqgZR0o0E6

--HG--
extra : rebase_source : 6b9719379dcbd4479bded26014aa3742bd75208e
2017-06-27 12:02:53 -07:00
Ralph Giles
ea1e9c1f12 Bug 1376940 - mozboot: Update rustup to 1.5.0. r=froydnj
Bump the target version and checksums for the rustup installers
we use for the latest release so reduce the variance with manual
installs.

MozReview-Commit-ID: E5O4UOu1wLr

--HG--
extra : rebase_source : a0745515957667787929bc5df05a66adb29cbd66
2017-06-28 14:23:48 -07:00
Sean Lee
728ab48c8a Bug 1360114 - Merge extra address-lines to address-line3. r=lchang
MozReview-Commit-ID: INnNaMVveuF

--HG--
extra : rebase_source : 6f7ba0b27b75c4e3abc6842ccab82e5c72f2c6f3
2017-06-27 09:41:10 -07:00
Jan Henning
c3cd1b4bc6 Bug 1376137 - Fix Android memory pressure mapping. r=snorp
The lowest foreground memory pressure level we receive is TRIM_MEMORY_RUNNING_MODERATE, which is then followed by TRIM_MEMORY_RUNNING_LOW, so it's the latter that should trigger MEMORY_PRESSURE_MEDIUM.

MozReview-Commit-ID: 6XUrVkfdBm7

--HG--
extra : rebase_source : f8f0dda133c23e8df6ec08c042851ed6dbb89681
2017-06-27 11:22:59 -07:00
Xidorn Quan
747d424555 Bug 1375944 - Increment font set generation when font-face is synchronously loaded in post-traversal. r=heycam
MozReview-Commit-ID: IJO6Uggpca4

--HG--
rename : layout/reftests/fonts/Ahem.ttf => layout/style/test/Ahem.ttf
extra : rebase_source : 0fc61d16412ff48eb50129bc614607a647293542
2017-06-28 11:14:18 -07:00
Fischer.json
ecd9640d99 Bug 1357021 - Part 2: Add the browser_onboarding_tours.js test, r=mossop
This commit
- renames browser_onboarding_hide_tours.js to browser_onboarding_tours.js
- adds test_click_action_button_to_set_tour_completed and test_set_right_tour_completed_style_on_overlay test cases
- updates test_hide_onboarding_tours test case to test the changes of prefs of tours complete state

MozReview-Commit-ID: A0jD0lZWywL

--HG--
extra : rebase_source : a41c35e9e974dc5ad84a8055efbee245dd7c1814
2017-06-18 17:14:09 +08:00
Fischer.json
219d62f6f1 Bug 1357021 - Part 1: Handle tours completed state, r=mossop
This commit
- turns on the `onboarding-complete` css style for completed tours
- sets individual tour as completed when action button of that tour is clicked
- sets all tours as completed if hide-the-tour checkbox is checked after toggling the overlay

MozReview-Commit-ID: mps3BrdhOz

--HG--
extra : rebase_source : 3023997897dc80f18b59b69e79a82c211338f88c
2017-06-18 14:46:09 +08:00
Kan-Ru Chen
a6052d02e5 Bug 1353731 - Only attempt to reset timer every per osfile.reset_worker_delay. r=Yoric
After this patch for every restartTimer() call we only set a flag to
indicating that we should reset the timer when the timer fires.

MozReview-Commit-ID: GRInHxuEEQM

--HG--
extra : rebase_source : c1961186356f818061553330d7255f3851702825
2017-06-27 16:04:51 -07:00
Chung-Sheng Fu
a33a8c708d Bug 1337161 - Fix leak of GamepadPlatformService r=jhao,Lenzak
MozReview-Commit-ID: CPLg8kyL0xH

--HG--
extra : rebase_source : d3a42b792e63b6fe9893976bcf972cf039c2263b
2017-06-22 16:56:18 +08:00
Chung-Sheng Fu
87c473c8f2 Bug 1337161 - Add test case r=arthuredelstein,smaug
MozReview-Commit-ID: DseKBevAiuR

--HG--
extra : rebase_source : 9848f96b555d65e82ae261c6cf138c871b565e1e
2017-06-19 10:11:24 +08:00
Chung-Sheng Fu
49fb1d27d8 Bug 1337161 - Hide information of connected gamepads from content when privacy.resistFingerprinting is true r=arthuredelstein,smaug
MozReview-Commit-ID: Di6ba9B4w0d

--HG--
extra : rebase_source : 69b392d4c0fa7ed5ac8f4fa02091153537a99798
2017-06-15 17:59:26 +08:00
Jean-Yves Avenard
d61a420f11 Bug 1376838: Revert "Bug 1360006: Whitelist VP9 decoder to intel GPU only." r=cpearce
This reverts commit 77f2dd5563d2c3e9ad7ada388036f1846c1e2107

MozReview-Commit-ID: 71Hr05Z6hA4

--HG--
extra : rebase_source : 3efa2e95d2a560b43443a07fc1948cf146d054f0
2017-06-28 19:45:24 +02:00
Cameron McCormack
3276488f50 Bug 1372061 - Part 4: Test expectation adjustment. r=heycam
MozReview-Commit-ID: BXDMoZ8LTg5

--HG--
extra : rebase_source : 8bf67b02a9d5f422a16d8e128cd594752fb21439
2017-06-27 23:56:13 -07:00
Cameron McCormack
e0c3937257 Bug 1372061 - Remove unused StyleChildrenIterator::IsNeeded. r=bholley
MozReview-Commit-ID: LH8xZMrcdO1

--HG--
extra : rebase_source : 5d2e6a729442f7a7b8ded5d8b976933b53780b69
2017-06-27 23:56:13 -07:00
Cameron McCormack
a0ce63693c Bug 1372061 - Change StyleChildrenIterator FFI functions to use placement new/delete. r=bholley
MozReview-Commit-ID: BEWvJcaJxA

--HG--
extra : rebase_source : 48b4982001a305b95a88578cb278c3c6e4beac70
2017-06-27 23:56:13 -07:00
Cameron McCormack
4cfbfe320e Bug 1372061 - Add node flag recording whether we might have anonymous children. r=bholley
MozReview-Commit-ID: CMaxJ1JnuYJ

--HG--
extra : rebase_source : ac5651b0d42125fd2a4ff3f5ce03f7a6c6ab1fbb
2017-06-27 23:56:12 -07:00
Kartikaya Gupta
a9cf106a4a Bug 1376311 - Bump webrender_traits dependency in non-gtest Cargo.lock to match that of the gtest Cargo.lock. r=froydnj
MozReview-Commit-ID: 3virfkTjM8H

--HG--
extra : rebase_source : 88b27444604795d7e6c7942a426db6977701c144
2017-06-28 12:20:17 -04:00
Makoto Kato
48c416047f Bug 1375910 - Don't remove text node when setting value is empty string. r=masayuki
When setting empty value by input.value, we remove text node and insert bogus node.  But creating and removing node are expensive.  So we should keep text node for performance if possible.

Now, DocumentIsEmpty only checks bogus node to detect empty.  So, keeping text node change causes that document cannot detect as empty.  If root has only text node and all is empty, we should detect empty document.

This change should be only plain text editor.  HTML editor already allows multiple text nodes, so we should keep old behaviour on HTML editor.


MozReview-Commit-ID: Gt8GmdWAA3E

--HG--
extra : rebase_source : 4c5deba024cab3d7e2e1e2a8ec53a29f2fdf8cd9
2017-06-28 07:42:09 +09:00
KuoE0
3b9e52d365 servo: Merge #17549 - Make '-moz-context-properties' support 'fill-opacity' and 'stroke-opacity' (from KuoE0:make-moz-context-properties-support-fill-opacity-and-stroke-opacity); r=heycam
Enable 'fill-opacity' and 'stroke-opacity' for '-moz-context-properties' to make the context-{fill|stroke}-opacity work in SVG-as-an-image.

---
<!-- 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 [Bug 1373159](https://bugzilla.mozilla.org/show_bug.cgi?id=1373159)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because the test cases will be added in gecko.

<!-- 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: 9d1b26de1f24e4183ecf0c8aa4957aec9674d1f9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3d0b906c394c8671bf05e3d1f92dcedbf5047da2
2017-06-28 13:01:32 -07:00
Cameron McCormack
d25f611706 servo: Merge #17541 - style: Make GeckoElement::traversal_children faster (from heycam:is-needed); r=emilio
From https://bugzilla.mozilla.org/show_bug.cgi?id=1372061.

Source-Repo: https://github.com/servo/servo
Source-Revision: a40e5353b32076e429c96112dab134bb3db3b728

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 670453b4d28b2c1c12171f4432dc678e31a55979
2017-06-28 11:59:31 -07:00
Henrik Skupin
bc0f54dd08 Bug 1366199 - Release marionette-harness 4.1 and marionette-driver 2.3.0. r=maja_zf
MozReview-Commit-ID: GOrSXY8aHFJ

--HG--
extra : rebase_source : 05f6ff7b25bf55a5f7a073e1ddfca57d3a26287b
2017-06-28 10:18:13 -07:00
Henrik Skupin
9b6fba71c7 Bug 1366199 - Relax marionette-harness depencency for AWSY. r=erahm
MozReview-Commit-ID: Js5ppUYSSpn

--HG--
extra : rebase_source : 49bcf0fb53157dedbf1bfcad49f4684dfe610a7c
2017-06-28 14:57:03 -07:00
Gijs Kruitbosch
d75dc0848a Bug 1373968 - size overflow panel appropriately in customize mode and align arrow with overflow button, r=mikedeboer
MozReview-Commit-ID: FV0TKuD0saa

--HG--
extra : rebase_source : 3c03da6e59105b5ace19c9a64bfc178246bd5d92
2017-06-23 14:29:00 +01:00
Brian Grinstead
54aa0a0210 Bug 1366851 - Flip the sidebar icon depending on if the sidebar is positioned at the start or end of the browser;r=Gijs
MozReview-Commit-ID: Kaobl1Ox2QZ

--HG--
extra : rebase_source : c9979bb5da2cdbf61553394c87f57adac64a3257
2017-06-28 10:15:48 -07:00
Nevin Chen
658303ff1b Bug 1373174 - Add general documentation for Leanplum. r=nechen
MozReview-Commit-ID: 2dz8eR7tnUT

--HG--
extra : rebase_source : 8764a1c315330e2b439e711dfce67fcfe8394b55
2017-06-15 16:57:32 +08:00
Nevin Chen
131a99d7fa Bug 1373174 - Change Leanplum user identification method. r=nechen
MozReview-Commit-ID: LEgFJPaNBpe

--HG--
extra : rebase_source : 64e06242201774daf57468da1cf664bca154b57a
2017-06-15 16:56:52 +08:00
Cameron McCormack
e389f956ce Bug 1376647 - Use new MayHaveAnonymousChildren flag to skip work in AllChildrenIterator and some util functions. r=bholley
MozReview-Commit-ID: 783VtcY7qQF

--HG--
extra : rebase_source : 9837ea050a56c86cc7572bc1f51945cb67b55226
2017-06-27 17:53:39 -07:00
Cameron McCormack
e86592ca35 Bug 1374999 - stylo: Iterate over manually created editor NAC. r=bholley
MozReview-Commit-ID: 1CiWVfYbxaJ

--HG--
extra : rebase_source : 48ea8a0f1cb0a4072632f706ffd99529bb4447b1
2017-06-27 17:34:48 -07:00
Ricky Chien
237975e280 Bug 1374852 - Visiting preferences should always focus on search field r=jaws
MozReview-Commit-ID: H8vJP9jUjRz

--HG--
extra : rebase_source : aa5e7ab4d5a00d7a79c7b3ab5456de0f1dd81759
2017-06-28 09:50:58 -07:00
Kartikaya Gupta
56edc85a6e Bug 1376782 - Replace gfxPoint with a typedef to PointDouble. r=jrmuizel
This also moves the WithinEpsilonOf function from gfxPoint into
PointTyped, and changes call sites that are using
gfxPoint::Transform(Matrix4x4) to use Matrix4x4::TransformPoint(Point)
instead, which should be equivalent.

MozReview-Commit-ID: 3Z0bsU41rQt

--HG--
extra : rebase_source : 390e8de546d641d324e7125a06d0b8b51a48b946
2017-06-28 11:42:23 -04:00
Kartikaya Gupta
7332c6da98 Bug 1376782 - Replace gfxSize with a typedef to SizeDouble. r=jrmuizel
Most of the changes in this patch are just using the explicit
constructor from gfx::IntSize to gfx::Size, since gfxSize did
that implicitly but gfx::Size doesn't.

MozReview-Commit-ID: CzikGjHEXje

--HG--
extra : rebase_source : 9d19977f2a774d9a2a653db923553a6c2e06f82a
2017-06-28 11:41:21 -04:00
Kartikaya Gupta
57f217254c Bug 1376782 - Replace gfxMargin with a typedef to MarginDouble. r=jrmuizel
MozReview-Commit-ID: FEIILgP5Cr7

--HG--
extra : rebase_source : 572f5279dc8cd67712fd596d2f913d6131003ff4
2017-06-28 11:40:48 -04:00
Dão Gottwald
e6d183ed21 Bug 1376109 - Consolidate default sidebarheader styling and don't remove its background for lightweight themes. r=nhnt11
MozReview-Commit-ID: CWisvnVYLJc

--HG--
extra : rebase_source : dde3864c2c34f7531ba04c4819fa2571bf936f82
2017-06-24 17:04:53 +02:00
Henrik Skupin
25cda893fb Bug 1375104 - Combine standard and Gecko log for Marionette. r=ato,maja_zf
In automation we should combine the standard logging and
the gecko log by default to ease the investigation of test
failures. It will also provide crash/assertion output
without having to search for it in other log files.

Also the custom error list has been replaced with the
default base and harness error lists as used by other
harnesses, which prevents false assumptions by the parser
when the trace log contains returns of expected errors.

MozReview-Commit-ID: 1rQ6maOqD3V

--HG--
extra : rebase_source : 77e94ffc6b77ac0467214321ed566f58c4e46f0e
2017-06-24 12:00:56 +02:00
Matt Brubeck
8f14d009f9 Bug 1367312 - stylo: Implement :-moz-lwtheme* pseudo-classes. r=emilio
MozReview-Commit-ID: 4T6Tn1VEwXP

--HG--
extra : rebase_source : c2dd0b62757c3da5380414fa3214248b9328d38a
2017-06-28 09:04:49 -07:00
Matt Brubeck
fd2567e118 servo: Merge #17547 - Bug 1367312 - stylo: Implement :-moz-lwtheme* pseudo-classes (from mbrubeck:lwtheme); r=emilio
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix [bug 1367312]
- [x] There are tests for these changes

[bug 1367312]: https://bugzilla.mozilla.org/show_bug.cgi?id=1367312

Source-Repo: https://github.com/servo/servo
Source-Revision: 71f1f4b508e949e9acdd17a9fe50a8717dfea465

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6be00ef893559beb73b38850e2041f4b75be2bc3
2017-06-28 10:08:37 -07:00
Chung-Sheng Fu
a226f84489 Bug 1369357 - Add test case r=arthuredelstein,dao
MozReview-Commit-ID: MLEmbEd4ri

--HG--
extra : rebase_source : 0d1c90873c0689ec3e1e54230054c3e1b2b8f1ec
2017-06-19 13:18:08 +08:00
Chung-Sheng Fu
3f9fb1de56 Bug 1369357 - Enabling privacy.resistFingerprinting implies disabling browser.zoom.siteSpecific r=arthuredelstein,dao
MozReview-Commit-ID: XmzvzyUVnu

--HG--
extra : rebase_source : f8819d740923cdc1ebec3d4d76a718abbf39548c
2017-06-19 10:33:23 +08:00
Nan Jiang
29b9ec51dc Bug 1352502 - Part 2. Add API to update the page meta info for Places. r=mak
MozReview-Commit-ID: K3SjQr3ayjS

--HG--
extra : rebase_source : 8fda3d2d7ea5f5e1883b2a96e03175c7265f7e52
2017-06-23 14:30:27 -04:00
Nan Jiang
eb809f32a5 Bug 1352502 - Part 1. Add description and preview_image_url to Places. r=mak
MozReview-Commit-ID: 4dvVboTm4kf

--HG--
extra : rebase_source : 8e5a0ebc9c9e4930b2a0f013c47c7018deb6ad54
2017-05-23 14:54:13 -04:00
Matthew Wein
bdae7d6f5b Bug 1371879 - Add support for unregistering proxy scripts r=mixedpuppy
This patch suggests deprecating proxy.registerProxyScript and replacing it with proxy.register since this API won't support registering anything other than proxy scripts. I normally would be hesitant to suggest making a name change after an API is released, but this API is one that is still in development, and for that reason I think changes like this should be somewhat expected until the API becomes more stable.

MozReview-Commit-ID: 9UeuUjQ6OU5

--HG--
extra : rebase_source : 62aaf71ee3928ceb6cccc1129f5ebbc871d812b8
2017-06-26 00:41:33 -04:00
Cameron McCormack
93d7710ae0 Bug 1376805 - Disable stylo for about: pages other than about:blank. r=bholley
MozReview-Commit-ID: F3gSY2uDGJ7

--HG--
extra : rebase_source : f4da04c615440efa5f5641fc76473f000c501548
2017-06-28 10:17:45 -07:00
Bobby Holley
834849b377 Bug 1376655 - Move EnsureSameStructsCached to GeckoStyleContext. r=emilio 2017-06-28 10:08:37 -07:00