Commit Graph

564015 Commits

Author SHA1 Message Date
Alex Gaynor
e6c660f838 Bug 1319423 - Part 3 - Change the print IPC to not require the content process to create a temporary file; r=bobowen
MozReview-Commit-ID: GLhTbfREk0n

--HG--
extra : rebase_source : f8f94b222fffa16ab973d07c940bfd64b5407440
2017-10-03 16:34:18 -04:00
Alex Gaynor
b00c32c807 Bug 1319423 - Part 2 - Switch away from std::ifstream to PRFileDesc in PrintTranslator; r=jrmuizel
MozReview-Commit-ID: 6ucwbGkqOQ0

--HG--
extra : rebase_source : ab0540e2b7d61108c8c550d8bf8b8a594364f90a
2017-10-03 13:23:57 -04:00
Alex Gaynor
41d8032290 Bug 1319423 - Part 1 - Introduce DrawEventRecorderPRFileDesc to allow switching away from std::ofstream in printing; r=jrmuizel
MozReview-Commit-ID: 1gn8J2fhejS

--HG--
extra : rebase_source : 02b6224c2788964c375092e58174efbacfdbdba5
2017-10-03 12:29:15 -04:00
Oriol Brufau
d43e9a7123 Bug 1281875 - Allow console to inspect logged cross-origin functions r=nchevobbe
MozReview-Commit-ID: AtLUHvExZa8

--HG--
extra : rebase_source : 7c34e6da16a1b64dfe99bcfaea0fe79a3cf17b2a
2017-10-15 14:56:24 +02:00
Erica Wright
d29984c27b Bug 1033395 - Panels Should Be Anchored from the Same Height on the Toolbar. r=johannh
MozReview-Commit-ID: 6bhlfeD1esE

--HG--
extra : rebase_source : 6e2d645505f154ae556827032af2e51f32657484
2017-09-13 15:49:32 -04:00
Erica Wright
6146d651bb Bug 1407754 - exiting customize mode quickly after adding a toolbar item to toolbar properly adds it to the toolbar. r=jaws
MozReview-Commit-ID: C7uvVVWoIeB

--HG--
extra : rebase_source : 423b5a7449410a5064405fdb18a87017eb668c6c
2017-10-13 09:27:48 -04:00
J.C. Jones
cffad01a4b Bug 1407829 - WebAuthn: Implement CredMan's Store method r=qdot,ttaubert
Credential Management defines a Store operation [1], which needs to be
implemented for WebAuthn's spec compliance. It only returns a NotSupportedError
for WebAuthn [2], so it's pretty simple.

[1] https://w3c.github.io/webappsec-credential-management/#dom-credentialscontainer-store
[2] https://w3c.github.io/webauthn/#storeCredential

MozReview-Commit-ID: KDEB8r5feQt

--HG--
extra : rebase_source : b3e2a270a2ea7c1689ef9991c1345bcc20368c9e
2017-10-12 17:02:22 -07:00
Josh Matthews
9cb2fce13c servo: Merge #18903 - Don't report smallbitvec as an error (from servo:jdm-patch-2); r=emilio
This should make dependencyCI turn green again.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : aec0a2ff18fd42e9d7fdd7a99beb5604b07f8cc7
2017-10-16 20:37:02 -05:00
Mark Striemer
1a03f9f88c Bug 1407999 - Support locked prefs for homepage r=jaws
MozReview-Commit-ID: Fxo0jh6KbOt

--HG--
extra : rebase_source : 8eb18e4ca98cfe6caba8304b2a0b30b41a0e6937
2017-10-12 12:47:36 -05:00
Tom Ritter
302cef9ace Bug 1407359 Set up a framework for patching the MinGW toolchain r=glandium
MozReview-Commit-ID: 8HtjLXAIXTP

--HG--
extra : rebase_source : b32cb4ac931c9dc599572bc5e726e4d68982c8a4
2017-10-16 20:52:47 -05:00
Daosheng Mu
820e14cb33 Bug 1392216 - Part 4: Move drawing black layer commaneds to Compositor thread when stopping presentation; r=kip
MozReview-Commit-ID: 6YmQ9DYp79O

--HG--
extra : rebase_source : 45898a15fd2648db977647556d8cf120a67ff9d1
2017-10-16 13:30:46 +08:00
Daosheng Mu
9210bba13b Bug 1392216 - Part 3: VRPuppet dispatch submit frame result to VRListener thread; r=kip
MozReview-Commit-ID: K5ivNAkB89I

