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

603287 Коммитов

Автор SHA1 Сообщение Дата
Hiroyuki Ikezoe 1609fd1ef0 Bug 1472900 - Use timestamp associated with the timeline for animation cancel events. r=birtles
Before this change, the test in this commit fails.  The received events order
is;

 1) cancel
 2) transitioncancel
 3) transitionstart
 4) finish

MozReview-Commit-ID: 8liTFXime6e

--HG--
extra : rebase_source : 3c68ef330b1f263afa2fad9670a30b351b8dbf28
2018-07-05 06:19:12 +09:00
Hiroyuki Ikezoe 84b3da673c Bug 1472900 - Make some closures for arrow function a single line. r=birtles
MozReview-Commit-ID: 2uWYp495Ibl

--HG--
extra : rebase_source : 6397d54051e2ec45c77361f5545e4c25fd431eb6
2018-07-05 06:13:21 +09:00
Hiroyuki Ikezoe 067150dbd6 Bug 1472900 - Rename mTimeStamp in AnimationEventInfo to mScheduledEventTimeStamp. r=birtles
It matches the name in the spec.
https://drafts.csswg.org/web-animations/#scheduled-event-time

MozReview-Commit-ID: EKoUNRfTVMJ

--HG--
extra : rebase_source : 83a5ee36d5df98273e26789733df69800d115b34
2018-07-05 06:13:18 +09:00
Dan Glastonbury fb20213f55 Bug 1467622 - P5: Reftests for SVG pserver currentcolor override. r=heycam
MozReview-Commit-ID: 3yG2VarZvdr

--HG--
extra : rebase_source : c0f410535e3cd7d5098c2fa9cb2e055ff5929b19
2018-07-04 14:34:27 +10:00
Dan Glastonbury ef55fbc2dd Bug 1467622 - P4: Correct background/foreground ratio mixing. r=xidorn
MozReview-Commit-ID: InAZVcH2Vkt

--HG--
extra : rebase_source : ab691a3b6ae2398b6b1f9913ce1a5cd0918b2791
2018-07-03 14:15:06 +10:00
Dan Glastonbury b299d976de Bug 1467622 - P3: Cleanup transition tests with currentcolor. r=xidorn
Now that all properties handle currentcolor via mozilla::StyleComplexColor,
unify test_currentcolor_transition() and test_true_currentcolor_transition()
into test_currentcolor_transition().

MozReview-Commit-ID: 81hlAgTotpL

--HG--
extra : rebase_source : 9c9744c3fe4e423451e5a581501c88539c9d591f
2018-06-28 14:06:01 +10:00
Dan Glastonbury a63f482185 Bug 1467622 - P2: Change SMIL paced tests to represent new distance calc. r=birtles
Changing to Stylo for animation of color with currentColor. Stylo uses
a different distance metric for numeric colors to currentColor. The
result is that a different pacing is used in the fill case.

MozReview-Commit-ID: 5x8c3IF5owV

--HG--
extra : rebase_source : 422dfa69644052a4c9cbfb2355a105c8e5c2b50c
2018-06-28 11:58:34 +10:00
Dan Glastonbury 0a83cfb70f Bug 1467622 - P1: nsStyleSVGPaint - Change nscolor to StyleComplexColor. r=xidorn
MozReview-Commit-ID: 1bbQzOoOuBe

--HG--
extra : rebase_source : 879e7d644f1dc3873cdfb352fce21e3d085db55a
2018-06-27 17:07:37 +10:00
Xidorn Quan 9a1b70328e Bug 1461285 part 3 - Have the CSSOM appending behavior behind a pref and only enable it on Nightly. r=emilio
MozReview-Commit-ID: 6BzPTNjXjyA

--HG--
extra : rebase_source : a109383ea2a55949da8d2ab3346940fa1eb76055
2018-07-11 10:54:47 +10:00
Xidorn Quan c66d8c4ca5 Bug 1461285 part 2 - Add a declaration iterator to AllShorthand for simplify code. r=emilio
MozReview-Commit-ID: 9w2B3SpdkQo

