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

527344 Коммитов

Автор SHA1 Сообщение Дата
JW Wang 729d92dc53 Bug 1350790 - Add constexpr to CheckedInt. r=froydnj
MozReview-Commit-ID: KNJQcYiBlHM

--HG--
extra : rebase_source : 51609420239d195aaf416c1a18ff028894638775
extra : source : 96678f32ac0a09d911088df18fe4e4e95ba52930
2017-03-27 10:59:31 +08:00
Carsten "Tomcat" Book f4052e6afa Backed out changeset 6009a4677a10 (bug 1350390) for breaking decision tasks 2017-03-27 16:49:02 +02:00
Martin Robinson 2f544e9a09 servo: Merge #16146 - Fix scroll root of absolutely positioned elements (from mrobinson:containing-block-scrolling); r=glennw
Absolutely positioned elements should be given the scroll root of their
containing block and not necessarily the scroll root of their parent.
This fixes several CSS tests, though others are still failing pending a
similar fix for inherited clipping rectangles.

Fixes #13530.

<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 77d0c5057f306e10b161a8d05f8f8b50d7ffd886
2017-03-27 06:57:32 -07:00
Dustin J. Mitchell 0c81296070 Bug 1350390: only require worker.implementation for jobs; r=Callek
MozReview-Commit-ID: CtnXN1ts1Bb

--HG--
extra : rebase_source : e4c33f38aa238d4bd54cfcf9b779df82b8184118
2017-03-24 17:53:57 +00:00
Federico Padua 004698ca40 Bug 1279985 - Description for SSL_CIPHER_SUITE_* out of date; r=chutten
This patch updates the description for the probes SSL_CIPHER_SUITE_FULL and
SSL_CIPHER_SUITE_RESUMED found in Histograms.json to point to
AccumulateCipherSuite which contains the key exchanges instead of the previous
HandshakeCallback.

MozReview-Commit-ID: Bf3xKGdK4Sd

--HG--
extra : rebase_source : e278f28e6abf4044d0e554dd28bd2d550c576ef2
2017-03-25 12:24:22 +01:00
Emilio Cobos Álvarez 33b2f03d47 servo: Merge #16144 - style: Make numbers keep track of whether they were specified as calc() (from emilio:number-calc); r=heycam
Fixes #15960

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3a492ee4054b5f3e38e24b8721caac610b39ca85
2017-03-27 06:13:39 -07:00
Andreas Tolfsen d594cb5ef8 Bug 1337743 - Rename quitApplication command quit; r=whimboo
This shortens the name of the quitApplication Marionette command to
`quit'.

The client is not updated since it is used for Firefox upgrade tests.
It can be updated to use `quit' when Firefox 56 ships.

MozReview-Commit-ID: Gq5KWMS1AzF

--HG--
extra : rebase_source : dfaf557f658595bfa5b8d1d294d6d6525f5d2abf
2017-03-27 12:53:27 +01:00
Andreas Tolfsen 9bfbf4c96b Bug 1337743 - Return cause of quit; r=whimboo
This adds a return type to the quitApplication command in Marionette,
which extracts the data received by the quit-application observer.
The returned cause is either "shutdown" or "restart".

MozReview-Commit-ID: 85fBGaS1VeQ

--HG--
extra : rebase_source : f96409b772a2c30e755b5a28b6e4eef1dcfb2654
2017-03-27 12:49:22 +01:00
Andreas Tolfsen 18c977b6ec Bug 1337743 - Document misuse of instanceof in Marionette; r=whimboo
MozReview-Commit-ID: IbUyQd0xCAI

--HG--
extra : rebase_source : 5f4298e2951d9a606ad85e145771570b84b2e3d7
2017-02-14 16:48:14 +00:00
Andreas Tolfsen 601e23ab3b Bug 1337743 - Stop appending eAttemptQuit in quitApplication; r=jgraham,whimboo
Change Marionette's quitApplication command to accept an optional array
of masks for Services.startup.quit.  If no masks are provided or the flags
field is not provided, we assume nsIAppInfo.eAttemptQuit as the default.

