Commit Graph

652873 Commits

Author SHA1 Message Date
Sylvestre Ledru
c82ea97226 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:59:17 +00:00
David Teller
2ace306416 Bug 1553482 - Use BinASTInterfaceAndField in Context;r=arai
Depends on D32295

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:12:22 +00:00
David Teller
1d88f87df3 Bug 1553482 - Exposing some of the grammar as macros;r=arai
To extract Huffman tables (see bug 1552435), we need the ability to walk through the grammar.
This patch starts implementing grammar walking, as macros - at this stage, sufficiently to walk
through interfaces and start dealing with their fields.

Depends on D32291

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:09:06 +00:00
David Teller
78bb4af250 Bug 1553482 - Generating BinASTInterfaceAndField;r=arai
Depends on D32289

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:08:58 +00:00
David Teller
14632329cc Bug 1553482 - Generating BINAST_TOTAL_NUMBER_OF_FIELDS, BINAST_NUMBER_OF_LIST_TYPES;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D32289

--HG--
extra : moz-landing-system : lando
2019-05-24 09:08:54 +00:00
Joel Maher
0b6cbb257b Bug 1550141 - disable toolkit/modules/tests/xpcshell/test_DeferredTask.js on osx 10.14. r=Yoric
disable toolkit/modules/tests/xpcshell/test_DeferredTask.js on osx 10.14.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 06:11:29 +00:00
Tim Nguyen
cce8333093 Bug 1550559 - Convert findbar XUL textbox to HTML input. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D30542

--HG--
extra : moz-landing-system : lando
2019-05-20 21:54:15 +00:00
Andrea Marchesini
37d54b0154 Bug 1551056 - Get rid of BasePrincipal::CloneForcingFirstPartyDomain, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D30803

--HG--
extra : moz-landing-system : lando
2019-05-22 22:35:40 +00:00
Martin Stransky
ba6373e9aa Bug 1531338 - [Linux/Gtk] Get and use Gtk theme text color for active/pressed button, r=dao,emilio
- Follow Gtk and get theme button text color directly from "button" CSS node instead of "button label"
- Provide new -moz-gtk-buttonactivetext color for active/pressed button text color
- Replace ButtonText color with -moz-gtk-buttonactivetext when it's appropriate

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

--HG--
extra : moz-landing-system : lando
2019-05-24 08:51:48 +00:00
Razvan Caliman
49cc754a87 Bug 1552464 - Add telemetry probe to count the number of viewport changes in RDM. r=mtigley,nchevobbe.
This patch adds telemetry instrumentation to count the number of times the RDM viewport properties are changed (dimensions and rotation). This count will be correlated with the panel open count and time spent open to refine the baseline for RDM usage and filter out accidental usage.

A new Redux middleware, `telemetryMiddleware`, is introduced to the RDM Redux store. This observes actions dispatched to the store. For `RESIZE_VIEWPORT` and `ROTATE_VIEWPORT` actions, it increases a numeric value for the new scalar telemetry probe, `"devtools.responsive.viewport_change_count"`.

Other actions may be observed in this middleware for future telemetry instrumentation of RDM.

The `RESIZE_VIEWPORT` action is a dispatched with a high frequency when dragging to resize. Therefore, we debounce logging for this action. To ensure the test can reliably test counting this action without adding needless complexity to account for the asynchronicity, the `debounce()` utility is extended with an `immediate` parameter to cause the very first call to be executed immediately before going into the debounce behaviour.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 08:52:41 +00:00
Makoto Kato
d05eeb5f3a Bug 1520456 - test_CF_HTML_clipboard.html should skip non-mac platform instead of detecting platform in html file. r=masayuki
test_CF_HTML_clipboard.html does nothing if platform isn't mac. But according
to intermittent failure log, this is often failure on Android.

I guess that this is infra issue, but we should use skip-if to avoid this
failure instead.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 06:28:02 +00:00
Luca Greco
44c9db5f88 Bug 1454192 - Add expected storage site permissions to extensions if missing on APP_STARTUP. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D32121

--HG--
extra : moz-landing-system : lando
2019-05-22 14:56:55 +00:00
Emily Toop
454438c657 Bug 1549633- Update GeckoViewExample to show new MediaDelegate recording device status handling. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D31073

--HG--
extra : moz-landing-system : lando
2019-05-24 07:45:48 +00:00
Emily Toop
f00e577132 Bug 1549633 - Enable listening for recording-device-events. r=esawin,geckoview-reviewers,snorp
This is to allow us to detect the enabling and disabling of recording so that we can notify the embedding application of the change in status.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:45:41 +00:00
Jan de Mooij
8a0554624b Bug 1551796 part 8 - Rename ShouldReleaseTypes to ShouldDiscardJitScripts. r=tcampbell
"Discard" instead of "Release" for consistency with ShouldDiscardBaselineCode.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:34:04 +00:00
Jan de Mooij
2f3fb6a047 Bug 1551796 part 7 - Improve the JitScript comment a bit. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D32293

