Commit Graph

688200 Commits

Author SHA1 Message Date
Geoff Brown
46e2f41598 Bug 1608126 - Enable node for Android xpcshell tests and run node tests on Android; r=valentin
Fetch, configure, and run node for Android on the test host, just like Linux tests do.
Make the node/HTTP/2 environment variables available to the tests on the device, and
use adb port forwarding to connect sockets. Finally, enable tests skipped for node.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 08:36:17 +00:00
Brindusan Cristian
f1982e0059 Backed out changeset 5261ea86fa26 (bug 1579440) for xpcshell failures at test_stickyprefs.js. 2020-01-19 20:22:34 +02:00
tichnas
252995168f Bug 1602048 - Change parameter name of js::LexicalScope::nextFrameSlot. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D60365

--HG--
extra : moz-landing-system : lando
2020-01-19 17:11:15 +00:00
Agi Sferro
b961d56f5d Bug 1579440 - Set browser.tabs.remote.autostart to true everywhere. r=snorp
Now that Fennec is gone we can finally do this.

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

--HG--
extra : moz-landing-system : lando
2020-01-19 16:55:20 +00:00
Boris Zbarsky
84a6d324a2 Bug 1610140. Stop using NS_ERROR_DOM_TYPE_ERR in Animation. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D60362

--HG--
extra : moz-landing-system : lando
2020-01-19 05:43:10 +00:00
Boris Zbarsky
fcda062282 Bug 1609856. Stop using NS_ERROR_DOM_TYPE_ERR in SVGAnimatedEnumeration::SetBaseValue. r=heycam
It turns into a DOMException named 'TypeError' in the bindings, not into an actual TypeError.

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

--HG--
extra : moz-landing-system : lando
2020-01-19 05:40:34 +00:00
Andreea Pavel
803a42f24c Bug 1609117 - add missing bracket and new line r=Aryx
--HG--
extra : amend_source : dbf65a82811d2210a2f0efe187fc17a78df449cf
2020-01-19 02:25:25 +02:00
Cosmin Sabou
c7cfcc032d Bug 1609117 - Update expectancies on coep-redirect.https.html because on frequent failures. r=aryx.
Differential Revision: https://phabricator.services.mozilla.com/D60348

--HG--
extra : moz-landing-system : lando
2020-01-19 00:04:04 +00:00
Andrei Oprea
a1f1d61928 Bug 1600339 - Measure responsiveness while evaluating messages r=k88hudson,mconley
Differential Revision: https://phabricator.services.mozilla.com/D59535

--HG--
extra : moz-landing-system : lando
2020-01-18 21:08:40 +00:00
Valentin Gosu
1e2da20ce2 Bug 1590166 - WindowGlobalChild::Create should call GetCrossOriginOpenerPolicy instead of ComputeCrossOriginOpenerPolicy r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D59360

--HG--
extra : moz-landing-system : lando
2020-01-18 17:14:07 +00:00
Andreea Pavel
10a5ef8799 Backed out 3 changesets (bug 1102584) for failing wpt at 2d.text.measure.actualBoundingBox.html
Backed out changeset 947829830dd5 (bug 1102584)
Backed out changeset 967170ab891c (bug 1102584)
Backed out changeset 59069d4514d0 (bug 1102584)
2020-01-18 21:47:49 +02:00
Andrew Swan
cef90d7b6e Bug 1597932 Remove obsolete tabbrowser-tab selector r=dao
Differential Revision: https://phabricator.services.mozilla.com/D59631

--HG--
extra : moz-landing-system : lando
2020-01-18 16:36:55 +00:00
Nazım Can Altınova
4c5b7c4344 Bug 1609659 - Rename "TTFI" marker to "TimeToFirstInteractive (TTFI)". r=gerald
Depends on D60232

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

--HG--
extra : moz-landing-system : lando
2020-01-17 21:27:05 +00:00
Nazım Can Altınova
551cb5c008 Bug 1609660 - Rename "Script" marker to "ScriptEvaluation". r=gerald
Depends on D60231

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

--HG--
extra : moz-landing-system : lando
2020-01-17 21:26:57 +00:00
Nazım Can Altınova
d8afe0647a Bug 1609708 - Rename PROFILER_TRACING to PROFILER_TRACING_MARKER. r=gerald
Depends on D60229

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

