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

562669 Коммитов

Автор SHA1 Сообщение Дата
Andreas Tolfsen f9a974ff5b Bug 1404946 - Rename wait module to sync. r=whimboo
testing/marionette/wait.js originally contained a utility for
poll-waiting on a condition.  The module has since been expanded to
also include TimedPromise, which is a specialisation of Promise that
is rejected after a duration.

The latter is not a wait utility but a synchronisation primitive.
This terminology also covers the first, and this change renames the
wait module to sync.

MozReview-Commit-ID: Fd3LqfpiEaU

--HG--
rename : testing/marionette/wait.js => testing/marionette/sync.js
extra : rebase_source : f48ff62ca2589ab0ce4a2f3d134d392e6f0be015
2017-10-02 16:38:33 +01:00
Ryan VanderMeulen d7d9df2904 Bug 1404057 - Add back two lines to the crashtest manifest that got accidentally deleted. r=emilio 2017-10-09 14:54:55 -04:00
abhinav 7d52850282 Bug 1168092 - Introduce defaultIncrement property in InplaceEditor so that css properties like opacity can increment by 0.1 instead of 1. r=jdescottes
MozReview-Commit-ID: KvCJ1HCQxIJ

--HG--
extra : rebase_source : 5d5d0d757553c69b12887707ff2b80be5f0a079e
2017-10-06 00:18:05 +05:30
Jared Wein a885cdff0b Bug 1406964 - Fading out the toolbar buttons should use a quicker easing function. r=Gijs
MozReview-Commit-ID: Esopfx645qF

--HG--
extra : rebase_source : cfca0d386cf76ee93bd6cc09b21e6f79a735bdf7
2017-10-09 11:50:54 -04:00
Jyotsna Prakash f83c955811 servo: Merge #18747 - Serializing childrenonly (from jdm:serializing-childrenonly); r=jdm
Rebased from #17896.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #14975 (github issue number if applicable).
- [x] There are tests for these changes

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a9cb84a19be11be5d2a4077d450a4f04deb24b67
2017-10-09 11:12:53 -05:00
Dão Gottwald 86965428b4 Bug 1406478 - Set browser.tabs.tabMinWidth to 76. r=jaws
MozReview-Commit-ID: 3bbTd1Fmtc5

--HG--
extra : rebase_source : f6f5bf4a1587be3f82010a9cd02d7c6598d084c0
2017-10-09 19:38:47 +02:00
Ian Moody 113e92470d Bug 1404568 - Use the correct browser_action theme icons when the action is in a menu-panel. r=mixedpuppy
The patch adding support for specifying theme icons had a bug in the CSS: it
added styles for the action in a menu-panel depending on theme, but missed out
the theme pseudo-class selectors.  Therefore the dark text icon was always used
since it was last in the CSS.
Additionally, the menu panels can't be styled, so still have light backgrounds
and dark text even in light text themes. If a light icon is used in the menu
panel in a light text theme it will be hard to see.

Thus, this patch adds the pseudo-class for dark text themes, but removes the
selector entirely for light text themes.

MozReview-Commit-ID: AmKVDYwGGKj

--HG--
extra : rebase_source : 3e88af5b0ad27b22e5b4456ee980fd60b6498c8a
2017-10-04 01:40:45 +01:00
Ian Moody 53b9116eab Bug 1404568 - Improve webext browser_action icon fallbacks. r=mixedpuppy
Currently if there is no default icon at the specified size, the default icon
falls back to the light text icon at that size. This is wrong in two ways:
First, the default theme uses dark text, so it should fallback to the dark icon
Secondly, authors expect the unsized default_icon to be used if specified

This patch fixes both of these issues, so that the default icon first falls back
to the unsized default_icon, and then only if that is not specified falls back
to the dark icon

MozReview-Commit-ID: C3RRTKhYq6r

--HG--
extra : rebase_source : dc10f5c65c763412edbe467bb75aeb4fbcd32ffc
2017-10-08 13:23:33 +01:00
Brian Stack 781ed3870b Bug 1406734 - Set TASKCLUSTER_CACHES on action tasks r=dustin
MozReview-Commit-ID: EwJoy5vqcQP

