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

719215 Коммитов

Автор SHA1 Сообщение Дата
Narcis Beleuzu ce05a24710 Backed out changeset 8323b7bb5e1a (bug 1652618) for mochitest failures on test_audiocontrols_dimensions.html . CLOSED TREE 2020-07-23 00:49:31 +03:00
Andrew Halberstadt 3b776aad05 Bug 1654535 - [tryselect] Update |mach try --help| text with corrected default selector, DONTBUILD, r=smacleod
Differential Revision: https://phabricator.services.mozilla.com/D84527
2020-07-22 20:45:57 +00:00
Daniel Holbert 172b12cd5c Bug 1654452 part 3: Misc cleanup in nsPageSequenceFrame: reorder stray include, drop unused define, use 'auto', remove unnecessary 'rv' var. r=TYLin
Depends on D84534

Differential Revision: https://phabricator.services.mozilla.com/D84535
2020-07-22 18:40:51 +00:00
Daniel Holbert 6552a848b7 Bug 1654452 part 2: Use range-based for loops to iterate nsPageSequenceFrame children. r=TYLin
Depends on D84463

Differential Revision: https://phabricator.services.mozilla.com/D84534
2020-07-22 20:19:09 +00:00
Daniel Holbert cfdacd2573 Bug 1654452 part 1: Manage nsSharedPageData lifetime using UniquePtr instead of new/delete. r=TYLin
This makes its ownership a bit clearer - it's now encoded in the type system
that nsPageSequenceFrame is the owner of this object, and we can reason about
the implications of that for the other frames that retain a pointer to this
object.  (Fortunately all those other frames will be destroyed before the
nsPageSequenceFrame that owns their nsSharedPageData, because they're
descendants of that frame.)

Differential Revision: https://phabricator.services.mozilla.com/D84463
2020-07-22 18:37:44 +00:00
Steve Fink 98d8121804 Bug 1652583 - Check that WeakMaps (and subclasses) are same-zone with their values r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D83586
2020-07-22 21:33:39 +00:00
Mitchell Hentges 81ec118ee7 Bug 1654607: Upgrades glean in bootstrap r=firefox-build-system-reviewers,rstewart
A newer version of Glean is needed to take advantage of the recent "optional version" change.

Pins glean to 31.5.0 to avoid breaking changes, such as to the YAML schema.

Differential Revision: https://phabricator.services.mozilla.com/D84566
2020-07-22 19:48:23 +00:00
Robert Helmer ddbad8ba46 Bug 1653098 - pre-enrollment consent dialog for Pioneer v2 r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D83893
2020-07-22 21:15:44 +00:00
prathiksha 37e1247796 Bug 1653839 - Fix error 'mozilla/dom/RTCCertificateBinding.h' file not found on mingw builds. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D84480
2020-07-22 16:22:55 +00:00
Narcis Beleuzu 37cb83a398 Backed out 2 changesets (bug 921504) for wpt failures on inert-retargeting-iframe.tentative.html . CLOSED TREE
Backed out changeset 8b75cd744e80 (bug 921504)
Backed out changeset a56b2d354613 (bug 921504)
2020-07-22 23:53:55 +03:00
Narcis Beleuzu ef290a86e8 Backed out 3 changesets (bug 1636271) for breaking the Gecko Decision Task. CLOSED TREE
Backed out changeset 4b0f13fcf941 (bug 1636271)
Backed out changeset 4250f49877ba (bug 1636271)
Backed out changeset d3f93bd6b1f9 (bug 1636271)
2020-07-22 23:40:32 +03:00
Emilio Cobos Álvarez f197b3c60e Bug 1648064 - Disable the URL in the header in printpreview_helper. r=nordzilla
It seems win7 sometimes displaces it slightly. We've hit this in the
past and it's not the point of the test so just get rid of it.

Differential Revision: https://phabricator.services.mozilla.com/D84597
2020-07-22 20:30:23 +00:00
Emilio Cobos Álvarez 8db5de01c5 Bug 1648064 - Allow for some fuzziness in the tests. r=jwatt
Before my patches the background images in table-background-print didn't
seem to load on time.

I tried to make the images* tests non-fuzzy, but the <svg:image> really
ruined the deal. A bit of a shame that they fall into a subpixel
boundary because of page margins. So allow a bit of fuzz there rather
than spending another few days trying :)

Differential Revision: https://phabricator.services.mozilla.com/D84516
2020-07-22 20:30:23 +00:00
Emilio Cobos Álvarez ae92038d84 Bug 1648064 - Make service workers of the original document intercept the static document's requests. r=smaug,asuth
We need to set the original document ASAP so images triggered from the
clone use the right service worker.

