Commit Graph

838909 Commits

Author SHA1 Message Date
BruceDai
bb4fab4039 Bug 1828569 [wpt PR 39591] - [webnn] Update float32 tests for WebNN prelu op with constant operand slope, a=testonly
Automatic update from web-platform-tests
[webnn] Update float32 tests for WebNN prelu op with constant operand slope (#39591)

--

wpt-commits: 50afacfa8e1411d3558be4d18bc0c1ea376c6d7f
wpt-pr: 39591
2023-04-21 08:42:53 +00:00
moz-wptsync-bot
c49683ad28 Bug 1828730 [wpt PR 39599] - Update wpt metadata, a=testonly
wpt-pr: 39599
wpt-type: metadata
2023-04-21 08:42:53 +00:00
Joey Arhar
2f28682525 Bug 1828730 [wpt PR 39599] - Add checks for popovers moving between documents, a=testonly
Automatic update from web-platform-tests
Add checks for popovers moving between documents

Without these checks, we can get into very bad state that can crash the
renderer. This was raised here:
https://github.com/whatwg/html/issues/9177

Change-Id: I3cda0143c76f62709af8593182b4c3a4f8849fd7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4443007
Reviewed-by: Mason Freed <masonf@chromium.org>
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132191}

--

wpt-commits: 0a40de7a4db9e52cdb0fc436173640756740c9e3
wpt-pr: 39599
2023-04-21 08:42:52 +00:00
stransky
20e71eb9a2 Bug 1829229 [Linux] Add glxtest and vaapitest to artifacts builds r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D176121
2023-04-21 08:28:53 +00:00
Mike Hommey
1b4a9de576 Bug 1274334 - Enable STL wrappers on macos. r=firefox-build-system-reviewers,ahochheiden
Practically speaking, this doesn't make a huge difference, because
libmozglue contains operator new/operator delete overrides. This will
enable inlining opportunities, though.

It is worth noting that there's equivalent code in
js/src/old-configure.in but it's left as is because it is actually no-op
at the moment. This will be fixed in bug 1829049.

The check for __EXCEPTIONS is replaced with __cpp_exceptions because the
former is defined for any type of exception, including ObjC exceptions,
while the latter is defined for C++ exceptions only.

Differential Revision: https://phabricator.services.mozilla.com/D175976
2023-04-21 08:26:50 +00:00
Yoshi Cheng-Hao Huang
1a3fee6081 Bug 1828130: r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D175912
2023-04-21 08:05:44 +00:00
Mike Hommey
c82691a556 Bug 1829011 - Remove section about installing Visual Studio. r=sylvestre DONTBUILD
This is now taken care of by `mach bootstrap`/auto-bootstrap.

Differential Revision: https://phabricator.services.mozilla.com/D175957
2023-04-21 07:03:59 +00:00
Andreas Pehrson
10eace7bf0 Bug 1826526 - In test_gUM_basicScreenshare.html adjust thresholds and re-enable on Mac. r=webrtc-reviewers,ng
This patch introduces multiple thresholds, depending on platform and color, as
the colors rendered to screen are captured in the display rgb color profile on
Mac and therefore can be significantly off. See bug 1827606 for always capturing
in sRGB.

Differential Revision: https://phabricator.services.mozilla.com/D174754
2023-04-21 06:58:39 +00:00
Andreas Pehrson
7ed4104a88 Bug 1826526 - In test_gUM_basicScreenshare.html draw white instead of grey. r=webrtc-reviewers,ng
White is less susceptible to false positives than grey with a high threshold,
given that all its components are at an extreme (255 vs 128).