--HG--
extra : rebase_source : e6b597f19f99a927c641d9aa123c5bc0248d46d2
2018-07-11 10:52:52 +10:00
Xidorn Quan c237e1be0d Bug 1461285 part 1 - Rename DeclarationSource to DeclarationPushMode. r=emilio
MozReview-Commit-ID: Iyv9JrXrpzl

--HG--
extra : rebase_source : d0fac58c300bdde21a0225d7793f554487f48791
2018-07-09 16:03:32 +10:00
Brian Birtles 3a224153bd Bug 1474766 - Merge the three-argument form of KeyframeEffect::Constructor and ConstructKeyframeEffect; r=hiro
There doesn't appear to be any need to separate these anymore.

MozReview-Commit-ID: GHR259JJHJV

--HG--
extra : rebase_source : e9b15c820df97570c3f6e978a7f0c224e33f0468
2018-07-11 10:27:56 +09:00
Brian Birtles a249976a2e Bug 1474766 - Drop KeyframeEffectType template arg; r=hiro
This is no longer needed since in bug 1456394 we merged the two types of
KeyframeEffects into one.

MozReview-Commit-ID: 8IuTD9ivAGK

--HG--
extra : rebase_source : b14593b33bfa9a0233b524010b3bde3cfc078950
2018-07-11 10:27:01 +09:00
Noemi Erli d218f98059 Backed out changeset 101f97abc1d4 (bug 1458917) for Talos failures on a CLOSED TREE 2018-07-11 05:11:11 +03:00
Cameron McCormack 8d5efb0c93 Bug 1473450 - Remove angle values from image-orientation. r=emilio
MozReview-Commit-ID: FB74ILJM6Fm

--HG--
extra : rebase_source : 0902aff63e0db070d2fdda3568453975f752b988
2018-07-05 12:04:58 +10:00
Mathieu Leplatre 068afbc416 Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy

--HG--
extra : rebase_source : 171ed0ff11e2b60a17055412c64584dfe5ab90d5
2018-06-14 20:54:19 +02:00
Chris Peterson 2ef77b9ac9 Bug 1472618 - Make navigator.platform return "Win32", even on Win64 OS. r=peterv
navigator.platform returns "Win64" in 64-bit Firefox and IE, but "Win32" in 64-bit Chrome and Edge. "Win32" appears to be the de facto platform value for Windows. This change doesn't hide the OS architecture from web content because navigator.userAgent still mentions "Win64; x64" in 64-bit Firefox, Chrome, Edge, and IE.

MozReview-Commit-ID: CplYnGDQgTe

--HG--
extra : rebase_source : c00a1a7462ea91d44700dd0581c88c1c4cad2346
extra : source : 1976c327f251702be255a9d0769121c6bc5303a1
2018-07-02 11:02:23 -07:00
Chris Peterson 0c426c313c Bug 1473453 - Part 3: Enable clang-tidy's misc-bool-pointer-implicit-conversion warning. r=andi
And add a clang-tidy test.

MozReview-Commit-ID: KmCgrUcV0Lm

--HG--
extra : rebase_source : 0fad2e49472c565f59ba4218a6dc3099cca9d9cb
2018-07-04 19:30:33 -07:00
Chris Peterson 9513c25210 Bug 1473453 - Part 2: QuotaManager: disambiguate null check of bool pointer. r=janv
Fix clang-tidy warning about bool pointers:

[misc-bool-pointer-implicit-conversion] dom/quota/ActorsParent.cpp:4168:7: warning: dubious check of 'bool *' against 'nullptr', did you mean to dereference it?

MozReview-Commit-ID: C6QdeJlf71C

--HG--
extra : rebase_source : cb2e19e41bed6cc1456e89acce65747558306bcf
2018-07-04 14:46:51 -07:00
Chris Peterson 16cc517cf9 Bug 1473453 - Part 1: a11y: assert `hitregion` property is always null or true. r=MarcoZ
Fix clang-tidy warning about bool pointers:

[misc-bool-pointer-implicit-conversion] accessible/generic/Accessible.cpp:644:9: warning: dubious check of 'bool *' against 'nullptr', did you mean to dereference it?

