Commit Graph

602097 Commits

Author SHA1 Message Date
Martin Stransky
1f770d80e5 Bug 1467128 - [Wayland] Get VSync from Gtk/Wayland, r=lsalzman
VSync on Wayland is a bit tricky as we can get only "last VSync" event signal with
CLOCK_MONOTONIC timestamp or none (if application is hidden/minimized).

That means we should draw a next frame at "last Vsync + frame delay" time and also
approximate next VSync event when we don't get any.

MozReview-Commit-ID: FI3Z4nkmDNK

--HG--
extra : rebase_source : 8a0f6148990cf4e7ad26ff287eadff87cb0215fc
2018-06-29 13:15:41 +02:00
Jared Wein
8c69facccf Bug 1427961 - Implement error tooltip styling. r=MattN
MozReview-Commit-ID: CBNUhIRGD1A

--HG--
extra : rebase_source : 48635adf6aa6731a7fd65679492962e9ad79e0dd
extra : source : aba7712e5409d9321f03d96f80a1d9bbf76b8a13
2018-06-20 23:27:56 -04:00
Jared Wein
d8e5ec3940 Bug 1427961 - Put the asterisk next to required fields. r=MattN
MozReview-Commit-ID: 9KMFB9bS9hD

--HG--
extra : rebase_source : 1566cf92f691f8eaa7bc47fe2b38b0c9cb66dade
extra : source : 7f74d7629be432b0df984d6464a2ba44de27dede
2018-06-20 19:06:38 -04:00
Jared Wein
dbaa85bf42 Bug 1427961 - Regular expression validation for zip/postal codes. r=MattN
MozReview-Commit-ID: 208vx9SBcrq

--HG--
extra : rebase_source : 7f1eca0999bf561ab95968ad6382b2df283a87c2
extra : source : 94a1d54ae6fabdd25f80d276ca5d159a431b6052
2018-06-20 17:46:05 -04:00
Jared Wein
5da9edce44 Bug 1427961 - Basic shipping address validation for state/province and zip/postal code. r=MattN
MozReview-Commit-ID: DCjr13QxP5Z

--HG--
extra : rebase_source : d76056a6e73e5ffdd53006b4fac576dcfec000ba
extra : source : 497e432568558a5494f81300bcc3071978188d20
2018-06-07 17:02:42 -04:00
Tim Nguyen
91b9be690a Bug 1472286 - Fix checks for legacy themes. r=kmag
MozReview-Commit-ID: 9bkTG2njxJJ

--HG--
extra : rebase_source : 49f6882c19898c604544d19128dfb3700aea2692
2018-06-26 13:46:22 +01:00
Tim Nguyen
7b039888e3 Bug 1472286 - Stop appending @personas.mozilla.org suffix for built-in themes. r=kmag
MozReview-Commit-ID: CCRraTIKbR3

--HG--
extra : rebase_source : f4df49e52887d4974afdb46d68dbaadcfa86be5d
2018-06-26 13:39:47 +01:00
Kanika Saini
1c4f85e109 Bug 1465952 - about:support displays JSON of successfully parsed policies r=Felipe
MozReview-Commit-ID: 8l7RE5ZO0jb

--HG--
extra : rebase_source : 8d268161bfc898899e88233c34c7e95031dd5cb6
2018-06-25 19:45:16 +05:30
Emilio Cobos Álvarez
ed2763bea8 Bug 1472497 - Serialize list-style-type / list-style-image using Servo. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D1903

--HG--
extra : moz-landing-system : lando
2018-07-01 00:44:26 +00:00
Mike Hommey
993aa6d00f Bug 1447116 - Require rust 1.26. r=froydnj
We're well overdue for an upgrade of the rust compiler requirements.
Now that we're building with 1.28 (albeit a beta, due to be bumped when
it's released), we can bump the requirement away from 1.24 which is now
old. 1.27 is too new, though, so settle for the older 1.26.

