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

763894 Коммитов

Автор SHA1 Сообщение Дата
Jeff Muizelaar 3272c0e6ca Bug 1721631 - Remove Android WebRender experiment hack. r=jnicol,geckoview-reviewers,agi
We're not running this experiment anymore.

Differential Revision: https://phabricator.services.mozilla.com/D120487
2021-07-21 21:22:43 +00:00
Ryan Hunt 930974921e Bug 1721590 - wasm: Fix error messages for unexpected const opcode. r=yury
Differential Revision: https://phabricator.services.mozilla.com/D120496
2021-07-21 21:02:03 +00:00
Ryan Hunt 31e9f276ce Bug 1721001 - wasm: Fix bustage due to missing ifdefs. r=yury
Differential Revision: https://phabricator.services.mozilla.com/D120382
2021-07-21 21:02:02 +00:00
Mike Hommey 6f6b4a5e21 Bug 1721514 - Use bootstrapped sysroot when it's there. r=firefox-build-system-reviewers,andi
We do that with everything else (i.e. clang, cbindgen, etc.). We weren't
doing it for sysroots because the support was experimental and the path
was independent of the target, so there was no guarantee that the
sysroot would actually work for the target. As that's not the case
anymore, we can go with more consistency with the bootstrapped
toolchains.

Differential Revision: https://phabricator.services.mozilla.com/D120417
2021-07-21 21:00:14 +00:00
Mike Hommey dda1875bdd Bug 1721514 - Add a few more debugging logs about configure bootstrap. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D120416
2021-07-21 21:00:13 +00:00
Shane Caraveo 28025bf825 Bug 1720221 use failover proxy for NET_RESET errors r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D120523
2021-07-21 20:55:19 +00:00
Agi Sferro 16cdae67a6 Bug 1721669 - Don't overload ensure_browser_packages. r=nalexander
ensure_browser_packages is used for another purpose since Bug 1718341.

this also fixed a missing overload for ensure_android_artifact_mode_packages
and ensure_js_packages and some missing arguments in install_android_packages.

Differential Revision: https://phabricator.services.mozilla.com/D120511
2021-07-21 20:55:00 +00:00
Butkovits Atila 37f150f5a9 Backed out changeset e2a97835b604 (bug 1721197) for causing dt failures at browser_dbg-breakpoints-in-evaled-sources.js. CLOSED TREE 2021-07-22 01:36:15 +03:00
Butkovits Atila 61be2b5334 Backed out changeset 7d53ab517f06 (bug 1719492) for causing bc failures at browser_all_files_referenced.js 2021-07-22 01:34:09 +03:00
Butkovits Atila e3cb57c97c Merge mozilla-central to autoland. CLOSED TREE 2021-07-22 00:57:15 +03:00
Alexandre Poirot fa2165038d Bug 1721403 - [devtools] Fix browser_target_list_switchToTarget.js with server side targets. r=jdescottes
TabDescriptor.getTarget now only works if a TargetCommand is setup
and we called startListening on it.
And there is no way to retrieve another tab's target from
a given tab's TargetCommand/commands.

So here we should use two distinct commands.
Note that this test is covering cases we don't really support.
Switching between two distinct tab's top targets isn't something that should happen.
But I think it is still valuable to cover as it may later help us work on bug 1569859.

Differential Revision: https://phabricator.services.mozilla.com/D120358
2021-07-21 20:42:28 +00:00
Robert Mader 72071bbdf9 Bug 1716108 - Do not set buffer scale when using compositor integration. r=stransky
Because `NativeLayerWayland` uses an invisible 1x1 pixel buffer for
`moz_container_wayland` which only serves as parent surface, not
holding any content.

If we set a buffer scale >1 to it, this would violate the spec:
> The new size of the surface is calculated based on the buffer
> size transformed by the inverse buffer_transform and the inverse
> buffer_scale. This means that at commit time the supplied buffer
> size must be an integer multiple of the buffer_scale. If that's
> not the case, an invalid_size error is sent.

Currently compositors appear to not strictly follow this, only
printing warnings. This could change at any time though.

