Commit Graph

541769 Commits

Author SHA1 Message Date
Cameron McCormack
90a4e723f9 servo: Merge #17350 - style: Adjust display:contents to display:inline for NAC (including ::before/::after) (from heycam:gencon-contents); r=emilio
From https://bugzilla.mozilla.org/show_bug.cgi?id=1354879.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 49f06023911a61699087b6e04863cb3e6cb12afd
2017-06-15 18:58:01 -07:00
gasolin
4dcf34792f Bug 1357029 - Should add the Default Browser tour in the onBoarding overlay;r=Fischer,mossop,rexboy
MozReview-Commit-ID: FYUHqd3g64Y

--HG--
extra : rebase_source : 74e3823540aadb6056831fd7598f299e84742c9c
2017-06-12 12:14:42 +08:00
gasolin
2450d9ca72 Bug 1357029 - Should add the Customize Firefox tour in the onBoarding overlay;r=Fischer,mossop,rexboy
MozReview-Commit-ID: AVsLUCcIJq7

--HG--
extra : rebase_source : 309222856b54268949b0142ebe3ebd05d8afdeb6
2017-06-12 11:55:39 +08:00
gasolin
b34781488b Bug 1357029 - Should add the Add-on tour in the onBoarding overlay;r=Fischer,mossop,rexboy
MozReview-Commit-ID: LwSMLN5t7xt

--HG--
extra : rebase_source : bca7cdaabd9d86e479c51fc5a31a25eeee848271
2017-06-12 11:10:13 +08:00
Gregory Szorc
231cefc973 Bug 1371465 - Move MSVS_VERSION to moz.configure and properly define for vs2017; r=glandium
Before, MSVS was set in old-configure and could only be unset or
"2015." We move the definition of the variable to moz.configure
and support defining its value as "2017" when VS2017 is being used.

As part of this, I discovered that GYP barfs with a "2017" value.
This is likely a limitation of the legacy version of GYP we have
vendored. Rather than go down the rabbit hole of upgrading GYP,
I added code to convert the value to "2015." This preserves existing
behavior and unblocks us from setting MSVS_VERSION properly. A
warning is emitted to remind us to remove this hack once GYP is
upgraded.

After this commit, we now generate native VS2017 solutions and
projects when building with VS2017.

MozReview-Commit-ID: BvNJX3F8qCn

--HG--
extra : rebase_source : 13a495856a83d9ca7afbb4770ebab1cc7f651cae
2017-06-14 16:52:55 -07:00
Cameron McCormack
ea96847844 Bug 1373155 - Disable Web Components in Servo-styled documents. r=wchen
MozReview-Commit-ID: 5IBBN2Gfazs

--HG--
extra : rebase_source : 832174c4b30627b77d247a762c0a525b3afb7885
2017-06-15 19:39:58 +08:00
DimiL
5fb8503858 Bug 1312888 - Fix incorrect debug output for V2 lists. r=hchang
MozReview-Commit-ID: A6tb38RnUN3

--HG--
extra : rebase_source : 1d27102f0700a6443ee33c1ec6458fafd20d0d63
2017-06-14 15:32:53 +08:00
Chris Manchester
58eee1afda Bug 1370129 - Do not dump or pack symbols during no-opt builds. r=froydnj
MozReview-Commit-ID: 84tesHrZBIH

--HG--
extra : rebase_source : b990c5fecf3bfd22d973d99bb6c41646c94f12ff
2017-06-15 16:21:28 -07:00
Andrew Swan
820b147630 Bug 1338327 Handle .cmd files with spaces in subprocess r=kmag
MozReview-Commit-ID: 9zr97CyY5in

--HG--
extra : rebase_source : 733b47dc230a7809960d8790e88e9616544b0bc1
2017-06-12 14:51:32 -07:00
Ellen Marie Dash
aa43c98d84 servo: Merge #17347 - Fix setting img src before window.onload causing panic (from duckinator:fix-issue-17319); r=mbrubeck
<!-- Please describe your changes on the following line: -->