--HG--
extra : rebase_source : 441f494fd45e82fa53d2989015b6e415cf97fc77
2017-10-09 09:58:38 -07:00
Sebastian Hengst 51446ede21 Backed out changeset 0a482229bed6 (bug 967895) for rooting hazard. r=backout
--HG--
extra : amend_source : a0a3ca7e33d17ce5a96effccef92d61ab5f373dd
2017-10-09 19:18:23 +02:00
Sebastian Hengst dec45535fd Backed out changeset d6ab8156f858 (bug 967895) 2017-10-09 19:18:17 +02:00
Sebastian Hengst 92ee8df522 Backed out changeset 71790f0ea832 (bug 967895) 2017-10-09 19:18:12 +02:00
Sebastian Hengst d65084ce8c Backed out changeset bf81d961c576 (bug 967895) 2017-10-09 19:18:06 +02:00
Sebastian Hengst 926fa0e3ae Backed out changeset a4fc441d0663 (bug 1406478) for failing browser-chrome's browser/base/content/test/general/browser_tabReorder.js. r=backout 2017-10-09 19:10:18 +02:00
Thom Chiovoloni 0c48a189bc Bug 1405833 - Ensure SyncEngine uses CommonUtils.namedTimer properly. r=kitcambridge
MozReview-Commit-ID: 6YnhcSjKW9U

--HG--
extra : rebase_source : 3e0e520516f06efa50aa8e3fccb77214daca419a
2017-10-04 17:26:20 -04:00
Mike de Boer 50959cb695 Bug 1387808 - Don't ever fixate the width and height of the main view, but leave it flexible. r=Gijs
MozReview-Commit-ID: AJw6yI6Onje

--HG--
extra : rebase_source : 144739ba16418ce0867a6dd7ac086c4ea4676c51
2017-10-05 13:14:02 +02:00
Tom Prince bc9fa88c27 Bug 1385055 - Add taskgraph support for checking out comm-central and related branches. r=dustin
MozReview-Commit-ID: 1eU567Cuc8a

--HG--
extra : rebase_source : b73b818763c464f87455ffd6054302a3285f18d8
extra : source : cd6ab5624e6b3a6a8b11d5a44d5cba05cb042c64
2017-07-27 12:39:08 -06:00
Tom Prince 688b333cd7 Bug 1385055 - Add some taskgraph parameters for dealing with comm-central and related repositories. r=dustin
MozReview-Commit-ID: 4tdxfJcx8Fz

--HG--
extra : rebase_source : 9e4002a409b9d2a4134cd8ef745e9ca874d1730a
2017-07-27 12:26:48 -06:00
Oriol Brufau d34d21b241 Bug 1406660 - Remove all wrappers when checking if a getter is safe. r=jimb
MozReview-Commit-ID: KcTGDuwqFYu

--HG--
extra : rebase_source : c4441999986423cc9330e1084e80681795617003
2017-10-07 18:27:29 +02:00
Sebastian Hengst ee63f2e30a Backed out changeset 0317bcff40bc (bug 1406687) for build bustage at testing/gtest/gtest/src/gtest.cc:3871: 'Unused' was not declared in this scope. r=backout 2017-10-09 18:52:39 +02:00
Jeremy Chen 0288650258 Bug 1403077 - add tests for the stylo blocklist mechanism. r=heycam,leplatrem
In this patch, we add 3 tests:
1. test for blocked domain
2. test for blocked sub-domain
3. test for non-blocked domain

MozReview-Commit-ID: JzMImsbGoPr

--HG--
extra : rebase_source : 0eed42f6d2815bd8adbb9fb6be54b6feb3b1bcc8
2017-10-05 17:33:10 +08:00
Jeremy Chen 419e2e9b26 Bug 1403077 - add two test-only helper functions to access the stylo blocklist. r=heycam
In the current blocklist implementation, we read the stylo blocklist from the user
preferences very early and only once, even earlier than the test preferences
updating happens.