--HG--
extra : moz-landing-system : lando
2019-05-24 07:33:47 +00:00
Jan de Mooij
dcec7d8e19 Bug 1551796 part 6 - Use DefaultInitializeElements to initialize JitScript's StackTypeSet array. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D32292

--HG--
extra : moz-landing-system : lando
2019-05-24 07:33:27 +00:00
Jan de Mooij
44a53da96b Bug 1551796 part 5 - Make JitScript::destroy static. r=tcampbell
The destroy() call in JSScript::finalize was moved into DestroyJitScripts for
consistency with BaselineScript and IonScript.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:33:12 +00:00
Bastien Orivel
85c6ac0805 Bug 1520166 - Part 2: revendor dependencies. r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D32222

--HG--
extra : moz-landing-system : lando
2019-05-24 07:31:35 +00:00
Bastien Orivel
d24b02b94c Bug 1520166 - Part 1: Use a vendored version of authenticator. r=jcj
This replaces the in-tree u2fhid (which has been renamed to
authenticator) by the published crate.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:31:26 +00:00
Edwin Gao
90d25c0076 Bug 1548659 - demote all android-em-4.3 tests to tier 2 and restrict platforms r=jmaher,RyanVM,gbrown
Changes:

- demote all existing `android-em-4.*` tests to tier 2
- ensure the above tests only run on `try` and `mozilla-central` but with exceptions

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:24:51 +00:00
Alastor Wu
771bc43492 Bug 1551385 - part3 : add test 'test_webvtt_overlapping_time.html' and 'vtt_overlapping_time.html'. r=heycam
Adding tests to ensure that when cues with overlapping times, the one with earlier end timestamp should disappear when the media time reaches its end time. In this test, we have two cues with overlapping time, when the video starts, both cues should be displayed. When the time passes 1 seconds, the first cue should disappear and the second cues should be still displayed.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 22:52:47 +00:00
Alastor Wu
0195200d42 Bug 1551385 - part2 : recompute display state when display cues amount is different from the one we rendered last time. r=heycam
If the amount of cues which are going to be displayed is different from the one we displayed last time, we have to compute cues' display state again because cue's position might be affected by other cues.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 21:25:13 +00:00
Alastor Wu
102628f8e2 Bug 1551385 - part1 : let 'processCue()' handle cleaning cues div. r=heycam
We can actually let `processCue()` to handle rendering cues or cleaning displayed cues, no need to use another way to clear the cue.

The advantages is to make the code cleaner and easier to read, now we just need to know JS side would handle all rendering stuffs for us. We don't need to have different behavior when there is no showing cue.

The way we clear displayed cues are intuitive, we would remove all child nodes under the overlay, which are used to display cues.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 21:25:14 +00:00
Henrik Skupin
59b691b66e Bug 1546880 - [raptor] Remove proxy workaround from raptor-youtube-playback tests. r=perftest-reviewers,stephendonner
Differential Revision: https://phabricator.services.mozilla.com/D32378

--HG--
extra : moz-landing-system : lando
2019-05-24 05:36:42 +00:00
Henrik Skupin
7ac54a42f3 Bug 1546880 - Remove usage of proxy server from testing/profiles/perf/user.js. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32376

--HG--
extra : moz-landing-system : lando
2019-05-23 23:45:18 +00:00
Henrik Skupin
cb729f61af Bug 1546880 - [talos] Replace remote w3c image with local copy. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32375

--HG--
extra : moz-landing-system : lando
2019-05-23 23:39:38 +00:00
alexandru.ionescu
2f37f5f55a Bug 1546323 Run cold page load tests against Fennec v64 in CI r=Bebe
Differential Revision: https://phabricator.services.mozilla.com/D31773

--HG--
extra : moz-landing-system : lando
2019-05-24 07:12:19 +00:00
arthur.iakab
ddbee389db Backed out changeset 22fad4a26360 (bug 1548659) for Decision Task bustage CLOSED TREE 2019-05-24 10:11:25 +03:00
Edwin Gao
ac20c5bce5 Bug 1548659 - demote all android-em-4.3 tests to tier 2 and restrict platforms r=jmaher,RyanVM,gbrown
Changes:

- demote all existing `android-em-4.*` tests to tier 2
- ensure the above tests only run on `try` and `mozilla-central` but with exceptions

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