The `hitregion` property is always null or points to a true bool, set here:

https://searchfox.org/mozilla-central/rev/6ef785903fee6c0b16a1eab79d722373d940fd78/dom/canvas/CanvasRenderingContext2D.cpp#3936-3937

The `hitregion` property used to be an nsRect pointer:

https://searchfox.org/mozilla-central/diff/c797577640f306df87e8c32313c5b826d1e58a9b/accessible/src/generic/Accessible.cpp#928

MozReview-Commit-ID: HYlAnMyaitB

--HG--
extra : rebase_source : 2f8d9d151ebc382043c107517838ccdaa0ed7228
2018-07-04 14:39:57 -07:00
Cosmin Sabou 18777eb091 Merge mozilla-central to autoland. a=merge 2018-07-11 02:14:49 +03:00
Cosmin Sabou 1519cc7aac Backed out changeset ae9049c5ac63 (bug 1473998) for gv-junit failures on test.AccessibilityTest.testTextEntryNode. a=backout 2018-07-11 02:06:05 +03:00
Cosmin Sabou 26e792fe42 Merge autoland to mozilla-central. a=merge 2018-07-11 00:50:32 +03:00
Kris Maglione a4453fc75f Bug 1474140: Don't load FormAutofillUtils.jsm at content process startup. r=MattN
MozReview-Commit-ID: 2bOyTPU9QbX

--HG--
extra : rebase_source : 8f8c7e216612437f853df2b5cc8dd5fb3174d10b
2018-07-07 17:49:34 -07:00
André Bargull ad359328af Bug 1474348 - Part 2: Don't use BlockOnPromise fast path with non-default resolving functions. r=arai 2018-07-09 09:49:23 -07:00
André Bargull 9fdd7e6831 Bug 1474348 - Part 1: Add accessors for Promise fixed slots and combine default resolving functions flags. r=arai 2018-07-09 09:47:27 -07:00
Eitan Isaacson 868533e1cb Bug 1473998 - Use EditText entry in accessible's classNames and use the hint for the label. r=yzen r=jchen 2018-07-10 12:40:00 +03:00
Ekanan Ketunuti eb919d07de Bug 1474550 - Add words to en-US dictionary. r=ehsan 2018-07-10 17:49:06 +07:00
David Major e2cdb30639 Bug 1443590: Use clang-cl for official Windows builds. r=gps 2018-07-10 16:25:47 -04:00
Eitan Isaacson a17a08b748 Bug 1473730 - Don't speak entire subtree of document when it is focused. r=yzen
After page load the document is focused and the entire subtree is
spoken. It should only speak the name.

--HG--
extra : rebase_source : bfc5542969fa29c45b9617d873a3dba7bf1a47c2
2018-07-10 08:43:00 +03:00
arthur.iakab 7bd656627d Backed out changeset caab8817cbf2 (bug 1466979)For build bustages on js/src/vm/UbiNode.cpp CLOSED TREE 2018-07-10 22:56:05 +03:00
Andreas Tolfsen de45691916 Bug 1447977 - Handle cyclic references in element prototypes. r=automatedtester
JavaScript objects can be nested to any depth, and as such we must
check that the value to be serialised contains a cyclic structure
before attempting to marshaling it.  We handle this correctly for
collections and arbitrary objects by relying on JSON.stringify.

For example with arrays:

	let arr = [];
	arr.push(arr);

And for objects:

	let obj = {};
	obj.reference = obj;

However, members of the different element prototypes (HTMLElement,
SVGElement, XULElement, et al.) may also contain cyclic references
via user-defined own properties:

	let body = document.documentElement;
	body.reference = body;

JSON.stringify enumerates an object's own properties, which means
it picks up on body's "reference" property in the above example.

Marionette needs to special case element prototypes because we want
to marshal them as web elements.  This patch replaces JSON.stringify
with a custom function for testing if a value contains cyclic
structures that special-cases elements.

MozReview-Commit-ID: 1TQtHrjf401