So, to be able to test the functionality of the stylo blocklist, we add these two
nsIDOMWindowUtils APIs to be able to add/remove a mock domain to the existing
blocklist.

MozReview-Commit-ID: K48ejLBcNbn

--HG--
extra : rebase_source : 354fe9871231f2a94f09bd2612c9d21ced4143e8
2017-10-09 12:07:04 +08:00
Jeremy Chen db85457d66 Bug 1403077 - implement the stylo blocklist mechanism. r=heycam
In this patch, we read the stylo blocklist into nsLayoutUtils's global static
variable during nsLayoutUtils::Initialize(). So, we can decide if we should
fallback to use Gecko backend while updating style backend for a document.

We add "layout.css.stylo-blocklist.blocked_domains" and
"layout.css.stylo-blocklist.enabled" to ContentPrefs.cpp because they are read
very early (during nsLayoutUtils::Initialize).

MozReview-Commit-ID: 8c4n6m9dYD8

--HG--
extra : rebase_source : ca81cd57980d98b9b73f18bb03a8035b161d23ef
2017-09-27 20:35:21 +08:00
Shane Caraveo 49230cedc6 Bug 1406229 fix autocomplete crash in panels when window is closed during event, r=mak
MozReview-Commit-ID: 6TrLuwrk2nD

--HG--
extra : rebase_source : dc6f3dcc13a7fd5063290fdf394d9e7c325441de
2017-10-06 16:58:15 -07:00
Tom Ritter 22d2cdf063 Bug 1406687 Pass return values from fwrite to Unused to silence the warn-unused-result warning r=njn
MozReview-Commit-ID: 4v6tPF5aMz7

--HG--
extra : rebase_source : c54b129c6815096035e262322f40aa0884b1ae56
2017-10-09 00:26:16 -05:00
Ian Moody a5a84f5cd7 Bug 1403157 - Unify appMenu webext new permissions notification appearance with browser update notification. r=jaws
MozReview-Commit-ID: Eu64q8zHWkm

--HG--
extra : rebase_source : b13f17febb86bd090ee30262c8aa6b696b757007
2017-09-27 22:24:23 +01:00
Ian Bicking 1df475bb1f Bug 1406526 - Import Screenshots translations r=_6a68
This imports the translations from GitHub as of commit 76109c25cf

MozReview-Commit-ID: 5sGhJmNfRmC

--HG--
extra : rebase_source : 434a920e3c7869e7587c1f24efe59480ac9d48a7
2017-10-06 15:35:11 -05:00
Servo VCS Sync b3f506b0aa No bug - Revendor rust dependencies 2017-10-09 16:13:47 +00:00
Emilio Cobos Álvarez 2925e33c88 servo: Merge #18791 - style: Optimize custom property cascading (from emilio:faster-custom-props); r=heycam
This should help a bunch with https://bugzilla.mozilla.org/show_bug.cgi?id=1405411

Source-Repo: https://github.com/servo/servo
Source-Revision: 8c314ff5d07acc71f556dcca87d7bc2facf93830

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e8274bbca076a5bf77d43ce7d4c2f7eb61952c17
2017-10-09 09:29:18 -05:00
Dão Gottwald 50c10f9977 Bug 1403734 - Set border radius for customize mode footer buttons. r=Gijs
MozReview-Commit-ID: 2ZK56nGC5Jt

--HG--
extra : rebase_source : e7d0e037f5ff46bd5526aeeda0f99e10654afda1
2017-10-07 21:28:38 +02:00
Dão Gottwald 5524c2dad8 Bug 1406478 - Set browser.tabs.tabMinWidth to 76. r=jaws
MozReview-Commit-ID: HRSSjpRnr5i

--HG--
extra : rebase_source : e4a479a90584d98d3f0bb5d729a99f4c77b41d5e
2017-10-08 10:58:40 +02:00
Michael Froman 2bb753aa78 Bug 1406434 - fixing ice restart and rollback counts on about:webrtc. r=ng
This is re-adding changes from Bug 1321628 that were overwritten by the
webrtc.org v49 import.

