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

729721 Коммитов

Автор SHA1 Сообщение Дата
Bogdan Tara f07a7512b9 Backed out changeset 0191bd914f91 (bug 1669664) for test_login_item.html failures a=backout 2020-10-09 00:01:18 +03:00
Narcis Beleuzu 04b812b386 Merge autoland to mozilla-central. a=merge 2020-10-08 19:13:32 +03:00
Narcis Beleuzu 2f3193b6dc Backed out 6 changesets (bug 1669847) as req by tcampbell for creating fuzz-blocker Bug 1670013. DONTBUILD a=backout
Backed out changeset e88890094825 (bug 1669847)
Backed out changeset f7cec3c83d8a (bug 1669847)
Backed out changeset afbd765c6935 (bug 1669847)
Backed out changeset 337571ce1b87 (bug 1669847)
Backed out changeset 644420b101ea (bug 1669847)
Backed out changeset 52101621da0a (bug 1669847)
2020-10-08 19:11:28 +03:00
Ted Campbell 919607a361 Bug 1669847 - Make CompilationStencil instantiation const. r=arai
Depends on D92831

Differential Revision: https://phabricator.services.mozilla.com/D92832
2020-10-07 22:20:30 +00:00
Ted Campbell d59c14138b Bug 1669847 - Make RegExpStencil instantiation const. r=arai
Depends on D92830

Differential Revision: https://phabricator.services.mozilla.com/D92831
2020-10-07 22:20:28 +00:00
Ted Campbell 74dd725fd9 Bug 1669847 - Make StencilModuleMetadata instantiation const. r=arai
Depends on D92829

Differential Revision: https://phabricator.services.mozilla.com/D92830
2020-10-07 22:20:20 +00:00
Ted Campbell 19c58cf667 Bug 1669847 - Make ScriptStencil instantiation const. r=arai
Depends on D92828

Differential Revision: https://phabricator.services.mozilla.com/D92829
2020-10-07 22:20:18 +00:00
Ted Campbell 17de77bbc1 Bug 1669847 - Make ScopeStencil instantiation const. r=arai
Depends on D92827

Differential Revision: https://phabricator.services.mozilla.com/D92828
2020-10-07 22:20:15 +00:00
Ted Campbell e879599871 Bug 1669847 - Deduplicate bytecode while building Stencil. r=arai
Instead of waiting until instantiation, deduplicate the bytecode as soon as
we create the stencil. This lets the stencil become immutable sooner.

Differential Revision: https://phabricator.services.mozilla.com/D92827
2020-10-07 23:01:56 +00:00
Botond Ballo 3e82ab456a Bug 1664101 - When querying the displayport for the purpose of applying it to fixed content, apply an async scroll adjustment suitable for fixed content. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D92508
2020-10-07 22:36:57 +00:00
Botond Ballo 784c840349 Bug 1664101 - Propagate DisplayPortOptions up to GetHighResolutionDisplayPort and down to GetDisplayPortFromMarginsData. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D92507
2020-10-07 22:35:20 +00:00
Botond Ballo 5fac61e3d1 Bug 1664101 - Store displayport margins in unadjusted form. r=kats
Where an adjustment (to reflect a delta between the APZ and layout
scroll offsets) is necessary, the inputs needed to compute the
adjustment are stored with the margins, and the adjustment is
applied at query time.

A couple of notes on this patch:

 * Storing DisplayPortMargins::mLayoutOffset is probably unnecessary,
   we should be able to just query the scroll frame's layout offset
   when applying the margins.

 * Some callers of DisplayPortMargins::WithNoAdjustment() may be
   incorrect, in that they pass in margins that are relative to the
   visual viewport but do not make a corresponding adjustment.
   This is a pre-existing issue that this patch just makes clearer.

As this is a regression-prone area, this patch is careful to avoid
making any functional changes, leaving the above issues to be
addressed in future bugs.

Differential Revision: https://phabricator.services.mozilla.com/D92506
2020-10-07 22:35:07 +00:00
Botond Ballo 715fb4d644 Bug 1664101 - Move DisplayPort*PropertyData below DisplayPortOptions. r=kats
In a later patch, DisplayPortMarginsPropertyData will have a
dependency on one of the options.

