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

795572 Коммитов

Автор SHA1 Сообщение Дата
Butkovits Atila 1013e73681 Backed out changeset b831ee293939 (bug 1766047) for causing linting failures. CLOSED TREE 2022-05-18 02:04:13 +03:00
Emilio Cobos Álvarez d4a47c1121 Bug 1768194 - Specify the origin trials production key. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D145726
2022-05-17 22:41:51 +00:00
Nika Layzell e1e439a7b1 Bug 1769619 - Introduce nsIDocShellTreeOwner::primaryContentBrowsingContext, r=smaug
This is currently effectively just a helper around the existing
properties. Theoretically we could streamline things here in the future
by managing primary content entirely based on BrowsingContext rather
than docshell, but there's enough complexity there right now with other
properties like updating properties on content shells as they're
attached, that it's probably not worth trying to unify right now,
especially considering the low number of consumers.

Differential Revision: https://phabricator.services.mozilla.com/D146495
2022-05-17 22:11:33 +00:00
Daniel Holbert caef665f7f Bug 1769832: Move a print-related #include to an ifdef-guarded section, to fix compile error with --disable-printing. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D146627
2022-05-17 21:55:45 +00:00
Henrik Skupin ee5c6046af Bug 1757701 - [puppeteer] Disable Husky when installing Puppeteer via npm. r=webdriver-reviewers,jdescottes
Depends on D145857

Differential Revision: https://phabricator.services.mozilla.com/D145858
2022-05-17 21:52:11 +00:00
Henrik Skupin 4a53582427 Bug 1757701 - [puppeteer] Allow to skip the installation of Husky in the prepare step. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D145857
2022-05-17 21:52:10 +00:00
Henrik Skupin fed5cd90f7 Bug 1768871 - Remove Marionette test js/xpconnect/tests/marionette/test_preloader_telemetry.py r=webdriver-reviewers,dthayer,jdescottes
Turns out that this test didn't provide any value since it was
added. As such lets get it removed.

Differential Revision: https://phabricator.services.mozilla.com/D146628
2022-05-17 21:51:22 +00:00
Mike Hommey efb6750853 Bug 1769666 - Re-enable PGO jarlog on Android. r=agi
It was disabled in bug 1539933 but since then, the signing scripts have
been fixed so the work around shouldn't be necessary anymore.

Differential Revision: https://phabricator.services.mozilla.com/D146518
2022-05-17 21:38:19 +00:00
Matthew Gaudet 631930c237 Bug 1769649 - Remove duplicated definition of ReadableStreamReaderMode in JS Streams implementation r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D146510
2022-05-17 21:38:03 +00:00
Butkovits Atila 160c12d050 Backed out changeset 7b69c225f7c7 (bug 1769624) because the patch is not ready yet. CLOSED TREE 2022-05-18 01:40:17 +03:00
Rob Wu 088fac1bec Bug 1766047 - Reject updates that have a mismatching version r=rpl,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D144498
2022-05-17 21:08:21 +00:00
Jeff Muizelaar 763746d9d3 Bug 1769839 - Record the GMP download failure reason in telemetry. r=chutten
We're seeing a number of download failures in the field. It would be
nice to understand why they're happening.

Differential Revision: https://phabricator.services.mozilla.com/D146623
2022-05-17 20:56:43 +00:00
Alexandre Lissy 9ba8c615d5 Bug 1769624 - Verify shutdown status before asserting r=nika
Differential Revision: https://phabricator.services.mozilla.com/D146567
2022-05-17 20:44:24 +00:00
Andrew McCreight 5b3d5c09ae Bug 1514936, part 3 - Remove NS_ERROR_NO_AGGREGATION which is no longer used. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D146458
2022-05-17 20:24:20 +00:00
Andrew McCreight fa8bfd1245 Bug 1514936, part 2 - Drop the outer arguments from static components. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D146457
2022-05-17 20:24:19 +00:00
Andrew McCreight c8c5c819df Bug 1514936, part 1 - Remove the outer argument to nsIFactory::createInstance. r=xpcom-reviewers,preferences-reviewers,nika,Gijs
This patch won't actually build, because a few bits of code are used
for both nsIFactory::createInstance and static components, and static
components are not fixed until the next patch.

