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

764382 Коммитов

Автор SHA1 Сообщение Дата
Morgan Reschenberg d2e0092207 Bug 1720012: Respect system colors checkbox independent of HCM r=emilio
Previously, we only respected the user's system colors preference in the case that a user (a) was not using a high contrast theme or (b) was using the high contrast theme supplied by firefox (FF-HCM).
Any OS-level HCM forced system colors and rendered the checkbox non-functional. We also previously computed visited link color via foreground/background composition, but this is only necessary on Windows HCM where the theme fails to specify a visited link color.

Differential Revision: https://phabricator.services.mozilla.com/D119814
2021-07-28 17:25:59 +00:00
Morgan Reschenberg 72570f3a98 Bug 1720792: Add MozNativevisitedhyperlinktext color, use it to style visited links r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D120657
2021-07-28 17:25:58 +00:00
Florian Quèze 48d950012e Bug 1716343 - Add profiler markers for Web Extension API calls, r=mixedpuppy.
Differential Revision: https://phabricator.services.mozilla.com/D118529
2021-07-28 17:22:09 +00:00
Florian Quèze fdeb4f2306 Bug 1641298 - record a CompositorScreenshotWindowDestroyed marker from ProfilerScreenshots to indicate to the profiler front-end that a window has been closed, r=mstange.
Differential Revision: https://phabricator.services.mozilla.com/D120729
2021-07-28 17:21:09 +00:00
Cosmin Sabou 7e5aea8bff Backed out 2 changesets (bug 1722275, bug 1722680) for snapshots related xpcshell and bc failures. CLOSED TREE
Backed out changeset 62ed0dc702e1 (bug 1722275)
Backed out changeset 70d2848c396a (bug 1722680)
2021-07-28 20:51:36 +03:00
Cosmin Sabou 8dd2d16e8a Backed out 12 changesets (bug 1688794) for xpcshell failures on test_ext_background_service_worker.js. CLOSED TREE
Backed out changeset 121b0b4cf551 (bug 1688794)
Backed out changeset 4888b8daa6b9 (bug 1688794)
Backed out changeset 79d28566a20c (bug 1688794)
Backed out changeset 5f36aebf0f6e (bug 1688794)
Backed out changeset eacb72c5069a (bug 1688794)
Backed out changeset 073610dd3479 (bug 1688794)
Backed out changeset 4230722c8e8e (bug 1688794)
Backed out changeset 7c57cdfa5b32 (bug 1688794)
Backed out changeset f370efcfeb76 (bug 1688794)
Backed out changeset d1285544f83c (bug 1688794)
Backed out changeset 936e59acffdc (bug 1688794)
Backed out changeset 2cdb8f0337ee (bug 1688794)
2021-07-28 20:41:24 +03:00
Mark Banner 7c6988fbe9 Bug 1722275 - Add a basic framework for collecting page data from loaded pages. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D120825
2021-07-28 17:14:34 +00:00
Sandor Molnar 68cdec0548 Backed out changeset 7eb8945dd8e3 (bug 1719272) for causing bustages in gecko decision task. CLOSED TREE 2021-07-28 19:47:06 +03:00
Dave Townsend 1b5514dd08 Bug 1722680 - Store and retrieve pagedata for snapshots. r=mossop
Depends on D120498

