Commit Graph

535253 Commits

Author SHA1 Message Date
Fernando Jimenez Moreno
74d09d6ab3 Bug 1361994 - Part 1: Add separate CSSDocumentRule class. r=xidorn
MozReview-Commit-ID: DMDOHvBWLHX

--HG--
extra : rebase_source : 5602924c03eb0821d304bae264f73f1db7ea8591
2017-05-11 14:11:15 +02:00
Fernando Jimenez Moreno
a78f5fdae0 Bug 1361994 - Part 0: Add MOZ_DOCUMENT to nsIDOMCSSRule. r=xidorn
MozReview-Commit-ID: HoqiuW6l9QB

--HG--
extra : rebase_source : e574e36b50a28bc135c6d5a48e121466d3cbd1d6
2017-05-11 14:11:15 +02:00
Fernando Jiménez Moreno
b18082f840 servo: Merge #16797 - Stylo: Bug 1361994 - Implement access to CSSMozDocumentRule (from ferjm:bug1361994.mozdocument.cssom); r=xidorn
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Bugzilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1361994

Source-Repo: https://github.com/servo/servo
Source-Revision: 72816687633d6e225eee5eab7912408c4f4fc7b8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b9ebad0156416a54607bb878b23eee309324ae1c
2017-05-11 06:27:42 -05:00
Sebastian Hengst
91464e0328 Backed out changeset 7a8413473cd7 (bug 1361473) for failing own test. r=backout 2017-05-11 14:15:01 +02:00
Sebastian Hengst
38f4b16e9a Backed out changeset 7c7707bb58b0 (bug 1361473) 2017-05-11 14:14:14 +02:00
Bobby Holley
de6dd624ed Bug 1363375 - Pack nsINode better on 64-bit and stop conditionally compiling mServoData. r=smaug 2017-05-11 13:51:28 +02:00
Bobby Holley
4c9431ce8a Bug 1363375 - Add static assert for element sizes on 64-bit. r=smaug 2017-05-11 13:51:28 +02:00
Bobby Holley
c5e2ffebd7 servo: Merge #16810 - Handle mBoolFlags living on nsWrapperCache (from bholley:bool_flags_wrapper_cache); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1363375

Source-Repo: https://github.com/servo/servo
Source-Revision: 0b4726c0557b9ad1bdbefb57929f05dbc65f2cf9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f0de6e5c636db4ddd284112d4f1620d94679b92d
2017-05-11 04:37:50 -05:00
Matt R
d1954ff1cd Bug 1361473 - Added new test case for 'transferred-larger-than' filter; r=Honza
MozReview-Commit-ID: Gk8ee3uzwc0

--HG--
extra : rebase_source : 07bd2483b27f73bb25db4ecc5c7d0ac557a5ab97
2017-05-10 20:28:19 +01:00
Matt R
848f9b688d Bug 1361473 - Implemented new 'transferred-larger-than' filter; r=Honza
MozReview-Commit-ID: FBGj1YnMaJt

--HG--
extra : rebase_source : 440fea57f325de4a67e374bce3540a5c15882227
2017-05-07 01:05:20 +01:00
cku
a8fdf57db1 Bug 1356179 - Part 2. Reftest for applying clip-path onto thin objects. r=mstange
MozReview-Commit-ID: 7CDyDYtLWsN

--HG--
extra : rebase_source : cc3cf094b208ce2692965a56ff9af22aecde13d2
2017-05-10 15:44:52 +08:00
cku
d12ceae739 Bug 1356179 - Part 1. Roundout clip region to make sure we have enough space for mask/clip-path painting. r=mstange
MozReview-Commit-ID: 6hfOiCDq7ni

--HG--
extra : rebase_source : 8fe0118121e4ea7ed5a47a9ddda21eb146889ef0
2017-05-10 15:42:17 +08:00
James Cheng
bbc9597929 Bug 1361984 - Fix the logic of AnnexB::ConvertSampleToAnnexB that checks the sample's extradata field even the sample is AVCC format converted by ConvertSampleToAVCC from AnnexB format. r=jya
MozReview-Commit-ID: C5cAlvRwkYj

--HG--
extra : rebase_source : 58e0ea5939446f21395a417ce23ffd2b91f5d83c
2017-05-11 16:43:12 +08:00
Hiroyuki Ikezoe
3a65ebf0a5 Bug 1356916 - Additional reftest expectations fix. r=me
MozReview-Commit-ID: 3MZq2EZlTNC
2017-05-11 18:42:35 +09:00
JW Wang
2c2b5b8639 Bug 1362910. P3 - add a gtest to test move-only types with MozPromise. r=gerald
MozReview-Commit-ID: 5LP7POyxNt3