--HG--
extra : rebase_source : 382cadca8a19971fbb74850b1904bb9ebdc9061e
2018-07-06 20:08:37 +01:00
Andreas Tolfsen 5c26c522ac Bug 1447977 - Move cyclic object test function to evaluate. r=automatedtester
Moves the innards of assert.acyclic to evaluate.isCyclic so it can
be called externally without throwing.  It makes more sense for
this function to be exposed on the evaluate module, since other
behaviour related to JSON marshaling is also defined there.

MozReview-Commit-ID: 4WjEy8Sjqrm

--HG--
extra : rebase_source : 88cd829f3e178ec49ae532ea0af0a62defb4469f
2018-07-06 18:35:21 +01:00
Andreas Tolfsen 85be64f2ee Bug 1447977 - Move evaluate module API docs to RST. r=automatedtester
MozReview-Commit-ID: I5Pj8EsNyFc

--HG--
extra : rebase_source : 0e2ae0e961da92d4660368a8c28c717e1a0cd891
2018-07-06 16:36:19 +01:00
Dave Hunt 2847cb1fcb Bug 1473727 - Avoid recreating virtual environment every time by using a unique environment for each Python version; r=ahal,dustin
This patch uses the PIPENV_PYTHON environment variable to append a suffix to the created virtual environment path according to the version specified. It also uses the PIPENV_DEFAULT_PYTHON_VERSION environment variable to avoid recreating the virtual environment every time. With these changes we are able to switch back and forth between Python versions without the expense of recreating environments, however there is a risk of these environments becoming stale. In this scenario it may be necessary to clobber the virtual environment root within the obj dir.

MozReview-Commit-ID: C4vuwNh04CP

--HG--
extra : rebase_source : 301c8418fe5b873ffadec37af11e98cfda8667b8
2018-07-09 14:57:38 +01:00
Andrew Halberstadt 0ad2e9342d Bug 1413922 - [tryselect] Merge vcs.py into mozversioncontrol r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1808

--HG--
rename : tools/tryselect/vcs.py => tools/tryselect/push.py
extra : moz-landing-system : lando
2018-07-10 19:22:00 +00:00
Andrew Halberstadt 812d9fb038 Bug 1413922 - [mozversioncontrol] Always use hglib.client if available and fall back to subprocesses if not, r=gps
Most HG commands use subprocesses, even if a context manager (and therefore an
hglib client) has been created. There are only two commands that make use of
the client, but they *only* work inside a context manager. I don't think
there are any technical reason these two commands *need* to use the context
manager.

This patch merges the HgRepository._run_in_client function with
HgRepository._run(). If a client exists, that will be used, otherwise a
subprocess will be used.

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

--HG--
extra : moz-landing-system : lando
2018-07-10 20:41:49 +00:00
Matt Woodrow e03be5d39e Bug 1474402 - Disable TryUpdateTransformOnly when we have RDL enabled since it can cause sorting issues. r=miko
MozReview-Commit-ID: GguBTl2zZXO

--HG--
extra : rebase_source : 4657a9476dc0fbb74337e68b7a6dfa25a27d766c
2018-07-10 08:48:58 +12:00
Eitan Isaacson 6e015436cb Bug 1473605 - Don't clump labels and controls together. It messes with focus events. r=yzen 2018-07-05 15:06:00 +03:00
Nazım Can Altınova c51d375549 Bug 1473303 - Add a AutoProfilerLabel member to AutoEntryScript class to add a label frame for evaluating scripts r=bz
MozReview-Commit-ID: CqfO7r7JoPS

--HG--
extra : rebase_source : 44f85f3b698ddb539134f75ea2bbc324b7ce8627
2018-07-04 15:35:07 +02:00
Wander Lairson Costa a6edc697ce Bug 1473818: Fix global constructors count regression r=jonco
Bug 1465505 moved from PRJ_Now to mozilla::TimeStamp. As a side effect,
it introduced a few extra global constructors calls.

This patch fixes it.

MozReview-Commit-ID: 9VX83JZIyds