This deviates from the current behaviour whereby eAttemptQuit is
unconditionally included when passed an array of flags.  This is
problematic because Services.startup.quit does not allow combinations
of *Quit flags, e.g. eAttemptQuit and eForceQuit cannot be combined.

MozReview-Commit-ID: FVqdaXFA4aC

--HG--
extra : rebase_source : 10074c53294a6596ecbd09a3f6ec477f3f8ed452
2017-02-09 18:35:00 +00:00
Andreas Tolfsen bf95b9ed17 Bug 1337743 - Handle corrupt packets to Marionette; r=whimboo
When Marionette receives packets it does not know how to deal with,
handle this gracefully and attempt to respond to the client that we were
unable to process them.

If it receives a packet that is corrupt, e.g. one it is impossible to
determine the message ID of, report an error to the console without
failing spectacularly.

If it receives a packet that it is unable to unmarshal, attempt to craft
a response for it with containing the error signature.

MozReview-Commit-ID: BLi8yIkGQfF

--HG--
extra : rebase_source : e7dc763a2345f79712b5e8524bd1d4f81b66699c
2017-02-09 18:29:25 +00:00
Andreas Tolfsen 24fba2b89e Bug 1337743 - More data validation checks for Marionette messages; r=whimboo
This change introduces more data validation checks on unmarshaling
Marionette protocol messages.  Specifically, validation of
message.Command's and message.Response's constructor arguments and packet
contents in their respective fromMsg functions are tested.

Doing these tests ensures more safety further down the pipeline with
respect to the data integrity in Marionette commands.

MozReview-Commit-ID: BxYipX5zfo9

--HG--
extra : rebase_source : 5cd9edab8801323b19688f871ba78ccf70a05c5e
2017-02-09 18:22:09 +00:00
Andreas Tolfsen 90398e4cd5 Bug 1337743 - Add assert.callable for checking callbacks; r=maja_zf
MozReview-Commit-ID: 2bJbi4iEGlZ

--HG--
extra : rebase_source : 2a16d909389df554eb719f574d655ee96694e0ad
2017-02-10 19:28:51 +00:00
Andreas Tolfsen 0d576f8c4f Bug 1337743 - Make session and param checks safer against falsy values; r=whimboo
MozReview-Commit-ID: 8M79WmiRfkE

--HG--
extra : rebase_source : 12cf1d3bfb59d4ddd53b2017da59ef8a6220db52
2017-02-09 18:15:26 +00:00
Andreas Tolfsen 10153d5028 Bug 1337743 - Command parameters may be null; r=whimboo
The fourth element of the command packet may be null and for that to
hit our default type check in message.Command's constructor we need to
interpret null as undefined.

This allows us to receive packets such as

	[<number>, <number>, <string>, <null or value>]

MozReview-Commit-ID: EcAmsPAzz5p

--HG--
extra : rebase_source : c3613c85a4b5383d2894d9b102eee16c02935236
2017-02-09 16:38:13 +00:00
Andreas Tolfsen 0a3aacab95 Bug 1337743 - Count nsJSIID objects as objects; r=whimboo
MozReview-Commit-ID: IKzgAYEgAJe

--HG--
extra : rebase_source : 643d38527e7707b8398477ecbc5f9a57f010eacd
2017-02-09 16:35:07 +00:00
Federico Padua fbf2868516 Bug 1338555 - Add an accumulation limit to Scalars IPC messages; r=chutten
This patch adds an accumulation limit to Scalars IPC messages,
in a similar way as this limit was already implemented for Histograms.
After a discussion in the bug entry, 10000 was chosen as limit.

MozReview-Commit-ID: ARBUOFnfDBr

--HG--
extra : rebase_source : 353e35fe1cf37d1ebad1e54ac9d329a958f95dc3
2017-03-24 23:22:05 +01:00
Sebastian Kaspari b464c542ca Bug 1348820 - Always collect metadata from visited pages. r=Grisha
We are going to need this in the future and starting collection even before releasing
Activity Stream will create a better experience once we turn it on.

And this flag is hard to miss. So let's just get rid of it.

MozReview-Commit-ID: 5oDzXhpQdSA