Differential Revision: https://phabricator.services.mozilla.com/D120848
2021-07-28 16:38:18 +00:00
Emily McMinn 21caec765a Bug 1720759 - Refactoring aboutwelcome.scss r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D120757
2021-07-28 16:33:17 +00:00
Thomas Wisniewski f9961ce5e8 Bug 1713726 - Add a SmartBlock shim for Ads By Google; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D121098
2021-07-28 16:29:14 +00:00
Hubert Boma Manilla 8197c6fc6a Bug 1721161 - [devtools] Fix debugger highlight on pause/resume xhr breakpoints r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D120978
2021-07-28 16:21:30 +00:00
Christoph Kerschbaumer bb716f0701 Bug 1719272: Annotate failing browser/ tests to potentially enable https-first mode in Nightly r=webcompat-reviewers,denschub,webdriver-reviewers,preferences-reviewers,Gijs,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D119177
2021-07-28 16:08:07 +00:00
Sandor Molnar bc0367b130 Backed out changeset 5b8c62520ec4 (bug 1722275) for causing bc failures in browser_all_files_referenced. CLOSED TREE 2021-07-28 19:32:11 +03:00
Mark Banner a8f1cd2ddd Bug 1722275 - Add a basic framework for collecting page data from loaded pages. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D120825
2021-07-28 15:26:48 +00:00
Gijs Kruitbosch 6fce85b1ba Bug 1708462 - add warning level linter for OS.File use, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D120684
2021-07-28 15:15:03 +00:00
Andrew Osmond a742ce8568 Bug 1722723 - Fix benign data race in OMTASampler::Sample. r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D121091
2021-07-28 14:33:21 +00:00
Andrew Osmond 1ec8367419 Bug 1722721 - Suppress new TSAN failures for WebRender. r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D121090
2021-07-28 14:33:11 +00:00
Andrew Osmond 56948dcec7 Bug 1722725 - Fix benign race in AsyncPanZoomController::SetTestAsyncScrollOffset. r=gfx-reviewers,jrmuizel
This got tripped in the tsan tests, but should only happen during
testing.

Differential Revision: https://phabricator.services.mozilla.com/D121092
2021-07-28 14:32:54 +00:00
Alexandre Poirot 364136604c Bug 1721991 - [devtools] Disable failing assertion of browser_target_list_tab_workers_bfcache_navigation.js. r=nchevobbe
These assertion fails quite frequently with fission and even more with server side targets.
We should investigate that in bug 1722709 before re-enabling this.

Differential Revision: https://phabricator.services.mozilla.com/D121089
2021-07-28 14:14:48 +00:00
Ted Campbell f3326c91ec Bug 1688794 - Remove code for the (now unused) self-hosting zone. r=jandem,jonco
The dedicated zone for self-hosting can now be removed entirely. Also remove the
object cloning code that was only used for the old self-hosting mechanism.

Differential Revision: https://phabricator.services.mozilla.com/D120547
2021-07-28 14:10:01 +00:00
Ted Campbell 1f57d353aa Bug 1688794 - Run self-hosted top-level in target realm instead of cloning. r=jandem
The top-level script for selfhosted.js defines a few builtin values when it
executes. Instead of relying on cloning these objects into normal realms, this
patch now executes the script in the target realm itself. We run this script on
demand when we are first looking up a builtin that is neither a C++ intrinsic,
nor a self-hosted function defined in the stencil. In practice, this is not run
except when certain Intl APIs are used in a realm.

Work around the testGCOutOfMemory test now that there is no initial nursery
usage during startup. This test case should be improved in future.

Differential Revision: https://phabricator.services.mozilla.com/D120546
2021-07-28 14:10:01 +00:00
Ted Campbell 16ce6c6b75 Bug 1688794 - Directly use the self-hosted stencil in more places. r=jandem
Where we previously queried information directly on the uncloned self-hosted
functions, we now query these flags and names directly from the stencil.

Differential Revision: https://phabricator.services.mozilla.com/D120545
2021-07-28 14:10:00 +00:00
Ted Campbell 93f363022d Bug 1688794 - Delazify self-hosted functions directly from the stencil. r=jandem,arai
Instead of using script-cloning, delazify by directly instantiating the script
data from the self-hosting CompilationStencil. We are only instantating a single
(top-level) function of the self-hosting at a time, so a special version of the
instantiation code is introduced to handle sub-trees. The CompilationGCOutput is
also giving offset indices to avoid allocations in most cases (since the output
structure reserves inline space).

Differential Revision: https://phabricator.services.mozilla.com/D120544
2021-07-28 14:10:00 +00:00
Ted Campbell d213cddb28 Bug 1688794 - Use the stencil when looking up self-hosted values that are functions. r=jandem
The previous patch handled the case where a FunctionSpec uses self-hosting, and
this patch now handles self-hosting references to other self-hosted functions.

Previously this was would do a deep-clone, but now we use the lazy self-hosted
function mechanism and delazify on demand.

Differential Revision: https://phabricator.services.mozilla.com/D120543
2021-07-28 14:09:59 +00:00
Ted Campbell d5bcf4a4f1 Bug 1688794 - Use the stencil to create lazy self-hosted functions. r=jandem
Instead of using the self-hosted zone as a template to create the initial lazy
self-hosted functions in a Realm, use the stencil data directly. Later patches
will also use this stencil to delazify these functions.