--HG--
extra : moz-landing-system : lando
2019-05-24 06:52:46 +00:00
Daniel Holbert
0f84d86e05 Bug 1552287 part 2: [css-contain] Adjust various reflow & baseline methods so that layout-contained frames behave as if they have no baseline. r=TYLin
We previously (in bug 1491235) adjusted some utility code to make
layout-contained frames behave as if they have no baseline.

But that's not sufficient. To make frames fully report lack-of-a-baseline,
we now do the following for layout-contained frames, as of this patch:

 (a) We now leave the ReflowOutput outparam's BlockStartAscent member at its
     default value (which is what we do for frames without a baseline like
     e.g. nsCheckboxRadioFrame and nsHTMLCanvasFrame). And if the parent cares
     about the baseline, it'll then ask directly, using a baseline getter.

 (b) We now return 'false' in more implementations of bool-returning
     baseline-getter-methods (where 'false' indicates 'no baseline').

 (c) We now return the margin-box-bottom edge, in the nscoord-returning
     'GetLogicalBaseline()' getter method. (We typically do this by deferring
     to the inherited method, which ultimately comes from nsFrame's
     implementation). It's appropriate to use the margin-box-bottom edge when
     there's no baseline, per the definition of 'vertical-align: baseline',
     here: https://drafts.csswg.org/css2/visudet.html#propdef-vertical-align

Depends on D32182

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

--HG--
extra : moz-landing-system : lando
2019-05-24 04:46:17 +00:00
Daniel Holbert
c016e21c54 Bug 1552287 part 1: [css-contain] Fix some CSS layout-containment web-platform-tests to make their assumptions more valid. r=TYLin
In particular:

- In contain-layout-suppress-baseline-002.html, the test currently indirectly
  relies on the 50px-tall-canvas being the tallest thing in each flex
  container. This isn't robustly true (and in fact on windows, the textarea is
  taller at 50.8px tall). So I'm adjusting this test so that it no longer has a
  hardcoded flex container size and no longer depends on this.

