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

721273 Коммитов

Автор SHA1 Сообщение Дата
Bogdan Tara 3bc4fa6d50 Backed out changeset 5a2241b01c82 (bug 1657583) for DocumentLoadListener.cpp related bustage CLOSED TREE 2020-08-07 14:58:47 +03:00
Bogdan Tara 06a9a6d13f Backed out 11 changesets (bug 1656802) for async-scrolling reftests failures CLOSED TREE
Backed out changeset 941ee8aa9735 (bug 1656802)
Backed out changeset c5b1b38d1d35 (bug 1656802)
Backed out changeset fe2dd5de83ef (bug 1656802)
Backed out changeset 8e217fc1c6d4 (bug 1656802)
Backed out changeset 21f574f6acb4 (bug 1656802)
Backed out changeset 753f93dffe07 (bug 1656802)
Backed out changeset 386554110008 (bug 1656802)
Backed out changeset 2d3576ace2f1 (bug 1656802)
Backed out changeset 06a47c35c531 (bug 1656802)
Backed out changeset 57fa48542435 (bug 1656802)
Backed out changeset b1517bc33eff (bug 1656802)
2020-08-07 14:36:21 +03:00
Christoph Kerschbaumer b6387305a4 Bug 1657583: Simplify TestSitePermission within nsHTTPSOnlyUtils r=necko-reviewers,JulianWels,dragana
Differential Revision: https://phabricator.services.mozilla.com/D86178
2020-08-07 11:27:56 +00:00
Richard Sherman 155b24b9c7 Bug 1581641 - Enable codemirror's code folding in editor mode r=nchevobbe
Adding code folding to console when in editor mode.

Differential Revision: https://phabricator.services.mozilla.com/D85901
2020-08-07 11:10:17 +00:00
Simon Fraser 822f5512e5 Bug 1657834 Enable resource-monitor r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D86319
2020-08-07 10:16:08 +00:00
Martin Stransky f600821505 Bug 1656727 [Wayland] Check mDelayedCommitHandle before we use it, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D86261
2020-08-07 10:29:45 +00:00
Martin Stransky bf8fabdef5 Bug 1628742 [Linux] Provide hiden widget.workspace-management preference as an override to restore windows on particular worspaces, r=jhorak
When user adds and sets widget.workspace-management preference value, use it as override to restore windows on particular worspaces.

Differential Revision: https://phabricator.services.mozilla.com/D86205
2020-08-07 10:29:10 +00:00
Martin Stransky cb686587cd Bug 1645678 [Wayland] Use DRM display for VA-API decoding by default, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D86331
2020-08-07 10:29:27 +00:00
alexandru.ionescu 1e51ef840b Bug 1654201 Record netflix with mitm5 r=Bebe,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D86297
2020-08-07 08:54:10 +00:00
Edgar Chen d0ee1cf658 Bug 1657761 - Remove pointerevent_on_event_handlers.html; r=smaug DONTBUILD
I guess this was mis-synced from wpt in bug 1338057.
It isn't used in mochitest and upstream does run the test,
https://wpt.fyi/results/pointerevents/pointerevent_on_event_handlers.html?label=experimental&label=master&aligned.

Differential Revision: https://phabricator.services.mozilla.com/D86279
2020-08-07 10:18:20 +00:00
Timothy Nikkel 2f60aa099a Bug 1656802. Make visual viewport only layout scrollbars affect the composition bounds/visual viewport. r=emilio,kats
AFAICT the spec says that these layout scrollbars that take up no layout space that scroll the visual viewport do affect the size of the visual viewport. (Double check this)

Most other users don't care about the size of these special scrollbars.

I left nsIDOMWindowUtils::getScrollbarSize unchanged (NB different from nsIDOMWindowUtils::getScrollbarSizes which is modified by this patch) because I'm less sure. I will file a followup about it.

Differential Revision: https://phabricator.services.mozilla.com/D85708
2020-08-07 10:05:10 +00:00
Timothy Nikkel 0f0f71e5bc Bug 1656802. If both scrollbars are layout and present and only for the visual viewport they need to be adjusted to not overlap. r=emilio
The existing calculation will make them overlap. The AdjustOverlappingScrollbars code was written with overlay scrollbars in mind but it looks like it will work just fine for this case.