--HG--
extra : rebase_source : 01a22a8eea3ab224dbaa1a93d2a73ebb9ab6b6ea
2018-07-06 18:28:08 -03:00
Marco Bonardo e9e4f16179 Bug 1474401 - Replace probes owner for PLACES_DATABASE_CORRUPTION_HANDLING_STAGE and PLACES_MOST_RECENT_EXPIRED_VISIT_DAYS r=Standard8,chutten
The probe owner should be an actual contact and not a mailing list

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

--HG--
extra : moz-landing-system : lando
2018-07-10 15:32:03 +00:00
Kartikaya Gupta 11b43679d8 Bug 1421825 - Fix crash and re-enable crashtest. r=jrmuizel
In some cases we get a gecko display list that looks like this:

WrapList with asr(<A>, <B>)
  Item with asr (<B>) and clipchain(<something> [A])

In this case, we would initialize the WebRenderLayerScrollData for the
nested item using a stop-at ancestor of A (because that was the leafmost
ASR from the containing WrapList) but the item itself has an ASR of B,
which is an ancestor of A. So when walking up from B we'd never hit the
stop-at ancestor, and so we'd end up duplicating metrics from the
containing WRLSD onto the nested WRLSD. This generated an assertion
failure in the APZ code.

This patch detects this scenario and skips adding metrics on the nested
WRLSD. This produces an APZ tree equivalent to what the non-WebRender
path would produce.

MozReview-Commit-ID: 8eo6pzXXKBd

--HG--
extra : rebase_source : 0581c54c4d9fa6ca08249e42b306c7155022bec7
2018-07-10 09:37:40 -04:00
Michael Kaply 81556be6b8 Bug 1352598 - Add WebExtension API for access to search. r=aswan
MozReview-Commit-ID: 4pV2DGMcV7G

--HG--
extra : rebase_source : 650606638e580daa0c7f3b49e8fd085b039705bc
2018-06-18 10:39:12 -05:00
Jim Chen 3f398d4b6f Bug 1463484 - 2. Add test for find-in-page; r=esawin,snorp
Add some test cases for find-in-page and the different flags.

MozReview-Commit-ID: BzN0OTSUy7z

--HG--
extra : rebase_source : ef558aedc71d04f33dfa58271a29cd66486ff89d
2018-07-10 13:12:55 -04:00
Jim Chen f5a1a1b10b Bug 1463484 - 1. Add SessionFinder; r=droeh,esawin,snorp
Add a SessionFinder API for find-in-page functionality.

MozReview-Commit-ID: KB7dOPUC6s2

--HG--
extra : rebase_source : d90400bfa15ba311668d5da37a64465863bec05d
2018-07-10 13:12:55 -04:00
Michael Kaply cda5e3b2cd Bug 1460419 - Remove geoSpecificPref code from search service. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D2036

--HG--
extra : moz-landing-system : lando
2018-07-10 13:17:20 +00:00
Andrew Swan d6104e5c4c Bug 1451513 Part 2: Convert mochikit to a webextension r=jmaher,kmag
This is another quick-and-dirty port.  Some of the test logic could
probably be moved to unprivileged extension code but there's no urgent
reason to do that right now.

MozReview-Commit-ID: Af0XQbakLsx

--HG--
rename : testing/mochitest/bootstrap.js => testing/mochitest/api.js
extra : rebase_source : 17f8af667e73555bd69391d3be0835c3e50c90cd
2018-07-05 15:42:11 -07:00
Andrew Swan 0696fa5e78 Bug 1451513 Part 1: Allow registering chrome: content resources r=kmag
MozReview-Commit-ID: IuUnzb24jCN

--HG--
extra : rebase_source : 4c9c3e2c0ddbb64df47af88c74ee1267a15a6af3
2018-07-05 13:59:25 -07:00
Johannes Willbold e5d310f78d Bug 1473967: Added C++/Rust glue code for maxptime, r=dminor
Added the C++/Rust glue code for maxptime.
Added the C++ unit test CheckMaxPtime.

MozReview-Commit-ID: 58Qbrpktxwx

--HG--
extra : rebase_source : 1aed17367e230f0e397b196b759deaf18e4a3fd8
2018-07-06 10:51:30 -07:00