Differential Revision: https://phabricator.services.mozilla.com/D174753
2023-04-21 06:58:39 +00:00
Paul Bone
53172d841f Bug 1828638 - Don't track PHC hits/misses unless logging is enabled r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D175991
2023-04-21 06:40:39 +00:00
Paul Bone
74078e545a Bug 1828638 - Log the number of freed cells in PHC r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D175832
2023-04-21 06:40:39 +00:00
Masayuki Nakano
770f2ee8b6 Bug 1829048 - Clean up ini files under editor/ r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D175975
2023-04-21 04:28:27 +00:00
Sergey Galich
470a8fec63 Bug 1825115 - Add "Use Relay email mask" to the context menu on <input type=email> r=groovecoder,credential-management-reviewers,flod,issammani
Differential Revision: https://phabricator.services.mozilla.com/D174361
2023-04-21 03:27:58 +00:00
Mike Conley
11e8037546 Bug 1829196 - Use the term 'Continue' rather than 'Done' in the success state of the new migration wizard when embedding. r=niklas,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D176072
2023-04-21 03:18:13 +00:00
Mike Conley
525e997fbb Bug 1820640 - Add a card to about:welcome that embeds the Migration Wizard if configured to do so. r=pdahiya,omc-reviewers
This adds a card to the about:welcome defaults that embeds the new Migration Wizard
if  browser.migrate.content-modal.about-welcome-behavior is set to "embedded".

This requires adding a useEmbeddedMigrationWizard targeting attribute to
ASRouterTargeting.

Differential Revision: https://phabricator.services.mozilla.com/D175945
2023-04-21 03:18:12 +00:00
Mike Conley
af83292a15 Bug 1820640 - Enforce left-alignment and expose the button containers for the new Migration Wizard. r=kpatenio
This is so that the contents of the Migration Wizard don't get automatically
centered if its embedding context is centering things.

This change also makes it so that embedders can customize some of the rules of how
buttons are laid out.

Differential Revision: https://phabricator.services.mozilla.com/D171771
2023-04-21 03:18:12 +00:00
Cosmin Sabou
382bd8db17 Merge mozilla-central to autoland. 2023-04-21 06:06:26 +03:00
Cosmin Sabou
26790fecfc Backed out changeset f70225b67b76 (bug 1538043) for causing Bug 1829262. a=backout 2023-04-21 06:04:10 +03:00
Cristian Tuns
86a15fe92b Backed out 5 changesets (bug 1826681) for causing build bustages in WebGPUChild.cpp/Device.cpp CLOSED TREE
Backed out changeset 17c9673361fc (bug 1826681)
Backed out changeset 47a2a358111e (bug 1826681)
Backed out changeset b71415253dd2 (bug 1826681)
Backed out changeset f99d74976f29 (bug 1826681)
Backed out changeset d2a6476fe2d4 (bug 1826681)
2023-04-20 22:36:10 -04:00
Erich Gubler
22caa4fec8 Bug 1826681: fix(webgpu): present label in shader comp. msgs. in console r=webgpu-reviewers,nical
This context is crucial for debugging, kthxbai.

Differential Revision: https://phabricator.services.mozilla.com/D175406
2023-04-21 01:57:20 +00:00
Erich Gubler
dae0e28576 Bug 1826681: fix(webgpu): propagate label to new shader modules r=webgpu-reviewers,nical
We don't set the [`GPUObjectBase.label`] of the `shaderModule` we create in our implementation of [`GPUDevice.createShaderModule`], but we should. Fix it! You can see this reflected in the error diagnostics currently returned by Naga in the [`GPUCompilationMessage.message`] field.

[`GPUObjectBase.label`]: https://www.w3.org/TR/webgpu/#dom-gpuobjectbase-label
[`GPUDevice.createShaderModule`]: https://www.w3.org/TR/webgpu/#dom-gpudevice-createshadermodule
[`GPUCompilationMessage.message`]: https://www.w3.org/TR/webgpu/#dom-gpucompilationmessage-message

Differential Revision: https://phabricator.services.mozilla.com/D175405
2023-04-21 01:57:20 +00:00
Erich Gubler
8cd23a6c2a Bug 1826681: feat(webgpu): add sentinel shader compilation msg. in console r=webgpu-reviewers,nical
@jimb expressed concern that a collapsed group of compilation messages for WebGPU shaders in the JS console isn't easy enough to discern from scanning a console log manually. We can't associate a log level with the group itself (which would let us paint the group with color for contrast), unfortunately. So, we decided to have a "sentinel" message right before groups that uses the highest "severity" of message in the entire set of compilation messages.

Differential Revision: https://phabricator.services.mozilla.com/D175404
2023-04-21 01:57:20 +00:00
Erich Gubler
54bcb69019 Bug 1826681: feat(webgpu): print counts of shader compilation messages by type r=webgpu-reviewers,nical
Refine the console group title for shader compilation messages by adding aggregated counts of each message by type.