Differential Revision: https://phabricator.services.mozilla.com/D85707
2020-08-07 10:04:50 +00:00
Timothy Nikkel ee280dd6eb Bug 1656802. Position the scrollcorner if we have both layout scrollbars and they are both for the visual viewport only. r=emilio
Otherwise the calculation above would lead to an empty rect for the scroll corner.

The scrollbar rects as computed now still overlap each other and the scroll corner, the next patch fixes that.

Differential Revision: https://phabricator.services.mozilla.com/D85706
2020-08-07 10:04:37 +00:00
Timothy Nikkel 51578a321e Bug 1656802. In LayoutScrollbars move the calculation of the scrollbar rects to the first thing in the function. r=emilio
There is no dependency in this code as far as I can tell.

The next patch needs the scrollbar rects for the scroll corner calculation.

Differential Revision: https://phabricator.services.mozilla.com/D85705
2020-08-07 10:08:14 +00:00
Timothy Nikkel 3f4285b053 Bug 1656802. Shift back in layout scrollbars that are only for the visual viewport so they are visible. r=emilio
Layout scrollbars that were only created for the visual viewport had no space reserved for them, so we need to shift them back in like overlay scrollbars. Otherwise they sit just outside of the scroll port and are not visible.

Depends on D85703

Differential Revision: https://phabricator.services.mozilla.com/D86332
2020-08-07 10:08:14 +00:00
Timothy Nikkel 0275351ad7 Bug 1656802. Add a comment explaining how overlay scrollbars work with their negative margin. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D85703
2020-08-07 10:07:25 +00:00
Timothy Nikkel ba33b7857b Bug 1656802. Add state variables to the scroll frame to track when scrollbars are only created to scroll the visual viewport within the layout viewport. r=emilio,kats
We need to distinguish these special scrollbars for several different reasons in upcoming patches.

Differential Revision: https://phabricator.services.mozilla.com/D85702
2020-08-07 10:03:33 +00:00
Timothy Nikkel 738ce628b6 Bug 1656802. Calculate if we need scrollbars to scroll the visual viewport. r=emilio,kats
This fixes the regression we created with the first patch.

Differential Revision: https://phabricator.services.mozilla.com/D85701
2020-08-07 10:03:26 +00:00
Timothy Nikkel 519c4bdc9e Bug 1656802. Add flags that let us differentiate not showing scrollbars because something is overflow hidden from not showing scrollbars for other reasons. r=emilio
For the former we are still allowed to show scrollbars if we need to scroll the visual viewport inside the layout viewport (as long as they take up no layout space). For the latter we still do not want to show scrollbars.

The ShowScrollbar enum is now only from layouts perspective and doesn't take into account anything about the visual viewport.

Differential Revision: https://phabricator.services.mozilla.com/D85700
2020-08-07 10:03:13 +00:00
Timothy Nikkel 9e2292aea1 Bug 1656802. When deciding if we want a scrollbar we need to consider only if the scrolled rect overflows the scrollport (not the visual viewport). r=emilio,kats
This will actually regress behaviour when overflow is auto and pinch zooming creates scrollable overflow (scrolling the visual viewport inside the layout viewport). We will fix that in later patches.

The reason that this is necessary is that the code as-is is incorrect if we have layout scrollbars (scrollbars that take up space). If we have layout scrollbars and we pinch zoom and we go from not needing a scrollbar to needing a scrollbar then that scrollbar cannot take up layout space (even though it is a layout scrollbar). The scrollbar cannot change the size of the layout viewport (it does, however, change the size of the visual viewport).

In later patches we fix this situation as well as the situation with an overflow hidden document (which also needs to create scrollbars when pinch zoomed).

Differential Revision: https://phabricator.services.mozilla.com/D85699
2020-08-07 10:06:14 +00:00
Timothy Nikkel 28c869e69e Bug 1656802. Add comment pointing to bug about enabling new desktop zooming scrollbars by default.
Differential Revision: https://phabricator.services.mozilla.com/D86328
2020-08-07 10:06:14 +00:00
Emilio Cobos Álvarez ac6059e379 Bug 1657841 - Remove unused visible tabs tracking. r=edgar
This stopped being used at some point and now it's just useless.