--HG--
extra : rebase_source : a394993f55180c115c8f5ea7192dfa5ee75b69ea
extra : source : 531a38af11fcb704c1b3c5f5e0856b11b0cc2da3
2017-05-11 11:51:58 +08:00
JW Wang
4018e22ad9 Bug 1362910. P2 - fix callers. r=gerald
Since RefPtr<T>&& can't be converted to T* implicitly, we need to change
T* to RefPtr<T> in resolve/reject callbacks to make it compile again.

We should review the changes later to look for the opportunity to
optimize away unnecessary AddRef/Release pairs.

MozReview-Commit-ID: 22rHQ8dhxJv

--HG--
extra : rebase_source : 1b09f353d6e86d60c93a2746333585ec0dba8526
2017-05-11 08:30:39 +08:00
JW Wang
d45ddf9078 Bug 1362910. P1 - enable move when IsExclusive is true. r=gerald
When IsExclusive is true, there is at most only one consumer.
So it is safe to move the ResolveOrRejectValue stored in the promise.

MozReview-Commit-ID: ED9fFr7TkvN

--HG--
extra : rebase_source : 57c6732279a2c76fc21c3e7bad17d70f9cd0834a
extra : intermediate-source : c55836b6708150e88c2ca3a804c2cf2fbcf79990
extra : source : 3285b59746e994283e101cc10267d3a642c96ab3
2017-05-11 01:30:12 +08:00
Hiroyuki Ikezoe
2cdc2fb924 Bug 1356916 - Update reftest expectations. r=heycam
MozReview-Commit-ID: 93fi2Z5ZPtE

--HG--
extra : rebase_source : 15353de0bd02c4dd343936aec6f62e1836fc123b
2017-05-11 07:55:27 +09:00
Hiroyuki Ikezoe
35bf2524cf Bug 1356916 - Skip crash tests causing scrollbar-thumb atom leak. r=heycam
MozReview-Commit-ID: K66L8EQmPY2

--HG--
extra : rebase_source : 75c69b1c5188ff094dfc7d79e9182d3725ccecd4
2017-05-11 07:30:42 +09:00
Hiroyuki Ikezoe
2cac8774d0 Bug 1356916 - Call PostRestyleEvent() with the change hint obtained by Element::GetAttributeChangeHint in ServoRestyleManager::AttributeChanged. r=heycam
MozReview-Commit-ID: 14clm0eE0iE

--HG--
extra : rebase_source : d2b14bdc264c283075284172cae873294b16a51f
2017-05-11 07:30:34 +09:00
Alexandre Poirot
3e768e3c2c Bug 1363417 - Flag DevTools Add-on as multi-processes compatible. r=jryans
MozReview-Commit-ID: 7oNV1WQzPdV

--HG--
extra : rebase_source : ec5654f92e29214a9ddfb6ddfebfd6baf81e3c35
2017-05-09 17:57:03 +02:00
Makoto Kato
66f56b4e7d Bug 1360154 - Part 2. Add fast path to check whether valus is emtpy. r=masayuki
Actually, we use GetValue to check whether value is empty or not for placeholder.  But since GetValue uses TextEditor::OutputToString when on editor, it is expensive.  Since editor has DocumentIsEmpty method, we should use it for this case.

MozReview-Commit-ID: rQX8yjnWQz

--HG--
extra : rebase_source : 25ec89385d704f5c4d2d0a15021c2a59b0201983
2017-05-11 14:04:18 +09:00
Makoto Kato
353b47086e Bug 1360154 - Part 1. DocumentIsBody should return bool, not nsresult. r=masayuki
nsIEditRules::GetDocumentIsEmpty doesn't return error without null parameter, so we should use bool as return value instead.

MozReview-Commit-ID: HIoQmKu6ETF

--HG--
extra : rebase_source : 570452e7072d8e0e837bb2822c9c0ab9c0d1a8cf
2017-05-11 14:03:26 +09:00
Mark Banner
2bf9485071 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : e462e84bf8f2ffd893d1fd6b5ea14bbc093168dd
2017-05-08 10:29:47 +01:00
James Cheng
8c2476a913 Bug 1363994 - Use the same implementation of isAdaptivePlaybackSupported in LollipopAsyncCodec and JellyBeanAsyncCodec r=jolin
MozReview-Commit-ID: EWV1t0gdq8V