Differential Revision: https://phabricator.services.mozilla.com/D119995
2021-07-21 20:35:43 +00:00
Robert Mader 6c6538a65d Bug 1721036 - Delay buffer commits until the surface is ready,r=stransky
When the `MozContainer` surface is not yet ready in `Commit()`,
we need to queue the commit.
Similar to `nsWindow` and `WaylandVsyncSource` we can do so by
registering via a callback via `add_initial_draw_callback()`.

This required some logic changes which let to clean ups and
simplifications in the whole file (I'm sorry it got so big).

Differential Revision: https://phabricator.services.mozilla.com/D120429
2021-07-21 20:34:55 +00:00
Glenn Watson 371f4cd13b Bug 1721111 - Introduce picture graph and port initial picture pass to use it r=gfx-reviewers,bradwerth,kvark
In future, we want to persist a lot more of the information about
primitive instances between display lists. This will allow us to
implement a number of optimizations and improvements to the scene
and frame building code (such as reducing per-frame per-prim work
that is typically mostly redundant, supporting prims other than
pictures that can contain child primitives, unifying and optimizing
primitive dependency updates).

As a step towards that, this patch introduces a picture graph which
is very similar to the idea of the render task graph builder. With
this in place, we're able to run picture updates without using
recursion, and ensuring we update pictures in the correct order
that the pass requires. This will allow us to un-tangle a lot of
the existing scene building, visibility, prep and batching pass
complexity, in order to be able to implement the above.

Differential Revision: https://phabricator.services.mozilla.com/D120191
2021-07-21 20:25:33 +00:00
Robert Mader 2553bda47b Bug 1721298 - Reenable unconditional pausing of WR in compositor mode, r=stransky
At as temporary measure to fix popups in compositor mode until some
fixes landed in FF and Mutter.

Differential Revision: https://phabricator.services.mozilla.com/D120300
2021-07-21 20:09:01 +00:00
Bernard Igiri 4431dfd334 Bug 1703914 - Removed --toolbarbutton-icon-fill-opacity CSS var r=mconley,desktop-theme-reviewers,dao
All uses of --toolbarbutton-icon-fill-opacity have been removed.

Differential Revision: https://phabricator.services.mozilla.com/D120352
2021-07-21 20:07:56 +00:00
Dan Mosedale fff4f52a07 Bug 1721649 - remove newtab `mach npm run mochitest*`, r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D120500
2021-07-21 19:57:59 +00:00
Julian Descottes 3a99d0521f Bug 1721197 - [devtools] Add test re-opening the toolbox after setting breakpoints in evaled sources r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D120504
2021-07-21 19:38:36 +00:00
Luca Greco e723364e2c Bug 1720487 - Ensure QuotaManager does not evict PERSISTENT_TYPE_DEFAULT data associated to a WebExtension origin. r=dom-storage-reviewers,asuth
This patch introduce an additional check inside the Helper::GetInactiveOriginInfos static method
used internally by CollectOriginsForEviction to ensure that QuotaManager will not select an
extension origin as an inactive origin to evict non persisted data from.

The rationale is that unlike websites (which may more likely using the locally stored data
as a local cache, but still able to retrieve the same data again from the server side),
extensions do not have a remote counterpart and so evicting their data would result
into potential data loss for the users.

Besides that, the browser extensions (unlike websites) are explicitly installed and uninstalled by
the user and all the data associated to the extension will be completely removed when the
extension is uninstalled.

Differential Revision: https://phabricator.services.mozilla.com/D120470
2021-07-21 19:27:45 +00:00
Asumu Takikawa 6560623122 Bug 1703089 - Update WPT test metadata for Wasm exceptions JS API r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D119823
2021-07-21 19:17:54 +00:00
Asumu Takikawa d74c22a932 Bug 1703089 - Implement type reflection for WebAssembly.Tag r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D116677
2021-07-21 19:17:54 +00:00
Asumu Takikawa e7dbc802fa Bug 1703089 - Implement WebAssembly.Tag constructor r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D110853
2021-07-21 19:17:53 +00:00
Asumu Takikawa 8cdddd10f7 Bug 1703089 - Add WebAssembly.Exception methods r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D110852
2021-07-21 19:17:53 +00:00
Asumu Takikawa 87dd52d7c1 Bug 1703089 - Implement WebAssembly.Exception constructor r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D110851
2021-07-21 19:17:52 +00:00
Asumu Takikawa 8ed84b3bce Bug 1717118 - Part 2, rename "event" to "tag" throughout r=rhunt
The concept of "events" in the Wasm exception handling proposal
has been renamed to "tags". This commit implements this renaming
in most cases (an exception is text format tests).

Differential Revision: https://phabricator.services.mozilla.com/D118282
2021-07-21 19:17:52 +00:00
Asumu Takikawa 04f64983e2 Bug 1717118 - Part 1, rename JS API classes for exceptions r=rhunt
The Wasm exception handling spec has changed to rename "events"
to "tags". As a result, `WebAssembly.Exception` gets renamed
to `WebAssembly.Tag` and `WebAssembly.RuntimeException` becomes
`WebAssembly.Exception`.

Differential Revision: https://phabricator.services.mozilla.com/D118281
2021-07-21 19:17:51 +00:00
Kajal Sah fb077089e7 Bug 1719492 - Migrates screenshot icons into the browser/component/screenshots directory. r=emalysz
Depends on D118573

Differential Revision: https://phabricator.services.mozilla.com/D119540
2021-07-21 19:09:17 +00:00
Butkovits Atila 65bab54631 Backed out changeset 9d2cc3a9622d (bug 1721631) for causing geckoview failures. CLOSED TREE 2021-07-21 23:54:19 +03:00
Agi Sferro 0e8b9d451f Bug 1716536 - Add missing License headers to mobile. r=aklotz
This also moves some tests to the public domain according to the Mozilla
License Policy: https://www.mozilla.org/en-US/MPL/license-policy/

Differential Revision: https://phabricator.services.mozilla.com/D119824
2021-07-21 18:43:06 +00:00
Gijs Kruitbosch bcbf4ea5cd Bug 1714583 - allow nsIFile::Create to skip creating ancestor directories, to fix IOUtils::makeDirectory, to fix UNC default download folders, r=barret,xpcom-reviewers,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D120338
2021-07-21 18:38:12 +00:00
Jeff Muizelaar c06402f582 Bug 1721631 - Remove Android WebRender experiment hack. r=jnicol,geckoview-reviewers,agi
We're not running this experiment anymore.

Differential Revision: https://phabricator.services.mozilla.com/D120487
2021-07-21 18:30:17 +00:00
Lee Salzman 7b813c3f50 Bug 1713047 - Adjust feDropShadow-01 fuzz for Android + WR. r=aosmond
This is already a known divergence in this test that affects all of WR, rather than a new finding for only Android. We just need to move the fuzz a bit so that Android falls into it as well.

Differential Revision: https://phabricator.services.mozilla.com/D120261
2021-07-21 18:27:26 +00:00
Andrew Osmond 352b525ab8 Bug 1717627 - Part 2. Follow up test fuzzing. r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D120516
2021-07-21 18:05:42 +00:00
Andreea Pavel c75e9d99c7 Merge autoland to mozilla-central a=merge 2021-07-22 00:22:38 +03:00
Andrew Osmond c16e93ddd7 Bug 1717627 - Part 2. Follow up test fuzzing. r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D120516
2021-07-21 18:05:42 +00:00
Jon Coppeard dea98a4362 Bug 1721168 - Make the JS shell's default GC slice budget the same as the browser's r=sfink
This sets the budget to 5ms, as it is for the browser.

Differential Revision: https://phabricator.services.mozilla.com/D120322
2021-07-21 17:43:43 +00:00
Jon Coppeard 64edbccd99 Bug 1434542 - Ensure GC progress by pausing the mutator in long running GCs r=sfink
Usually, when an incremental GC is waiting on background tasks to finish we
yield back to the mutator. This patch changes this so that the main thread
blocks until its budget is exhausted in long running GCs where the slice was
triggered by memory allocation. This allows the GC to catch up with the
mutator.

Differential Revision: https://phabricator.services.mozilla.com/D120321
2021-07-21 17:43:43 +00:00
Jon Coppeard 73b17b4824 Bug 1434542 - Increase the slice budget and frequency as we approach the incremental GC limit r=sfink
This adds an 'urgent' threshold, which is at a configurable point before we
reach the incremental limit. We calculate how close we are to the limit as a
fraction of bytes remaining until we hit it, giving a value in the range 1 to 0
as we apprach it. Then we increase the slice budget in inverse proportion to
this value, and decreases the allocation threshold for the next slice in
proportion to it.

The value for the urgent threshold is chosen as 16MB since the values for the
incremental limit ratio is chosen so that there is always more than 16MB
between the original GC threshold and the incremental limit. This also allows
the effect to vary from subtle to large over several slices, since alloc
triggered slices are initially 1MB apart.

The calculation is chosen to have no effect at the start (at the urgent
threshold itself), rise slowly but becomes asymptotic as we approach the
incremental limit, with the aim of never reaching this limit.

I couldn't think of a better name than 'urgent threshold'. I think it's
reasonable but it's not very descriptive of how it's used. I'd appreciate any
ideas.

Differential Revision: https://phabricator.services.mozilla.com/D120320
2021-07-21 17:43:42 +00:00
Francesco Lodolo (:flod) d29380d22c Bug 1721442 - Add support for ESR91 to cross-channel, r=aki DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D120370
2021-07-21 17:27:39 +00:00
Tom Ritter 1dc9dd7093 Bug 1718066: Add a check against zero r=sefeng
I don't see why this is needed or how we got to this place
but we are getting some divide-by-zero errors and maybe
this will resolve them?

Differential Revision: https://phabricator.services.mozilla.com/D119218
2021-07-21 17:17:44 +00:00
Alexandre Poirot 5658beb6ea Bug 1721556 - [devtools] Fix browser_target_server_compartment.js with server side targets. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D120446
2021-07-21 17:07:19 +00:00
Jon Coppeard 67edae11b1 Bug 1721549 - Provide some GC reasons for embedders to use r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D120455
2021-07-21 17:01:54 +00:00
alwu edc181cd0f Bug 1717171 - only skip to next key frame when video decoding is too slow and later than the media time. r=bryce
We should only seek to the next keyframe in a really bad situation where the video is way too slow and we probably already drop a lot of frames.

Using the audio clock causes seeking to next key frame is too aggresively. That might happen even if only one video frame is late ,which is usually ignorable and won't cause any effect to users. So we should use the media time to perform such checking, not audio clock time.

Differential Revision: https://phabricator.services.mozilla.com/D120418
2021-07-21 16:58:28 +00:00
Iain Ireland 4eef5e5f47 Bug 1721006: Fix getLoopBackedgeOperand r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D120412
2021-07-21 16:58:07 +00:00
Andrew Osmond e54096406f Bug 1715269 - Prefer WebRender over XRender, unless WebRender is force disabled. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D120488
2021-07-21 16:50:46 +00:00
Andrew Osmond adb22f5066 Bug 1721626 - Allow Software WebRender in safe mode. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D120475
2021-07-21 16:50:46 +00:00
Butkovits Atila e336c3ac45 Backed out changeset 05aee86902b7 (bug 1721604) for causing bc failures at browser_startup_syncIPC.js. CLOSED TREE 2021-07-21 21:23:40 +03:00
Alexandre Poirot 995ba3de01 Bug 1721558 - [devtools] Fix browser_debugger_server.js with server side targets. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D120447
2021-07-21 15:58:09 +00:00
Alexandre Poirot 93c951ef59 Bug 1721554 - [devtools] Fix browser_webconsole_sandbox_update_after_navigation.js with server side targets. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D120444
2021-07-21 15:58:08 +00:00
Harry Twyford d63bd760de Bug 1711261 - Increase toolbar contrast in Mac HCM. r=mstange,desktop-theme-reviewers,dao
This patch draws a 1px black line around the Urlbar in macOS HCM, which resembles other high contrast macOS apps. This patch only supports Light HCM mode. Since we apply the Firefox Dark lwttheme when in Dark mode, and we do not support lightweight themes in high contrast mode, significantly more work is required to implement basic support for dark HCM on Mac.

Differential Revision: https://phabricator.services.mozilla.com/D116406
2021-07-21 15:41:50 +00:00