--HG--
extra : rebase_source : d4a87c12f5268a7aebe68e81c58c753eb60bfbc8
2017-10-06 17:56:53 +08:00
Daosheng Mu
48b5ded13e Bug 1392216 - Part 2: Support VR listener thread in VR; r=kip
MozReview-Commit-ID: 62PZ5opXoZ6

--HG--
extra : rebase_source : 81bac1b7228a35baa571f381e863e31608ba350f
2017-10-05 18:16:16 +08:00
Daosheng Mu
e41dc03f86 Bug 1392216 - Part 1: Create VR listener thread in GPU process; r=dvander,kip
MozReview-Commit-ID: Img0HT9ax90

--HG--
extra : rebase_source : ef3e2dac31f498454121639aa46657c0cd16f949
2017-10-05 18:12:45 +08:00
Daniel Holbert
8ee548e499 Bug 1373767 part 1: Always make nsMathMLmathBlockFrame a block formatting context. r=bz
(This makes it behave a bit more like a normal CSS block, and it ensures that
it can provide a float manager to its descendants.)

MozReview-Commit-ID: FmnQYjzD2eD

--HG--
extra : rebase_source : 6e02bff6786fe4e4146339908c5f2e1becd3a929
2017-07-13 15:34:20 -07:00
Daniel Holbert
b58bf562de Bug 1373767 part 0: Adjust reftest "font-inflation-1.html" to allow block-level <math> to form its own font inflation container & have different sizing. r=jfkthame
MozReview-Commit-ID: 6jmVqXoyTRr

--HG--
extra : rebase_source : 21a31b8b11b74ee4cc7f875b5f0519509dda09f7
2017-10-13 14:19:03 -07:00
Daniel Holbert
ab4cba301b Bug 1408537 followup: fix unbalanced quotes in prose of reftest font-inflation-1.html. r=jfkthame
MozReview-Commit-ID: Iehg7KFJ1Z3