--HG--
extra : moz-landing-system : lando
2020-01-17 21:29:15 +00:00
Nazım Can Altınova
af295def24 Bug 1590700 - Rename "Scripts" marker to "requestAnimationFrame callbacks". r=gerald
"Scripts" wasn't making any sense for this marker and it was nearly imposssible
to understand. It should be "requestAnimationFrame callbacks" instead.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 21:26:55 +00:00
Dão Gottwald
446563f92e Bug 1609938 - Enable tab animation when closing the customize tab via ESC key or Done button. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D60248

--HG--
extra : moz-landing-system : lando
2020-01-17 23:22:49 +00:00
Dão Gottwald
3774eb8a9a Bug 1609932 - Make depopulatePalette synchronous and remove the customize tab immediately in CustomizeMode::exit. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D60243

--HG--
extra : moz-landing-system : lando
2020-01-17 23:31:43 +00:00
Sylvestre Ledru
cc2040bf21 Bug 1605934 - Use nested namespaces r=sg
Done with:
./mach static-analysis check --checks="-*, modernize-concat-nested-namespaces" --fix .
and then clang-format on the files

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

--HG--
extra : moz-landing-system : lando
2020-01-18 13:48:34 +00:00
Dorel Luca
506e65bcab Backed out changeset bbb39655cf71 (bug 1605934) for build bustage in widget/gtk/mozwayland/mozwayland.c 2020-01-18 15:39:55 +02:00
Sylvestre Ledru
6689a37527 Bug 1605934 - Use nested namespaces r=sg
Done with:
./mach static-analysis check --checks="-*, modernize-concat-nested-namespaces" --fix .
and then clang-format on the files

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

--HG--
extra : moz-landing-system : lando
2020-01-18 13:16:39 +00:00
Cosmin Sabou
817ace92b3 Bug 1598726 - Disable browser_all_files_referenced.js on ccov due to permafail. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D60349

--HG--
extra : moz-landing-system : lando
2020-01-18 12:43:46 +00:00
Bert Peers
242db56cbf Bug 1605283 - Improve support for invalidation debugging and testing r=gw
Optionally serialize N frames into a circular memory buffer, and save
them as part of wr-capture into tilecache/.

The new tile_view utility reads the folder and converts the frames to
svg for easier visualization, with a few extra features:
- color code each primitive based on which slice it is on;
- highlight new or moving primitives in red (brute force diff);
- print all invalidated tiles at the top and the invalidation reason;
- overlay the tile quadtree to visualize splitting & merging;
- HTML and JS wrappers for animation playback, timeline scrubbing;

Positioning of the tiles on the screen is a bit broken still; especially
during scrolling and "special" pages (like about:config).

Interning info is not used yet.

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

--HG--
extra : moz-landing-system : lando
2020-01-18 08:22:51 +00:00
Jonathan Kew
020066db8c Bug 1102584 - patch 3 - Enable support for the actualBoundingBox* attributes of TextMetrics. r=lsalzman
This is unaffected by the differences in font metrics between platform back-ends,
so should be safe to ship without significant risk that it'll be unstable or need
to be revised in future.

Depends on D59679

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

--HG--
extra : moz-landing-system : lando
2020-01-14 03:47:09 +00:00
Jonathan Kew
7bb62c5559 Bug 1102584 - patch 2 - Implement extended attributes of the TextMetrics object (preffed off by default). r=lsalzman,bzbarsky
This is the main work of Richard Matheson's original patch, updated to current trunk code
and with the new attributes put behind prefs. Because some of the attributes may be more
stable than others (there was a move by Google to change how baselines are represented,
but then this was retracted because Safari is already shipping per the existing spec; and
we have some differences in how we handle font metrics between platforms which may affect
the font ascent/descent values), I've split this into several prefs so that we have the
possibility of enabling just the more stable (and/or more urgently requested) attributes.