Differential Revision: https://phabricator.services.mozilla.com/D92505
2020-10-07 22:34:54 +00:00
Botond Ballo c4fb54eee1 Bug 1664101 - Fix an incorrect usage of the visual viewport offset in ComputeVisibleRectForFrame(). r=kats
It's used as the offset of the visible rect, which is intended to be
relative to the layout viewport.

This is mostly hidden by the fact that we almost always
overwrite this value with the displayport rect offset.

Differential Revision: https://phabricator.services.mozilla.com/D90784
2020-10-07 22:34:47 +00:00
Mike Hommey 3a86574eae Bug 1669642 - Rename LLVMCONFIG to LLVM_CONFIG and derive it like we do for LLVM_OBJDUMP. r=firefox-build-system-reviewers,andi,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D92737
2020-10-07 22:36:49 +00:00
Noemi Erli d830360f15 Backed out changeset d4b7aea9a014 (bug 1663967) for causing failures in browser_permmgr_sync.js CLOSED TREE 2020-10-08 06:25:39 +03:00
Csoregi Natalia 708c2f0ad2 Backed out changeset d42dc1f995bb (bug 1669275) for gfx crashes. CLOSED TREE 2020-10-08 04:26:03 +03:00
Csoregi Natalia da0a3666b9 Backed out 4 changesets (bug 1664804) for failures on browser_inspector_highlighter-geometry_06.js. CLOSED TREE
Backed out changeset a54e27ab0e56 (bug 1664804)
Backed out changeset 5e665bbcad8d (bug 1664804)
Backed out changeset f9c62853d8ba (bug 1664804)
Backed out changeset 17fef6ea08fe (bug 1664804)
2020-10-08 04:12:57 +03:00
Roger Yang c6a26a8b39 Bug 1666766 - Add ApplicationBuildID annotation for determining builds that are affected by a crash. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D91206
2020-10-07 17:45:41 +00:00
Jon Bauman 3532affb49 Bug 1651239 - Merge GeckoMediaPluginServiceChild::GetContentParent methods. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D92341
2020-10-07 19:40:40 +00:00
Robert Mader 8a5c42d45a Bug 1669275 - [WR/EGL/X11] Use GLX features on mesa. r=stransky
This allows mesa to continue using the existing vsync implementation
and nvidia to use the new EGL xvisual logic.

It is an intermediate solution until the issues are fixed. However,
assuming it will take a while to do so, it's probably worth it.

Differential Revision: https://phabricator.services.mozilla.com/D92466
2020-10-07 21:21:20 +00:00
Emilio Cobos Álvarez 6d9522e464 Bug 1669772 - Don't do a silly print preview from window.print() with the new tab modal UI. r=jwatt
The comment should be self-descriptive. We keep cloning the doc sync and
the UI will preview that doc, so it works out nicely and we do less
work.

Differential Revision: https://phabricator.services.mozilla.com/D92806
2020-10-07 22:23:43 +00:00
Kris Maglione 832d650ddb Bug 1669538: Expose reason for Fission enablement decision in nsIXULRuntime. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D92676
2020-10-07 22:13:48 +00:00
Andreas Pehrson 3f339deda4 Bug 1616729 - Show top window's document origin to users when requesting media device permissions. r=geckoview-reviewers,johannh,agi
This is similar to what we do on desktop.

Differential Revision: https://phabricator.services.mozilla.com/D92239
2020-10-07 21:42:22 +00:00
Andreas Pehrson b63c589e27 Bug 1616729 - Use the top window's document origin for requesting camera permissions. r=geckoview-reviewers,johannh,agi
Differential Revision: https://phabricator.services.mozilla.com/D92238
2020-10-07 21:42:40 +00:00
Andreas Pehrson 68ab8f8c2d Bug 1616729 - Add geckoview-junit test for cross-origin subframe gUM request with allow/no-allow. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D92763
2020-10-07 19:18:39 +00:00
Eitan Isaacson 7a572196df Bug 1669821 - Implement search predicate API on virtual root. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D92820
2020-10-07 20:34:21 +00:00
Aki Sasaki dea69bae37 Bug 1669635 - add debugging info to missing pushdate. r=releng-reviewers,mtabara
Differential Revision: https://phabricator.services.mozilla.com/D92812
2020-10-07 21:33:30 +00:00
Razvan Caliman 9ff9f666b0 Bug 1667368 - [devtools] Prevent accidentally creating multiple highlighter instances r=jdescottes
When requesting a highlighter instance, the inspector front returns one from its cache if present, otherwise it sends a request to the server create a new one.