--HG--
extra : rebase_source : c96800257070af9287d5236625150dbb62985c4b
2017-03-21 12:08:30 +01:00
Sebastian Kaspari d60800bd78 Bug 1348820 - Setup A/B experiment for enabling Activity Stream in Nightly. r=Grisha
This is a bit complicated. But most of that code should go away again as soon as
we can stop shipping the opt-out preference.

With this patch we have three flags that can be controlled via Switchboard:

* activity-stream: This is our global kill switch and allows us to pull the feature
  if needed. A user has to be in this experiment to ever see activity stream. The
  goal is to enable this experiment for 100% of the Nightly audience.

* activity-stream-opt-out: This is experiment will enable the Activity Stream by
  default. The goal is to enable this experiment for 50% of the Nightly audience.

* activity-stream-settings: This experiment controls the visibility of a setting
  to enable/disable activity stream (settings -> advanced -> experimental features).
  This allows us to control whether users can opt-in or opt-out of the activity
  experiment. The goal is to enable this for 100% of the Nightly audience.

MozReview-Commit-ID: BwEoTK6QMQx

--HG--
extra : rebase_source : dbe9815127c1aa620bbc2f1623aa4726438d3285
2017-03-20 19:46:39 +01:00
Andrew McCreight c188818aea Bug 1350878 - ContentLinkHandler.jsm does not use its NetUtil.jsm import. r=mikedeboer
MozReview-Commit-ID: 7CJk7P3JfML

--HG--
extra : rebase_source : 31bbc83af140fb3eabd5f78cc85695df79c6cf0f
2017-03-22 14:59:33 -07:00
Andrew McCreight c650c08b59 Bug 1350469 - Lazily load XPathGenerator.jsm in FormData.jsm. r=mikedeboer
MozReview-Commit-ID: 7Cm7tPYc9dW

--HG--
extra : rebase_source : 95f0e3c4e8cc35a1ff83cbe4e9daf787fd9885ef
2017-03-22 14:01:58 -07:00
Hiroyuki Ikezoe ca2a9f3adb Bug 1350754 - Update reftest expectation. r=heycam
MozReview-Commit-ID: 6iXRpR5RATe

--HG--
extra : rebase_source : 14f35a2f3017d769b427ebe9066a1b42e72d6ece
2017-03-27 19:43:24 +09:00
Hiroyuki Ikezoe 1262a6cd95 Bug 1350754 - Call UpdateEffectProperties for stylo. r=heycam
MozReview-Commit-ID: 9urkJ0lsxMM

--HG--
extra : rebase_source : d108f7e758dfcdd78dcfce54966980855b661cbb
2017-03-27 19:43:20 +09:00
Hiroyuki Ikezoe d6922e73d9 Bug 1350754 - Introduce UpdateAnimationTasks to perform a bunch of animation's tasks in a SequentialTask. r=heycam
The UpdateAnimationsTasks is a bitflags and each bit is generated from
Gecko's UpdateAnimationsTasks (enum class) values for matching values
between C++ and Rust. For this reason, the bitflags is annotated as
(feature = "gecko"), as a result update_animations() which uses this bitflags
also became gecko-only function.

MozReview-Commit-ID: AfQd0FJGkYd

--HG--
extra : rebase_source : 2a5fee40c57a7941defa447357915756af42bc11
2017-03-27 19:43:16 +09:00
Hiroyuki Ikezoe ee457cf7c3 Bug 1350754 - Convert pseudo nsIAtom to CSSPseudoElementType in Gecko_UpdateAnimations(). r=heycam
MozReview-Commit-ID: 38ZyRyxB73z

--HG--
extra : rebase_source : 01c971c2db8779f92d5845fa09047cb7eae43c7d
2017-03-27 19:43:13 +09:00
Hiroyuki Ikezoe de29155c66 Bug 1350754 - Use ServoComputedValuesWithParent for nsAnimationManager::UpdateAnimations(). r=birtles
MozReview-Commit-ID: GkLoACgqVON

--HG--
extra : rebase_source : 1f47c5d5a73d4b343c677980af299e068ebebd84
2017-03-27 19:43:09 +09:00
Hiroyuki Ikezoe 3183fa83ee Bug 1350754 - Templatize EffectCompositor::UpdateEffectProperties. r=birtles
We will use this function for stylo computed values as well.

