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

547543 Коммитов

Автор SHA1 Сообщение Дата
Cameron McCormack 9654eabe7f Bug 1380133 - Part 1: Minor reformatting and encapsulation. r=emilio
MozReview-Commit-ID: 3hmptLbxxok
---
 dom/animation/KeyframeUtils.h      |  2 +-
 layout/style/ServoBindings.cpp     | 24 +++++++++++++++---------
 layout/style/ServoStyleContext.cpp | 21 ++++++++++++---------
 layout/style/ServoStyleContext.h   | 33 ++++++++++++++-------------------
 layout/style/ServoTypes.h          | 24 ++++++++++++++----------
 layout/style/nsAnimationManager.h  |  7 +++----
 6 files changed, 59 insertions(+), 52 deletions(-)

--HG--
extra : rebase_source : 150278b5f7429986e79976ec9faf290db6de86c0
2017-07-21 11:42:42 +08:00
Emilio Cobos Álvarez 7a673885bb servo: Merge #17802 - Revert "Backed out changeset b10e6ba9cbdb because gecko part had to b… (from emilio:reland-stuff); r=heycam
…e backed out."

This reverts commit b96d96d448c8ff93f212f225013461999540a5d0.

The fix on the Gecko side is trivial, and I can land it after this lands.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 529387084a48def5605d5285fef062e8dd021453
2017-07-20 20:28:25 -07:00
Xidorn Quan f9743a6579 Bug 1377115 - Enable test_variables.html. r=heycam
The external sheet isn't meant to test the order of items. It is just
for testing handling of relative url in CSS variable, so it doesn't make
sense to have it affect the test for checking return value from item().

MozReview-Commit-ID: APTauRXfe1H

--HG--
extra : source : 9f7096a54992120170b4ab8ac8e922609387f68a
2017-07-21 13:40:46 +10:00
Xidorn Quan 35db44a32e Bug 1381233 - Add test for this bug. r=heycam
MozReview-Commit-ID: 6A99LrHU2Li