Differential Revision: https://phabricator.services.mozilla.com/D175402
2023-04-21 01:57:20 +00:00
Erich Gubler
4c643626c6 Bug 1826681: feat(webgpu): log shader creation msgs. to console r=webgpu-reviewers,nical
Time to finally add some (barebones) diagnostics! When a user calls [`GPUDevice.createShaderModule`], if there are any messages returned:

1. Create a collapsed console group. Use a generic title for the console group (for now).
1. Inside the console group, print containing a log entry per message with a JS log level according to the message severity.

Differential Revision: https://phabricator.services.mozilla.com/D175303
2023-04-21 01:57:20 +00:00
Makoto Kato
6200ec5835 Bug 1828461 - Load LoadURIDelegate as lazy module. r=geckoview-reviewers,calu
After landing bug 1673068, `LoadURIDelegate.jsm` isn't used until error page
is shown. This should move to lazy and convert to ES system module.

Differential Revision: https://phabricator.services.mozilla.com/D175661
2023-04-21 01:45:22 +00:00
Cosmin Sabou
0262ee3584 Bug 1827704 - Fix Bugzilla linting opt failures. r=glandium
CLOSED TREE
2023-04-21 05:05:29 +03:00
Shravan Narayan
ed0bb19d78 Bug 1827704 - Migrate to the upstream wasm2c for RLBox sandboxing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D175439
2023-04-21 01:31:35 +00:00
Masayuki Nakano
4d6ebc058d Bug 1829032 - Sort tests in ini files under widget/tests for conforming to the lint rules r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D175973
2023-04-21 01:23:52 +00:00
Cosmin Sabou
a313fe665f Backed out changeset dfee2337391b (bug 1828968) for causing windows build bustages. CLOSED TREE 2023-04-21 03:20:10 +03:00
Dana Keeler
a004a348f2 Bug 1828968 - osclientcerts: make RSA-PSS support configurable via pref r=jschanck
Due to design constraints, it is difficult for osclientcerts to properly
indicate whether or not each known key supports RSA-PSS. Ideally such a
determination would be made close to when a particular key is going to be used,
but due to the design of PKCS#11 and NSS' tight coupling to it, osclientcerts
would have to make this determination when searching for all known keys, which
has been shown to be prohibitively slow on Windows and results in unexpected
dialogs on macOS.

Thus, previously osclientcerts simply assumed all RSA keys supported RSA-PSS.
This has resulted in handshake failures when a server indicates that it accepts
RSA-PSS signatures.

This patch instead makes RSA-PSS support configurable via a pref
(security.osclientcerts.assume_rsa_pss_support). If the pref is true,
osclientcerts assumes all RSA keys support RSA-PSS. If it is false, it assumes
no RSA keys support RSA-PSS.

Differential Revision: https://phabricator.services.mozilla.com/D175966
2023-04-21 00:01:06 +00:00
Emilio Cobos Álvarez
c4b6dc1954 Bug 1829209 - Simplify a bit MutationObservers. r=webidl,smaug
ShouldAssert is always yes since I removed the native anonymous child
list thing, so we can just assert always.

The remaining customization is only about whether we should notify
the pres shell before or after the rest of the observer (we only need to
notify before for removals).

We only need one notifier thingie, since pres shell is an
nsIMutationObserver.