It is a bit unfortunate to have the static document checks twice, but we
may get to Document::GetClientInfo before the cloned doc has a window,
so it's not 100% clear to me how we could avoid it.

Differential Revision: https://phabricator.services.mozilla.com/D82081
2020-07-22 20:29:41 +00:00
Emilio Cobos Álvarez a52f803f4d Bug 1648064 - Make static clones have the CSP of the original doc. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D81997
2020-07-22 20:29:23 +00:00
Emilio Cobos Álvarez a1687ac170 Bug 1648064 - Make print preview documents wait properly for the document to be loaded. r=smaug
Otherwise my test fails intermittently on CI. We need to block on all
the load blockers because stuff like responsive images doesn't fire the
load directly but they do that as a micro task (blocking the load
event).

Differential Revision: https://phabricator.services.mozilla.com/D81989
2020-07-22 20:29:16 +00:00
Emilio Cobos Álvarez c965f056a3 Bug 1648064 - Disable lazy loading for print documents. r=hiro
This, along with the previous patches, allow lazy-loaded images to show
up in print, even if they haven't been loaded otherwise.

Differential Revision: https://phabricator.services.mozilla.com/D81780
2020-07-22 20:29:08 +00:00
Emilio Cobos Álvarez 5f53233ca1 Bug 1648064 - Switch DOM images to work like CSS images for the purposes of printing. r=tnikkel,smaug
Make them perform the image load (if needed), instead of copying the
image requests from the original document.

This is needed for CSS for stuff like:

@media print {
  #foo::before {
    content: url(bar.png);
  }
}

And so on. For images, we should do this as well. Nothing prevents you
from doing:

  <picture>
    <source srcset="print.png" media="print">
    <source srcset="screen.png" media="not print">
    <img>
  </picture>

And that should in theory work. It works after this patch, and I added a
test for that.

This patch is a bit bigger than I'd like, but I didn't find a more
reasonable way to split it up.

Making static docs able to do image loads is most of the patch and is
mostly straight-forward. This allows to remove the hacky "change the
loading document" thing that CSS images do, which is just working around
the CSP of the print document.

I need to enable background colors in printpreview_helper so as to be
able to have a reference page for all the different image types.

Differential Revision: https://phabricator.services.mozilla.com/D81779
2020-07-22 20:29:00 +00:00
Andrew Halberstadt 268c833ffc Bug 1636271 - [taskgraph] Set autoland optimizations via per-project parameter, r=tomprince
This creates a new set of optimization strategies
(taskgraph.optimize:project.autoland) to use with autoland. Among other things,
it also means there's no need for the 'test-try' optimization as the autoland
strategies are no longer the default behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D79705
2020-07-22 17:09:02 +00:00
Andrew Halberstadt 8d40cc05d4 Bug 1636271 - [taskgraph] Move 'optimize-strategies' from try_task_config.json to a parameter, r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D79704
2020-07-22 15:36:55 +00:00
Andrew Halberstadt 2d5688e974 Bug 1636271 - [taskgraph] Create utility function for listing all tasks in a task group, r=tomprince
Creates a new utility function in 'taskgraph.util.taskcluster' to return task
definitions from a task group. Also refactors the existing
'list_task_group_incomplete_tasks' function to use it.

Differential Revision: https://phabricator.services.mozilla.com/D74407
2020-07-22 15:09:56 +00:00
emcminn 8519acb03f Bug 1653322 - Converted import topsites "disclaimer" tooltip to a footer r=pdahiya,fluent-reviewers,MarcoZ,flod
Differential Revision: https://phabricator.services.mozilla.com/D84025
2020-07-22 19:54:14 +00:00
Kartikaya Gupta bbf55b1e31 Bug 1654652 - Remove unused bindings left over from document splitting. r=jrmuizel
More leftover stuff from the document splitting effort. I'm leaving in the
corresponding APIs in webrender_api in case other consumers of WebRender
are using it.

Differential Revision: https://phabricator.services.mozilla.com/D84590
2020-07-22 20:16:54 +00:00
Rail Aliiev 11e2db47ec Bug 1653190 - format of firefox SHA512SUMS changed between betas 78 and 79 r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D84588
2020-07-22 20:02:40 +00:00
Emilio Cobos Álvarez 312039fb70 Bug 1652618 - Ensure UA widgets are attached and detached synchronously. r=smaug
This changes the UA widget setup (again). What is going on in this
test-case is that we have a marquee inside a video, two things that have
their own UA widget. Given how the code is currently written, the
runnable to attach and set up the marquee's widget is posted before than
the video one (which is potentially reasonable).