MozReview-Commit-ID: IxDg4EZARi3

--HG--
extra : rebase_source : dc6445ab0c836393913d64313c8151f31cd7b523
2017-03-27 19:43:04 +09:00
Hiroyuki Ikezoe ea9ccbbab2 Bug 1350754 - Add an FFI to check that a given (pseudo-) element has any type of animations or not. r=birtles,heycam
If an element has any type of animations in match_elements(), we need to call
UpdateEffectProperties() to update KeyframeEffectReadOnly::mProperties.

MozReview-Commit-ID: 1CDhwoM2llE

--HG--
extra : rebase_source : f2c476d579019079702b01fec375f75b4594dee9
2017-03-27 19:42:59 +09:00
Hiroyuki Ikezoe 3161326ebd Bug 1350754 - Assert in Gecko_ElementHasCSSAnimations if pseudo element is neither ::before nor ::after. r=heycam
Gecko_ElementHasCSSAnimations is not called against pseudo elements
other than ::before or ::after.

MozReview-Commit-ID: EtHoLhX5P9h

--HG--
extra : rebase_source : 534fe74280bc6cd7362ee7580a83d0a9af8e164f
2017-03-27 19:42:53 +09:00
Hiroyuki Ikezoe 5b96d164fb servo: Merge #16147 - Update effect properties for animations (from hiikezoe:update-effect-properties); r=heycam
<!-- Please describe your changes on the following line: -->
This is a PR of https://bugzilla.mozilla.org/show_bug.cgi?id=1350754
---
<!-- 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] These changes do not require tests because it's for stylo

<!-- 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: 1e2b36a97a9391e274d924227a8857024dbe4774

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 81f6907eb040b5727ba39aa14ab5cd1edf7871b8
2017-03-27 03:47:47 -07:00
Kevin Chen c68305b9bb Bug 1343758 - Label the tasks in vr module. r=bevistseng,kip
--HG--
extra : rebase_source : a50035db7bd85c36ae5af6f528f5d26762db7701
2017-03-23 06:19:11 +00:00
Kevin Chen bf53d0a60d Bug 1343479 - Label the tasks for APZ module. r=bevistseng,kats
MozReview-Commit-ID: GkAl4MZorxP

--HG--
extra : rebase_source : 0134d0d69b5d8dba0fb39aa8908fbfa4d6a9d777
2017-03-23 06:16:38 +00:00
Carsten "Tomcat" Book a441709a12 Merge mozilla-central to autoland 2017-03-27 13:00:23 +02:00
Carsten "Tomcat" Book 8fa2774978 merge mozilla-inbound to mozilla-central a=merge 2017-03-27 12:57:16 +02:00
Shawn Huang bea755a58f Bug 1341272 - Set readyState to DONE during synchronous XMLHttpRequest failure, r=baku 2017-03-27 15:21:57 +08:00
Carsten "Tomcat" Book df98772632 Backed out changeset 11c73e8f71bb (bug 1349276) for bustage 2017-03-27 09:02:43 +02:00
Andrea Marchesini dc173b26b1 Bug 1349276 - Paths received by FileSystemRequestParent need to be sanitized before passed to IsDescendantPath, r=haik 2017-03-27 08:18:43 +02:00
Hrishikesh Barman 54d7c11e86 Bug 1347111 - Remove border and background fallback styling from checkbox.css. r=dao
--HG--
rename : toolkit/themes/windows/global/checkbox/cbox-check-dis.gif => toolkit/themes/faststripe/global/checkbox/cbox-check-dis.gif
rename : toolkit/themes/windows/global/checkbox/cbox-check.gif => toolkit/themes/faststripe/global/checkbox/cbox-check.gif
2017-03-26 22:26:06 +05:30
Ting-Yu Chou 7a42c3d5bf Bug 1337688 - Update a TODO comment according to the experimental data. r=me
--HG--
extra : rebase_source : 992071259dbfdf0a0a9bc3585c3dcb27938525ff
2017-03-27 13:19:19 +08:00
Timothy Nikkel e4da61a3e1 Bug 1343341. Add a test to check that discarding and redecoding of animated images works. r=aosmond
The test does nothing if the animated images discarding pref isn't enabled.

