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

825673 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Silva 79a23d7ed3 Bug 1804958 - Avoid unnecessary save/restore in ComputeClipExtsInDeviceSpace. r=gfx-reviewers,tnikkel,jrmuizel
I don't expect this to matter for a lot of content, however it avoids an assertion that causes a crashtest to fail.

Differential Revision: https://phabricator.services.mozilla.com/D165291
2023-01-05 14:42:49 +00:00
Nicolas Silva 53b7e952a9 Bug 1804958 - Fix crash in MixModeBlender::CreateBlendTarget. r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D164822
2023-01-05 14:42:49 +00:00
sunil mayya ee869626e0 Bug 1706003 - extend network error checks in EventSourceImpl::OnStopRequest. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D165612
2023-01-05 14:38:26 +00:00
Sylvestre Ledru 62b73ca40c Bug 1750450 - Doc: use the new system for python deps r=firefox-source-docs-reviewers,ahal
Co-author: Andrew Halberstadt <ahal@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D153483
2023-01-05 14:32:11 +00:00
James Graham d48651be0b Bug 1808698 - Fix metadata for serviceworker test, a=testonly. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D166081
2023-01-05 14:32:47 +00:00
James Graham 254929a9a1 Bug 1808694 - Fix html/dom/idlharness.https.html metadata, a=testonly CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D166079

Depends on D166078
2023-01-05 14:18:19 +00:00
James Graham 321f5e7f4a Bug 1808683 - Fix line breaking test metadata, a=testonly
Differential Revision: https://phabricator.services.mozilla.com/D166078

Depends on D166077
2023-01-05 14:18:16 +00:00
James Graham 77c767bcc0 Bug 1808681 - Fix event handler test metadata, a=testonly
Differential Revision: https://phabricator.services.mozilla.com/D166077
2023-01-05 14:18:13 +00:00
Yoshi Cheng-Hao Huang 230d9802ae Bug 1808360 - Add error message for external import maps. r=jonco,flod
Differential Revision: https://phabricator.services.mozilla.com/D166028
2023-01-05 14:16:58 +00:00
Dave Townsend c3e70a0637 Bug 1807002: Only mark interaction modules as loaded in nightly builds. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D166067
2023-01-05 14:05:16 +00:00
Emilio Cobos Álvarez d86ebe2a1e Bug 1808624 - Partially revert test_focus_menu.xhtml changes from regressing bug.
No review, trivial test change.

Differential Revision: https://phabricator.services.mozilla.com/D166070
2023-01-05 14:00:50 +00:00
Tim Huang 46841f5f7f Bug 1808212 - Part 3: Adding the content blocking pref setting for the level2 list pref in private windows. r=anti-tracking-reviewers,bvandersloot
This patch adds the content blocking pref setting for the level 2 list
pref in private windows. Also, we add tests for the new setting in this
patch.

Depends on D165938

Differential Revision: https://phabricator.services.mozilla.com/D165939
2023-01-05 13:37:33 +00:00
Tim Huang 80ba0dbd0c Bug 1808212 - Part 2: Implement the ETP level2 list pref for the private browsing mode. r=dimi
Depends on D165937

Differential Revision: https://phabricator.services.mozilla.com/D165938
2023-01-05 13:37:33 +00:00
Tim Huang 7cf7e3341d Bug 1808212 - Part 1: Add a pref for controlling ETP level 2 list in the private browsing mode. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D165937
2023-01-05 13:37:31 +00:00
Marco Bonardo f74b84ea35 Bug 1805529 - The Sqlite.sys.mjs module may open connections too late on shutdown. r=Gijs
Asynchronously opening a connection through the Sqlite module may intersect a
shutdown phase so that the request for the connection happens when the phase is
still open, but the callback is invoked after the phase has been closed.
In this case adding a shutdown blocker to close the connection will fail and
async shutdown is likely to crash after waiting for the Sqlite module.
In these edge cases it's safer to just close the connection and reject to the
consumer.