Differential Revision: https://phabricator.services.mozilla.com/D120542
2021-07-28 14:09:59 +00:00
Ted Campbell f3a6119d67 Bug 1688794 - Add mapping from atom to self-hosting ScriptIndex. r=jandem,arai
On the JSRuntime, save a mapping from (permanent) JSAtoms to corresponding
self-hosted stencil ScriptIndex. We store both the ScriptIndex and the index of
the next top-level functions. Scripts in this range are sub-scripts of the
target. This is used later to instantiate self-hosted builtins on demand.

Differential Revision: https://phabricator.services.mozilla.com/D120541
2021-07-28 14:09:59 +00:00
Ted Campbell cafe2686fc Bug 1688794 - Keep self-hosting stencil alive for duration of runtime. r=nbp
In order to instantiate directly from the self-hosting stencil (instead of
cloning from the special zone), we need the stencil to be part of the JS
runtime. This adds 45kB per content process right now, but will allow us to
remove the self-hosting zone entirely which will more than make up for this.

Differential Revision: https://phabricator.services.mozilla.com/D120540
2021-07-28 14:09:58 +00:00
Ted Campbell f7b2fc1e68 Bug 1688794 - Instantatiate self-hosting C++ intrinsics directly from JSFunctionSpec. r=jandem
Instead of defining these intrinsics directly on the self-hosting global and
cloning on demand, directly use the JSFunctionSpec in the target global. This
removes the need to pre-define these on the self-hosting global. Use a binary
search to find the intrinsic on first use in a realm and then cache it on the
intrinsics holder object so that the lookup only happens once per realm.

Differential Revision: https://phabricator.services.mozilla.com/D120539
2021-07-28 14:09:58 +00:00
Ted Campbell 0c5eb67302 Bug 1688794 - Cleanup self-hosting helpers for later use by stencil methods. r=jandem
Make these few functions accessible to Stencil.cpp and clean up function signatures.

Differential Revision: https://phabricator.services.mozilla.com/D120538
2021-07-28 14:09:58 +00:00
Ted Campbell f86787ec41 Bug 1688794 - Factor js::ScopeIndex to its own file. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D120537
2021-07-28 14:09:57 +00:00
Ted Campbell 32f5e21054 Bug 1688794 - Fix nursery handling for GetIntrinsic in WarpBuilder. r=jandem
Later patches will run `SetIntrinsic` calls in normal realms instead of relying
on the initial-self-hosting-GC. This means that `GetIntrinsic` can occasionally
see nursery objects so WarpBuilder must be adapted. This is more of an edge case
so simply defer Warp while we wait for a minor GC.

Differential Revision: https://phabricator.services.mozilla.com/D120536
2021-07-28 14:09:57 +00:00
Kimberly Sereduck 2620e5f835 WIP: Bug 1721640: Re-record tp6 test for ebay r=perftest-reviewers,Bebe
fix manifest file

Differential Revision: https://phabricator.services.mozilla.com/D120502
2021-07-28 13:31:01 +00:00
Tooru Fujisawa 2fa55acc4e Bug 1722690 - Use explicit name for LifoAllocScope used by parser. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D121082
2021-07-28 13:14:54 +00:00
Jeff Muizelaar f3d15afeac Bug 1722635 - Add some brief Moz2D documentation. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D121035
2021-07-28 13:11:41 +00:00
Nicolas Silva 92039c823e Bug 1711648 - Remove redundant Box2d type. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D120069
2021-07-28 12:45:28 +00:00
Harry Twyford 35a8095796 Bug 1690016 - Allow suggestions from engines that escape Unicode characters. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D121005
2021-07-28 12:44:30 +00:00
Nicolas Silva 7315cd8716 Bug 1721437 - Render clear tiles before alpha tiles. r=gfx-reviewers,bradwerth
Before this patch the clear tiles were drawn last which meant they would always be drawn on top of all transparent content. It was finde under the assumption that nothing is ever rendered on top of clear tiles, however it turns out to be an issue with the proton window modal darkining which renders some semi-transparent black on top of the whole window (including window controls on windows 8 which use clear tiles). Since the occlusion culling treats clear tiles as opaque they will cut through anything under them regardless of the drawing order, so we can render them before transaprent tiles to get the correct result which is to overwrite what's under the clear tile while still being able to render semi-transparent content on top.

