Commit graph

741165 commits

Author SHA1 Message Date
Tooru Fujisawa
c8cc714428 Bug 1687154 - Add raptor's generated files to .gitignore. r=glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D102101
2021-01-19 00:34:55 +00:00
Anny Gakhokidze
7e4c4d4c54 Bug 1687340 - Change test_bfcache_plus_hash.html to use BroadcastChannel, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D102236
2021-01-18 23:49:24 +00:00
Sean Feng
708bd702d2 Bug 1682045 - Allow nsPresContext to store and release the last registered OneShotPostRefreshObserver r=smaug
OneShotPostRefreshObserver works as the caller registers it, and
let it deletes itself via the DidRefresh method. The issue is that
DidRefresh is not guaranteed to run, and it'll leak PresShell
if it doesn't run.

This patch allows nsPresContext to store and release the last
registered OneShotPostRefreshObserver, and converted the existing
usage of OneShotPostRefreshObserver to use that. So instead of asking
OneShotPostRefreshObserver to delete itself, we now ask nsPresContext
to release it.

Differential Revision: https://phabricator.services.mozilla.com/D99939
2021-01-18 19:23:10 +00:00
Barret Rennie
b5871646fc Bug 1682967 - Update alert e-mails in performance telemetry r=sefeng
Differential Revision: https://phabricator.services.mozilla.com/D102032
2021-01-18 23:42:52 +00:00
Mark Striemer
26e42419c9 Bug 1668849 - Part 2: Move base components to top of components section r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D101677
2021-01-18 23:01:31 +00:00
Mark Striemer
5f0cbc5b78 Bug 1668849 - Part 1: Unify more print settings to PrintSettingNumber r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D101676
2021-01-18 23:01:24 +00:00
Brindusan Cristian
4ff2188901 Backed out changeset 8ef2ff6e404d (bug 1682393) for mochitest failures at test_modal_prompts.html and bc failures on browser_tabdialogbox_content_prompts.js. CLOSED TREE 2021-01-19 00:46:10 +02:00
Edgar Chen
dc442f6bea Bug 1556703 - Part 2: Convert new added WPT into mochitest test; r=smaug
Geckodriver doesn't support touch input yet, so convert new added the touch tests
into mochitest, these mochitest wpt could be removed once we could pass the
corresponding tests in wpt.

Depends on D101667

Differential Revision: https://phabricator.services.mozilla.com/D102044
2021-01-18 21:05:59 +00:00
Edgar Chen
fcbd3d2887 Bug 1556703 - Part 1: Update active pointer state properly; r=smaug
Calling setPointerCapture or releasePointerCapture in pointerup event handler would
throw error due to the active pointer is removed in PreHandlerEvent which is too
early. So defer removing active pointer to PostHandeEvent to make the active pointer
available in pointerup or pointercancel event handler.

This patch adds WPTs which has been verified on Chrome. geckodriver doesn't support
touch input yet, so mark tests for touch as expected ERROR for now.

Differential Revision: https://phabricator.services.mozilla.com/D101667
2021-01-18 22:14:39 +00:00
Hiroyuki Ikezoe
2ac3b069ae Bug 1685293 - Wait for a scroll event instead of a wheel event to make sure the wheel scroll position has been reflected on the main-thread. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D101402
2021-01-18 22:15:40 +00:00
Micah Tigley
f1550637b1 Bug 1682393 - Show origin for tabmodal alert/confirm/prompt dialogs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D102077
2021-01-18 22:06:02 +00:00
Stephen A Pohl
0e81772176 Bug 1687268: Prevent Obj-C exceptions caused by attempts to insert NULL objects into a dictionary. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D102235
2021-01-18 21:45:45 +00:00
Jonathan Kew
fa6b797928 Bug 1686274 - Put the activation of app-bundled fonts behind a pref on all platforms, with a default auto option that is Windows-version-sensitive. r=lsalzman
This allows us to default to skipping the bundled Twemoji Mozilla font when running on Win8.1 or later,
where we can assume Segoe UI Emoji is available.

The new pref here replaces the existing pair of boolean prefs that were only supported on Android,
and is now respected on all platforms. Available settings are:

    0     disable use of app-bundled fonts
    > 0   enable use of app-bundled fonts
    < 0   default (auto): decide at startup, based on the system environment

(The pref is relevant only at startup; changing its value during a session will not make the bundled fonts
appear/disappear dynamically.)

Differential Revision: https://phabricator.services.mozilla.com/D102085
2021-01-18 20:04:36 +00:00
Brindusan Cristian
f85118ee44 Merge mozilla-central to autoland on a CLOSED TREE 2021-01-18 23:44:15 +02:00
Brindusan Cristian
c54c71ecbd Merge autoland to mozilla-central. a=merge 2021-01-18 23:41:13 +02:00
Glenn Watson
7606c9048e Bug 1684781 - Pt 2 - Remove root_pic_index. r=nical
Instead, top level tile cache pictures are stored in the scene.

Follow up tasks in this bug will be simplified by having pictures
only exist when they have Some(..) for requested_composite_mode.

