Commit Graph

527354 Commits

Author SHA1 Message Date
Sebastian Hengst
0dd66abf1e Backed out changeset 45330fa58671 (bug 1343802) 2017-03-27 18:00:05 +02:00
Sebastian Hengst
34f0350a5c Backed out changeset 9abd87cd2dff (bug 1343802) 2017-03-27 18:00:01 +02:00
Sebastian Hengst
d2abc82e65 Backed out changeset 7abbf6d092eb (bug 1343802) 2017-03-27 17:59:56 +02:00
Sebastian Hengst
80796b26f5 Backed out changeset 22f4dc6bb4db (bug 1343802) 2017-03-27 17:59:52 +02:00
Sebastian Hengst
18de691a0f Backed out changeset db84a68eaaec (bug 1343802) 2017-03-27 17:59:48 +02:00
Kartikaya Gupta
8cd9268ada Bug 1350962 - Log WebRender status into the app notes of crash reports. r=milan
This will add "WR?" if the pref is not set to true, or "WR!" if the pref is set
to true (which indicates the user flipped it), followed by "WR+" or "WR-" which
indicates whether or not WebRender is enabled.

MozReview-Commit-ID: F3h5UowCxij

--HG--
extra : rebase_source : e809a9026c35d89c101e6cb72d09cd6136ed84c6
2017-03-27 11:44:01 -04:00
Andrew McCreight
855f08b5d6 Bug 1350435 - Compute snapshot ID in the parent process. r=fitzgen,smaug
The parent and content processes can have different temp directories
when sandboxing is enabled, so the process that creates the file for a
heap snapshot must also determine the snapshot ID.

MozReview-Commit-ID: 2UuncT54NXc

--HG--
extra : rebase_source : 350e49bf7c570abfdde457a89ee8922f8cdb8b7d
2017-03-24 10:34:44 -07:00
Michael Kaply
5d98501bcf Bug 1278042 - If update is disabled, don't copy LaunchServices. r=spohl
MozReview-Commit-ID: DWZxmVU0Qrf

--HG--
extra : rebase_source : 531a1e7bca364bd23eba0a48e0d80f698c142a69
2017-03-27 09:48:35 -05:00
강동윤
7b66148fc2 servo: Merge #16150 - Allow using servo as dependency, by fixing Cargo.toml of servo-test-t… (from kdy1997:master); r=jdm
- [ ] `./mach build -d` does not report any errors
I had hard time trying to compile rust-mozjs on my ubuntu machine, and I gave up. As this pr does not touch any source code, I expect it to be work.

- [x] `./mach test-tidy` does not report any errors

```sh
Checking the config file...
Checking directories for correct file extensions...

tidy reported no errors.
```

- [x] These changes fix #16149 (github issue number if applicable).

- [x] These changes do not require tests because it's trivial.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9eb6bb78b0dc7ab0f79f7dc992764225c8dcac1d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 508c2d811d8b111e4b33eaa17b3c8cf777beaaed
2017-03-27 07:41:36 -07:00
JW Wang
8b923c809d Bug 1350791 - Add constexpr and some handy functions to TimeUnit. r=gerald
MozReview-Commit-ID: 2UfVSKWSa42

--HG--
extra : rebase_source : 26844d50f6c4c8105f275ce43807b7f4c7832b06
2017-03-27 10:59:56 +08:00
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