Differential Revision: https://phabricator.services.mozilla.com/D164597
2023-01-05 13:33:23 +00:00
ffxbld 9858b2a52e No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D166045
2023-01-05 13:10:13 +00:00
Butkovits Atila 76f987d460 Backed out changeset 12293be9ad25 (bug 1789399) for causing Assertion failures at Logging.h. CLOSED TREE 2023-01-05 15:19:16 +02:00
Greg Stoll d86f570a9a Bug 1808379 - don't return reference to temporary object r=yjuglaret
Differential Revision: https://phabricator.services.mozilla.com/D165995
2023-01-05 12:40:28 +00:00
Greg Stoll 8bda354b80 Bug 1808126 - fix --disable-updater build r=yjuglaret
Differential Revision: https://phabricator.services.mozilla.com/D165783
2023-01-05 12:39:51 +00:00
Eden Chuang 4e29ec7e28 Bug 1789399 - Print out the creation stack and the last assignment stack of CheckedUnsafePtr when it is unsafe. r=dom-worker-reviewers,janv,jstutte,smaug
Differential Revision: https://phabricator.services.mozilla.com/D162823
2023-01-05 12:31:59 +00:00
Jan de Mooij 3fb0073a8b Bug 1808216 part 3 - Remove JSContext* argument from FoldConstants. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D165829
2023-01-05 12:31:37 +00:00
Jan de Mooij 09a87896a1 Bug 1808216 part 2 - Simplify JSStringBuilder API. r=arai
Depends on D165827

Differential Revision: https://phabricator.services.mozilla.com/D165828
2023-01-05 12:31:37 +00:00
Jan de Mooij 66ed417ee8 Bug 1808216 part 1 - Change StringBuffer constructor to take either JSContext* or FrontendContext* but not both. r=arai
In `StringBuffer::inflateChars` we now copy the alloc policy from the Latin1 buffer.
This lets us remove the `fc_` and `arenaId_` fields from `StringBuffer`.

Differential Revision: https://phabricator.services.mozilla.com/D165827
2023-01-05 12:31:36 +00:00
Jari Jalkanen 53d75ad2b8 Bug 1789585 - Add file system as LockedGetUsage client. r=dom-storage-reviewers,janv
Depends on D163699

Differential Revision: https://phabricator.services.mozilla.com/D165322
2023-01-05 11:51:28 +00:00
Jari Jalkanen b31c4e77db Bug 1789585 - Store total file size and if size is constant to usage schema. r=dom-storage-reviewers,janv
Depends on D163634

Differential Revision: https://phabricator.services.mozilla.com/D163699
2023-01-05 11:51:28 +00:00
Jari Jalkanen d4d1d62c61 Bug 1789585 - Replace forward declarations for return type with header includes. r=dom-storage-reviewers,janv
Depends on D163633

Differential Revision: https://phabricator.services.mozilla.com/D163634
2023-01-05 11:51:27 +00:00
Jari Jalkanen 17d96be831 Bug 1789585 - Replace custom schema version getter with existing implementation. r=dom-storage-reviewers,janv
Also the setter is replaced.

Depends on D163632

Differential Revision: https://phabricator.services.mozilla.com/D163633
2023-01-05 11:51:27 +00:00
Jari Jalkanen 6609ede833 Bug 1789585 - Test FileSystemQuotaClient. r=dom-storage-reviewers,jesup,janv
Depends on D165320

Differential Revision: https://phabricator.services.mozilla.com/D163632
2023-01-05 11:51:27 +00:00
Norisz Fay 763b11dc22 Backed out 3 changesets (bug 1806994) for causing failures on test_bug1112014.html CLOSED TREE
Backed out changeset abb5cca27825 (bug 1806994)
Backed out changeset e89aa95fa286 (bug 1806994)
Backed out changeset e5185a9c05fb (bug 1806994)
2023-01-05 13:22:41 +02:00
Jon Coppeard 788a441632 Bug 1808572 - Part 2: Remove some module code that's now dead r=arai
Depends on D165985

Differential Revision: https://phabricator.services.mozilla.com/D165986
2023-01-05 10:24:52 +00:00
Jon Coppeard 35948d26f6 Bug 1808572 - Part 1: Replace use of array object with a native vector for export names r=arai
Rather than create an array object we can use a vector for these names.

One wrinkle is that since we never mutate the name list after it's attached to
the namespace object we don't need barriers on it. This is more convenient
because it allows us to use the same vector type on the stack in a rooted and
in the object itself. I've added comments that hopefully explain things.