The first place is nsLoadGroupConstructor, which uses an nsIFactory
macro to create a static component constructor. (This could be worked
around by expanding the macro to the state before this patch.)

The other issue is that nsAppShellConstructor is used in an nsIFactory
on OSX, but as a static component on all other platforms. This could
be worked around by wrapping nsAppShellConstructor in an adaptor that
passes in the extra null argument to nsAppShellConstructor.

Differential Revision: https://phabricator.services.mozilla.com/D146456
2022-05-17 20:24:19 +00:00
Dana Keeler 9fc6a0a416 Bug 1769638 - let the intermediate preloading healer ride the trains r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D146505
2022-05-17 20:23:17 +00:00
David Parks 80bfc4acf7 Bug 1767948: Make Windows cursor hiding dependent on if mouse is installed r=Jamie,cmartin
We don't need to track cursor hiding when typing if there shouldn't be a cursor anyway because there is no mouse.

Differential Revision: https://phabricator.services.mozilla.com/D146516
2022-05-17 20:05:08 +00:00
Glenn Watson 0c67406f3b Bug 1769682 - Add support for filters on backdrop-filter elements r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D146529
2022-05-17 19:51:24 +00:00
Kagami Sascha Rosylight 043f38ccaf Bug 1769290 - Part 4: Apply mozilla-js-handle-rooted-typedef against dom/workers r=mccr8,dom-worker-reviewers,smaug
Changes done by `./mach static-analysis check --checks="-*,mozilla-js-handle-rooted-typedef" --fix --header-filter=dom dom/workers; ./mach clang-format --outgoing`.

Depends on D146453

Differential Revision: https://phabricator.services.mozilla.com/D146454
2022-05-17 19:48:04 +00:00
Butkovits Atila 039058996c Bug 1732920 - Lint fix. r=fix. CLOSED TREE 2022-05-17 22:13:21 +03:00
Eitan Isaacson f2c37a12b2 Bug 1564997 - Clean up AccessFu.properties. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D146354
2022-05-17 18:52:14 +00:00
Edgar Chen 0b3765204b Bug 1732920 - Add data type for IPCDataTransferData; r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D146074
2022-05-17 18:47:39 +00:00
Drew Willcoxon fdfc68e1eb Bug 1769783 - Disable adaptive history autofill on Nightly until the matching logic is improved. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D146595
2022-05-17 18:25:49 +00:00
Iain Ireland 2ea6b822d2 Bug 1768660: Skip fewer values in buildExpressionStack r=jandem
For the innermost frame of debugger mode bailouts, the current approach effectively uses an allow-list to decide which stack slots need to be recovered. This is fragile to any future bytecode changes that keep values alive on the expression stack. It's also unnecessary: if we just recover slots that are included in the snapshot, and skip slots that don't have allocations, everything works out.

Differential Revision: https://phabricator.services.mozilla.com/D146525
2022-05-17 18:17:51 +00:00
Sebastian Hengst 49bf17f17f Bug 1769555 - set partitioned-web-locks.tentative.https.html as failing on beta and release. r=jgraham
This reverts the undesired change by bug 1765419 and uses he one by bug 1765981.

First party isolation (partioning) is only enabled in Nightly. Bug 1549587 is
the general bug tracking first party isolation.

Differential Revision: https://phabricator.services.mozilla.com/D146486
2022-05-17 18:11:40 +00:00
Nicolas B. Pierron bc755258bc Bug 1768630 - Replace CompileAndDelazifyToStencil by a CompileOption. r=arai
Instead of having a function dedicated to parsing eagerly every function, while
filling the stencil cache, we delegate to the code which would be used in
production to do so.

This is achieved by using instrumentation which creates DelazifyTasks for
scripts which have a delazification mode which implies populating the stencil
cache.