MozReview-Commit-ID: GI4OdFANJ8N

--HG--
extra : rebase_source : ec7af8f7d9c35831b3b58a92ae30bc1da6f43f23
2017-10-06 11:26:22 -05:00
Jared Wein 4a540a984e Bug 1406770 - Allow dropping tabs on to the Bookmarks Toolbar Item if it is located in the nav-bar. r=Gijs
MozReview-Commit-ID: Ehd7zCiHfsD

--HG--
extra : rebase_source : f4c90092a5dff2229647b9b006dcf8ab8f603754
2017-10-09 11:07:45 -04:00
Mike de Boer 48bd26a4d8 Bug 1402126 - Change the icon size of Download items in the Library's Downloads panel view to 32px. r=Gijs
MozReview-Commit-ID: FE1EftZWmzV

--HG--
extra : rebase_source : 2c34c1af03cd266f9a4b6d1f1f619105232117cd
2017-10-05 18:06:05 +02:00
Chung-Sheng Fu e806c98330 Bug 967895 - Add tests for canvas fingerprinting resistance. r=johannh
MozReview-Commit-ID: 9Nysl1xD4M0

--HG--
extra : rebase_source : a7553ca95330e7f658844c70b76458c276716dc7
2017-08-23 16:32:41 +08:00
Chung-Sheng Fu 21db685671 Bug 967895 - Ask for placeholder data when image extraction is not allowed (Tor 6253). r=jrmuizel
MozReview-Commit-ID: AJ5F6M5S83U

--HG--
extra : rebase_source : 2d2de5d6c4a7245759fefed468bcc7d82c9cd000
2017-08-22 14:23:41 +08:00
Chung-Sheng Fu 6466f5e442 Bug 967895 - Add an option to return a placeholder when extracting image data (Tor 6253). r=jrmuizel
MozReview-Commit-ID: 1zTOUL7CZ1E

--HG--
extra : rebase_source : cc96f202f801bc104dbada7669d4602f71a92f40
2017-08-22 11:12:49 +08:00
Chung-Sheng Fu 9221167a14 Bug 967895 - Prompt (w/ Site Permission) before allowing content to extract canvas data (Tor 6253). r=johannh
MozReview-Commit-ID: 91eeagGmUXv

--HG--
extra : rebase_source : c4f5713b2cc7020bfb0c3e49b513ae213836a6df
2017-08-21 16:52:42 +08:00
Oriol Brufau 0f3ca74c8f Bug 1406182 - Obtain the length of typed arrays in a safe way. r=nchevobbe
MozReview-Commit-ID: ItlYZowJw7x

--HG--
extra : rebase_source : 8f955eae2e9ae44647b43c980a35bbb1f9ca8a0a
2017-10-07 16:55:26 +02:00
Jean-Yves Avenard 95990a22df Bug 1403622 - Allow VP8 HW decoder where known not to crash. r=cpearce
Windows 10 Falls Creator Update build 16287 is known to have the fix to the problem that made bug 1403063 necessary.

MozReview-Commit-ID: 5m3ZWMes1yl

--HG--
extra : rebase_source : 5f6cd508de75f7e315f4334f76d64b389e4f2ce3
2017-10-09 10:43:54 +02:00
Rob Thijssen 3fa623c3c6 Bug 1373178 - use preflight mech to hide win 10 taskbar; r=jmaher
MozReview-Commit-ID: 7tYL7A8Cjqi

--HG--
extra : rebase_source : 908335275bb1c66bd571cee5b10bda909006d4c6
2017-10-09 16:07:24 +03:00
Boris Chiou baf6fc16c7 servo: Merge #18788 - Use defualt Debug trait for AnimationValue (from BorisChiou:style/animation_value/debug); r=emilio
We use AnimationValue for animation backend to do interpolation,
accumulation, or computing distance. While debugging it, dumping the
property name is not enough. We need to dump the detailed value contained
in it.