--HG--
extra : rebase_source : a17aa496bf3d4af4d1349d69a637c686c6817d0f
2018-06-26 18:05:23 +09:00
Mike Hommey
07b2d6830f Bug 1447116 - Update builders to rust 1.28. r=froydnj
--HG--
extra : rebase_source : 8a45bae75a8006ebfa9dd1162f9259ead767c72e
2018-06-26 17:34:28 +09:00
Bogdan Tara
d0191c4b84 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-01 00:55:44 +03:00
Bogdan Tara
de56c19e62 Merge inbound to mozilla-central. a=merge 2018-07-01 00:51:17 +03:00
Robert Longson
f33096f4f1 Bug 1455854 - Throw a TypeError rather than a SyntaxError for enum out of range. r=heycam 2018-06-30 18:41:37 +01:00
Ciure Andrei
7e70527778 Backed out 1 changesets (bug 1472272) for xpcshell failures test_TelemetrySession.js CLOSED TREE
Backed out changeset bd57c1549f75 (bug 1472272)
2018-06-30 18:27:41 +03:00
Stephen A Pohl
6e2726ff71 Bug 1472272: Allow apps like Thunderbird to switch to the dark theme as well when macOS 10.14+ switches to dark mode. r=dao 2018-06-30 10:39:34 -04:00
Ciure Andrei
2bb107325a Backed out 1 changesets (bug 1472272) for xpcshell failures test_TelemetrySession.js CLOSED TREE
Backed out changeset 7cb1b45d690f (bug 1472272)
2018-06-30 16:19:05 +03:00
Stephen A Pohl
3bc58ff06d Bug 1472272: Allow apps like Thunderbird to switch to the dark theme as well when macOS 10.14+ switches to dark mode. r=dao 2018-06-30 08:35:57 -04:00
Andreea Pavel
c5bb0d1b10 No bug - fix merge conflict mistake r=Aryx on a CLOSED TREE
--HG--
extra : amend_source : 78dc5d2a30fb4208ca64ed8bde4db3fda63cb86b
2018-06-30 13:57:50 +03:00
Andreea Pavel
1bf7ac45bb Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-06-30 13:10:01 +03:00
Andreea Pavel
91a9c110e2 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-30 12:49:32 +03:00
Emilio Cobos Álvarez
c4900d4847 Bug 215083: Fix CreateContinuingFrame to account for non-nsImageLoadingContent image frames. r=heycam
MozReview-Commit-ID: CLx3siPe4Cx
2018-06-30 03:45:12 +02:00
Emilio Cobos Álvarez
df24c5fda6 Bug 215083: Remove sync image request clone. r=tnikkel
MozReview-Commit-ID: 59bXcnxfJTC
2018-06-30 03:45:12 +02:00
Emilio Cobos Álvarez
6d73d28803 Bug 215083: Implement content: url(..) for elements. r=tnikkel,dholbert
Dynamic changes are handled correctly because content property changes already
cause a reframe.

This implements the same bits as Blink / WebKit do (single content item which is
an image, otherwise gets ignored), except for the edge cases where you use this
on an image.

In order to handle the edge cases right, we completely isolate the
nsImageLoadingContent usage based on `mKind`.

