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

688182 Коммитов

Автор SHA1 Сообщение Дата
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
Mark Banner 77a7218e90 Bug 1609966 - Enable ESLint for services/sync/modules/constants.js. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D60280

--HG--
extra : moz-landing-system : lando
2020-01-17 19:27:31 +00:00
Zibi Braniecki 4fb4f2f900 Bug 1609585 - Migrate all possible uses from AppLocalesAsLangTag(s) to AppLocale(s)AsBCP47. r=marionette-reviewers,jfkthame,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D60096

--HG--
extra : moz-landing-system : lando
2020-01-17 19:29:09 +00:00
Chun-Min Chang b7423cc46f Bug 1606690 - Make audiounit-rust be default cubeb backend on MacOS. r=padenot
Enable audiounit-rust on MacOS by default

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

--HG--
extra : moz-landing-system : lando
2020-01-17 18:47:54 +00:00
Zibi Braniecki 7790851e27 Bug 1607111 - Use BCP47 lang tags for negotiation in content process. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D60089

--HG--
extra : moz-landing-system : lando
2020-01-17 17:08:33 +00:00
Agi Sferro 25e16c8e74 Bug 1609226 - Don't use Services.policies if it's not defined. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D60267

--HG--
extra : moz-landing-system : lando
2020-01-17 18:10:33 +00:00
Agi Sferro 524c7d25e9 Bug 1609224 - Don't use PlacesUtils if it's not defined. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60266

--HG--
extra : moz-landing-system : lando
2020-01-17 16:39:47 +00:00
Agi Sferro ac359bc8bf Bug 1609019 - Define browser.privatebrowsing.autostart on all.js. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D60265

--HG--
extra : moz-landing-system : lando
2020-01-17 16:18:37 +00:00
Ciure Andrei df04a415d6 Backed out changeset 05c1456103ea (bug 1605283) for webrender bustages CLOSED TREE 2020-01-17 20:55:02 +02:00
Bert Peers 52377ec04a 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-17 18:41:50 +00:00
Mark Banner 1b0a484ab0 Bug 1609937 - Get test_UrlbarQueryContext_restrictSource.js working with the search modern configuration. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D60247

--HG--
extra : moz-landing-system : lando
2020-01-17 17:50:59 +00:00
Cosmin Sabou 7a03de6733 Backed out changeset 17f7eac615fa (bug 1609356) for devtools failures on browser_toolbox_options_multiple_tabs. CLOSED TREE 2020-01-17 20:11:34 +02:00
Cosmin Sabou 4b24015c8a Backed out changeset c516b5d716f1 (bug 1608597) for browser chrome failures on browser_search_tips. 2020-01-17 20:10:21 +02:00
Christoph Kerschbaumer 4b1d0172e9 Bug 1607483: Disallow loading http(s) scripts into system privileged contexts. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D58962

--HG--
extra : moz-landing-system : lando
2020-01-17 17:29:47 +00:00
Narcis Beleuzu a024104573 Backed out 2 changesets (bug 1609037, bug 1608320) for bc failures on browser_cleanFlow.js . CLOSED TREE
Backed out changeset 44539f8e0cea (bug 1609037)
Backed out changeset 3dddea4c5d73 (bug 1608320)
2020-01-17 19:18:49 +02:00
Drew Willcoxon e693e42a59 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 16:11:31 +00:00
Belén Albeza fc96acd11f Bug 1609356 - Enable application panel in Nightly r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60143

--HG--
extra : moz-landing-system : lando
2020-01-17 16:59:53 +00:00
Drew Willcoxon 50ab04f727 Bug 1603316 - Quantumbar: Fix slow regexp that tests for IPv4 URLs. r=mak
The problem seems to be that there is a dot in both the first square-bracket group and after the group, in this regexp: https://searchfox.org/mozilla-central/rev/c52d5f8025b5c9b2b4487159419ac9012762c40c/toolkit/components/places/UnifiedComplete.jsm#565

Removing the one inside the group fixes both bug 1603316 and bug 1605108. I'm not sure why there was a dot inside the group to begin with. Am I missing something? This regexp is testing for IPv4 addresses.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 16:08:43 +00:00
Andrew Osmond f9c361fe7e Bug 1604535 - Disable OMTP on 32-bit systems due to memory pressure. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D60058

--HG--
extra : moz-landing-system : lando
2020-01-17 15:00:44 +00:00