But if multiple requests come in very quickly before the server responds to the original request, the cache is still empty so the front fires a few more requests. How many? It's arbitrary. As many as fit before the original request's promise resolves and the cache is set. This is the root cause for the issue of seeing duplicate highlighters.

The issue is more pronounced when there is congestion: many microtasks in the queue, for example when loading a heavy tool like the Inspector on a complex page.

To solve this, we store the unsettled promise to create a highlighter and explicitly wait for it to resolve while ignoring subsequent requests.

Differential Revision: https://phabricator.services.mozilla.com/D92802
2020-10-07 20:30:44 +00:00
Julian Descottes 1d736794aa Bug 1669353 - [devtools] Tweak about:debugging main process test to check no target is created r=ochameau
Depends on D92499
Tweak an existing mock in the main process about:debugging test to check that we are not creating any target.

Differential Revision: https://phabricator.services.mozilla.com/D92553
2020-10-07 10:54:16 +00:00
Alexandre Poirot a73761a538 Bug 1669353 - [devtools] Stop instantiating main process target front from about:debugging. r=jdescottes
We can let about:devtools-toolbox instantiate it, as we do for most other target types.

Differential Revision: https://phabricator.services.mozilla.com/D92499
2020-10-07 21:22:32 +00:00
Alexandre Poirot 68f928fc97 Bug 1669353 - [devtools] Remove unused processId attribute from about:debugging on process targets. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D92498
2020-10-07 21:22:24 +00:00
J.C. Jones 429b38902b Bug 1666701 - Upgrade Authenticator-rs to v0.3.1 r=kjacobs,keeler
This patch fixes a failure to compile on OpenBSD, and also includes the new
(and not yet used by Gecko) WebDriver implementation, and its associated
error-code upgrades.

This has a lot of new packages added into the cargo-checksum, but they were
already used by Gecko, and thus don't change the gecko-wide Cargo.{lock,toml}
files.

Differential Revision: https://phabricator.services.mozilla.com/D92784
2020-10-07 19:14:34 +00:00
Matt Woodrow 0563d3a60a Bug 1664804 - Allow external surfaces for WebGL again. r=jgilbert
This check was previously added in bug 1628175, and then accidentally removed in bug 1632249.

Differential Revision: https://phabricator.services.mozilla.com/D91671
2020-10-07 20:39:21 +00:00
Matt Woodrow 045e73c50c Bug 1664804 - Skip building RSF content if we have an opaque top layer occluding it. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D91670
2020-10-07 20:39:18 +00:00
Matt Woodrow 00c5ca19cb Bug 1664804 - Compute whether top layer content is opaque. r=miko
The default styling for a ::backdrop pseudo element results in it being fully opaque and occluding all the rest of the page.
This allows us to detect that case early, and skip doing any work for the rest of the page.

Differential Revision: https://phabricator.services.mozilla.com/D91669
2020-10-07 20:39:14 +00:00
Matt Woodrow 14f5ceea5b Bug 1664804 - Build top layer content before we build scrolled content. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D91668
2020-10-07 20:39:01 +00:00
Matt Woodrow bd855a3f9e Bug 1668713 - Disable D2D canvas when using SWGL. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D92171
2020-10-07 21:07:06 +00:00
Daniel Holbert 3e52de68f4 Bug 1669774 part 2: Rename some APIs and variables for accuracy (s/page/sheet/) in nsPrintJob, nsPagePrintTimer, and nsDocumentViewer. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D92791
2020-10-07 21:00:26 +00:00
Daniel Holbert fd2a60b29e Bug 1669774 part 1: Rename some nsPageSequenceFrame APIs and vars with s/page/sheet/for accuracy. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D92789
2020-10-07 20:59:05 +00:00
Daniel Holbert 06a402acb0 Bug 1661868 part 2: Unify page-range handling logic, to assume all PrintedSheetFrames should be printed (and let them manage page-range-based skipping during layout). r=TYLin
This patch does the following things:

(1) It removes the legacy page-range-handling function
"DetermineWhetherToPrintPage()", and it now will always print every
PrintedSheetFrame.

(2) It activates PrintedSheetFrame's page-range handling function so that it
can take over responsibility for skipping pages during print operations.