Blink's and WebKit's behavior there makes no sense and it's erratic, what I
implemented is consistent (we apply to images as long as they don't generate a
box, and we don't look at alt text or broken icons), though I'll update to
whatever the WG decides in https://github.com/w3c/csswg-drafts/issues/2831 /
https://github.com/w3c/csswg-drafts/issues/2832.

I don't think it matters in terms of web compat in any case.

MozReview-Commit-ID: JUurhC60hWr
2018-06-30 03:45:13 +02:00
Andrew Osmond
b13b2abe4f Bug 1472145 - Part 2. Add telemetry to track how frequently WebP images are used. r=tnikkel data-r=chutten
This patch adds three telemetry scalars to track how WebP is used. All
of these scalars are updated when we do the MIME type confirmation for
an imgRequest when the first data comes in. We know at this point we
decided to load the given content, so there should be minimal false
positives for data the browser loaded but never displayed.

The first two scalars are merely whether or not WebP was observed. One
is for probes, which are tiny WebP images suggested by the Google WebP
FAQ to probe for different aspects of WebP support (lossy, animated,
etc). We want to count this separately as actual WebP content that the
website wishes us to display. Probes will give a measure of how many
users visit websites that probe for WebP support, and content will give
a measure of how many websites don't care and just give us WebP images
regardless.

The third scalar is intended to give a relative measure of how many WebP
images we are being served relative to all other image types. We expect
the ratio to be small, but it would be good to confirm this from the
data.
2018-06-29 20:30:08 -04:00
Andrew Osmond
c7ece5c2e5 Bug 1472145 - Part 1. Add support for identifying the WebP images MIME type. r=tnikkel 2018-06-29 20:30:05 -04:00
André Bargull
e09a53c18a Bug 1471788: Apply ToNumber conversion even when the typed array write is out-of-bounds. r=evilpie
--HG--
extra : rebase_source : 9c1cc0307b8c1800f99e0884975ecd935b0e5a5d
2018-06-29 13:46:04 -07:00
Mats Palmgren
e9805c3053 Bug 1470260 part 2 - Make RefreshDriverTimer ref-counted and hold a strong ref on it on the stack when nsRefreshDriver::Tick can be reached. r=emilio 2018-06-30 01:08:54 +02:00
Mats Palmgren
050942c49c Bug 1470260 part 1 - Ensure that 'this' stays alive for the duration of the TickRefreshDriver call. r=emilio 2018-06-30 01:08:54 +02:00
Olli Pettay
2e00f64ed1 Bug 1419661, if ExtendedDOMSlots are used before slots, use FatSlots to have fewer allocations, r=mrbkap 2018-06-30 01:30:37 +03:00
Calixte Denizet
264c53b6fe Bug 1472146 - Disable warnings-as-errors on macosx64 and win64 code coverage builds to avoid false positives. r=marco
Reviewers: marco

Reviewed By: marco

Bug #: 1472146

Differential Revision: https://phabricator.services.mozilla.com/D1877

--HG--
extra : amend_source : a4af8b6c06139f5147cd837619ecfc9bb454737d
2018-06-30 01:17:03 +03:00
Calixte Denizet
9aabc7f563 Bug 1471882 - Fix build bustage on nsCodeCoverage.cpp r=marco
Summary:
- Add explicit keyword on ProcessCount ctor
- Fix an unused variable in a loop

Reviewers: marco

Reviewed By: marco

Bug #: 1471882

Differential Revision: https://phabricator.services.mozilla.com/D1864

--HG--
extra : rebase_source : be0ae98ba0b54fc626b6857336c59d114be1e6f3
2018-06-30 01:14:21 +03:00
Michael Ratcliffe
b441397dbd Bug 1466880 - Track toolbox session id in event telemetry probes r=yulia
MozReview-Commit-ID: SC6Vm4Qn7n

--HG--
extra : rebase_source : 64f03f765a8060a3478b50e25f248286cdab8e3f
2018-06-29 16:36:24 +01:00
whirish
d559e21e1d Removed histogram from Histograms.json (Bug 1472163) r=Gijs
MozReview-Commit-ID: 7qP17zMhcQR

--HG--
extra : rebase_source : 6a2aa569a8f7a771a3b1d7db2aed7dff234a9c45
2018-06-29 18:41:08 -07:00
jgilbert@mozilla.com
1527dfb596 Bug 1472402 - -MG for clang-cl breaks missing-include error reporting. - r=froydnj
MozReview-Commit-ID: EhtNTZcXBrt

--HG--
extra : rebase_source : 900afc0e4cfd0dde1c0f4f3ec883e879a295567c
2018-06-29 20:18:08 -07:00
Emilio Cobos Álvarez
f73f11f891 No bug - Remove stray newline. r=me
MozReview-Commit-ID: 4oTHDBjMJHp
2018-06-30 17:19:50 +02:00
Emilio Cobos Álvarez
f36a3eac08 Bug 1472443: Serialize content properties using Servo. r=xidorn
... and cleanup unused keywords / getters using the scripts in
layout/style/tools

Differential Revision: https://phabricator.services.mozilla.com/D1901

MozReview-Commit-ID: BRUGcje7X0q
2018-06-30 17:14:12 +02:00
Emilio Cobos Álvarez
fac54cd7df Bug 1472443: Make StyleContentType an enum class. r=xidorn
Most of it is automated by:

  %s/eStyleContentType_/StyleContentType::/g
  %s/nsStyleContentType/StyleContentType/g

But I removed some parentheses by hand.

Differential Revision: https://phabricator.services.mozilla.com/D1900

MozReview-Commit-ID: 3IcirjIYX5p
2018-06-30 17:13:07 +02:00
Emilio Cobos Álvarez
295eb31aba Bug 1116638: Update more expectations for new tests added. r=me
MozReview-Commit-ID: D3nYC5fsBNb
2018-06-30 17:11:13 +02:00
Emilio Cobos Álvarez
97cf1e0c02 Bug 1116638: Expose logical props in computed style. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D1862

--HG--
extra : moz-landing-system : lando
2018-06-30 13:45:43 +00:00
Emilio Cobos Álvarez
8f2668dd6e Bug 1472389: test content: url() pagination path. r=dholbert
With a bonus pseudo-element test as well :)