Setting an image source asynchronously (e.g. using `setTimeout` or in the callback of an `XMLHttpRequest`) before `window.onload` fired would cause a panic due to a preexisting load blocker not being terminated before assigning a new one.

This PR fixes that and adds a test for it.

---
<!-- 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 #17319.

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

<!-- 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: 04935de3ea8db953415a87bb4107cd48555503de

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 433c35c6dd15b15df8815bd93d3502d8f0de784a
2017-06-15 16:58:20 -07:00
Tom Ritter
d862bc91dd Bug 1372963 Remove WinPointerEvents:: qualifier which breaks MinGW build r=jimm
MozReview-Commit-ID: 4d13pyUsTG3

--HG--
extra : rebase_source : a4a104897584aedcc9e07367d910727124e12e88
2017-04-25 13:28:04 -05:00
hinaria
ea177608e2 servo: Merge #17340 - windows: fix line height handling (from hinaria:master); r=jdm
hi there!

on windows, this change properly scales a font's line height by its size.

previously, line height was not scaled to the font's size at all, which meant line heights become worse and worse the further you scaled away from the font's design size (in either direction, larger or smaller).

this change makes the `line_gap` ratio and size scale with the font size. i've hand checked that the new computed `line_gap` matches the effective heights in chrome and firefox when `line-height = normal` for a bunch of system fonts. (servo's rendering quality on windows is a different story, though).