(3) It adjusts the nsPrintJob code that kicks off individual asynchronous
"print the next page" operations (which is now really "print the next
PrintedSheetFrame).  This nsPrintJob code used to have page-range-related
handling interwoven into it, and that handling isn't necessary anymore now that
we're handling page-skipping up front at layout time.

(4) It replaces the mPageNum member-var (which tracks which page we're about to
print or are currently printing) with mCurrentSheetIdx, which is now a 0-based
index into the list of PrintedSheetFrame instances.

(5) It removes nsPrintData:mNumPagesPrinted, which was only used for
progress-bar-completion updates & which basically tracked the same information
that I'm tracking in the new mCurrentSheetIdx variable.

There's some additional cleanup that we should do after this lands (e.g. some
s/page/sheet/ renamings) but I'm holding off on that for now, to keep this
patch relatively targeted.

Differential Revision: https://phabricator.services.mozilla.com/D92660
2020-10-07 20:51:56 +00:00
Daniel Holbert 59211689e7 Bug 1661868 part 1: Broaden PrintedSheetFrame's "layout-time" page-range handling to support complex page ranges. r=TYLin
This patch does the following:

* It adds better documentation for the meanings of the page range member-vars
in nsSharedPageData.

* It copies some logic (with minor tweaks) from the legacy codepath that
handles page-range support (nsPageSequenceFrame::DetermineWhetherToPrintPage())
into to the new codepath for page-range support (PrintedSheetFrame.cpp's helper
function "TagIfSkippedByCustomRange()").

At this point in the patch stack, the legacy codepath is unchanged & still
handles all print operations; and the new PrintedSheetFrame.cpp codepath only
handles page-range-skipping for the print-preview visualization in the
Tab-Modal print dialog. So, this patch effectively gives that print-preview
visualization the platform-support that it would need for complex page ranges
(though that's not available in the UI at this point, so you can't really test
that).

Spoiler alert: the next patch in this series will remove the legacy codepath
entirely, and at *that* point, the platform-native print dialog's
complex-page-range feature will be backed by the PrintedSheetFrame.cpp code
that's added here.

Differential Revision: https://phabricator.services.mozilla.com/D92696
2020-10-07 20:45:23 +00:00
Mike Hommey 228e721068 Bug 1669442 - Fix dependency between libxul and mozgtk after bug 1573566. r=andi,dmajor
Bug 1573566 moved libxul from toolkit/library to toolkit/library/build,
and that should be reflected in config/recurse.mk.

It's amazing the race condition hasn't caused problems earlier than now.

Differential Revision: https://phabricator.services.mozilla.com/D92708
2020-10-07 12:17:56 +00:00
Gijs Kruitbosch 632a61a42f Bug 1668586 - stop messing with web progress listeners when changing remoteness, r=mattwoodrow,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D92514
2020-10-07 20:39:33 +00:00
Csoregi Natalia 7ede3c3e96 Backed out changeset a5f507cc51ab (bug 1669538) for build bustage on nsAppRunner.cpp. CLOSED TREE 2020-10-08 00:51:52 +03:00
Csoregi Natalia 743e75604c Backed out changeset 0b329aa2c4e3 (bug 1653276) for assertion failures on ActorsChild.cpp. CLOSED TREE 2020-10-08 00:12:36 +03:00
Edgar Chen 3711f2ee72 Bug 1668964 - Enable some subtests in test_pointerlock-api.html back; r=smaug
test_pointerlock-api.html is disabled mainly because of bug 1357082 and
bug 1615802. Let's just disable the subtests that cause intermittent failures
and enable others, so we could at least get some test coverage back.

Differential Revision: https://phabricator.services.mozilla.com/D92314
2020-10-07 13:44:12 +00:00
waverune 31632297c2 Bug 1669026 - nsSHEntry.cpp: unused namespace alias decl 'dom' removed. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D92811
2020-10-07 20:21:49 +00:00
Henrik Skupin 227d214102 Bug 1628589 - [remote] Don't run accidentally enabled Puppeteer Fission jobs on Trunk. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D92817
2020-10-07 20:18:40 +00:00
Kartikaya Gupta ede54d232b Bug 1668870 - Re-enable touch event retargeting. r=esawin
Depends on D92437

Differential Revision: https://phabricator.services.mozilla.com/D92438
2020-10-07 13:55:15 +00:00