Differential Revision: https://phabricator.services.mozilla.com/D165985
2023-01-05 10:24:51 +00:00
Mark Banner 0196053126 Bug 1808202 - Convert newtab DeDupe.jsm, ActorConstants.jsm and Actions.jsm to ES modules and update imports. r=Mardak
Depends on D165820

Differential Revision: https://phabricator.services.mozilla.com/D165821
2023-01-05 09:58:30 +00:00
Mark Banner 0d9268a86c Bug 1808202 - Add ES import handling to jsm to commonjs converter. r=Mardak
Depends on D165819

Differential Revision: https://phabricator.services.mozilla.com/D165820
2023-01-05 09:58:30 +00:00
Mark Banner ac4e3298fb Bug 1808202 - Add babel-plugin-jsm-to-commonjs directly into the tree rather than importing. r=Mardak
This will allow easier development/changes as we proceed to migrate newtab code to ES modules.

The file was imported from 3fefb99f27/plugin.js
with LICENSE added, and formatted/fixed to ESLint standards.

Differential Revision: https://phabricator.services.mozilla.com/D165819
2023-01-05 09:58:29 +00:00
Peter Van der Beken d304a1e132 Bug 1806994 - Define @@toStringTag on Xrays for namespace objects. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D165459
2023-01-05 09:51:41 +00:00
Peter Van der Beken 0f7ff57550 Bug 1806994 - Define @@toStringTag on the WebAssembly namespace object. r=rhunt
Namespace objects have a class string (https://webidl.spec.whatwg.org/#ref-for-dfn-class-string⑨)
so they need to have a @@toStringTag property (https://webidl.spec.whatwg.org/#ref-for-dfn-class-string).

Depends on D165457

Differential Revision: https://phabricator.services.mozilla.com/D165458
2023-01-05 09:51:41 +00:00
Peter Van der Beken 5d6f458f88 Bug 1806994 - Define @@toStringTag on namespace objects. r=smaug
Namespace objects have a class string (https://webidl.spec.whatwg.org/#ref-for-dfn-class-string⑨)
so they need to have a @@toStringTag property (https://webidl.spec.whatwg.org/#ref-for-dfn-class-string).

Differential Revision: https://phabricator.services.mozilla.com/D165457
2023-01-05 09:51:40 +00:00
Butkovits Atila ac3d237b7a Backed out changeset 38fcdae79f60 (bug 1789399) for causing bustages at CheckedUnsafePtr.h. CLOSED TREE 2023-01-05 11:56:33 +02:00
Eden Chuang 9245c681e7 Bug 1789399 - Print out the creation stack and the last assignment stack of CheckedUnsafePtr when it is unsafe. r=dom-worker-reviewers,janv,jstutte,smaug
Differential Revision: https://phabricator.services.mozilla.com/D162823
2023-01-05 09:37:15 +00:00
Julian Descottes 4416c6dd87 Bug 1748112 - [devtools] Do not pass lineNumber = 0 to viewSource r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D165877
2023-01-05 09:25:58 +00:00
moz-wptsync-bot 61d61f311c Bug 1808568 - [wpt-sync] Update web-platform-tests to b60d99641d9fd8b0a741665a32e7e1feb45a2c3a, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: b60d99641d9fd8b0a741665a32e7e1feb45a2c3a
wpt-type: landing
2023-01-05 09:09:17 +00:00
moz-wptsync-bot 91eab024bd Bug 1808501 [wpt PR 36908] - Update wpt metadata, a=testonly
wpt-pr: 36908
wpt-type: metadata
2023-01-05 09:09:16 +00:00
github-actions[bot] f8a963f4b4 Bug 1808501 [wpt PR 36908] - Sync interfaces/ with @webref/idl 3.22.6, a=testonly
Automatic update from web-platform-tests
Sync interfaces/ with @webref/idl 3.22.6 (#36908)

Co-authored-by: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com>
--

wpt-commits: b60d99641d9fd8b0a741665a32e7e1feb45a2c3a
wpt-pr: 36908
2023-01-05 09:09:15 +00:00
moz-wptsync-bot 52035d453f Bug 1808494 [wpt PR 37227] - Update wpt metadata, a=testonly
wpt-pr: 37227
wpt-type: metadata
2023-01-05 09:09:15 +00:00
BruceDai 0242b5ce51 Bug 1808494 [wpt PR 37227] - Fixed CI failure of idlharness.js for unexposed overloaded functions., a=testonly
Automatic update from web-platform-tests
Fixed CI failure of idlharness.js for unexposed overloaded functions. (#37227)

--

wpt-commits: 26372edb32920988006a28ef5149349fcb467c9c
wpt-pr: 37227
2023-01-05 09:09:14 +00:00
moz-wptsync-bot d765e41e4c Bug 1805797 [wpt PR 37515] - Update wpt metadata, a=testonly
wpt-pr: 37515
wpt-type: metadata
2023-01-05 09:09:14 +00:00
Yao Xiao 863b2eb857 Bug 1805797 [wpt PR 37515] - [shared storage] add permissions policy for individual output gate: selectURL() and privateAggregation, a=testonly
Automatic update from web-platform-tests
[shared storage] add permissions policy for individual output gate: selectURL() and privateAggregation

This allows more fine-grained control of the output gates

PR: https://github.com/WICG/shared-storage/pull/52

This CL only implement the PAA check for shared storage part. For FLEDGE, it will be done in a separate CL.

Also add the new features in
kFencedFrameOpaqueAdsDefaultAllowedFeatures: they are supposed to
be used from within the FF.

The private aggregation permissions policy is tested in a browser test / is not easily testable via web_test: right now, only selectURL()’s result rendered in FF can expose state in the worklet; but if the permissions policy is disallowed in the embedder, the FF navigation will fail (as the permissions is in kFencedFrameOpaqueAdsDefaultAllowedFeatures).

Bug: 1400840
Change-Id: I74a285827126f5cf8a43cb780e37693f4c0c7ddf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4105180
Reviewed-by: Liam Brady <lbrady@google.com>
Reviewed-by: Qingxin Wu <qingxinwu@google.com>
Commit-Queue: Yao Xiao <yaoxia@chromium.org>
Reviewed-by: Cammie Smith Barnes <cammie@chromium.org>
Reviewed-by: Alex Turner <alexmt@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1088572}

--

wpt-commits: 672e9117cea01a92608718952f0174b8d490966a
wpt-pr: 37515
2023-01-05 09:09:13 +00:00
Morten Stenshorne 4734bf18ae Bug 1808389 [wpt PR 37746] - Fragments may become monolithic even if the node isn't., a=testonly
Automatic update from web-platform-tests
Fragments may become monolithic even if the node isn't.

So ask the fragment instead of the LayoutBox. This is an old problem,
and it prevented pre-paint from understanding that a monolithic
fragment would be the containing block for OOF descendants (normally in
block fragmentation, OOFs are direct children of a fragmentainer, but
not if they are contained by a monolithic fragment, like in this case).
However, with CL:4110949 the problem became more severe, since we may
now force off fragmentation at the last OOF fragment (if it's inside a
clipped container), making it monolithic.

out-of-flow-in-multicolumn-112.html is a test for the regression, while
out-of-flow-in-multicolumn-113.html is a test that would fail even
without the aforementioned CL.

Bug: 1404718
Change-Id: I68ebd5218c2bd0e3e895eaf757a90cbc8594a028
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4131528
Reviewed-by: Alison Maher <almaher@microsoft.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1088506}

--

wpt-commits: bd8b3c5448c15c15b7eb67cade1a1913ba07b647
wpt-pr: 37746
2023-01-05 09:09:13 +00:00
Mason Freed 0d0b2d477c Bug 1808435 [wpt PR 37753] - Restore popover focus no matter if the focus moved during showPopover, a=testonly
Automatic update from web-platform-tests
Restore popover focus no matter if the focus moved during showPopover

See crbug.com/1371629 for context. The prior behavior was to only
return focus on hidePopover() if the focus actually moved while
showing the popover. This CL changes that so that focus always
returns to the previously focused element on hidePopover.

Bug: 1307772
Change-Id: I6614637445f72f171a63df019ed131d20a6a6cca
Fixed: 1371629
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4093435
Auto-Submit: Mason Freed <masonf@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1088483}

--

wpt-commits: 4da8c23ccf2e4dc7ac0e50044238e57d2ceb92bb
wpt-pr: 37753
2023-01-05 09:09:12 +00:00
moz-wptsync-bot d4c5d787e0 Bug 1808404 [wpt PR 37748] - Update wpt metadata, a=testonly
wpt-pr: 37748
wpt-type: metadata
2023-01-05 09:09:11 +00:00