Differential Revision: https://phabricator.services.mozilla.com/D1896

--HG--
extra : moz-landing-system : lando
2018-06-30 03:07:27 +00:00
Jan-Erik Rediger
fbe9242dc3 Bug 1466518 - Store current timestamp as profile directory scan date in a scalar. r=chutten
Depends on D1577

MozReview-Commit-ID: ADAXwJlIVQN

Differential Revision: https://phabricator.services.mozilla.com/D1578

--HG--
extra : moz-landing-system : lando
2018-06-30 12:00:20 +00:00
Andreea Pavel
b9443039cd Merge mozilla-central to autoland. a=fix-uplift 2018-06-30 14:46:22 +03:00
Tiberius Oros
681ee1ca9b Backed out changeset d2afa568a6ba (bug 1466518) for linting opt failure on a CLOSED TREE 2018-06-30 13:32:58 +03:00
Emilio Cobos Álvarez
e45edf9ebc Bug 215083: Account for subclasses in the next-in-flow assertion. r=me a=fix-uplift
MozReview-Commit-ID: 2E8Fm4Lxnf8

--HG--
extra : source : c3983769db6d28b2af6f4f7d1dee2f4ed4aa887a
extra : amend_source : 94001c14b0f333814e099fc0a8c57d120bb6feaf
2018-06-30 04:40:31 +02:00
Jan-Erik Rediger
db3e703558 Bug 1466518 - Store current timestamp as profile directory scan date in a scalar. r=chutten
Depends on D1577

MozReview-Commit-ID: ADAXwJlIVQN

Differential Revision: https://phabricator.services.mozilla.com/D1578

--HG--
extra : moz-landing-system : lando
2018-06-29 13:12:43 +00:00
Jeff Walden
80abb71067 Bug 1472066 - Add some helper functions to enable (once the non-integral Utf8Unit code unit type lands, soon) dealing with Utf8Unit as the type of UTF-8 source code in addition to char16_t for UTF-16 source code. r=arai
--HG--
extra : rebase_source : 1f050dd6c0cb07a8b5d8bc257eb42ec78d699a33
2018-06-28 20:17:17 -07:00
Jeff Walden
2f902e38d0 Bug 1472066 - Specialize TokenStreamCharsBase::fillCharBufferWithTemplateStringContents for char16_t now that its alternative UTF-8 implementation will have to function a bit differently to write data into a char16_t charBuffer. r=arai
--HG--
extra : rebase_source : 8c6e13e16777abc910aaf46d4654ae03e88f32fa
2018-06-28 20:14:27 -07:00
Jeff Walden
e249f558aa Bug 1472031 - Add SourceUnits::matchHexDigits and remove SourceUnits::peekCodeUnits used for the same ends (but that also performed a needless copy). r=arai
--HG--
extra : rebase_source : bad3e97ead1b4d72dd39420bfc96614913464d62
2018-06-28 16:08:53 -07:00
Jeff Walden
76990b22f2 Bug 1472031 - Avoid copying potential directives in TokenStreamSpecific::getDirective. r=arai
--HG--
extra : rebase_source : d6386e0fe99a2fe9050d25952426205779b8ee2e
2018-06-28 15:39:14 -07:00