However that means that the marquee one runs before and flushes layout,
and catches the video in an inconsistent state (in the composed doc, but
without a shadow root). That in turn messes up reflow because
nsVideoFrame assumes stuff.

Rather than putting the attach / detach logic in script runners, just
run that bit synchronously, and post only the event async. I audited the
consumers of those events and it seems fine to me, they either already
deal with the possibility of the shadow root being already detached or
they don't care.

For teardown, none of the destructors of the UA widgets rely on the
shadow root being still attached to the element.

Differential Revision: https://phabricator.services.mozilla.com/D84487
2020-07-22 19:42:37 +00:00
Nathan Froyd a8ddf893b6 Bug 1654633 - install new dump_syms during bootstrap on OS X; r=nalexander,mhentges
This change brings Mac into parity with our other development platforms.

Differential Revision: https://phabricator.services.mozilla.com/D84580
2020-07-22 19:11:45 +00:00
Jed Davis 0e88912e37 Bug 1632687 - Part 3: Introduce an OS-dependent ChannelId type to reflect that Unix doesn't use channel IDs. r=mccr8
The Chromium-derived IPC code was, as far as I can tell, originally
designed for Windows and assumed that channels would be named pipes,
managed and connected to via `std::wstring` paths.  The port to Unix,
however, used unnamed `socketpair()` and passed them directly from
process to process, so it has no use for these channel IDs...  but it
still computes and propagates them, even though they're not used, using
deprecated wide-string APIs.

This patch introduces a typedef for an abstract channel ID, which is a
`wstring` on Windows and an empty struct on Unix, to allow removing the
string code where it's not needed without needing to completely redesign
the channel abstraction.

Differential Revision: https://phabricator.services.mozilla.com/D72260
2020-07-22 19:04:48 +00:00
Jed Davis d3f86fcc5c Bug 1632687 - Part 2: Remove the channel ID prefixes, which we've never used. r=mccr8
Chromium's fix for CVE-2011-3079 added an optional prefix parameter for
channel IDs, but we've never used it and have no plans to.  (Chromium
itself doesn't appear to have used it except with the prefixes "gpu"
and "nacl", and the code has since been removed completely in favor of
Mojo.)  So let's simplify things and remove it.

Differential Revision: https://phabricator.services.mozilla.com/D84276
2020-07-22 19:04:46 +00:00
Jed Davis 053045fdbe Bug 1632687 - Part 1.5: Protect the hard-coded IPC child fd from accidental multiple use. r=mccr8
This "create a pipe" operation has a mode where, on Unix, it doesn't
create a new transport but rather uses a hard-coded fd for the initial
IPC channel in a child process.  (It was originally written for Windows
and the assumption of using named pipes and pathnames for everything.)

That seems like a footgun, so this patch checks for trying to "create"
that pipe twice.  However, it doesn't check for accidentally calling it
in the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D72259
2020-07-22 19:04:44 +00:00
Jed Davis c24433b717 Bug 1632687 - Part 1: Remove IPC PipeMap. r=mccr8
The PipeMap class tries to simulate the Windows channel model (named
pipes that the client opens by a pathname) on Unix.  However, it's
effectively dead code -- the map is empty except in some unit tests that
we never imported.

What we do is generate a "channel ID" with string formatting, then don't
pass it to the child or ever insert anything into the map, then the child
looks up an empty string and doesn't find it, so it uses the hard-coded
fixed fd for the initial channel.

Basically, it does nothing except maybe confuse unfamiliar readers, so
let's get rid of it.

Differential Revision: https://phabricator.services.mozilla.com/D72258
2020-07-22 19:04:37 +00:00
Zibi Braniecki a278e2d31b Bug 1649028 - Mastercard starting with 542418 detected as Diner's Club. r=abr
Differential Revision: https://phabricator.services.mozilla.com/D84297
2020-07-22 17:06:53 +00:00
Kagami Sascha Rosylight 4ffb4f26c5 Bug 1652897 - Remove IS_DIRTY assertion as it currently happens r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D84553
2020-07-22 18:45:53 +00:00
Dzmitry Malyshau fc399d032a Bug 1642495 - Switch all WebRender HW-accelerated GPU cache updates to Scatter r=gw
scattered GPU updates use data transfers most efficiently, since
they need a single slice of a buffer to do all the updates per frame, instead
of uploading each small section of a row independently.