(Note that this echos Google's approach per comment 30 of initially shipping part of the API.)

Depends on D59678

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

--HG--
extra : moz-landing-system : lando
2020-01-18 05:01:14 +00:00
Jonathan Kew
44024bcdad Bug 1102584 - patch 1 - Provide somewhat better defaults for hanging and ideographic baseline alignment of canvas text. r=lsalzman
This is extracted from the original patch by Richard Matheson; it's not strictly necessary
to implementing the additional TextMetrics attributes, but OTOH if we're going to potentially
expose baseline attributes, it seems sensible to make them somewhat more meaningful than the
fallbacks in the current code.

Eventually we should use baseline tables from the font, but (a) we don't have support for
that in the back-end font code, and (b) very few fonts provide the data anyway, so while this
isn't perfect, for now it's the best we can do.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 03:46:44 +00:00
Victor Porof
6e4c49c023 Bug 1608676 - Add multithreaded scenarios to RKV function calls fuzzing, r=truber
Differential Revision: https://phabricator.services.mozilla.com/D59620

--HG--
extra : moz-landing-system : lando
2020-01-18 07:54:59 +00:00
Victor Porof
c931810830 Bug 1608624 - Add more variation to RKV function calls fuzzing by interspersing fuzzing data with fuzzing opts, r=truber
Differential Revision: https://phabricator.services.mozilla.com/D59619

--HG--
extra : moz-landing-system : lando
2020-01-18 07:54:36 +00:00
Victor Porof
620922e8dc Bug 1608624 - Pre: Fix typo resulting in max_dbs always being at least '2', r=truber
Differential Revision: https://phabricator.services.mozilla.com/D59626

--HG--
extra : moz-landing-system : lando
2020-01-18 07:54:12 +00:00
Victor Porof
252026d13e Bug 1608624 - Pre: Remove unnecessary key/value tuple, a single predefined vector is sufficient, r=truber
Differential Revision: https://phabricator.services.mozilla.com/D59618

--HG--
extra : moz-landing-system : lando
2020-01-18 07:53:44 +00:00
Masayuki Nakano
2c7d675626 Bug 1602626 - Make window_wheeltransaction.xhtml compute point to fire wheel events dynamically r=smaug
Currently, offset in root view in the test is copied from constants which are
computed from CSS rules.  However, the point may be edge of each view and
that might be outside if it meets round error of layout.  For making this
test more stable in any environments, this patch makes the test compute
point to fire wheel events dynamically.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 15:07:17 +00:00
Ting-Yu Lin
4326179fd3 Bug 1306634 Part 2 - Do not show carets if the window is not focused. r=mats
Consider the following scenario:
1. Select a word in an iframe.
2. Select a word in the parent document. (The carets in iframe hide
   due to blur, but the selection is still there.)
3. Scroll the parent document.

The selection in the iframe (made in step 1) has a non-collapsed range.
Thus the carets show again after scrolling due to `UpdateCarets()`
called in the end of `AccessibleCaretManager::OnScrollEnd()`.

To fix the dual AccessibleCaret in the same page (described in bug
1199967), we can simply show no carets if the window is not focused.
This behavior matches Google Chrome on Android.

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

--HG--
extra : moz-landing-system : lando
2020-01-16 23:06:21 +00:00
Ting-Yu Lin
16737fbf2f Bug 1306634 Part 1 - Handle a long press to select a word in an unfocused iframe. r=mats,marionette-reviewers,whimboo
Long-pressing on a text in an unfocused iframe to select a word never
works. Currently, you need to single tap to focus the iframe first.

Each PresShell has an associated AccessibleCaretEventHub. This patch
fixes this bug by routing the event to the AccessibleCaretEventHub under
the event point, and handle it there. If the event is not handled, then
we handle it by the focused AccessibleCaretEventHub as before.

I've experimented with only routing the event to the
AccessibleCaretEventHub under the event point, without routing to the
fallback focused AccessibleCaretEventHub. However, caret dragging didn't
work in iframes. I didn't debug further.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 22:21:35 +00:00
Emma Malysz
746b2ac5ad Bug 1607718, make addTab helper methods private r=dao
Differential Revision: https://phabricator.services.mozilla.com/D59892

--HG--
extra : moz-landing-system : lando
2020-01-18 00:29:30 +00:00
Matthew Gregan
162eb96651 Bug 1609573 - Update mp4parse-rust to 3e0f34a2. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D60333

--HG--
extra : moz-landing-system : lando
2020-01-18 01:04:51 +00:00
Brian Grinstead
20fadc7eeb Bug 1609979 - Don't wrap text in toolbarbutton badges r=Gijs
We want them to always appear on one line to avoid covering the toolbarbuttono,
even when there are multiple words in the badge.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 17:58:51 +00:00
Edwin Takahashi
92a7def95f Bug 1602863 - organize and clean up test-sets.yml r=jmaher
Changes:

Reorganize, reorder and review the sets defined in test-sets.yml to be more conducive to future changes.
Also, migrate `mochitest-valgrind` to run with linux1804.

Reorganize:
Group similar sets together, separated by whether it is a feature test set or operating system test set.

Review:
Remove test sets that are no longer used.
Rename test sets to be more descriptive of what it contains.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 21:43:21 +00:00
Tyson Smith
d42c508b60 Bug 1610028 - Build target.crashreporter-symbols-full.zip for use with Pernosco. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60314

--HG--
extra : moz-landing-system : lando
2020-01-17 23:22:32 +00:00
Perry Jiang
a678a5930a Bug 1609665 - promote diagnostic assert to release assert r=asuth
Attempting to narrow down the crash of a null ServiceWorkerRegistrationInfo.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 23:36:30 +00:00
Cosmin Sabou
6ed6078578 Backed out 2 changesets (bug 1600109) for browser chrome failures on browser_policyOverride.js CLOSED TREE
Backed out changeset 18ebd4ba0148 (bug 1600109)
Backed out changeset 76363bc85344 (bug 1600109)
2020-01-18 01:17:07 +02:00
Cosmin Sabou
9b6e5f8e66 Backed out changeset 4c303f6ec2e6 (bug 1602898) for browser chrome failures on browser_ssb_windowlocation. 2020-01-18 01:06:34 +02:00
Brad Werth
859f9f63a5 Bug 1569626 Part 2: Add a test that sets resolution before RDM, and checks it afterwards. r=mtigley
This also updates the addRDMTask testing function to take two new optional
promises for actions to take before and after invoking RDM mode. This test
uses that feature to set and check the resolution before and after RDM.

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

--HG--
extra : moz-landing-system : lando
2020-01-15 23:34:46 +00:00
Brad Werth
465b225500 Bug 1569626 Part 1: Save and restore the presshell resolution when creating and destroying an MVM. r=botond
We need the resolution to be restored when and if the presshell creates
a MobileViewportManager. That decision happens in
PresShell::UpdateViewportOverridden. In order for the resolution to be
saved somewhere it has to exist outside the presshell itself, since
the presshell will be destroyed and recreated during some of the
operations that also destroy the MVM -- such as closing the devtools'
Responsive Design Mode. So Document holds this resolution and gets
accessor methods to allow the presshell to get and set that resolution
as needed.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 21:57:56 +00:00
Kris Maglione
036e960542 Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2020-01-17 21:36:10 +00:00
Luca Greco
1dd72eeb1a Bug 1609110 - Follow up fixes on async process creation. r=Yoric,asuth
Differential Revision: https://phabricator.services.mozilla.com/D59854

--HG--
extra : moz-landing-system : lando
2020-01-17 21:00:44 +00:00
Cosmin Sabou
c28a24abaf Backed out changeset f36e74d8c86c (bug 1604535) for causing windows 7 reftest failures. 2020-01-17 23:09:11 +02:00
Drew Willcoxon
416ccb5261 Bug 1608597 - Quantumbar: Replace restricting providers with a priority system. r=mak
Replace `isRestricting` with `getPriority` -- i.e., replace the binary restricting system with a general priority system. Instead of choosing restricting providers, the providers manager chooses the highest-priority providers.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 20:50:45 +00:00
Jason Laster
4d1775cbfa Bug 1607923 - Logpoints do not work for workers. r=bhackett,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D59267

--HG--
extra : moz-landing-system : lando
2020-01-17 00:14:11 +00:00
Andrew Halberstadt
0f4437d7d5 Bug 1608783 - [mozlint] Fix bug in 'collapse' when two paths are a prefix of one another, r=Standard8
This was happening because we had two exclude paths that were run through the 'collapse' algorithm:
editor/libeditor/tests/browserscope/lib/richtext
editor/libeditor/tests/browserscope/lib/richtext2

The problem was that in order to determine the base directory, the algorithm called
'os.path.commonprefix'. This function just returns the common string prefix, which
is the '.../lib/richtext' path. Even though in the above, the base *should* have
been '.../lib'.

To fix the problem, we add a check to ensure the computed base doesn't have any
sibling directories with the same prefix. If there are, it means 'commonprefix' was
too greedy.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 16:18:59 +00:00
Edwin Takahashi
f58b2ca786 Bug 1602863 - run mochitest-e10s on ubuntu1804 for all platform variants r=jmaher
Changes:

`mochitest-e10s` is ready to migrate to ubuntu1804 for all platform variants.

Failures are intermittent on non-fission runs.

Note that on `mozilla-central`, `linux64-ccov/opt` does not run `mochitest-e10s` and this behavior is carried over. Fission variant is also not run on `mozilla-central`.
Try push with fission and ccov is included for sake of completeness.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 19:50:43 +00:00