Differential Revision: https://phabricator.services.mozilla.com/D86322
2020-08-07 09:40:07 +00:00
Bogdan Tara b043933d2f Merge mozilla-central to autoland a=merge on a CLOSED TREE 2020-08-07 12:35:00 +03:00
Bogdan Tara a3b25e347e Merge autoland to mozilla-central. a=merge 2020-08-07 12:31:21 +03:00
Bogdan Tara 1d2deae76a Backed out 3 changesets (bug 1639153) on lth's request a=backout DONTBUILD
Backed out changeset 30af0e8c7956 (bug 1639153)
Backed out changeset 25931ec43a32 (bug 1639153)
Backed out changeset 95d6c42f07fd (bug 1639153)
2020-08-07 12:29:21 +03:00
Julian Descottes e57c2589f9 Bug 1655016 - Do not assume any resource order in browser_resources_stylesheets.js r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D86254
2020-08-07 06:08:27 +00:00
Mihai Alexandru Michis b88c487681 Backed out 4 changesets (bug 1657231) for causing multiple xpcshell failures.
CLOSED TREE

Backed out changeset caa4f187b037 (bug 1657231)
Backed out changeset 73418f013a61 (bug 1657231)
Backed out changeset e196f9cc2bb2 (bug 1657231)
Backed out changeset 5f4aab0ad04a (bug 1657231)
2020-08-07 02:49:49 +03:00
Thomas Daede fa78c8a983 Bug 1657346 - AVIF: Handle chromaticity derived matrix coeffs. r=jbauman
Differential Revision: https://phabricator.services.mozilla.com/D86008
2020-08-06 23:38:30 +00:00
Marcos Cáceres 879706d3df Bug 1657788 - Refactor SendShare() to use promise instead of callback r=jya
Differential Revision: https://phabricator.services.mozilla.com/D85986
2020-08-07 02:38:41 +00:00
Mihai Alexandru Michis da15ff7259 Bug 1657515 - Fix bustages regarding nsDocumentViewer.cpp and 'pageCount'. a=bustage-fix
CLOSED TREE
2020-08-07 07:37:28 +03:00
Mihai Alexandru Michis b549c013c7 Backed out changeset 25e500b64866 (bug 1656974) for causing failures in TestStartupCache
CLOSED TREE
2020-08-07 02:37:59 +03:00
Mihai Alexandru Michis 639b2bd075 Backed out changeset f1f10f791e99 (bug 1656034) for causing bustages in DMABufSurface.cpp
CLOSED TREE
2020-08-07 02:36:33 +03:00
Brindusan Cristian dc4df79ab1 Backed out changeset 0da3036d0890 (bug 1656711) as requested by tnikkel on irc to test if it caused bug 1657558 or not. CLOSED TREE 2020-08-07 02:27:01 +03:00
Emma Malysz 18fe337c0c Bug 1657161, enable print.tab_modal.enabled for EARLY_BETA_OR_EARLIER and hide page range section r=mstriemer,fluent-reviewers,preferences-reviewers,flod
We want this to be turned on for nightly users by default. The page range is still a WIP,
so we should hide that section for now.
This also adds the pref to the "Nightly Experiment" panel, turned on by default.

Differential Revision: https://phabricator.services.mozilla.com/D85907
2020-08-06 23:02:13 +00:00
Daosheng Mu 13641acbb5 Bug 1647504 - Implement XInputGetState extention for supporting xbox guide button. r=cmartin
Differential Revision: https://phabricator.services.mozilla.com/D80584
2020-08-06 23:07:03 +00:00
Hiroyuki Ikezoe 3d007edf96 Bug 1657515 - Add nsIWebBrowserPrint.printPreviewCurrentPageNumber. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D86151
2020-08-06 22:54:16 +00:00
Hiroyuki Ikezoe 103cf5ff04 Bug 1657515 - Constify some nsIDocumentViewerPrint methods. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D86149
2020-08-06 22:54:16 +00:00
Hiroyuki Ikezoe 163ef31b74 Bug 1657515 - Rename `pageFrame` to `sheetFrame` in PrintPreviewScrollToPage. r=TYLin
Since bug 1652278, it's not a page frame.