--HG--
extra : rebase_source : 30abbe44e9563182e4996bf2ec97e50b1b517c22
2017-05-11 16:12:55 +08:00
Sebastian Hengst
95a418ca5b Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Pyfisch
dcc9a52f1c servo: Merge #16799 - Remove unused opts (from pyfisch:unused-opts); r=Wafflespeanut
<!-- 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
- [X] These changes fix #15963 (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c8a4792175223093f01521119e2a1a2942538e90
2017-05-11 02:11:56 -05:00
Mark Banner
256aeb441c Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : f1b9eeb1b2048b551ee8c0a596e6395d0031cc4d
2017-05-08 10:29:47 +01:00
Henrik Skupin
2a458fb433 Bug 937659 - Implement page load strategy. r=ato
By using the page load strategy each navigation request has to return
when the page load has reached the expected document ready state, or
immediately if a strategy of "none" is set.

This also removes the page load checks when switching frames because
this is not part of the webdriver spec.

MozReview-Commit-ID: 3KbsDvzEG6c

--HG--
extra : rebase_source : 68170235424e181c083febd44fca6bb0c5dfec63
2017-04-19 13:22:13 +02:00
Henrik Skupin
cfdbf9979c Bug 937659 - Fix deserializing of page load strategy. r=ato
The patch aligns the steps for deserializing the page load strategy with
the webdriver specification.

MozReview-Commit-ID: GnVTnhVQVkG

--HG--
extra : rebase_source : c7796817fa6d0397b4821445dc3bd87853e0e509
2017-04-19 12:32:20 +02:00
Vangelis Katsikaros
b777047482 Bug 1360473 - Add tests for network requests cookie-related filter options. r=Honza
MozReview-Commit-ID: 36VyUnR3aGD

--HG--
extra : rebase_source : ae2ced87c8f542810913918395a420ec9e8dc321
2017-05-07 12:36:35 +03:00
Patrick Brosset
4b035dd340 Bug 1359759 - 3 - Faster debounce for grid highlighting; r=gl
Now that we are not re-rendering the grid outline all the time, it
seems safe to change the throttling mechanism of the cell highlighting.
Instead, we use debouncing now, so that rapid movements won't lead to
useless highlighting. The cell will get highlighted only if the user
settles on a cell in the outline.
Also, we can make the timeout much shorter so that only really rapid
movements are ignored, and the rest leads to cell highlighting, resulting
in a smoother UX.

MozReview-Commit-ID: 5WxAQRaLJkC

--HG--
extra : rebase_source : 950c2945f3fb53bf7e89d25d77df9e50a3d15b85
2017-04-26 10:09:28 +02:00
Patrick Brosset
db018b15bc Bug 1359759 - 2 - Clear React warnings in GridOutline and prevent re-renders; r=gl
Made the GridOutline component work with only 1 grid at a time.
It already did, but in a not so obvious way.

Removed the setState that happened during the render call to avoid
React warnings.

Cleaned up various data attribute to use the dataset property instead.

Removed the mouseover/out that controled the background color of the
highlighted cells. This now happens in CSS :hover, using currentColor.

Avoided React warnings related to missing "key" props.

Made changes to grid-inspector to avoid loops of re-renders when the
highlighter would highlight a cell on hover.
The component would wait for highlighter's events to dispatch store
actions. Instead, we dispatch them first, then when the events come, we
check if things have really changed! This way, the events will still have
effect if they come from the rule-view for instance, but not if they
come from the grid outline itself.

MozReview-Commit-ID: 6LK8B1P8iMU

--HG--
extra : rebase_source : 473ca1e1777d4e14f4f45a0b306b8153775cb1e6
2017-05-10 16:07:12 +02:00
Patrick Brosset
18ae59a2a5 Bug 1359759 - 1 - Move grid outline below grid details to avoid UI jumps; r=gl
MozReview-Commit-ID: LeUAb6YWVWB

--HG--
extra : rebase_source : d6dcdd07aef58e3077a4ad1dd8b17bbcae1c6505
2017-04-25 18:38:02 +02:00
Mark Banner
8e1287201b Bug 1363793 - Ignore js/src/Y.js for lint purposes. r=evilpie
MozReview-Commit-ID: 2CUl7d3kHLs

--HG--
extra : rebase_source : 50dbe0e988092dc487381554d52dbd8abb1fca23
2017-05-10 16:56:32 +01:00
Tom Ritter
a220f46532 Bug 1363465 Adjust VersionsHelpers.h to versionhelpers.h for MinGW r=bas
MozReview-Commit-ID: 7h04gOYwAJu

--HG--
extra : rebase_source : eb4f7c685c44a7738a7224b332f356ac633a7e3a
2017-05-10 12:53:46 -05:00
Munro Mengjue Chiang
6856ba9b3d Bug 1363259 - set min and max fps through AVCaptureConnection. r=jib
MozReview-Commit-ID: 4GY1gOICLqU