Differential Revision: https://phabricator.services.mozilla.com/D145995
2022-05-17 16:58:38 +00:00
Sebastian Hengst c552340e0c Backed out 5 changesets (bug 1769569) for causing devtools' browser/browser_page_redirection.js to fail. CLOSED TREE
Backed out changeset 66a42eb3a366 (bug 1769569)
Backed out changeset d3cc9629cd9a (bug 1769569)
Backed out changeset edcd3dade079 (bug 1769569)
Backed out changeset 29d8dd058b7a (bug 1769569)
Backed out changeset 1aed34fdf2d3 (bug 1769569)
2022-05-17 19:49:17 +02:00
Sebastian Hengst 825a31e539 Backed out 6 changesets (bug 1757833) for Linux base toolchains build failure
Backed out changeset c8117edaf054 (bug 1757833)
Backed out changeset a46efd9967d0 (bug 1757833)
Backed out changeset f33955b6a7cc (bug 1757833)
Backed out changeset 71f1afa82581 (bug 1757833)
Backed out changeset 868407dccba9 (bug 1757833)
Backed out changeset 79873d83d02b (bug 1757833)
2022-05-17 19:46:50 +02:00
Sebastian Hengst 19411ba80c Bug 1765047 - disabled secure-contexts/basic-dedicated-worker.html on Android debug
This failed after the latest wpt sync with upstream (bug 1769511) due to an
attempted unexpected external connection from the testing environment.
2022-05-17 19:45:00 +02:00
Mark Banner 5865f044db Bug 1769569 - Fix remaining ESLint no-undef and no-unused-vars issues in sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146452
2022-05-17 16:50:33 +00:00
Mark Banner 4acbb4ff59 Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-17 16:50:33 +00:00
Mark Banner 5b82552956 Bug 1769569 - Disable reject-importGlobalProperties for sjs files via the ESLint rule. r=Gijs
Depends on D146450

Differential Revision: https://phabricator.services.mozilla.com/D146598
2022-05-17 16:50:32 +00:00
Mark Banner 8a964a11ea Bug 1769569 - Make use-cc-etc auto-fixable. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146450
2022-05-17 16:50:32 +00:00
Mark Banner 55789cb268 Bug 1769569 - Enable ESLint rule no-define-cc-etc for devtools sjs files. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D146449
2022-05-17 16:50:31 +00:00
Alexandre Poirot b798b2e643 Bug 1529621 - [devtools] Make all panel's destroy method be synchronous. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D146533
2022-05-17 16:45:13 +00:00
Bryan Thrall 47bd5772df Bug 1757833 - Add PerfStat probes for bytecode cache reads, writes, compression, and decompression r=nbp,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D145012
2022-05-17 16:29:05 +00:00
Bryan Thrall 7713c8dd36 Bug 1757833 - Add Profiler markers to track compression cost r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D144738
2022-05-17 16:29:04 +00:00
Bryan Thrall f4b0ea4ace Bug 1757833 - Add mochitest for compressed bytecode caching r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D145346
2022-05-17 16:29:04 +00:00
Bryan Thrall 91ba7a42fa Bug 1757833 - Add browser.cache.jsbc_compression_level static preference r=nbp
This simplifies profiling since now we can see the results within a single build
based on the preference (though there is still a slight cost to copying the
bytecode).

Setting to (the default) 0 disables compression.

Differential Revision: https://phabricator.services.mozilla.com/D144737
2022-05-17 16:29:04 +00:00
Bryan Thrall c88e06a519 Bug 1757833 - Extract methods ScriptBytecodeCompress and ScriptBytecodeDecompress r=nbp
This leaves the code in ScriptLoader and ScriptLoadHandler a lot more readable.

ScriptBytecodeCompressedDataLayout and ScriptBytecodeDataLayout simplify
locating data in the ScriptLoadRequest bytecode buffer when compressing and
decompressing it.

The interface is still error-prone. For example, these classes don't check
that the returned pointers are within the bounds of the buffer.

Differential Revision: https://phabricator.services.mozilla.com/D145011
2022-05-17 16:29:03 +00:00
Bryan Thrall 0fcf6504f4 Bug 1757833 - Compress Stencil bytecode before writing to cache r=nbp
The SRI hash at the beginning of ScriptLoadRequest::mScriptBytecode is left
uncompressed because ScriptLoader::OnIncrementalData() tries to decode it
as soon as enough data is read (instead of waiting until OnStreamComplete()).

ScriptLoader writes the length of the uncompressed bytecode to the buffer
to make it easy for ScriptLoadHandler to allocate an buffer of the right size
to decompress the bytecode.