Differential Revision: https://phabricator.services.mozilla.com/D86148
2020-08-06 22:57:24 +00:00
Dave Townsend 9c9a3ff429 Bug 1657735: Don't try to stage language pack updates a second time for the same update. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D86273
2020-08-06 22:29:00 +00:00
Hiroyuki Ikezoe 39c56580df Bug 1657515 - Rename `pt` to `currentScrollPosition` in PrintPreviewScrollToPage. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D86147
2020-08-06 22:22:56 +00:00
Jeff Gilbert b5d6906473 Bug 1656034 - Support multiple EglDisplays per GLLibraryEGL. r=lsalzman,sotaro,stransky
Have webrender use its own EGLDisplay, letting WebGL use a different
one.

Differential Revision: https://phabricator.services.mozilla.com/D85496
2020-08-06 22:53:53 +00:00
Andrew McCreight 953004415b Bug 1657231, part 4 - Don't allow using the URL preloader in the child. r=kmag
It never gets initialized there anyways, so assert and clean up
a bit of dead code.

Differential Revision: https://phabricator.services.mozilla.com/D86032
2020-08-06 22:35:14 +00:00
Andrew McCreight 36b266e999 Bug 1657231, part 3 - Fail if add observer fails. r=kmag
This can cause the URL preloader to think that initialization has succeeded
when it hasn't. This add observer call can fail if we're late in shutdown,
because the observer service still exists, but it isn't taking new
observers. I'm not sure how much it matters that we're failing to listen for
an observer that can't possibly fire at this stage, but a failure to check
for this seems to have contributed to the crash in bug 1656973, so we
might as well just fail.

Differential Revision: https://phabricator.services.mozilla.com/D86031
2020-08-06 22:35:12 +00:00
Andrew McCreight e6886b3c16 Bug 1657231, part 2 - Clear sInitialized when we destroy the singleton url preloader. r=kmag
Some of the entry points into the URL preloader check sInitialized, and only
use it if it is true. However, if we're late in shutdown and we've already
cleared the singleton for the preloader then our failure to clear the
sInitialized flag means we'll recreate the preloader, which is going
to fail in various ways.

I think this won't help in the case of bug 1656973, because that seems
to go through AutoBeginReading, which unconditionally creates a new
singleton if one does not exist.

Differential Revision: https://phabricator.services.mozilla.com/D86030
2020-08-06 22:35:10 +00:00
Andrew McCreight 8b026394da Bug 1657231, part 1 - Only register the URL preloader as a reporter after it has been addrefed. r=kmag
Normally this happens during initialization because we add the preloader
as an observer, but that seems fragile.

Differential Revision: https://phabricator.services.mozilla.com/D86029
2020-08-06 22:35:07 +00:00
Matt Woodrow 8cc57f6b55 Bug 1657428 - Use correct interpolation mode for native compositing layers. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D86090
2020-08-06 21:14:45 +00:00
André Bargull 137f314071 Bug 1657764: Remove incorrect ifdef guard around DumpParseTree. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D86313
2020-08-07 08:42:25 +00:00
Jon Coppeard c80792dbcd Bug 1657554 - Don't set WeakRef target until we know that construction has succeeded r=sfink
This seems like a nice assertion to have so arrange that the weakref target is not set if registration fails. Also I fixed places where we didn't report out of memory on failure.

Differential Revision: https://phabricator.services.mozilla.com/D86186
2020-08-07 08:22:56 +00:00
Jeff Gilbert a824ab4d81 Bug 1656034 - Support multiple EglDisplays per GLLibraryEGL. r=lsalzman,sotaro,stransky
Have webrender use its own EGLDisplay, letting WebGL use a different
one.

Differential Revision: https://phabricator.services.mozilla.com/D85496
2020-08-07 07:14:46 +00:00
Simon Giesecke 1a9da56b94 Bug 1653335 - Get rid of MakeSpan functions. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D83818
2020-08-07 07:50:04 +00:00