--HG--
extra : rebase_source : 97b50fa34186f9c92f0d01e1d486137b5159a8bd
2017-05-09 10:28:31 +08:00
Evan Tseng
de199e0386 Bug 1353862 - Remove the Search Results category, search input string, and highlights after performing a search then clicking on a category, r=jaws
MozReview-Commit-ID: BJC7DOQ5uV0

--HG--
extra : rebase_source : f781f1c0a8b3570d4ca5a1ab66d13ac31b84f935
2017-05-02 16:28:11 +08:00
Doug Thayer
5361205f4d Bug 1358363 - Show PanelUI notifications when window focused r=rstrong
Right now notifications displayed in non-focused windows are
causing that window to be focused. This is annoying. We could work
to make the doorhangers not focus the other windows, but a simpler
solution is to just not show the doorhanger until the window is
focused. This has the added benefit of ensuring that the doorhangers
entry animation is seen by the user, increasing the likelihood that
they will notice it.

Additionally, some existing tests involving extra windows were
refactored. I stripped the old tests of their extra windows and
created new tests specifically to test the behavior of background
windows. These tests were modeled off of the background window
tests of PopupNotifications.jsm, which create a new window knowing
that this will cause the existing window to be the background,
rather than explicitly manipulating the focus of the two windows.

MozReview-Commit-ID: 1fjrDOhEKCw

--HG--
extra : rebase_source : 954ace7e43da90fcee3da2d70c4bdbcda8456d77
2017-04-21 08:57:28 -07:00
Iris Hsiao
46f899f6cf Backed out changeset 9e9a6e426b1e (bug 1356179) 2017-05-11 13:54:37 +08:00
Iris Hsiao
20d99766c0 Backed out changeset b854f24a7e4c (bug 1356179) for reftest failures in mask-img-ref.html 2017-05-11 13:54:26 +08:00
Markus Stange
37feda6350 Bug 1362800 - Expose geckoProfiler.getProfileAsArrayBuffer. r=kmag
MozReview-Commit-ID: 7uFPWAhh25L

--HG--
extra : rebase_source : e34a37c10ea4fcdd2d886519536c047e9c715197
2017-05-11 00:32:46 -04:00
Markus Stange
7221a12bad Bug 1362800 - Add a way to get the profile as an array buffer. r=njn
MozReview-Commit-ID: 6qpcm3LQn1r

--HG--
extra : rebase_source : 9a4e2f30aed82ed31c2c3cb79b692c3186f6b5b8
2017-05-10 17:08:46 -04:00
cku
b7828e0e18 Bug 1356179 - Part 2. Reftest for applying clip-path onto thin objects. r=mstange
MozReview-Commit-ID: 7CDyDYtLWsN

--HG--
extra : rebase_source : bded6cfde81c6108824f459d33a0dbf0d0aef042
2017-05-10 15:44:52 +08:00
cku
0f42a6c858 Bug 1356179 - Part 1. Roundout clip region to make sure we have enough space for mask/clip-path painting. r=mstange
MozReview-Commit-ID: 6hfOiCDq7ni

--HG--
extra : rebase_source : 04243d1e7bb9f5c7da07dde11e94d776c10e2f06
2017-05-10 15:42:17 +08:00
Kit Cambridge
103b72ff2f Bug 1335891 - Ensure and test that Sync changes don't bump the score. r=markh
MozReview-Commit-ID: 4dP5oZS3pm

--HG--
extra : rebase_source : ebada671d4aa5feba290f118e370fd7def093c4a
2017-05-09 13:04:50 -07:00
Kit Cambridge
2401fa0477 Bug 1335891 - Trigger another sync if tracked items have changed during the last sync. r=markh
MozReview-Commit-ID: 7EcIX7QrsN4

--HG--
extra : rebase_source : 41f0886f5e40b9b8aaaebc5ebaa40a247bba13ef
2017-05-10 19:21:16 -07:00
Hiroyuki Ikezoe
10c63f866a Bug 1341102 - Update reftest expectations for border radii. r=me
https://github.com/servo/servo/pull/16800

MozReview-Commit-ID: AmbCWZ6z0vf
2017-05-11 12:47:55 +09:00
Morris Tseng
4f5067b088 Bug 1363483 - Add nsDisplayTableBackgroundColor to avoid display item collision when processing background color of table. r=mattwoodrow
MozReview-Commit-ID: JlYqyRGvtq3

--HG--
extra : rebase_source : b3a0c19fb6b6e7e2bbab6e9dd87d100890c626eb
2017-05-10 14:22:10 +08:00
Hiroyuki Ikezoe
9219415cbf Bug 1363574 - Allow unitless length for SMIL values. r=birtles
MozReview-Commit-ID: BkGCHgQVzHD

--HG--
extra : rebase_source : c0b0601fba6cfba04217dd6da7e942c167858496
2017-05-11 08:29:36 +09:00