These changes are based on the bytecode compression implemented for WASM in
dom/fetch/FetchUtil.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D141524
2022-05-17 16:29:03 +00:00
moz-wptsync-bot ee49e5a117 Bug 1769511 - [wpt-sync] Update web-platform-tests to 4092a1d93a80e594b7cab7ad689556b0867365c0, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 4092a1d93a80e594b7cab7ad689556b0867365c0
wpt-type: landing
2022-05-17 16:15:26 +00:00
moz-wptsync-bot 552a25947a Bug 1769213 [wpt PR 34054] - Update wpt metadata, a=testonly
wpt-pr: 34054
wpt-type: metadata
2022-05-17 16:15:25 +00:00
Hiroki Nakagawa b0e71e3495 Bug 1769213 [wpt PR 34054] - Prerender: Upstream script-supports-speculationrules.html to WPT, a=testonly
Automatic update from web-platform-tests
Prerender: Upstream script-supports-speculationrules.html to WPT

https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script

Bug: 1253158
Change-Id: Ibb96746f3e752675b272d3d5095045eba87fac76
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3644934
Commit-Queue: Asami Doi <asamidoi@chromium.org>
Reviewed-by: Asami Doi <asamidoi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1003611}

--

wpt-commits: 4092a1d93a80e594b7cab7ad689556b0867365c0
wpt-pr: 34054
2022-05-17 16:15:25 +00:00
Lijin Shen 38eecaa943 Bug 1769333 [wpt PR 34063] - Revert "[Cookie Expires/Max-Age Upper Limit] (3) Enable by default", a=testonly
Automatic update from web-platform-tests
Revert "[Cookie Expires/Max-Age Upper Limit] (3) Enable by default"

This reverts commit caff7911aeddc8d231dc335715d1dda404320f67.

Reason for revert: Failing multiple bots

Original change's description:
> [Cookie Expires/Max-Age Upper Limit] (3) Enable by default
>
> This won't be committed until after shipping is approved.
> For now, this is just for vetting.
>
> This CL is a part of a series:
> (1) Add new UMA
> (2) Implement limit behind flag
> (3) Enable by default
>
> Spec:
> https://github.com/httpwg/http-extensions/pull/1732
>
> Bug: 1264458
> Change-Id: Idc0469d260c4a5706a9c64feec9af5a0f490d311
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3561385
> Reviewed-by: Christian Dullweber <dullweber@chromium.org>
> Reviewed-by: Clark DuVall <cduvall@chromium.org>
> Auto-Submit: Ari Chivukula <arichiv@chromium.org>
> Reviewed-by: David Roger <droger@chromium.org>
> Reviewed-by: Steven Bingler <bingler@chromium.org>
> Commit-Queue: Ari Chivukula <arichiv@chromium.org>
> Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1003286}

Bug: 1264458, 1325493
Change-Id: Ia10ffe2f5b6b21a6de3f6bc3a3014510ac3a0e68
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3648321
Commit-Queue: Lijin Shen <lazzzis@google.com>
Owners-Override: Lijin Shen <lazzzis@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1003366}

--

wpt-commits: 730cef4a2fbf9bc1b70834ece165f02c7ed280e1
wpt-pr: 34063
2022-05-17 16:15:24 +00:00
Rune Lillesveen 6d4ca9dd10 Bug 1768868 [wpt PR 34031] - Reland "Replace cached ::first-line style from getComputedStyle", a=testonly
Automatic update from web-platform-tests
Reland "Replace cached ::first-line style from getComputedStyle"

This is a reland of commit c5f66f4464a569b6735ce51a01d2cb6c57a8ec6c

Original change's description:
> Replace cached ::first-line style from getComputedStyle
>
> getComputedStyle may cache a ComputedStyle when requesting ::first-line
> compared to which style should be used when the line is laid out. Make
> sure we overwrite the cached one when the applied ::first-line style
> originates from a parent block.
>
> Bug: 1323201
> Change-Id: Ief4ab7d07c751d7de339bbef3e6b839a48b6fddf
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3629301
> Commit-Queue: Rune Lillesveen <futhark@chromium.org>
> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1001462}