--HG--
extra : rebase_source : 083027d0f3b74e233f380256ee12c3df35cd50b7
2017-10-13 14:03:45 -07:00
Daniel Holbert
115a9ffb0c Bug 1408537: Slightly increase the epsilon in MathML reftest "font-inflation-1.html", so that it passes on local linux reftest runs. r=jfkthame
The prior epsilon (2px) seems like an arbitrarily chosen value, which must have
been large enough to allow for small sizing differences on our continuous
integration platforms.  But it's not quite large enough to handle sizing
differences on my local linux machine (I'm guessing due to font differences).

Note that this doesn't reduce the sensitivity of the test.  In the test's
anticipated failure mode (when font inflation fails to apply on some element),
the sizing differences are an order of magnitude larger than this amended
epsilon.

MozReview-Commit-ID: Iz7jqRvFh8w

--HG--
extra : rebase_source : 573e42c3237b11d6747ed45bc3ae3d86aeb0a4b3
2017-10-13 13:59:16 -07:00
maliu
fc210a7334 Bug 1384312 - Support generating JNI wrappers under --with-gradle, r=nalexander
MozReview-Commit-ID: HECL60Ggeqn

--HG--
extra : rebase_source : 6b50e42602329db7f0fa5c4b3e89d2e44debaf33
extra : source : 9a3c4f7cd85e1007ed60708fe9c7b1cfff2afa23
2017-10-11 15:37:40 -07:00
Jed Davis
55a0096f3c Bug 1320834 - Reduce prctl policy for desktop content processes. r=gcp
This removes the allow-all override in the content policy, which means it will
fall back to the more restrictive prctl policy in SandboxPolicyCommon.

MozReview-Commit-ID: CncoGi0HLxR

--HG--
extra : rebase_source : 6cb1834c56a1781f1512b7b078ba3469c3dd8537
2017-04-12 18:41:20 -06:00
Andrew McCreight
59c846ae8d Bug 1408459, part 2 - Remove unused declaration of NS_MeanAndStdDev(). r=erahm
Also, fix up the include guard in that file.

MozReview-Commit-ID: I3RGDb5P7Yn

--HG--
extra : rebase_source : 158f860cba8fcab31f9a895294f74327d964dcd1
2017-10-15 08:30:57 -07:00
Andrew McCreight
a56b23fc5f Bug 1408459, part 1 - Work around compiler problem on Android 4.2 x86 opt. r=erahm,kamidphish
Removing an ununused declaration in nsTraceRefcnt.h causes a compiler
error on Android 4.2 x86 op when CubebUtils.cpp is compiled unified,
for some reason. Work around this by compiling it by itself.

MozReview-Commit-ID: F73D47TU32B

--HG--
extra : rebase_source : 23b76e55e27ab7501f1303a015f67e8be4603283
2017-10-15 09:19:31 -07:00
Simon Sapin
84f6addcca servo: Merge #18875 - Remove the need for rust-mozjs to use unstable Rust features (from servo:stable-js); r=nox,jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: e8a6f2862c2a6084e4f4e64ab466c89ae83cff59

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0a4afe555c08aa8749c361669f9385fd65f10f4a
2017-10-16 17:07:50 -05:00
Nicholas Hurley
e1ff7a7d15 Bug 1409156 - Do not prefetch tracking resources. r=valentin
MozReview-Commit-ID: IKKHOLd2b4Y

--HG--
extra : rebase_source : 93c402435d67ed5cb0b2d84bc401ca6e058abd5a
2017-08-07 12:45:49 -07:00
Jed Davis
2a020d2e77 Bug 1408493 - Don't restrict ioctl() in sandboxed content if ALSA might be used. r=gcp
MozReview-Commit-ID: 61AmLLcPaWw

--HG--
extra : rebase_source : ba3ad2886b871a8753e9ac30c46fc3356f4fb1c4
2017-10-13 14:34:10 -06:00
Jed Davis
b61d9d2cbe Bug 1408498 - Allow FIONREAD in sandboxed content processes, for libgio. r=gcp
MozReview-Commit-ID: 23mO3vCb7Gu

--HG--
extra : rebase_source : b0183cb4d8d6a5e6ab03e9d4e1db1a3bb76a3569
2017-10-13 14:32:43 -06:00
Imanol Fernandez
bccaf86555 servo: Merge #18592 - Implement DOM to texture (from MortimerGoro:dom_texture); r=jdm
<!-- Please describe your changes on the following line: -->

This is a prototype of the WebGL DOMToTexture feature. The API should be fine as a privileged extension for now due to security concerns. The working group has been investigating the viability of unprivileged usage but the spec is not ready yet.

Demo video: https://www.youtube.com/watch?v=hpZqEM5hPao

---
<!-- 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: 3209d22968046b5c3d29a37b79a655497db2050a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7218add26699a33dca5290abcaae48a29f4db31f
2017-10-16 15:36:42 -05:00
Jean-Yves Avenard
557904d18a Bug 1409141 - Disable D3D11 YUV buffer copy on Windows 7. r=mattwoodrow
The crashes on Windows 7 appear to occur due to the D3D11 device being used on two different threads simultaneously. We do query the driver to determine if multithreaded access is supported, but they obviously aren't that cluey about it.

MozReview-Commit-ID: GZIk1Zf9xKQ

--HG--
extra : rebase_source : d5dacbb8244021397bbaee81fb51569b06c88736
2017-10-16 22:03:18 +02:00
Matt Howell
0d9cc3ac3c Bug 1337856 Part 2 - Swap out stub installer background images with JPEG's, and add high-res versions. r=agashlin
MozReview-Commit-ID: AUa58uY8pKW

--HG--
extra : rebase_source : e01c0e3f7b636979f6762b75b28b7c1fd6986e51
2017-10-12 15:11:53 -07:00
Matt Howell
5ed38fdf7f Bug 1337856 Part 1 - Use a better up/down-scaling method for the stub installer background. r=agashlin
MozReview-Commit-ID: Ag02ni4nJ00

--HG--
extra : rebase_source : 391e57a31468a9215953ba0491756bff99bec1bd
2017-10-10 08:50:31 -07:00
Andrew Halberstadt
bef1791925 Bug 1408511 - Use 'job-defaults' in source-test/python.yml and source-test/mozlint.yml, r=dustin
This is a minor cleanup of some of the source-test configs.

MozReview-Commit-ID: EssE4V4VoXx

--HG--
extra : rebase_source : 6d946aba6e8ff8eaa40965d529d28204f43ec7a4
2017-10-13 15:58:34 -04:00
Andrew Halberstadt
b7d657cd9c Bug 1408511 - Allow 'job-defaults' in individual .yml files, r=dustin
This allows defining a "job-defaults" key in a yaml file specified by
"jobs-from". Defaults defined here will first be merged into kind specified
defaults (if any), and then tasks defined in the same file will be merged into
the combined defaults.

MozReview-Commit-ID: Jy5m4Pc9umx

--HG--
extra : rebase_source : 5ba11b989a9406d98efe0bffb7aee5b9869fb6c6
2017-10-13 15:47:00 -04:00
Jed Davis
df2e63a6ff Bug 1408568 - Handle SandboxReport::ProcType::FILE correctly in XPCOM bindings. r=gcp
MozReview-Commit-ID: EwNTeG4cbZG

--HG--
extra : rebase_source : feed835fd56053644c5fa390d95884fc9b17439b
2017-10-13 17:33:01 -06:00
Sebastian Hengst
0a305fd2d1 Backed out changeset af8fdfac66fa (bug 1405722) for failing xpcshell's browser/components/places/tests/unit/test_PUIU_livemarksCache.js, at least on OS X 10.10 opt. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 57bce00f5654ad7abca1774d2be153e95492a58b
2017-10-17 00:55:53 +02:00
Sebastian Hengst
7686ba4103 Backed out changeset 690513d3ec06 (bug 1405961) for failing modified mochitest dom/tests/mochitest/general/test_performance_nav_timing_before_onload.html. r=backout on a CLOSED TREE
--HG--
extra : rebase_source : dad8f71a4de9f4c3955dee91b52db3fa97587fb1
2017-10-17 00:48:36 +02:00
Xidorn Quan
02a9eeb632 Bug 1407847 followup 3 - Adjust some assert count expectation on a CLOSED TREE.
MozReview-Commit-ID: 9oElx9rSliV

--HG--
extra : rebase_source : 4085b430ddad317fa5559e9f4f34aa694f458069
2017-10-17 09:45:43 +11:00
Markus Stange
3d6a13ead7 Bug 1409132 - Handle fX == 0 and fY == 0 appropriately when converting the frequency from user space to filter space. r=longsonr
MozReview-Commit-ID: 1kXGaXoE4ss

--HG--
extra : rebase_source : 325312615142e8f917b2a4acc19b8947ee44a805
2017-10-16 15:14:22 -04:00
Marco Bonardo
bf0fb7d1e7 Bug 1405722 - Remove the IsLivemark() bookmarks observer from PlacesUIUtils. r=standard8
MozReview-Commit-ID: 586IR54ggbm

--HG--
extra : rebase_source : 6a714c0ab4154b219195cafee6cdfe8c3c9c5211
2017-10-10 12:05:19 +02:00
Glenn Watson
a099f50bcc servo: Merge #18890 - Update WR (details below): (from glennw:update-wr-clip-text-aa); r=jdm
* Add support for clip masks on text runs.
* Fix atomic ordering of items with multiple shadows.
* Update to bincode + ipc-channel with optimizations.
* Fix some plane splitting precision errors.
* Improve the anti-aliasing quality significantly.
* Add internal ClipChain support.
* Fix diacritic glyphs on Linux.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7e4b2cb3c1826baf96fbd87667ed36f872c8e282
2017-10-16 12:54:02 -05:00
Simon Sapin
c08c32ca01 servo: Merge #18900 - Remove use of unstable box syntax (from servo:box_syntax); r=emilio
http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance.

This is expected since `Box::new` is defined as:

```rust
impl<T> Box<T> {
    #[inline(always)]
    pub fn new(x: T) -> Box<T> {
        box x
    }
}
```

With inlining, it should compile to the same as box syntax.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 97a17674f72dbfcb99552fe4877789f149ccfc84
2017-10-16 11:21:21 -05:00
tigercosmos
ab5eb49d69 servo: Merge #18145 - fix windows build issue #18055 (from tigercosmos:master); r=larsbergstrom
<!-- Please describe your changes on the following line: -->
With some reasons, the windows and VS environment do not set the `env("PLATFORM")` variable.
So, there's no need to check the variable, and set `os_type` equl to `pc-windows-msvc` as default. Then the script can get correct url to download `rustc`.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #18055 (github issue number if applicable).

<!-- Either: -->
- [ ] 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: 5e3c4c21986b10ac7292d75245e57700f5075b1a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c66a07d4be1abb9c7b284b34cde2d6bdadbbffc8
2017-10-16 09:38:01 -05:00
Botond Ballo
8639d6de37 Bug 1409129 - Have the APZ frame delay ride the trains on Fennec. r=kats
MozReview-Commit-ID: GSFXNxWQwSm

--HG--
extra : rebase_source : b16807458f9725f3ef157feae081acad7c1de64e
2017-10-16 14:58:57 -04:00
Valentin Gosu
b3c9da152f Bug 1405961 - Remove assertion and ensure PerformanceNavigationTiming can be used before onLoad completes r=baku
MozReview-Commit-ID: FsEeeAOqDwY

--HG--
extra : rebase_source : 8bf8995e2a4a91cf0d8d66e37c0a2a6c4dd118b9
2017-10-12 17:52:59 +02:00
J. Ryan Stinnett
84e8579a24 Bug 1407830 - Wait for browser during RDM startup. r=ochameau
Before the browser is mounted, listen for `remote-browser-shown` so that we know
when the browser is fully ready.  Without waiting for an event such as this, we
don't know whether all frame state for the browser is fully initialized (since
some happens async after the element is added), and swapping browsers can fail
if this state is not ready.