Differential Revision: https://phabricator.services.mozilla.com/D78342
2020-06-16 19:28:03 +00:00
Michael Froman 9a6d6691a0 Bug 1654611 - remove unnecessary mWindow in RTCDTMFSender. r=smaug
Found during a review of RTCDtlsTransport, mWindow is not needed here
because RTCDTMFSender inherits from DOMEventTargetHelper.

Differential Revision: https://phabricator.services.mozilla.com/D84571
2020-07-22 19:06:08 +00:00
Butkovits Atila 39f2bd0971 Backed out changeset e890ed131173 (bug 1654589) for bustage at Punion_Uncomparable.ipdl. CLOSED TREE 2020-07-22 23:01:51 +03:00
Sylvestre Ledru e06ff0dd5c no bug - doc - Import the 'Pocket Guide: Shipping Firefox' in tree r=RyanVM
Actual author: Thomas Elin

Differential Revision: https://phabricator.services.mozilla.com/D83930
2020-07-22 17:46:54 +00:00
Simon Giesecke 548e423dad Bug 1654469 - Stop generating operator==/operator != for IPDL structs/unions by default. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D84485
2020-07-22 17:24:33 +00:00
Luca Greco 55e3a116dc Bug 1654622 - Replace Blob forward declaration with a BlobImpl forward declaration in MediaRecorder.h. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D84575
2020-07-22 18:51:16 +00:00
Geoff Brown 8731a1e19e Bug 1638963 - Run 'mach geckoview-junit' with py3; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D84560
2020-07-22 18:08:02 +00:00
Jonathan Almeida [:jonalmeida] e9a6ea525b Bug 1607092 - Add new quote from Book of Mozilla for GeckoView r=geckoview-reviewers,Pike,agi
Differential Revision: https://phabricator.services.mozilla.com/D80575
2020-07-07 02:22:07 +00:00
Andi-Bogdan Postelnicu 2897e78033 Bug 1654557 - add `clangd` to the `clang-tidy` package. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D84528
2020-07-22 18:15:19 +00:00
Alexander Surkov 5481bfff18 Bug 921504 - add HTMLElement::inert r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D82943
2020-07-21 15:33:48 +00:00
Alexander Surkov 1c382cad65 Bug 921504 - implement HTML:inert r=emilio,heycam
Differential Revision: https://phabricator.services.mozilla.com/D81701
2020-07-22 04:26:08 +00:00
Neil Deakin 0cae4293b6 Bug 1654127, move webrtc and about home cache handling out of ContentObservers.js framescript, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D84277
2020-07-22 10:14:26 +00:00
Ricky Stewart 9ac27d3247 Bug 1654589 - Move `libpref` Python unit test to `mozbuild` suite r=froydnj
It could go into its own test suite, but it 1) depends on `mozbuild` code, so the `mozbuild` suite as well as this new suite would be running on any push that touches `mozbuild` code anyway, and 2) this is code that runs during the build, so it's not out of place.

Differential Revision: https://phabricator.services.mozilla.com/D84547
2020-07-22 17:05:24 +00:00
Kartikaya Gupta 2c884ed990 Bug 1654373 - Save captures to MOZ_UPLOAD_PATH if that is set. r=kvark
This makes it possible to download the capture from the artifacts of the
CI job. It would be nicer if the capture were written to a tarball/zipfile,
but having to download the files individually is better than nothing.

Depends on D84422

Differential Revision: https://phabricator.services.mozilla.com/D84423
2020-07-22 15:52:04 +00:00
Kartikaya Gupta 60b77272b0 Bug 1654373 - Add some machinery to request WR captures from talos tests. r=perftest-reviewers,sparky
This just makes it easier to instrument a talos test to request a WR capture
for those occasions when one is desired for debugging. This can be done by
modifying the test's html to pull in TalosPowersContent.js and then calling
the TalosPowersContent.wrCapture() method.

Differential Revision: https://phabricator.services.mozilla.com/D84422
2020-07-22 17:24:45 +00:00
Matthew Noorenberghe 3b1e0dde32 Bug 1653798 - Add Primary Password SUMO link and text about the name change. r=preferences-reviewers,fluent-reviewers,flod,ntim
`forms-primary-pw-former-name = {""}` is used when this term didn't change for a locale.

Differential Revision: https://phabricator.services.mozilla.com/D84291
2020-07-22 07:16:29 +00:00
Sebastian Hengst 115a4ae9ba Bug 1620954 - Set browser_bug1204626.js back to intermittent on Linux debug. r=kashav DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D84563
2020-07-22 18:18:35 +00:00
Eitan Isaacson 6233e4868e Bug 1654601 - Ensure given text marker is valid in public API. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D84567
2020-07-22 18:08:10 +00:00