- In contain-layout-baseline-005.html and its reference case, we need to
  explicitly specify 'vertical-align:baseline' to test baseline-alignment,
  because some of its tested form controls have other UA-stylesheet-provided
  default values of 'vertical-align'.
  (e.g. <select multiple> defaults to 'vertical-align:text-bottom")

- Also: in that same test, we need to reduce the width of the an <input>
  textfield -- otherwise, it and the other elements on its line may not fit and
  may linewrap, which prevents us from effectively testing baseline-alignment
  on the linewrapped element.

- In contain-layout-button-001.html, the expectation was not correct. Before
  this patch, the test expects that a layout-contained button will have the
  same baseline as an empty button, and that's an invalid expectation. An empty
  button uses a point inside of its content-box as its baseline, whereas a
  layout-contained element *has no baseline*, which means that it does
  'vertical-align:baseline' alignment by aligning its own margin-bottom edge
  with the parent's baseline, per
  https://drafts.csswg.org/css2/visudet.html#propdef-vertical-align
  So, I'm amending the test to have this expectation and updating its meta tags
  to reference the updated expectation and with a reference to that spec text.

Firefox fails the amended contain-layout-button-001.html test, so this patch
adds a .ini file to reflect that failure.  The next patch in this series will
fix our implementation to make us pass the test, and will remove the .ini file.

Chrome also fails the amended contain-layout-button-001.html tests, and I filed
https://bugs.chromium.org/p/chromium/issues/detail?id=965740 on them with an
explanation.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 04:46:07 +00:00
violet
91d759f562 Bug 1553252 - Use cbindgen for text-overflow r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D32285

--HG--
extra : moz-landing-system : lando
2019-05-24 04:48:46 +00:00
Boris Chiou
3b51b642f3 Bug 1429301 - Implement offset-rotate. r=emilio
This includes style system and layout update. I add 3 extra reftests
because the original tests use ray() function as the offset-path, but we
don't support it. It'd be better to add tests using a different type of
offset-path.

The spec issue about the serialization:
https://github.com/w3c/fxtf-drafts/issues/340

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

--HG--
extra : moz-landing-system : lando
2019-05-24 03:42:03 +00:00
Razvan Maries
234389cf17 Backed out changeset 82b18d61da00 (bug 1553378) for build bustages. CLOSED TREE 2019-05-24 06:50:14 +03:00
Makoto Kato
b3bd194a32 Bug 1550401 - Report OOM size when StringParam::GetString is failure. r=geckoview-reviewers,snorp
Actually, all JNI Exceptions with `java.lang.OutOfMemoryError` call
`NS_ABORT_OOM(0)`. But `JNIEnv::NewString` in `StringParam::GetString` can know
OOM size when returning `nullptr`. So call `NS_ABORT_OOM` directly when
`NewString` is failure.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 18:43:08 +00:00
Cameron McCormack
f5dd691a74 Bug 1553378 - Devirtualize calls to GetText() / TextLength() when we know we have a Text node. r=smaug,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D32100

--HG--
extra : moz-landing-system : lando
2019-05-24 03:18:44 +00:00
Michael Froman
190dda0430 Bug 1534081 - pref on vorbis decoding on RDD for macOS. r=drno
Differential Revision: https://phabricator.services.mozilla.com/D32349

--HG--
extra : moz-landing-system : lando
2019-05-24 02:45:51 +00:00
Glenn Watson
8d73dca1e7 Bug 1553701 - Remove the clip chain stack during the prepare_prims pass in WR. r=kvark,nical
During the visibility pass, the main clip chain instance for each
primitive is created. In the prim prepare pass, a clip chain instance
is generated for each segment (of primitives that are segmented).

This previously required maintaining the active clip chain stack
during both passes. However, this is not ideal for a number of
reasons: the code is somewhat complicated / error prone and the
segment clip chain building step does more work than required.

This patch changes the segment clip chain building code to set up
the active clip nodes based on the result of the initial clip
chain built for the overall primitive during the visibility pass.

This means that it's no longer necessary to maintain the active
clip chain stack during the prepare pass. This simplifies some
upcoming picture caching changes related to avoiding redundant
cache invalidations, which is the main motivation for the change.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 03:09:28 +00:00
Dzmitry Malyshau
bb778aa169 Bug 1551520 - Use WR relative transform instead of the world inverse r=gw
This is a follow-up to https://phabricator.services.mozilla.com/D30600

Previously, I changed changed the space mapper logic to use the world transformations.
This was seemingly needed because we requrested the relation between primitives and
their clip nodes, which could be in unrelated spatial sub-trees.
However, I believe the change was a mistake, since for clips we should not even try
to get the relative mapping, and clipping is done in world space for these cases.
This change reverts that logic back. ~~Fingers crossed for the try to not show any
asserts firing up inside get_relative_transform.~~ Try is green 🎉

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

--HG--
extra : moz-landing-system : lando
2019-05-24 00:22:17 +00:00
Emilio Cobos Álvarez
43842d4d0a Bug 1544242 - Give up on a test that's too fuzzy on win and OSX for now. CLOSED TREE
Will try to reland it fixed.
2019-05-24 04:57:40 +02:00
Mike Conley
68d6458052 Bug 1547795 - Hide Picture-in-Picture toggle on videos where its probably more annoying than not. r=JSON_voorhees
This makes our video controls bindings check on loadedmetadata events whether or not to display
the toggle.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 01:41:08 +00:00
Nathan Froyd
93a44ee14e Bug 1553972 - make --with-pgo-profile-path take a directory; r=nalexander
e10s profiling or IR-based PGO instrumentation will both produce
multiple `.profraw` files that need to be handled in some way.  Since
clang's `-fprofile-generate` option takes a directory, it seems fitting
to make `--with-pgo-profile-path` mirror that by taking a directory, and
letting `merge_profdata.py` deal with whatever files it might find in
said directory.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 01:53:59 +00:00
Nathan Froyd
fd36809417 Bug 1553973 - make run-profileserver.sh collect all .profraw files; r=firefox-build-system-reviewers,mshal
This change is necessary to make either e10s profiling or LLVM IR-based
PGO instrumentation work properly, as both will generate multiple
`.profraw` files.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 21:54:17 +00:00
Paul Bone
81489feef4 Bug 1553710 - Sort the available chunks pool r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D32276

--HG--
extra : moz-landing-system : lando
2019-05-24 01:40:35 +00:00
Emilio Cobos Álvarez
3a43b20078 Bug 1544242 - Add a test for a bug that this inadvertently fixes. r=heycam
Always generating the slot assignment combinator means that we check the current
host correctly.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 01:11:52 +00:00
Myk Melez
d51f3ab18c Bug 1543829 - include LMDB license in about:license r=mossop,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D30122

--HG--
extra : moz-landing-system : lando
2019-05-24 01:25:44 +00:00
Ethan Glasser-Camp
750b3e3a21 Bug 1553198: PreferenceExperiment only cleans up its own experiments r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D32340

--HG--
extra : moz-landing-system : lando
2019-05-23 18:05:05 +00:00
Ethan Glasser-Camp
726e55fb6f Bug 1553198: PreferenceExperiments.start takes an actionName r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D32339

--HG--
extra : moz-landing-system : lando
2019-05-23 18:23:16 +00:00
Ethan Glasser-Camp
4a0a386222 Bug 1553198: Introduce PreferenceExperiments storage format v3 r=mythmon
This format includes an "actionName" for each experiment which
identifies the source of the experiment. This makes it possible for
each experiment type to identify which experiments it should clean up
vs. which it should leave alone because they don't belong to it.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 18:21:20 +00:00