Bug: 1323201
Change-Id: I11a22bee5508d3afef23526bdc95a9474d67081e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3641866
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1003343}

--

wpt-commits: 330d741500a917a6840a036087fcc2a6ad95cf98
wpt-pr: 34031
2022-05-17 16:15:24 +00:00
Ian Kilpatrick adddbd9d94 Bug 1769281 [wpt PR 34059] - [floats] Add logic to ensure we don't intersect floats., a=testonly
Automatic update from web-platform-tests
[floats] Add logic to ensure we don't intersect floats.

Previously with certain values of margins - it was possible to create
a scenario to intersect a new-fc with a float.

As demonstrated by: floats-wrap-bfc-with-margin-003.tentative.html

This patch introduces logic to prevent this. Specifically after we have
calculated the BFC-offset for the new formatting context, we check
if it is outside the opportunity on each side, and if that side of the
opportunity has any floats.

Bug: 1323004, 1322774
Change-Id: I82e07e6568da92a3e73842f54347c4f07ec73f51
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3636486
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1003290}

--

wpt-commits: 84db71bbb7dfad9cdb6d68453395e2392003c200
wpt-pr: 34059
2022-05-17 16:15:23 +00:00
Ari Chivukula aae1c47624 Bug 1762434 [wpt PR 33454] - [Cookie Expires/Max-Age Upper Limit] (3) Enable by default, a=testonly
Automatic update from web-platform-tests
[Cookie Expires/Max-Age Upper Limit] (3) Enable by default

This won't be committed until after shipping is approved.
For now, this is just for vetting.

This CL is a part of a series:
(1) Add new UMA
(2) Implement limit behind flag
(3) Enable by default

Spec:
https://github.com/httpwg/http-extensions/pull/1732

Bug: 1264458
Change-Id: Idc0469d260c4a5706a9c64feec9af5a0f490d311
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3561385
Reviewed-by: Christian Dullweber <dullweber@chromium.org>
Reviewed-by: Clark DuVall <cduvall@chromium.org>
Auto-Submit: Ari Chivukula <arichiv@chromium.org>
Reviewed-by: David Roger <droger@chromium.org>
Reviewed-by: Steven Bingler <bingler@chromium.org>
Commit-Queue: Ari Chivukula <arichiv@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1003286}

--

wpt-commits: ebbd0188cfd7d3448542a757b523a2a5147b5ef1
wpt-pr: 33454
2022-05-17 16:15:23 +00:00
David Song 33b1abb423 Bug 1769296 [wpt PR 34060] - Revert "[Trusted Types] Get list of event handlers from WebIDL", a=testonly
Automatic update from web-platform-tests
Revert "[Trusted Types] Get list of event handlers from WebIDL"

This reverts commit 20acdd57bc0c2900456a9717629834686cdb4890.

Reason for revert: Breaks Deterministic builders on debug builds, likely due to the Python build action.

Linux failure: https://ci.chromium.org/ui/p/chromium/builders/ci/Deterministic%20Linux%20(dbg)/25817/overview
Fuchsia failure: https://ci.chromium.org/ui/p/chromium/builders/ci/Deterministic%20Fuchsia%20(dbg)/12090/overview

Original change's description:
> [Trusted Types] Get list of event handlers from WebIDL
>
> This change retrieves the list of attributes declared as event handlers
> from WebIDL and uses that to check for TrustedScript, instead of using
> the string prefix "on".
>
> Bug: 993268, 1084587
> Change-Id: Ic15bc0994bcd19d9d7385cbef4af0f01af820ae1
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3616765
> Reviewed-by: Mason Freed <masonf@chromium.org>
> Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
> Reviewed-by: Yifan Luo <lyf@chromium.org>
> Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1003034}

Bug: 993268, 1084587
Change-Id: I0ba65a80617dd027eb7903192843fa8700a4c56a
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3648222
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Dale Curtis <dalecurtis@chromium.org>
Auto-Submit: David Song <wintermelons@google.com>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1003215}

--

wpt-commits: dbbf0e956fda3e10be80bac753f2fb7e8830f86a
wpt-pr: 34060
2022-05-17 16:15:22 +00:00