This patch removes one case of a pass-through picture, and
simplfies some of the surrounding code in the process.

Differential Revision: https://phabricator.services.mozilla.com/D101539
2021-01-18 21:32:34 +00:00
Csoregi Natalia
af61aa1d72 Backed out changeset 0b6e13411d3f (bug 1646817) for causing crashes on macOS. a=backout 2021-01-18 18:32:42 +02:00
Tom Schuster
71555984ed Bug 1687063 - Improve error messages when trying to consume a Reponse for WebAssembly. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D102055
2021-01-18 12:16:33 +00:00
Csoregi Natalia
1091647af5 Backed out changeset ecd3cad19246 (bug 1687195) for reftest failures on /feBlend-1.svg. CLOSED TREE 2021-01-18 14:36:37 +02:00
Hunter Jones
f6b8c4d848 Bug 1677107: Add Telemetry for tracking multiple PiP support usage r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D97077
2021-01-18 12:09:22 +00:00
Edgar Chen
59f2cc6232 Bug 1687069 - Part 2: Remove test_wpt_pointerevent_setpointercapture_to_same_element_twice-manual.html; r=masayuki
As the wpt is not longer a manual test, and we could pass the wpt one.

Depends on D102070

Differential Revision: https://phabricator.services.mozilla.com/D102071
2021-01-18 07:06:52 +00:00
Edgar Chen
5966cdd18f Bug 1687069 - Part 1: Modify wpt pointerevents/pointerevent_setpointercapture_to_same_element_twice-manual.html to use WebDriver; r=masayuki
Depends on D102069

Differential Revision: https://phabricator.services.mozilla.com/D102070
2021-01-18 11:07:36 +00:00
Edgar Chen
1c65254657 Bug 1687068 - Part 2: Remove test_wpt_pointerevent_setpointercapture_override_pending_capture_element-manual.html; r=masayuki
As the wpt is not longer a manual test, and we could pass the wpt one.

Depends on D102068

Differential Revision: https://phabricator.services.mozilla.com/D102069
2021-01-18 07:05:18 +00:00
Edgar Chen
5d1f4cd0f9 Bug 1687068 - Part 1: Modify wpt pointerevent_setpointercapture_override_pending_capture_element-manual.html to use WebDriver; r=masayuki
Depends on D102059

Differential Revision: https://phabricator.services.mozilla.com/D102068
2021-01-18 11:07:13 +00:00
Edgar Chen
ddbdc9a935 Bug 1687066 - Part 2: Remove test_wpt_pointerevent_releasepointercapture_release_right_after_capture-manual.html; r=masayuki
As it is not longer a manual test in wpt, and we could pass the wpt one.

Differential Revision: https://phabricator.services.mozilla.com/D102059
2021-01-18 07:04:50 +00:00
Edgar Chen
bcce26da80 Bug 1687066 - Part 1: Modify wpt pointerevent_releasepointercapture_release_right_after_capture-manual.html to use WebDriver; r=masayuki
Depends on D102057

Differential Revision: https://phabricator.services.mozilla.com/D102058
2021-01-18 11:03:38 +00:00
Edgar Chen
79d4538dcb Bug 1687062 - Part 2: Remove test_wpt_pointerevent_element_haspointercapture_release_pending_capture-manual.html; r=masayuki
As it is not longer a manual test in wpt, and we could pass the wpt one.

Differential Revision: https://phabricator.services.mozilla.com/D102057
2021-01-18 06:58:21 +00:00
Edgar Chen
909e3744b5 Bug 1687062 - Part 1: Modify wpt pointerevent_element_haspointercapture_release_pending_capture-manual.html to use WebDriver; r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D102056
2021-01-18 11:02:23 +00:00
Simon Giesecke
3ba44f6590 Bug 1685098 - Remove now unused REPORT_TELEMETRY_INIT_ERR macro and telemetry definition. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D102182
2021-01-18 11:36:15 +00:00
Julian Descottes
59f257e05b Bug 1686933 - [devtools] Remove unused sendPacket/sendPacketToThread helpers r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D101920
2021-01-18 11:35:24 +00:00
longsonr
3beb46b1eb Bug 1687195 - Invalid enums should return the initial value, not the unknown value r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D102131
2021-01-18 11:10:56 +00:00
Simon Giesecke
b6fbbfced5 Bug 1685098 - Migrate one more call to QM_TRY in QuotaManager::InitializeRepository. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D102181
2021-01-18 11:04:32 +00:00
Emilio Cobos Álvarez
e1948af749 Bug 1687126 - Fix HTMLStyleElement::UnbindFromTree to always remove its stylesheet. r=smaug
This matches other browsers and
https://github.com/w3c/csswg-drafts/issues/3096.

It also matches SVGStyleElement and HTMLLinkElement of course.