--HG--
extra : source : 03ccb6d8bbafcd585b55fc9da6ff71dc7612cadd
2017-07-21 13:40:09 +10:00
Xidorn Quan 869c9e8efc servo: Merge #17799 - Don't panic when body element don't have style data (from upsuper:body-color-panic); r=heycam
This is the Servo side change of [bug 1381233](https://bugzilla.mozilla.org/show_bug.cgi?id=1381233).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f06ed5e740351aa4abf010734fc9a6ed65e38194
2017-07-20 19:23:19 -07:00
Alastor Wu 52e4d86364 Bug 1274919 - part5 : add test. r=baku
MozReview-Commit-ID: 5wKkE5tphLl

--HG--
extra : rebase_source : 22d9996b0f8fde0dbcab41147c7de54abd881861
2017-07-20 15:11:37 +08:00
Alastor Wu 3308cbf81c Bug 1274919 - part4 : add telemetry probe to measure how long the cursor is hovering before opening the tab. r=bsmedberg,mikedeboer
Measure the time how long the cursor is hovering before opening the unselected
tab. If the tab didn't be opened, the data won't be recorded.

MozReview-Commit-ID: 4oTj0RzJhG

--HG--
extra : rebase_source : 7706df672012027a0def84674e83ea7afd7ee50f
2017-07-20 15:11:35 +08:00
Alastor Wu 1499ee0710 Bug 1274919 - part3 : only send msg if someone is waiting for it. r=jwwang,mikedeboer
Only send the msg "Browser:UnselectedTabHover" when someone requests for the
msg, it can reduce non-necessary communication.

MozReview-Commit-ID: 2mBUMB4AMVo

--HG--
extra : rebase_source : d7a5103e2713735fdd0f65c7de381b219f4cce26
2017-07-20 15:11:25 +08:00
Alastor Wu f235c5746c Bug 1274919 - part2 : implement resume/suspend mechanism in MediaDecoder. r=jwwang
Create the new class "BackgroundVideoDecodingPermissionObserver" to handle the
suspended request sent from the front end side.

We would do registration on startup and deregistration on shutdown of MediaDecoder.

MozReview-Commit-ID: 1UwHA7YuVN3

--HG--
extra : rebase_source : a0bc22999fbf799cd25da8ec423d9f03acc9e8e2
2017-07-20 14:13:37 +08:00
Alastor Wu f0710402aa Bug 1274919 - part1 : send the msg "Browser:UnselectedTabHover" when the cursor is hovering over or leaving the unselected tab r=mikedeboer
This msg is used to notify the status whether the cursor is hovering over the
unselected tab or not.

It's used for the media's feature, resuming the background video decoding.

MozReview-Commit-ID: GuAyLNdH10c

--HG--
extra : rebase_source : 4419dfda8f7f2c7224244b19341ec4987a66fdbe
2017-07-20 14:13:08 +08:00
Jared Wein 716e6429c4 Bug 1380815 - Fade overflow menu icon to grey after item is pinned. r=sfoster
MozReview-Commit-ID: 2LQrWDxrTny

--HG--
extra : rebase_source : 6e0ccf341e84970d7897b2d27c23e0ea7a7361bf
2017-07-20 10:53:45 -04:00
Daisuke Akatsuka 161f78bcb9 Bug 1378076 - Part 5: remove test fail annotations from meta in wpt. r=hiro
Since we support following discrete animation, remove annotations.

* border-bottom-style
* border-left-style
* border-right-style
* border-top-style
* cursor

MozReview-Commit-ID: qm6AsGKMeh

--HG--
extra : rebase_source : 883d61ff7758f8be25f3ea78f06bec22f535cac7
2017-07-20 15:21:16 +09:00
Daisuke Akatsuka 3045b91d6e Bug 1378076 - Part 4: add tests for moz prefixed properties. r=hiro
Add tests for following moz prefixed properties.

* -moz-user-select

MozReview-Commit-ID: 6X3iNYpc6kH

--HG--
extra : rebase_source : dc7d53801bab2b5563af3b35fd2f045b60000132
2017-07-20 15:21:12 +09:00
Daisuke Akatsuka 6e2a8a3429 servo: Merge #17797 - make border-XX-style, cursor, -moz-user-select animatable (from dadaa:bug1378076); r=hiro
<!-- Please describe your changes on the following line: -->

---
<!-- 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

<!-- Either: -->
- [X] There are tests for these changes. The test codes are patch 4 and 5 of https://bugzilla.mozilla.org/show_bug.cgi?id=1378076

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 196ba9f1767faab7e0cdaf4c7353cc725de8dd94
2017-07-20 18:20:36 -07:00
JW Wang 87a7705558 Bug 1316211. P16 - remove MediaDecoderReader completely and fix includes. r=gerald
MozReview-Commit-ID: AGNyyh4kt3e

--HG--
extra : rebase_source : 48bfd7c681693a965848078c19ac81707ac19540
extra : source : 093ff5fe2ab6dd7551453b10b480fa3553ec135d
2017-07-20 09:56:08 +08:00
JW Wang ef025c6fcf Bug 1316211. P15 - remove MDR from the base class of MFR. r=gerald
MozReview-Commit-ID: Jf5pCxkhexg

--HG--
extra : rebase_source : 3ec9423d4d0f3b60ee9e5f6f19af18188530e1d9
extra : source : 4fbc225bfc79abacaf47ffd4405ef2d6711dea32
2017-07-19 22:18:37 +08:00
JW Wang 2e40eb607f Bug 1316211. P14 - move members from MDR to MFR. r=gerald
MozReview-Commit-ID: EwdteoEY1uS

--HG--
extra : rebase_source : 2cc250720539ba6c1682efac69d3724164338137
extra : source : d4cc3de1ae224bdca414cd02f4d3473c44fe4d20
2017-07-19 17:34:05 +08:00
JW Wang 5370eb3105 Bug 1316211. P13 - replace use of MediaDecoderReader with MediaFormatReader. r=gerald
We will remove MediaDecoderReader in the future.

MozReview-Commit-ID: BaCRXleKK5a

--HG--
extra : rebase_source : dc14a593d6291136f02b1deb910cd6dcd01c0355
extra : source : 8f71b7dae0a541562c7c3829b5a873e9f9fd2674
2017-07-19 17:01:32 +08:00
JW Wang fe278cb908 Bug 1316211. P12 - remove some more unused members. r=gerald
MozReview-Commit-ID: IEs0jXrC3tI

--HG--
extra : rebase_source : d1f7d2e51322c46ba16a28e448287d65e83d86f0
extra : source : 9eea2bf7cbbf9ac80d76cf983e9635ad2ae50493
2017-07-19 15:28:02 +08:00
JW Wang a7d0db5642 Bug 1316211. P11 - remove empty functions. r=gerald
MozReview-Commit-ID: 44blKyrVzLV

--HG--
extra : rebase_source : c65bc3b216cbd2409f22c519100a525f8c01beac
extra : source : dcdb98fbdd1389eaec08ccf32a685774ce53f755
2017-07-19 15:15:14 +08:00
JW Wang 11bf9c01e0 Bug 1316211. P10 - make SizeOf{Audio,Video}QueueInFrames() pure virtual which will be overridden by MFR. r=gerald
MozReview-Commit-ID: 5a4qTXVWdG1

--HG--
extra : rebase_source : 891470ac9bc3df6425ee190a98acea55902bf66f
extra : source : b7916e882c764cd3402f19a0985961a277264f12
2017-07-19 15:12:12 +08:00
JW Wang 0ffa647791 Bug 1316211. P9 - remove SizeOf{Audio,Video}QueueInBytes() that has no callers. r=gerald
MozReview-Commit-ID: A6TbGMdyDGQ

--HG--
extra : rebase_source : 6af7018d0ecea4d11040382ccd3ddf7719979ad2
extra : source : b4a506b3ebfd9ceb8b3eb5a23ea8499e0d3e9ddf
2017-07-19 15:08:27 +08:00
JW Wang afcae477f6 Bug 1316211. P8 - fix MDSM::SizeOf{Audio,Video}Queue which should count its own queues. r=gerald
MozReview-Commit-ID: HMtkZpMSf3L

--HG--
extra : rebase_source : d533689da3e0678488638a84f1747f80586900b2
extra : source : a6e1edb69b3c88abd8cd4428ab227dbb9bbaf5a3
2017-07-19 15:02:33 +08:00
JW Wang bfebe64691 Bug 1316211. P7 - remove mAudioQueue and mVideoQueue for we never push data into the queues. r=gerald
MozReview-Commit-ID: AL5JqUIAVXo

--HG--
extra : rebase_source : daf75d0e9a6065769b88d09fa52132f561d5ee77
extra : source : c6901fa2f8c548648606ecc1750ef98a38b8d6ad
2017-07-19 14:49:08 +08:00
JW Wang 7383189ffa Bug 1316211. P6 - move some members from MDR into MFR. r=gerald
MozReview-Commit-ID: 9H17UZjpCDT

--HG--
extra : rebase_source : 42ac663c72e71a4d3dddb995e43fde342e1ff7a8
extra : source : 0eac04f34efeb0c26fd9d09bea9299dbe460ffa9
2017-07-19 14:27:24 +08:00
JW Wang 39d88e8d8b Bug 1316211. P5 - remove IsAsync() and its callers. r=gerald
MozReview-Commit-ID: CT2gyEak2Qz

--HG--
extra : rebase_source : 205bf82c8abe7da9026bff6daab7562a5981ea39
extra : source : a6a543c1d90133036caada487799cac064e2f3f3
2017-07-19 14:24:35 +08:00
JW Wang 2f7cce7073 Bug 1316211. P4 - remove CheckSlowDecoding() and friends since IsAsync() now always returns true. r=gerald
MozReview-Commit-ID: 3dOa0aUQ0kM

--HG--
extra : rebase_source : 3091fc002b28bd9d2b45c330a45c437032c4cf18
extra : source : b6fe47f3e125097d8d5c6dd322c948b6c483980a
2017-07-19 14:19:40 +08:00
JW Wang 669cff3ca0 Bug 1316211. P3 - remove unused members. r=gerald
MozReview-Commit-ID: 4cAHEvMEm9Q

--HG--
extra : rebase_source : bc3d7decf46c5ea5b2b99d0df383875ea99dd035
extra : source : 02bba6d4539ae37085774c09f3ba6c1e3c55b61c
2017-07-19 11:51:53 +08:00
JW Wang 3e0b54aed5 Bug 1316211. P2 - remove dead code. r=gerald
MozReview-Commit-ID: FQNyxabfhrp

--HG--
extra : rebase_source : 45386b4fa0be0038482b3f5ac79498847c38dad2
extra : source : 35829fc167cf54a4e08e52d61241f6c2282400f2
2017-07-19 11:43:59 +08:00
JW Wang 2fa451fa7d Bug 1316211. P1 - make some functions pure virtual for they will be overridden by MFR. r=gerald
MozReview-Commit-ID: 9l8MbDRjLR0

--HG--
extra : rebase_source : f055ef64dfc71e0da709aab69db0049cafe10dae
extra : source : 2e5c4ae8b368b605f397455b3fede770d546fe86
2017-07-19 11:24:51 +08:00
Alan Jeffrey 05183c9656 servo: Merge #17499 - Fixed scaling artefacts in paint worklets caused by zoom and hidpi (from asajeffrey:script-paint-worklets-zoom); r=glennw
<!-- Please describe your changes on the following line: -->

This PR renders paint worklet canvases at the device pixel resolution, rather than the CSS pixel resolution.

It's a dependent PR, building on #17239, #17326 and #17364.

---
<!-- 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 #17454
- [X] These changes do not require tests because we don't run reftests with zoom enabled

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3ee9ba9b149697292aef4b26de022b90ab6f781e
2017-07-20 17:09:06 -07:00
Manish Goregaokar 60f0b17b9d Bug 1382672 - Add crashtest for discrete animation between system fonts on stylo; r=emilio
MozReview-Commit-ID: 2nI3jgkZ0R7

--HG--
extra : rebase_source : 2c62ce6a3d7d19a96785803e255ffebfc9decfa7
2017-07-20 17:22:48 -07:00
Wes Kocher 916bad784e Backed out changeset 0ee08a9803fc (bug 1382849) for cctools bustage a=backout
MozReview-Commit-ID: 61JTxrzOYOZ
2017-07-20 17:59:20 -07:00
Jared Wein 3d8a18b1a2 Bug 1355922 - Save to Pocket should have an associated animation. r=Gijs
The animations on the pocket-button and library-button are disabled if they are not in the nav-bar due to issues with getting overflow:hidden and position:absolute to work the same way outside of #nav-bar. This is on file as bug 1382894.

MozReview-Commit-ID: Lq20GuocMkg

--HG--
extra : rebase_source : 216557e4bbb265c222b104f2314ac7a0e00fe459
2017-07-20 09:59:22 -04:00
Jared Wein 733ab5250f Bug 1382667 - Implement an onBeforeCommand function for CustomizableUI that will run before the command is executed. r=Gijs
MozReview-Commit-ID: DGR3mo01vXP

--HG--
extra : rebase_source : dbf5d63cbb888ffb4441485309ca854f34d0a613
2017-07-20 09:35:50 -04:00
Hiroyuki Ikezoe 90bb73c672 Bug 1367278 - Call may_have_animations() for parent element in the case where the target is pseudo element. r=birtles
In case of pseudo elements ElementHasAnimations is set on the parent element.

updating-animation-on-pseudo-element.html fails without this patch, succeeds
with this patch.

MozReview-Commit-ID: HJaX7m8nV96

--HG--
extra : rebase_source : 15466f065d852ebc5fefd5d305639ba366a221f6
2017-07-20 12:53:11 +09:00
Gijs Kruitbosch 53d1741327 Bug 1366026 - add a screenshots item to the library, r=jaws
MozReview-Commit-ID: 7DpVOBgf3rw

--HG--
extra : rebase_source : 59b8922d10476bbdcf2cbe882b89efa1854cd717
2017-07-17 12:31:35 +01:00
Ricky Chien 554036bb60 Bug 1381356 - The onboarding notification button should not wrap r=mossop
MozReview-Commit-ID: L7mMLopZqdl

--HG--
extra : rebase_source : 232d05713ff957e950aedecb7ba0ae9dcc81156e
2017-07-20 14:29:29 +08:00
Doug Thayer ffb778fbad Bug 1382706 - Listen for pending-elevate in Update-Listener r=rstrong
We were missing a possible status in the list for the downloaded
topic. This should be all that we need to get the notification to
show up.

MozReview-Commit-ID: EQSccrdv30Y

--HG--
extra : rebase_source : cc620f08549fb099a82fd1fb4b4aee1c6a124e2f
2017-07-20 16:09:36 -07:00
Ursula Sarracini 7bea00cd2b Bug 1382785 - Add Pocket, search delay, and bug fixes to Activity Stream r=Mardak
MozReview-Commit-ID: CQEN0Rzy6TX

--HG--
extra : rebase_source : 010c160c5689634056ffc81f6efb5d65961e14b8
2017-07-20 16:59:59 -04:00
Brian Stack 19dd7600d0 Bug 1380454 - Port retrigger to actions.json r=dustin
MozReview-Commit-ID: 3942ptSNiss

--HG--
extra : rebase_source : 631cbd346438d83a5af0035939b26fd678de9573
2017-07-13 10:41:58 -07:00
Andrew Swan b315b2ec67 Bug 1371762 Part 2 Treat webextension experiments as legacy r=rhelmer
MozReview-Commit-ID: ATa0DXnV2au

--HG--
extra : rebase_source : ccec3a98c62a2739831a4a3f8066cbb07b5c4bf0
2017-07-19 10:28:23 -07:00
Andrew Swan 29dfb8fda7 Bug 1371762 Part 1 Let cert shim code selectively identify some xpis as privileged r=rhelmer
MozReview-Commit-ID: L628sUEyHcL

--HG--
extra : rebase_source : 00d591f24f4f0486ebf5e01a60a00f5669f602f0
2017-07-19 10:27:21 -07:00
Mike Hommey 88ded8d062 Bug 1382849 - Add workspace cache to toolchain docker-worker jobs. r=dustin,gps
--HG--
extra : rebase_source : 79cfd065ff767b78ec81e02afd021dceb6c89e52
2017-07-21 06:55:06 +09:00
Jim Chen 37e37382dc Bug 1322586 - 5. Implement PermissionDelegate for geckoview_example; r=droeh
Add a sample implementation of PermissionDelegate for geckoview_example;
Because the prompt code has some existing boilerplate, the actual
prompts are implemented in BasicGeckoViewPrompt.

MozReview-Commit-ID: EDfmRPn4cjR

--HG--
extra : rebase_source : 3b4b770c606a9be3326bca3acd87770c5f8bb4fa
2017-07-20 17:52:14 -04:00
Jim Chen 44c21b3e03 Bug 1322586 - 4. Add and implement PermissionDelegate support; r=esawin
Add PermissionDelegate interface and implement support for Android and
content permissions (WebRTC permissions will be implemented later).

MozReview-Commit-ID: 1B2DUjh8Ajw

--HG--
extra : rebase_source : 7c0a4489b136100ca57740512436bb8cccc62f3a
2017-07-20 17:52:14 -04:00
Jim Chen 931069320f Bug 1322586 - 3. Add GeckoViewPermission.js for handling permissions; r=esawin
Add GeckoViewPermission.js, which is responsible for handling requests
from Gecko for permissions, and passing those requests to GeckoView.

MozReview-Commit-ID: C0g24hKEYbf

--HG--
extra : rebase_source : fe949fde01ddba207b12f2bd49e52ea2bc8b8c5e
2017-07-20 17:52:14 -04:00
Jim Chen 808114784e Bug 1322586 - 2. Support content event forwarding in Messaging.jsm; r=esawin
For a lot of GeckoView content process code, we send a message from
content to chrome, using a message manager, only to forward the message
to Java as an event, using an event dispatcher. This patch gives
Messaging.jsm the ability to be used in content process directly, and
lets events transparently pass through to Java.

MozReview-Commit-ID: 15dKKpQCXqJ

--HG--
extra : rebase_source : 3ab93052de3676244843c55c50ae5ade63ab8f11
2017-07-20 17:52:13 -04:00
Jim Chen ec84922bdd Bug 1322586 - 1. Add "always listen" option for GeckoViewHandler; r=esawin
It would be nice to reuse GeckoViewHandler for delegates too (e.g. for
the new PermissionDelegate), but delegates need to always listen to
their events. This patch adds an "always listen" option for
GeckoViewHandler that still keeps track of the current listener/delegate
instance, but registers for all events at initialization rather than
only when there is a listener.

MozReview-Commit-ID: JtskpZMy9T4

--HG--
extra : rebase_source : 99170bc0b19d605dde4dbf08690bb31d310ed113
2017-07-20 17:52:13 -04:00
Jim Chen 963412d5e3 Bug 1381924 - Include WebRTC bits for GeckoView; r=nalexander
Include necessary WebRTC files and permissions for GeckoView. For
permissions, we need to add the RECORD_AUDIO permission to GeckoView's
AndroidManifest.xml, but since the file is not preprocessed, we can't
use an `#ifdef MOZ_WEBRTC` block, so I think we'll just have to
unconditionally include the permission.

MozReview-Commit-ID: IUd8FFMsW99

--HG--
extra : rebase_source : b75462d53e6bd05b324e8551c888853c8678ec6b
2017-07-20 18:24:12 -04:00