Differential Revision: https://phabricator.services.mozilla.com/D176077
2023-04-20 23:14:55 +00:00
Dana Keeler
f0596227b1 Bug 1811645 - avoid an American English colloquialism meaning "nonsense" r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D175802
2023-04-20 22:24:00 +00:00
Mike Hommey
96a660c057 Bug 1828783 - Allow to selectively opt in or out of bootstrapping specific toolchains in mach bootstrap. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D175826
2023-04-20 21:51:08 +00:00
Mike Hommey
c25d86db7a Bug 1821227 - Update builders to rustc 1.69. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D175814
2023-04-20 21:50:13 +00:00
Mike Hommey
94f435dbdc Bug 1828577 - Properly set *-stl-wrapper.template.h as an input to the make-stl-wrappers script. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D175734
2023-04-20 21:49:03 +00:00
Cosmin Sabou
7dc58e5ce4 Bug 1821047 - Mark subtest on bufferedAmount-unchanged-by-sync-xhr.any.js as intermittent after the wpt-sync. a=test-only 2023-04-21 00:50:05 +03:00
Tarik Eshaq
5109cec905 Bug 1829002: Adds push on firefox internal documentation. r=jrconlin
Differential Revision: https://phabricator.services.mozilla.com/D175959
2023-04-20 21:20:54 +00:00
Emilio Cobos Álvarez
1d61a94f1b Bug 1828477 - Support input type=date in non-tabbrowser windows. r=Gijs,geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D175771
2023-04-20 21:14:07 +00:00
Justin Link
d4b63553f2 Bug 1828427 - Removed incorrect assertion r=gerard-majax
Differential Revision: https://phabricator.services.mozilla.com/D175663
2023-04-20 21:05:18 +00:00
Cosmin Sabou
805e431261 Bug 1814093 - Disable browser_dbg-watchpoints.js because of frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D176083
2023-04-20 20:54:02 +00:00
Glenn Watson
c30819ffdf Bug 1828798 - Further update to fuzziness for tier 2 456219-1a.html. r=gfx-reviewers,lsalzman
A few pixels extra fuzziness is required after bug 1829027 landed.

Differential Revision: https://phabricator.services.mozilla.com/D176084
2023-04-20 20:49:45 +00:00
Henrik Skupin
37f592ef82 Bug 1824841 - [wdspec] Improve assertions for tests in /mozilla/tests/webdriver/new_session/profile_root.py r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D173767
2023-04-20 20:21:45 +00:00
Julian Descottes
7cfa924151 Bug 1829152 - Add example.net for http3 mochitests r=ahal
example.net is used in many devtools browser mochitests and should be available for http3 browser mochitests

Differential Revision: https://phabricator.services.mozilla.com/D176030
2023-04-20 20:05:10 +00:00
Otto Länd
e260690333 Bug 1821061: apply code formatting via Lando
# ignore-this-changeset
2023-04-20 20:27:14 +00:00
Ryan Hunt
f9f9bdc510 Bug 1821061 - wasm: Batch allocate bytes for tables and tags in instance data. r=jseward
We do this for type definitions, and can do this for tables and tags for consistency.

Depends on D172027

Differential Revision: https://phabricator.services.mozilla.com/D172028
2023-04-20 19:55:10 +00:00
Ryan Hunt
82ada43419 Bug 1821061 - wasm: Rename to use 'instanceData' consistently. r=jseward
We use many variations of 'global data', 'global area', and more recently
'instance data'. I prefer 'instance data' as 'global' is ambiguous with
wasm globals, which while stored in the instance are not the only thing
stored there. The naming scheme for this originated when globals were
the only thing stored there, so we should now change it.

Depends on D172026

Differential Revision: https://phabricator.services.mozilla.com/D172027
2023-04-20 19:55:10 +00:00
Ryan Hunt
3ecfbf79f2 Bug 1821061 - wasm: Fix code generation of downcasts on x86/arm32. r=jseward
BaseCompiler::loadTypeDef assumes that it can use InstanceReg, but that
is only true on non x86/arm32.

This commit removes loadWasmGlobalPtr, as it's just a thin wrapper around
loadPtr that obscures more than helps. Callers of that now just specify
the register that contains the instance directly. This demystifies what's
going on. We can then fix baseline to use a register it has allocated.

Differential Revision: https://phabricator.services.mozilla.com/D172026
2023-04-20 19:55:10 +00:00
Lee Salzman
eadab49de4 Bug 1828904 - Only accelerate with clear if rect is sufficiently large. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D176073
2023-04-20 19:19:15 +00:00
Lee Salzman
c891dafa82 Bug 1829203 - Fix valgrind suppression in Skia. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D176074
2023-04-20 19:14:22 +00:00
Cristian Tuns
b8f66c974f Bug 1828402 - Ignore dom/media/webvtt/vtt.sys.mjs for eslint prettier failures.r=fix CLOSED TREE 2023-04-20 15:42:41 -04:00