Differential Revision: https://phabricator.services.mozilla.com/D102089
2021-01-18 11:09:55 +00:00
Csoregi Natalia
76177ae407 Backed out changeset d2c7360e9d01 (bug 1659383) for failures on iframe-focuses-parent-different-site.html. CLOSED TREE 2021-01-18 12:36:49 +02:00
Xidorn Quan
c91cd9645e Bug 1130891 part 5 - Add test for the copy behavior. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D102099
2021-01-18 09:26:18 +00:00
Robert Mader
736a9e904d Bug 1588904 - [Linux/EGL] Use correct rendering device in multi-GPU setup, r=stransky,emilio,jgilbert,geckoview-reviewers,m_kato
Fetch the DRM device in the EGL version of glxtest, set it in gfxInfo and pass
it to gfxVars. Finally, use it in nsDMABufDevice::Configure().

While on it, also clean up EGL typedefs and defines a bit to match how it's
done for GLX.

Inspired by and copied from wlroots and Xwayland. Thanks to emersion!

Differential Revision: https://phabricator.services.mozilla.com/D98108
2021-01-18 09:26:21 +00:00
Akshat Dixit
a1ccc07a39 Bug 1619197 Added .opus file to audiofilter r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D100526
2021-01-18 09:18:43 +00:00
Alexandre Poirot
8e41ab4800 Bug 1489217 - Pull out headers and cookies fetching from _createNetworkEvent into a dedicated function. r=bomsy
I'm doing that because previous patch triggered an eslint warning
about _createNetworkEvent being too complex.

Differential Revision: https://phabricator.services.mozilla.com/D101829
2021-01-18 08:48:12 +00:00
Alexandre Poirot
4544e6fbb4 Bug 1489217 - Avoid 'NS_ERROR_FAILURE [nsITraceableChannel.setNewListener]' exception when running DevTools. r=bomsy
This exception happens quite frequently with Fission enabled as we start observing requests
while the page already start loading. This happens frequently when target switching.

Differential Revision: https://phabricator.services.mozilla.com/D101828
2021-01-18 08:49:50 +00:00
Nicolas Chevobbe
3206d5a328 Bug 1686036 - [devtools] Avoid error count icon unnecessary render. r=jdescottes.
In `setErrorCount`, we used to call setToolboxButtons unconditionally, which means
that it was called each time a resource was added or updated.
This was very expensive and would cause some slowness, especially on pages with
a lot of network requests, as revealed by DAMP tests.

In this patch, we don't call setToolboxButtons if the error count did not change.
On top of that, we add a throttle mechanism so the function can't be called more
than twice per second.

Differential Revision: https://phabricator.services.mozilla.com/D102136
2021-01-18 09:15:31 +00:00
Matt Woodrow
85f20360d8 Bug 1683120 - Ensure that we always read unlock textures with LayerManagerComposite, even if there was no work to do. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D100967
2021-01-18 04:02:08 +00:00
Andrew Nicols
7086057010 Bug 1684002 - [wdspec] Test mouse moves before click r=webdriver-reviewers,whimboo
Depends on D101752

Differential Revision: https://phabricator.services.mozilla.com/D100435
2021-01-18 00:31:31 +00:00
Andrew Nicols
cabecc76ed Bug 1684002 - [wdspec] Move filter_dict helper to shared helpers r=webdriver-reviewers,whimboo
Depends on D100381

Differential Revision: https://phabricator.services.mozilla.com/D101752
2021-01-18 00:31:24 +00:00
Andrew Nicols
82983a9801 Bug 1684002 - [marionette] Synthesize a pointerMove action during elementClick r=marionette-reviewers,whimboo
For W3C WebDriver Standards compliance the pointer should be moved to
the click target before the click occurs.

Differential Revision: https://phabricator.services.mozilla.com/D100381
2021-01-18 00:33:01 +00:00
Ted Campbell
379fb62483 Bug 1687174 - Avoid extra loops in Stencil instantiation for full parse. r=arai
If we know the Stencil is for a full parse, we can avoid extra traversals
during instantiation. Use the CanLazilyParse method from BytecodeCompiler to
determine if this is definitely a full parse.

Differential Revision: https://phabricator.services.mozilla.com/D102109
2021-01-17 22:54:10 +00:00
Ted Campbell
3ea242b734 Bug 1687174 - Cleanup CompilationGCOutput::functions initialization. r=arai
Depends on D102107

Differential Revision: https://phabricator.services.mozilla.com/D102108
2021-01-17 21:36:01 +00:00
Ted Campbell
287ed9bf4e Bug 1687174 - Cleanup Stencil InstantiateTopLevel. r=arai
Depends on D102106

Differential Revision: https://phabricator.services.mozilla.com/D102107
2021-01-17 21:35:58 +00:00
Ted Campbell
f7e65b0692 Bug 1687174 - Refactor Stencil MaybeInstantiateModule. r=arai
Depends on D102105

Differential Revision: https://phabricator.services.mozilla.com/D102106
2021-01-17 21:35:56 +00:00
Ted Campbell
b5eff41218 Bug 1687174 - Clarify phases of CompilationStencil instantiation. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D102105
2021-01-17 21:35:48 +00:00
Emilio Cobos Alvarez
a8cc412d5c Bug 1551040 - Add a windows-only exception for autocomplete-item.css.
Win-only orange on a CLOSED TREE.
2021-01-18 00:25:47 +02:00