Differential Revision: https://phabricator.services.mozilla.com/D120844
2021-07-28 12:44:08 +00:00
Richard Marti 084e0e97ff Bug 1722588 - Reintroduce the :not([disabled="true"]) check for menu. r=Gijs,emilio
Differential Revision: https://phabricator.services.mozilla.com/D121002
2021-07-28 12:10:37 +00:00
Alexandre Poirot 7b8be8dd09 Bug 1722553 - [devtools] Avoid enabling server targets for WebExtension commands. r=jdescottes
WebExtension reload command is still broken with target switching.
Enabling server targets would break this on all reloads.
So prevent enabling server targets until this is fixed.

Differential Revision: https://phabricator.services.mozilla.com/D120982
2021-07-28 12:04:32 +00:00
Nicolas Chevobbe 38c85b13c1 Bug 1722665 - [devtools] Use reloadViewport helper for reloading page in RDM tests. r=ochameau.
Depends on D121058

Differential Revision: https://phabricator.services.mozilla.com/D121059
2021-07-28 12:04:01 +00:00
Nicolas Chevobbe 2d0b1355f3 Bug 1722461 - [devtools] Wait for dom-complete after reloading in browser_viewport_resizing_after_reload.js . r=ochameau.
This patch adds a `reloadViewport` helper that listen for both the viewport
`load` event and for the next dom-complete DOM event so the page is fully loaded.
This makes the test to pass when server side target switching is enabled.

Depends on D120979

Differential Revision: https://phabricator.services.mozilla.com/D121058
2021-07-28 12:04:01 +00:00
Hubert Boma Manilla c0f417dca9 Bug 1722677 - [devtools] Fix intermittent for browser_net_stacktraces-visibility.js with server targets r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D121072
2021-07-28 11:51:37 +00:00
Hubert Boma Manilla 6649d46dda Bug 1722688 - [devtools] Fix browser_dbg-unselected-pause.js failure with server targets r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D121073
2021-07-28 11:50:16 +00:00
Alexandre Poirot 0a1553cb94 Bug 1722501 - [devtools] Remove now unused DOCUMENT_EVENT's dom-loading's shouldBeIgnoredAsRedundantWithTargetAvailable attribute. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D120962
2021-07-28 11:48:48 +00:00
Alexandre Poirot 382206d3e0 Bug 1722501 - [devtools] Migrate styleeditor to will-navigate. r=nchevobbe
We used to handle navigation with a subtle and complex combination of target-available + dom-loading.
Just because we were missing will-navigate event in some cases.
But will-navigate is now reliable and is fired in all types of navigations.

Differential Revision: https://phabricator.services.mozilla.com/D120961
2021-07-28 11:48:47 +00:00
Alexandre Poirot 472ebe58a2 Bug 1722664 - [devtools] Fix browser_net_error-boundary-01.js intermittent with server targets. r=nchevobbe
Accessing TargetMixin.localTab during destroy is risky as it may throw.
Reading TabDescriptor.localTab is safer as it will never throw.

This test was failing intermittently on debug builds.

Differential Revision: https://phabricator.services.mozilla.com/D121055
2021-07-28 11:42:28 +00:00
Alexandre Poirot 2a1c2621cb Bug 1722545 - [devtools] Disable server targets in browser_perf-docload.js/browser_perf-refresh.js. r=nchevobbe
The old performance panel behaves quite differently in case of target switching.
It will open a brand new profile for the next test, which confuses these tests.

Differential Revision: https://phabricator.services.mozilla.com/D120990
2021-07-28 11:42:27 +00:00
Mark Banner 64df328393 Bug 1722691 - Allow hooks to report the count of ESLint warnings as well as errors. r=marco
Differential Revision: https://phabricator.services.mozilla.com/D121076
2021-07-28 11:30:29 +00:00
Mark Banner ad83deac79 Bug 1722691 - Enable ESLint in CI to report warnings when required. r=marco
Differential Revision: https://phabricator.services.mozilla.com/D121074
2021-07-28 11:30:28 +00:00