![demonstration](https://user-images.githubusercontent.com/975570/27185401-8e27023a-5228-11e7-8475-9e4223730d25.png)

i believe this also solves #16476.

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

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 391981353adad7566e4a59ca8d296e4062355ea0
2017-06-15 15:42:38 -07:00
David Keeler
0b2a439e7e bug 1373068 - fix the ctypes declaration of SSL_ClearSessionCache in head_psm.js r=Cykesiopka
SSL_ClearSessionCache is `void SSL_ClearSessionCache()`. In head_psm.js it was
being declared as `SECStatus SSL_ClearSessionCache()` and the "return value" was
being checked, which was incorrect. This apparently wasn't causing failures on
any of our test runs, but with tsan enabled the check would fail.

MozReview-Commit-ID: 6KosOVPu8K4

--HG--
extra : rebase_source : 73addb80a5ab5263a182207a0f4277daf8ae32a5
2017-06-14 15:10:28 -07:00
Wes Kocher
26a0f65229 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6qjm9snaB3Z
2017-06-15 16:28:22 -07:00
Wes Kocher
208ec84119 Merge inbound to central, a=merge
MozReview-Commit-ID: AiSwcmvIrE
2017-06-15 16:22:40 -07:00
Anthony Ramine
74279dfc9b servo: Merge #17338 - Derive ToCss for computed LengthOrPercentage types (from servo:derive-all-the-things); r=emilio,waffles
Source-Repo: https://github.com/servo/servo
Source-Revision: 0142d193a3fde057718612028d9c1676e046b816

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dbf86c0ae37ccd730b2a38035b192e8b36b5a36c
2017-06-15 13:37:04 -07:00
Sebastian Hengst
9b6197930c merge mozilla-central to autoland. r=merge a=merge 2017-06-15 20:13:40 +02:00
Sebastian Hengst
43c84014a1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: HYo8pUZXJ8Z
2017-06-15 20:12:28 +02:00
Sebastian Hengst
5e87ebd65f merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DslWw03hayw
2017-06-15 20:04:31 +02:00
ffxbld
2170a219e8 No bug, Automated blocklist update from host bld-linux64-spot-382 - a=blocklist-update 2017-06-15 08:38:38 -07:00
ffxbld
c365df1999 No bug, Automated HPKP preload list update from host bld-linux64-spot-382 - a=hpkp-update 2017-06-15 08:38:35 -07:00
ffxbld
fc60e8619a No bug, Automated HSTS preload list update from host bld-linux64-spot-382 - a=hsts-update 2017-06-15 08:38:32 -07:00
Andreas Tolfsen
3802e2befd Bug 1373218 - Add invalid cookie domain error to status lookup; r=automatedtester
The InvalidCookieDomainError type is missing a status lookup key in
testing/marionette/error.js.  This adds "invalid cookie domain" as a
reverse lookup for the type.

MozReview-Commit-ID: 69hkk28axtt

--HG--
extra : rebase_source : 19628df79d89f7fbaf821cc1847e1be241ff56af
2017-06-15 13:36:47 +01:00
Anthony Ramine
98940e5acb servo: Merge #17337 - Use CustomIdent in more properties (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 4b633c8637ec8bf5da7538a04506941325807701

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 68d19e6b1133667d4599fdc0299014c0d86d3454
2017-06-15 05:24:17 -07:00
Honza Bambas
5faa1a752e Bug 1373064 - Add null-check for a connection entry to nsHttpConnectionMgr::IsConnEntryUnderPressure. r=mcmanus 2017-06-15 07:55:00 -04:00
Michael Layzell
cd7d12f6e7 Bug 1370971 - Enable dom.noopener.newprocess by default, r=bz
MozReview-Commit-ID: 2XNmnVkIicV
2017-06-15 15:07:44 -04:00
Joel Maher
9c8d73fcdc Bug 1372857 - whitelist additional addons which show up in pgo only. r=Kwierso
MozReview-Commit-ID: ELxmalEZ676
2017-06-15 14:55:54 -04:00
Michael Layzell
b24cba603e Bug 1369627 - Part 2: Send DimensionInfo down to the content process synchronously when creating a new window, r=smaug
MozReview-Commit-ID: GlzJ491RLUE
2017-06-15 14:34:48 -04:00
Michael Layzell
f9f7306ed3 Bug 1369627 - Part 1: Add a test for the behavior of window.resizeBy right after opening a new window, r=smaug
MozReview-Commit-ID: GLqs4YU0lbX
2017-06-15 14:34:46 -04:00
Sebastian Hengst
a672914c01 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-15 20:14:54 +02:00
Felipe Gomes
0f9563ee01 Bug 1369500 - Adjust about:license note about GPLv3. r=gerv. DONTBUILD
MozReview-Commit-ID: GcyU6sEb9zU
2017-06-15 15:03:45 -03:00
Sebastian Hengst
20d16dadd3 merge mozilla-inbount to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 36YqbsnO3en
2017-06-15 11:11:30 +02:00
Sebastian Hengst
02c5cf4167 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: ALl7GQHEApt
2017-06-15 10:53:50 +02:00
Andrew Osmond
fdb5476ee6 Bug 1365231 - WebRender should not use FLAG_HIGH_QUALITY_SCALING with RasterImage::GetImageContainer. r=jrmuizel 2017-06-14 12:53:07 -04:00
Ben Hearsum
ef8dce082d bug 1359084: remove unused mozharness config file. r=asasaki 2017-06-14 12:40:26 -04:00
Michael Layzell
e51690c5b9 Bug 1357829 - Part 4: Remove TickController, r=njn
MozReview-Commit-ID: 2IHa6ybR9ug
2017-06-14 12:27:52 -04:00
Michael Layzell
3e295cfe16 Bug 1357829 - Part 3: Remove profiler_get_stack_top, r=njn
MozReview-Commit-ID: C4DvuOvYSrs
2017-06-14 12:27:51 -04:00
Michael Layzell
7121551189 Bug 1357829 - Part 2: Use profiler_suspend_sample_thread in the background hang monitor, r=froydnj
This patch uses the profiler_suspend_sample_thread method which was added in
part 1.

With this patch, we no longer manually run code to pause the target thread,
instead using the profiler's provided code to do so. In addition, we no longer
manually walk the stack to collect native stack frames, instead relying on the
profiler's cross-platform stack walking logic.

This helps remove some of the code from ThreadStackHelper which was redundant
with the profiler. Much of the pseudostack code in ThreadStackHelper is also
redundant, and should hopefully be eliminated in a follow-up.

MozReview-Commit-ID: 4RjLHt6inH9
2017-06-14 12:27:49 -04:00
Michael Layzell
029576f19d Bug 1357829 - Part 1: Expose profiler_suspend_and_sample_thread, r=njn
This patch performs a refactoring to the internals of the profiler in order to
expose a function, profiler_suspend_and_sample_thread, which can be called from a
background thread to suspend, sample the native stack, and then resume the
target passed-in thread.

The interface was designed to expose as few internals of the profiler as
possible, exposing only a single callback which accepts the list of program
counters and stack pointers collected during the backtrace.

A method `profiler_current_thread_id` was also added to get the thread_id of the
current thread, which can then be passed by another thread into
profiler_suspend_sample_thread to sample the stack of that thread.

This is implemented in two parts:

1) Splitting SamplerThread into two classes: Sampler, and SamplerThread.