For example:
if we animate ```translate(100px)``` to ```translate(200px)```,
and want to dump ```{:?} => {:?}```, the result is ```transform => transform```.
I think what we want is something like:
```Transform([Translate(100px, 0px, 0px)]) => Transform([Translate(200px, 0px, 0px)])```.

Using default Debug trait is not perfect because there are some redundant type strings,
but it is still better than nothing.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [x] These changes are related to PR #18415.
- [X] These changes do not require tests because this is debug only.

Source-Repo: https://github.com/servo/servo
Source-Revision: 64aadee62c1e0f100ad79ab50a56cd1f84285eeb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4418d524a31dd01cc7c36fe7254ea3b05e736494
2017-10-09 06:51:47 -05:00
Sebastian Hengst a867e38354 Backed out changeset 231a24060d29 (bug 1404946) for linting failure at testing/marionette/driver.js:3054:35 | 'f' is defined but never used. r=backout
--HG--
rename : testing/marionette/sync.js => testing/marionette/wait.js
extra : amend_source : 009478a65c290d4b7540723f157de57dbe19901e
2017-10-09 16:23:15 +02:00
Sebastian Hengst b668981dca Backed out changeset 135c1e44a92b (bug 1404946) 2017-10-09 16:23:10 +02:00
Sebastian Hengst c9b41f4cb7 Backed out changeset bf79d5b1b4b0 (bug 1404946) 2017-10-09 16:23:04 +02:00
Sebastian Hengst 3b0bd340dc Backed out changeset dfc766f28aec (bug 1404946) 2017-10-09 16:22:59 +02:00
Andreas Tolfsen 9b9dc004c1 Bug 1404946 - Have PollPromise accept an options dictionary. r=whimboo
This patch moves the "timeout" and "interval" positional arguments
on PollPromise to an options dictionary.

In the following code example it is hard to know which argument means
what because they are not named:

	new PollPromise(resolve => resolve(), 100, 100);

Named arguments can be achieved in JavaScript using option
dictionaries, and this patch changes the input PollPromise takes so
that the above example looks like this:

	new PollPromise(resolve => resolve(), {timeout: 100, interval: 100};

This plays especially well with code in testing/marionette/element.js
as we already have named arguments that we can pass directly in through
an object literal, making the code more readable and more compact:

	let timeout = 42;
	new PollPromise(resolve => resolve(), {timeout});

MozReview-Commit-ID: GFWNGQAeWk1

--HG--
extra : rebase_source : 06e558129f1e0acf3fbf8b6ca99c2407320b8e61
2017-10-02 17:13:57 +01:00
Andreas Tolfsen 0fb99a7cd4 Bug 1404946 - Rename wait.until to PollPromise. r=whimboo
Now that we have selective imports through Cu.import we can give
wait.until a more descriptive name that matches TimedPromise.
This patch renames the wait.until utility to PollPromise.

MozReview-Commit-ID: 9gsvAV27mMl

--HG--
extra : rebase_source : ea98d63013d709d52ce234446404233d9dbe572e
2017-10-02 16:59:25 +01:00
Andreas Tolfsen 448628bdcc Bug 1404946 - Add markup to wait.until's docs. r=whimboo
MozReview-Commit-ID: AcP3C1qCgKA

--HG--
extra : rebase_source : 441be4b537f8868bff5b8c2009e7586e85f66efc
2017-10-02 16:50:11 +01:00
Andreas Tolfsen 583c91fabd Bug 1404946 - Rename wait module to sync. r=whimboo
testing/marionette/wait.js originally contained a utility for
poll-waiting on a condition.  The module has since been expanded to
also include TimedPromise, which is a specialisation of Promise that
is rejected after a duration.

The latter is not a wait utility but a synchronisation primitive.
This terminology also covers the first, and this change renames the
wait module to sync.

MozReview-Commit-ID: Fd3LqfpiEaU

--HG--
rename : testing/marionette/wait.js => testing/marionette/sync.js
extra : rebase_source : 5e22ec5e26b5405c928ab26734a8d2ddc5d43785
2017-10-02 16:38:33 +01:00