--HG--
rename : image/test/crashtests/1249576-1.png => image/test/mochitest/infinite-apng.png
2017-03-27 00:17:54 -05:00
Timothy Nikkel e4990d2f23 Bug 1343341. When the animated images discarding pref is enabled Remove the lifetime lock on animated images and adjust code in RasterImage to allow animated images to be discarded. r=aosmond
Mostly asserts and simple book keeping. The complicated things were in FrameAnimator.
2017-03-27 00:17:52 -05:00
Paul Bignier e2808177ef Bug 1350703 - Typo fixes in code-comments within layout/XUL. r=dholbert
DONTBUILD because comment-only.
2017-03-26 18:37:10 +02:00
Alfredo.Yang b6f5ac4f52 Bug 1330243 - update gtest for mp4 rust parser. r=kinetik
MozReview-Commit-ID: 3CfsHkpk625

--HG--
extra : rebase_source : 1f2b54f8c058bb6d9fdb649224d4a09df662c06f
2017-03-25 17:55:06 +08:00
Liang-Heng Chen 6ef4dc3d4d Bug 1348841 - switch on blocking mode for named-pipe only on windows; r=bagder,mayhemer
MozReview-Commit-ID: Gvm88q26VHK

--HG--
extra : rebase_source : 188b65cba6b4ecb243b4b6ab8c55733f82217567
2017-03-22 14:58:03 +08:00
dimi d01107cd90 Bug 1344981 - Disable 'privacy.trackingprotection.annotate_channels' in aurora r=francois
In Bug 1334241 we turned on 'privacy.trackingprotection.annotate_channels'
preference by default, but this cause regressions like Bug 1334616 and
Bug 1325054. The right fix is landed in central, for aurora we could just
backout the change made in Bug 1334241 for simplicity.

MozReview-Commit-ID: INuFdD04AwJ

--HG--
extra : rebase_source : 93dc469d6e91777bf20bc91531c59ca5efb3fd45
2017-03-21 14:37:33 +08:00
James Graham 8d501b1351 Bug 1318724 - Increase the HTTP connection timeout for WebDriver tests, r=ato
The 5s timeout was not enough for debug builds. I don't really see a
reason to use something other than the default socket timeout here.

MozReview-Commit-ID: Fm5lgSI3lFb

--HG--
extra : rebase_source : d0d598f292702e50350237df35bf44bfc185a958
2017-03-23 18:19:45 +00:00
James Graham dc9b40c98c Bug 1318724 - Reenable WebDriver spec tests, r=maja_zf
These should work now that we have GeckoDriver 0.15 in tree.

MozReview-Commit-ID: J9AigCBrOMl

--HG--
extra : rebase_source : e92b6980ac05758eacc36f470bf276d6ee926d25
2017-03-15 15:31:55 +00:00
Jessica Jong 2638fe61fa Bug 1344624 - [DateTimeInput] (l10n) Part 2: Display formatted numbers in <input type=date>. r=mossop
MozReview-Commit-ID: BOaNefKe2Pb

--HG--
extra : rebase_source : afc5439ddff6d05a08bf111aaf5371be4cd1c640
2017-03-24 11:13:26 +08:00
Jessica Jong afdb7ecd5d Bug 1344624 - [DateTimeInput] (l10n) Part 1: Display formatted numbers in <input type=time>. r=mossop
Add a new attribute "rawValue" in each of the numeric fields. We store the
non-formatted number in this attribute, and display formatted number using
Intl.NumberFormat.

MozReview-Commit-ID: JkcBObFoYQ3

--HG--
extra : rebase_source : 05918ba57513f9c816273a758ab2aa7198722135
2017-03-24 11:13:20 +08:00
Cykesiopka dbb0d99a70 Bug 1319252 - Remove nsIX509Cert.getAllTokenNames(). r=keeler,mossop
nsIX509Cert.getAllTokenNames() is only used (improperly) to determine if a
certificate is a built-in. nsIX509Cert.isBuiltInRoot should be used instead.

MozReview-Commit-ID: LBwI8nTc05C

--HG--
extra : rebase_source : 9494cd1243395b0d293022e981f64be560a54dec
2017-03-19 16:02:26 +08:00