Sampler was created to extract the core logic from SamplerThread which manages
unix signals on android and linux, as well as suspends the target thread on all
platforms. SamplerThread was then modified to subclass this type, adding the
extra methods and fields required for the creation and management of the actual
Sampler Thread.

Some work was done to ensure that the methods on Sampler would not require
ActivePS to be present, as we intend to sample threads when the profiler is not
active for the Background Hang Reporter.

2) Moving the Tick() logic into the TickController interface.

A TickController interface was added to platform which has 2 methods: Tick and
Backtrace. The Tick method replaces the previous Tick() static method, allowing
it to be overridden by a different consumer of SuspendAndSampleAndResumeThread,
while the Backtrace() method replaces the previous MergeStacksIntoProfile
method, allowing it to be overridden by different consumers of
DoNativeBacktrace.

This interface object is then used to wrap implementation specific data, such as
the ProfilerBuffer, and is threaded through the SuspendAndSampleAndResumeThread
and DoNativeBacktrace methods.

This change added 2 virtual calls to the SamplerThread's critical section, which
I believe should be a small enough overhead that it will not affect profiling
performance. These virtual calls could be avoided using templating, but I
decided that doing so would be unnecessary.

MozReview-Commit-ID: AT48xb2asgV
2017-06-14 12:27:48 -04:00
Andrew Osmond
9e4c9d88a1 Bug 1365927 - Part 6. Remove CompositorThreadHolder reference from CompositorBridgeParent. r=dvander 2017-06-14 11:40:00 -04:00
Andrew Osmond
cafe9dcd45 Bug 1365927 - Part 5. Make PCompositorManager the manager protocol of PCompositorBridge. r=dvander 2017-06-14 11:40:00 -04:00
Andrew Osmond
27eaaaed2f Bug 1365927 - Part 4. Replace PCompositorBridge integration hooks with PCompositorManager. r=dvander 2017-06-14 11:39:59 -04:00
Andrew Osmond
9abc5f52d5 Bug 1365927 - Part 3. Move PCompositorBridge toplevel protocol overrides to PCompositorManager. r=dvander 2017-06-14 11:39:59 -04:00
Andrew Osmond
fc4e6a00ae Bug 1365927 - Part 2. Add minimal PCompositorManager protocol. r=dvander 2017-06-14 11:39:59 -04:00
Andrew Osmond
a3d11c8688 Bug 1365927 - Part 1. Add missing headers and other build housekeeping. r=dvander 2017-06-14 11:39:59 -04:00
ffxbld
c49a70b53f No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-06-14 08:33:27 -07:00
ffxbld
b98ce20b57 No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-06-14 08:33:24 -07:00
Mats Palmgren
d40a0ac6c8 Bug 1372431 - Use RemoveEntry(EntryType*) instead of RemoveEntry(KeyType) to avoid another hashtable lookup. r=michal
MozReview-Commit-ID: 7zOWbhd8MnN
2017-06-14 17:27:25 +02:00
Mats Palmgren
c7e9bf0310 Bug 1372429 - Use RemoveEntry(EntryType*) instead of RemoveEntry(KeyType) to avoid another hashtable lookup. r=michal
MozReview-Commit-ID: IAupx4Eu75h
2017-06-14 17:27:25 +02:00
Mats Palmgren
3d62b7ca50 Bug 1372413 - Use RemoveEntry(EntryType*) instead of RemoveEntry(KeyType) to avoid another hashtable lookup. r=mak
MozReview-Commit-ID: 1isuxbPXV94
2017-06-14 17:27:25 +02:00