MozReview-Commit-ID: Ltd7mjdt7ox

--HG--
extra : rebase_source : 1cebc140c8f68d9daab7f8a0916be68f209d0f36
2017-10-13 20:38:18 -05:00
J. Ryan Stinnett
31887d40f0 Bug 1407830 - Verify that RDM swaps take place. r=ochameau
It is possible for the frame loader swap within `gBrowser._swapBrowserDocShells`
to fail when various frame state is either not ready yet or doesn't match
between the two browsers you're trying to swap.  However, such errors are
currently caught and silenced in the browser, because they are apparently
expected in certain cases.  So, here we do our own check to verify that the swap
actually did in fact take place, making it much easier to track such errors when
they happen.

MozReview-Commit-ID: LwuCXJQRRVW

--HG--
extra : rebase_source : f2e523ec3a5fc14306881dd823190dfcfe7cdd7a
2017-10-13 20:19:49 -05:00
J. Ryan Stinnett
c1c62750e7 Bug 1407830 - Add diagnostics to RDM swap. r=ochameau
Add some (disabled by default) logging to the RDM swap process to speed up
future investigations.

MozReview-Commit-ID: ICuH7i5Nsq5

--HG--
extra : rebase_source : 9d20a69965572020e7a98dbfe56bbcc57df0dad1
2017-10-13 20:07:24 -05:00
Andrew Halberstadt
0b57d6eaa3 Bug 1408505 - Run non-e10s reftests on Windows 10 instead of Windows 7, r=jmaher
MozReview-Commit-ID: F69taRePVQ1

--HG--
extra : rebase_source : ebd181577fb9b28252bb42e8676e0f3ecb38819c
2017-10-16 08:42:09 -04:00
Kartikaya Gupta
726a757cb4 Bug 1408604 - Slightly increase fuzz again for test when webrender is enabled. r=Gankro
MozReview-Commit-ID: 5Ojc5np47X2

--HG--
extra : rebase_source : 2b4690b60a19e0275163a7737ec6287ca9c33b46
2017-10-16 08:40:45 -04:00
Andreas Tolfsen
2207b79606 Bug 1409036 - Return single anon element from WebDriver:FindElement. r=whimboo
The WebDriver:FindElement command returned an array of elements when
looking up anonymous elements.  This patch rectifies the behaviour
so that only a single element is returned.

It introduces a new helper function called element.findAnonymousNodes,
akin to similar helper functions for other strategies.  This function
returns an iterator of anonymous nodes so that WebDriver:FindElements
(plural) and WebDriver:FindElement (singular) can share the same
code path.

MozReview-Commit-ID: 3IqPyAIZHtf

--HG--
extra : rebase_source : ceffd2b3dfe885b98ae31905f290ab9d95ef26c0
2017-10-05 12:59:03 +01:00
Justin Wood
4715a53b38 Bug 1408083 - Drop support for single locale fennec releases/betas. r=rail
MozReview-Commit-ID: 3xiILzghRoY

--HG--
extra : rebase_source : c293e1e0c2ca6fd02c87f488d75b6eb626d46dc3
2017-10-13 16:29:09 -04:00